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

[amibroker] Formula help



PureBytes Links

Trading Reference Links

I'm trying to create a crossover scan with the Z-Score indicator 
from from the current issue of TASC:

ZScore=(Close-MA(Close,20))/StDev(Close,20);
Buy= Cross(MA(ZScore,3), MA(MA(ZScore,3),5);

I'm trying to create a crossover where a 3 period Zscore moving 
average crosses a 5 period MA of the 3 period moving average 
previously mentioned.  By all accounts this appears to be correct 
but there is an error.  When I scan each criteria separately the 
both work but when I combine them as I did above I get an error.  
Any idea where I'm going wrong?


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/46VHAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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