PureBytes Links
Trading Reference Links
|
Could someone please tell me why the following script
will not exit consistently 5 trading days following the
BUY signal. Also what backtester boxes should be checked
to only allow single directional trades.
Thanks
Ernie
ArmsIndex = Foreign("!Trn-n","C");
Trin_5 = Ref( ArmsIndex, -4 )+Ref( ArmsIndex, -3 )+Ref( ArmsIndex, -
2 )+Ref( ArmsIndex, -1 )+Ref( ArmsIndex,0);
Cond1 = Ref(Trin_5,-1)> 6 AND Ref(Trin_5,0) < Ref(Trin_5,-1);
Buy = Cond1;
Sell = Ref(Buy,-5);
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/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/
|