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

[amibroker] intraday scan does not work



PureBytes Links

Trading Reference Links


I wrote the following simple script in AA to test the scan feature on
1 minute intraday data: ( I already download the intraday data )

---------------------------------------------------
buy=0;
CurValue = ValueWhen( DateNum()==1050114 AND TimeNum()==143000,C,1);
AlertIf(1, "", NumToStr(CurValue));
----------------------------------------------------

It does not work!
it only return valid CurValue when TimeNum()==160000 which is the end
of day. It DO NOT work if it is other time like 143000


Why? thanks?






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/