All,

I would like to calculate the moral equivelent of Easy Language's
"Bars Back" so that I can filter out (in Explorations) all bars prior
to say ... "30 days back" ... or filter out all bars within a range.
I've experimented with BarIndex() and BarCount but can't make hide nor
hare of these values other than a logical expression that determines
the latest bar...

IIf(BarIndex() == (BarCount - 1), 1, 0)

However this doesn't do much good when calculating ranges or filtering
out ranges of bars.

Any sage guidence on bars back ranges that are easy to use?

-- John






Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to