- Joined
- 27 August 2017
- Posts
- 1,450
- Reactions
- 749
The thing is that the buy offer is the close plus 3% and if Monday's open is higher than the 3% the trade isn't taken. This is were back testing falls over or is less accurate.Think you might need to set trade delays in the settings.
The thing is that the buy offer is the close plus 3% and if Monday's open is higher than the 3% the trade isn't taken. This is were back testing falls over or is less accurate.
Back tested results drop a lot with the change.
I agree great learning curveYes, you are correct in the downgrade in results, however Skate's BB Strategy still posts strong results with CAR/MDD of the order of 1.20. Without the trade delay CAR/MDD was showing in excess of 6.00 - probably a clue here, "too true to believe".
@Skate, again thanks for the posting of the strategy - it has provided me with a wealth of learning
Skate's BB Strategy still posts strong results with CAR/MDD of the order of 1.20
I don't think buying/selling at the close was the intention for this system?
Maybe wrapping the BUY and SELL in Ref,-1 as SetTradeDelays( 0, 0, 0, 0 ); overrides the settings.
I agree but the entry price is calculated from close.
I don't think buying/selling at the close was the intention for this system? Maybe wrapping the BUY and SELL in Ref,-1 as SetTradeDelays( 0, 0, 0, 0 ); overrides the settings.
Whilst I don't have AmiBroker, using code like Ref(BUY,-1) and Ref(SELL,-1) along with SetTradeDelays( 0, 0, 0, 0 ) as suggested by Sir Burr is akin to a BUY or SELL signal on the current bar and setting trade delays to one 1 bar should result in the same outcome.
Whilst I don't have AmiBroker, using code like Ref(BUY,-1) and Ref(SELL,-1) along with SetTradeDelays( 0, 0, 0, 0 ) as suggested by Sir Burr is akin to a BUY or SELL signal on the current bar and setting trade delays to one 1 bar should result in the same outcome.
I wanted members to scrutinise the BB code & think about the coding. Run backrests & compare notes. The last thing I want others to do was to add it to their list of other codes never to see the light of day.I would appreciate an honest assessment for others to read
I actually did check that in some BT where you voluntarily put a condition that ref o,1 is lower than c*1.02The thing is that the buy offer is the close plus 3% and if Monday's open is higher than the 3% the trade isn't taken. This is were back testing falls over or is less accurate.
Yes that is why I said it.@willoneau If you have been reading the posts by @Skate you should have noticed that he uses the closing price of the previous bar to calculate the BUY price for the entry bar.
Cheers,
Rob
View attachment 105048 View attachment 105049 View attachment 105049 View attachment 105049 View attachment 105048 Thanks Skate for uploading this system plus the clear explanation above of the trailing stop, which even though i have read the manual i still found confusing.
I ran a back test back to 2009 (XAO) with the returns per attached, can someone verify if possible so i know im doing the backtest correctly please. Seems like excellent returns and max. system drawdown of only 9.08% for the period which is excellent.
View attachment 105068 @Skate the results are simply incredible.
After try to break it by changing the moving average period significantly on HI and LW ref and BB periods, as well as switching from weekly to daily on all variations, I haven't found a single negative year or unspectacular result on any backtest. It indicates extreme robustness.
In fact it seems too good to be true.
The results confirm your strong view that exits are so important to minimise open profit loss and drawdown. You've really nailed that area. Wow, super impressed.
Yes that is why I said it.
Backtesting means Jack to me & my coding reflects this.
No it's fine sometimes I don't make myself clear.My bad @willoneau as I believe I may have misread a comment you made in an earlier post.
Please accept my apologies.
Cheers,
Rob
Hi Skate,
Given the copious amount of system testing that you have carried out to date, have you tested any strategy that allows for more than one position in any of the securities included in the back-test?
Cheers,
Rob
Oh And thanks for sharing your BB system. I love catching up on this thread and finding gems like that make it worthwhile.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?