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

[amibroker] within x number of days



PureBytes Links

Trading Reference Links

hey all,

I'm using the following code:
CrossBelow = Ref((myRSI < 30 AND myEMA < 35), -5) ; 

what I want is for the scan to look for these conditions WITHIN the 
past 5 days, NOT 5 days AGO. But the Ref() code seems only to return x 
days AGO. 

How do I look for certain conditions happening WITHIN the past x days? 

I've looked thru the help but no success. 

ALSO, just recently I opened AB only to find that a lot of the data 
had been corrupted and data from midway thru "S" codes was completely 
gone. Has anyone else had this happen? 

cheers
Ian




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hgmspil/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124721714/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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