PureBytes Links
Trading Reference Links
|
A backtest results in 50 trades:
Buy = Condition 1;
Sell = Condition 2:
If I change this to,
Buy = Condition 1;
Sell = Condition 2;
Buy = Buy and Barssince(Sell)>0;
Sell = Sell and BarsSince(Buy)>0;
then the number of trades reduces to 27. I would have expected the
BarsSince()>0 statement to have no effect on the number of trades. I
also have the same reduction in the number of trades if I use ==0 in
place of >0. Is there a problem here with the logic?
Keith
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/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/
|