[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hi



PureBytes Links

Trading Reference Links

Rad:
>Mostly I'm interested about "currentbar" functionality.
>
>Why do you need to check for this current bar, etc from user point of view.

I use it for any number of things.  To keep track of which bar some
event occurred, so I can refer to it later, is the main thing.

>What other ways to get around currentbar?

What do you mean "get around"?

>Exactly what dose it return, 

The number of the current bar being evaluated.  The first bar in
the evaluation series (not the whole data series) is bar 1.  Bar 1
occurs after a certain number of other bars have passed to allow
indicators with large lookbacks to settle down.  Subsequent bars
have a bar number incremented from the previous.

>I am trying to duplicate currentbar functionality in a custom .Net compiler,
>which is in beta testing right now,

Too bad it requires .net - after all the problems people here have
with Windows, it would be great to have something that runs on any
platform, not just Microsoft's.

>Is it enough for "CurrentBar" functionality to check only if current bar is
>last or not.

Current bar is not the same as LastBarOnChart, which is True or False
depending on whether the current bar is in fact the last bar on the
chart.

-- 
  ,|___    Alex Matulich -- alex@xxxxxxxxxxxxxx
 // +__>   Director of Research and Development
 //  \ 
 // __)    Unicorn Research Corporation -- http://unicorn.us.com