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

RE: [amibroker] Looking back



PureBytes Links

Trading Reference Links

For looking back a certain number of bars do this:

//Where X = number of days to look back
x = 10;
myCandlePattern = some code that produces a non-zero value when true;
CandleExists = Sum(myCandlePattern,x);

--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of orionsturtle
Sent: Thursday, August 24, 2006 11:53
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Looking back

I am trying to see if a candle pattern happened with in the last x 
number of bars. I can't seem to find the right function. Can anyone 
point me in the right direction?

Thanks!!!
OT





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