Breakout M5 / H4 Nasdaq
Forums › ProRealTime English forum › ProOrder support › Breakout M5 / H4 Nasdaq
- This topic has 96 replies, 9 voices, and was last updated 2 years ago by murre87.
-
-
11/05/2021 at 2:48 PM #181049
timeframe(4 hour, updateonclose)
barCount = barIndex
…
//——————————
timeframe (5 minutes, updateonclose) // TF default
once tradeOn = 1
if intradayBarIndex = 0 then
tradeOn = 1
endif
tradeBar = barCount
if not onMarket and tradeBar<>tradeBar[1] then
tradeOn = 1
endif
…
//———————————————————
https://www.prorealcode.com/topic/mtf-one-trade-per-bar/#post-95908
1 user thanked author for this post.
11/05/2021 at 2:52 PM #18105011/05/2021 at 2:53 PM #181051Snippet n. 3
https://docs.google.com/spreadsheets/d/1rgboqj7sVwsP9ZRhOduOefye48QMWC07jWVXCl-KJPU/edit#gid=0
This code allow max one operation every 4H.
11/05/2021 at 3:55 PM #181052If you / anybody clicks in cell H1 (in the spreadsheet below) then you can copy a link that looks like this …
11/05/2021 at 4:11 PM #181054cummulate = false
you mean that you don’t want it to enter, get stopped out, and then enter again in the same candle? For that you can use Mauro’s code.
11/05/2021 at 8:05 PM #181072Here is my version, built with my capabilities. Not as filigree as the nonethless version. But similar overall result. Let’s see which one looks better in a month?
Some additional things are built in:
1 trade per H4 bar
red / green candle separated
Fridays with profit from the market
EMA15 used (“typicalprice” is important here)
Significantly smaller stop loss for less risk
WF until May, from then on it’s OOSI get the best results in the M5 with a simple breakeven. But I can’t get rid of the drawdown in September. Maybe there is still a good filter against it?
The result does not really improve with trailing stoploss.
Are there any suggestions for solutions or improvements? Anyway, it seems to be worth it.1 user thanked author for this post.
11/05/2021 at 8:35 PM #181076similar overall result
???
this is mine from the same period, with positionsize = 1
(the previous were 0.5)
11/05/2021 at 8:47 PM #181078What differ ur (nonetheless) NAS-5m-Breakout-v4.4T and this backtest …v3
11/05/2021 at 8:51 PM #181079v4.4T is cumulative orders = true
this one says v3 but it’s the same as v2 above, cumulative orders false
11/05/2021 at 8:58 PM #181080U are all great. Possible to get a version of this algo with september in gain?
11/05/2021 at 9:35 PM #181084@nonethless Sure, your result looks better. I’m not a master either. It’s also not about measuring yourself against each other. But to come to a similar goal in several ways. I took the route with a small stop loss and a lot of small wins. Unfortunately without a trailing stop. You the way with a big SL. No idea which variant is more robust. But we are struggling with the same problematic market phases. September … do you have an idea?
11/05/2021 at 9:41 PM #18108511/05/2021 at 9:54 PM #181086sorry if that came across as ‘competitive’ – I’m really not 😎
I wouldn’t give september a second thought. I took some losses too, but look what followed – a five week bull run. I’ve gained more in just the past week than whatever I lost in September. That’s just the way it goes. Gotta keep one eye on the bigger picture.
And yes, no reason your breakout idea shouldn’t work elsewhere – DAX, DJ, SP …
11/05/2021 at 9:55 PM #181088Rules are cumulative orders = false?
11/05/2021 at 10:11 PM #181092All right, I am grateful for your help. I have been trading such breakouts manually for a long time. And it’s good to know that it also works automatically. I let the Algos run in demo for 4 weeks and then maybe you can try a live version.
-
AuthorPosts
Find exclusive trading pro-tools on