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

Re: [amibroker] Re: Order of processing in AFL



PureBytes Links

Trading Reference Links

Why do I get different results if I do an explore or a scan when I 
use the following formula on the same day. Absolutely nothing is 
changed. I hit the scan key and get a share in the result table. I 
then hit the explore key but get nothing in the result table.
              thanks in advance  Phill



Turnover = MA(Close,21) * MA(Volume,21);
ATRperc = (ATR(100)/Close) * 100;

Filter =  Cross(80,StochK( 10, 3 ))
AND Close >= 2.2
AND Close < MA(Close,100)
AND MA(Close,100) < (Ref(MA(Close,100) , -50) - 4 * ATR(100))
AND Turnover >= 500000
AND Turnover <= 12000000
AND ATRperc >= 2
AND ATRperc <= 6.6;

AddColumn(Close,"close");
AddColumn(ATR(100),"atr(100)");
AddColumn(ATRperc,"atr(100)%");
AddColumn(Turnover,"Turnover");

Short = Filter;
Cover = Cross(LowestSince(Short,L) + 4 * ATR(10),C)
OR Cross(ValueWhen(Short,ShortPrice) + 1*ATR(10),C);



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/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/