PureBytes Links
Trading Reference Links
|
I am using the following Short system and need help. When I manually
test the exits against the backtester results I find they are
different. I have 2 exits . The trailing profit exit if the price
closes above (the lowest low + 4 * ATR(100) ) or the initial
stop , the price closes above ( the entry price + 1 * ATR(100).
Could someone tell me where I have gone wrong. Thanks in advance
Phill
Turnover = MA(Close,21) * MA(Volume,21);
ATRperc = (ATR(10)/Close) * 100;
Filter = StochK( 10, 3 ) < StochD( 10, 3, 3 )
AND Ref( HHV( StochK( 10, 3 ), 2 ), 0 ) > 80
AND StochK( 10, 3 ) < 80
AND Close >= 1
AND Close < MA(Close,100)
AND MA(Close,100) < (Ref(MA(Close,100) , -50) - 4 * ATR(100))
AND Turnover >= 500000
AND Turnover <= 15000000
AND ATRperc >= 2
AND ATRperc <= 8;
AddColumn(Close,"close");
AddColumn(ATR(100),"atr(100)");
AddColumn(ATRperc,"atr(10)%");
AddColumn(Turnover,"Turnover");
Short = Filter;
Cover = Cross(LowestSince(Short,L) + 4 * ATR(100),C)
OR Cross(ValueWhen(Short,ShortPrice) + 1*ATR(100),C);
PositionSize = 10000;
------------------------ 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/
|