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

[amibroker] diff results backtest/ explore?



PureBytes Links

Trading Reference Links



Can someone tell me why when I use the following formula  I get 
different results for a backtest  and an exploration. Shouldn't the 
first few stocks be the same .  Thanks in advance Phill

Filter =Cross(Close, Ref( HHV( High, 3 ), -1 )) 
AND Turnover <= 10000000  
AND Turnover >= 500000 
AND Close >=1 
AND Close <= 7 
AND ATRperc >=3 
AND ATRperc <= 6 
AND Close > MA(Close,100) 
AND MA(Close,21) > MA(Close,100) 
AND OBV() > MA(OBV(),21) 
AND MA(Close,21)> Ref(MA(Close,21),-1) 
AND MA(Close,100) > Ref(MA(Close,100),-1); 
 
Buy = Filter; 
 
 
Sell = 0; 
ApplyStop(2,2,3.6*ATR(30),True,True); 
ApplyStop(0,2,2*ATR(30),True,True); 

//tdl = 0; 
Buy = Filter;

Sell = Ref(Filter,-tdl);//






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/