Strat – Bol break with vol filtr DAX.H1 [Seemore]
Forums › ProRealTime English forum › ProOrder support › Strat – Bol break with vol filtr DAX.H1 [Seemore]
- This topic has 13 replies, 8 voices, and was last updated 7 years ago by
Yannick.
-
-
06/05/2017 at 8:56 AM #37419
RE: https://www.prorealcode.com/prorealtime-trading-strategies/dax-bollinger-break-v
“Dax Bollinger break with volume. 1 Hour”
Just opening a forum topic for this breakout strategy idea posted by Seemore Profit. I’m a bit short on time but wanted to post a quick optimization. Also I have a few more points about this.
- Not really a fan of hard coded vars – volume threshold should be dynamic
- Bollenger periods also hard coded; could be dynamic
- Needs some proper money-management code. Hard coded basis point stop and limit are not allowing for shifts in volatility. So add ADX / FDI filters and such like
Anyway point being I think the overall idea is cool and there’s much further to go on this 🙂
Have a great week!
Best,
Maz
Super quick clean up1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253// System SettingsDEFPARAM CumulateOrders = FalseDEFPARAM FLATBEFORE = 070000DEFPARAM FLATAFTER = 181500// Old Variables//positionSize = 1//volumeThreshold = 8000//pointTarget = 60//pointStop = 30//bolUpPeriod = 20//bolDnPeriod = 20// New variablespositionSize = 1volumeThreshold = 12500pointTarget = 53 // must make this dynamicpointStop = 30 // must make this dynamicbolUpPeriod = 20 // not optimized yetbolDnPeriod = 20 // not optimized yet// IndicatorsbolUp = bollingerUp[bolUpPeriod](close)bolDn = bollingerDown[bolDnPeriod](close)volumeFilter = ( Volume >= volumeThreshold )tradingDay = not (OpenDayOfWeek = 6 OR OpenDayOfWeek = 0)// Entry logic// long sidebc1 = (close > bolUp) and volumeFilterbc1 = bc1 and tradingDay// short sidesc1 = (close < bolDn) and volumeFiltersc1 = sc1 and tradingDay// ExecutionIF bc1 thenBUY positionSize PERPOINT AT MARKETelsif sc1 THENSELLSHORT positionSize PERPOINT AT MARKETENDIF// Stops and targetsSET STOP pLOSS pointStopSET TARGET pPROFIT pointTargetLet’s see some further development 🙂
4 users thanked author for this post.
06/05/2017 at 10:53 AM #37463Here is what I get
// New variablesatrperiod = 10
atr = averagetruerange[atrperiod]
positionSize = 1
volumeThreshold = 12500
pointTarget = 3*atr
pointStop = 7*atr
bolUpPeriod = 20
bolDnPeriod = 3206/05/2017 at 2:38 PM #37485Hi all thanks for the feedback.
Maz i like to use hard stops as i feel it lowers the risk of blow outs and gives a nice balance of risk to reward. I agree that something could be used to improve this is someway whilst keeping the balance in place. Maybe a reversal signal on a shorter time frame might work?
Francesco I added your variables, but didnt seem to improve the results in a back test. What were your results?
06/05/2017 at 4:26 PM #3748706/05/2017 at 6:42 PM #3749906/05/2017 at 6:51 PM #37503Volume data are lacking before then.
I wonder if with the premium account they could be retrieved.
2 users thanked author for this post.
06/06/2017 at 8:41 PM #3766006/20/2017 at 2:39 PM #38654Due to the lack of volume data I looked at building this in MT4.
The problem is that the volume data is different.
I spoke to IG and a prop trader about the different data and I was informed that indices volume data varies and in the case of IG it represents their client pool volume.
1 user thanked author for this post.
06/20/2017 at 2:51 PM #38656in the case of IG it represents their client pool volume.
and this is exactly the same with any other MT4 brokers for retail traders.
07/06/2017 at 11:48 AM #39948Due to the lack of volume data I looked at building this in MT4. The problem is that the volume data is different. I spoke to IG and a prop trader about the different data and I was informed that indices volume data varies and in the case of IG it represents their client pool volume.
Thanks For finding this out, was wondering about this.
My final strat from the original saw the best vol set at 7000 and the target price changed to 58.
Gave these results, anyone find anything else worth adding/changing?
07/06/2017 at 1:51 PM #3995407/07/2017 at 3:41 PM #40034That is correct JR the results are only from trades starting from August 16.
I guess it has no trades before then because of the volume data.
1 user thanked author for this post.
07/23/2017 at 2:19 PM #41412Hello
For volumeThreshold, it is possible to calculate an average of last volume data , in case of evolution of volume of trading of the intrument.
There is no volume during night, so volume could be filled with last volume value to prevent a zero in the average.
Volume filter123456If volume>2000 thenmyvolume= volumevolumeaverage=average(myvolume)[50]EndifvolumeThreshold = x*volumeaverage//12500 x=2 gives good results in backtestBacktest with x= 2 gives good results
Real robot get 3 consecutives winning trades
2 users thanked author for this post.
11/23/2017 at 8:55 PM #53769Hi I have found this article for similar strategy adapted to FX , maybe on other commodities for diversification
https://blog.quandl.com/bollinger-band-breakout-augmented-volume
The strategy is making some money according to backtest.
Please find live results for people who would be interested in this strategy.
Even if the DAX is in a bull market, the short side wins more than long side due to the better ratio Earning/loss. This could be due to the fact that indices grows slowly but falls sharply in fear mode. I will try to find “safe heavens money flow” related to fear mode , maybe Gold, Yen, BTC
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on