Mother of Dragons trading strategy…
Forums › ProRealTime English forum › ProOrder support › Mother of Dragons trading strategy…
- This topic has 522 replies, 50 voices, and was last updated 3 years ago by LaurentBZH35.
-
-
06/10/2020 at 5:23 PM #13547306/10/2020 at 5:42 PM #135478
@betson, it only moves in the direction of the primary trend, ie if the 2hr chart is rising it can only go long and only goes short if the 2hr is falling. There’s been a pullback in the last couple of days but technically we’re still in an uptrend.
06/10/2020 at 6:16 PM #135494sorry , my mistake ,i can see those trades, my apologies
@nonetheless, thanks for the replyregards
betson
06/11/2020 at 4:32 AM #135525Hi @nonetheless,
I have been working to enhance the strategy by limiting the loss. I have added a lot of filtering using BB%. Attached.
For each filter the parameter undergone WFA, but seems all 5 iterations having quite consistent value as per set in the .itf
I also did the VRT and attach result. Left is v4.7 result, right is the modified one (v4.7.1a)
1 user thanked author for this post.
06/11/2020 at 4:47 AM #135529I have added a lot of filtering using BB%. Attached.
Btw, I was utilizing the opening bar for one of the filters thus time function was used, time zone is UTC+8.
123456789101112131415161718192021222324252627// --------- US DAY LIGHT SAVINGS MONTHS ---------------- //mar = month = 3 // MONTH STARTnov = month = 11 // MONTH ENDIF (month > 3 AND month < 11) OR (mar AND day>14) OR (mar AND day-dayofweek>7) OR (nov AND day<=dayofweek AND day<7) THENUSDLS=010000ELSEUSDLS=0ENDIFonce shortStep = 0once longStep = 0once openStrongLong = 0once openStrongShort = 0if not onmarket or (time <= 223000 - USDLS and time >= 050000 - USDLS) thenshortStep = 0longStep = 0openStrongLong = 0openStrongShort = 0endif//detect strong direction for market openonce rangeOK = 45once tradeMin = 500IF (time >= 223500 - USDLS) AND (time <= 223500 + tradeMin - USDLS) THENopenStrongLong = close > open AND close - open > rangeOKopenStrongShort = close < open AND open - close > rangeOKENDIFIn case of USA time zone, just need to remove the DLS (day light saving) and adjust the time something like this (not tested)
123456789101112131415161718192021222324252627// --------- US DAY LIGHT SAVINGS MONTHS ---------------- ////mar = month = 3 // MONTH START//nov = month = 11 // MONTH END//IF (month > 3 AND month < 11) OR (mar AND day>14) OR (mar AND day-dayofweek>7) OR (nov AND day<=dayofweek AND day<7) THEN//USDLS=010000//ELSE//USDLS=0//ENDIFonce shortStep = 0once longStep = 0once openStrongLong = 0once openStrongShort = 0if not onmarket or (time <= 093000 or time >= 160000) thenshortStep = 0longStep = 0openStrongLong = 0openStrongShort = 0endif//detect strong direction for market openonce rangeOK = 45once tradeMin = 500IF (time >= 093500) AND (time <= 093500 + tradeMin) THENopenStrongLong = close > open AND close - open > rangeOKopenStrongShort = close < open AND open - close > rangeOKENDIFHaven’t check in case of Paris or UK time zone…need to keep the DLS code and adjust the time accordingly I think
06/11/2020 at 11:31 AM #135572Hi @DowJones, thanks so much for your work on this.
In this section
1234567//detect strong direction for market openonce rangeOK = 45once tradeMin = 500IF (time >= 093500) AND (time <= 093500 + tradeMin) THENopenStrongLong = close > open AND close - open > rangeOKopenStrongShort = close < open AND open - close > rangeOKENDIFI would suggest adding another candle to the opening time, ie 094000 NY time, just to give it a bit longer to establish the direction.
1 user thanked author for this post.
06/11/2020 at 6:13 PM #135620Hi @nonetheless, thanks for your suggestion. I have a question for your strategy. There are many variables and in different time frame, how do you perform optimization?
I like to see how to apply this to another market, but it is hard to work with many variables without a good strategy to start. I’m thinking the following, do you have suggestion?
1. Disable trailing stop, SL and TP
2. Remove some of the indicators, keep just 2 condition pairs (e.g. c1, c3 for long, c2, c4 for short), optimize them until obtain a good range, and perform WFA
3. Keep the first 2 condition pairs parameter fixed, add 2 other condition pairs, and redo optimizing
4. Add back SL, TP and trailing stop and optimize them
5. Have all parameters (except SL, TP and trailing) open for optimization but just 1 step above and 1 step below, perform WFA
6. Perform VST
06/11/2020 at 11:36 PM #13564706/12/2020 at 12:11 AM #13565206/12/2020 at 12:15 AM #135654Sorry with my non-premium account thats the best I can do. Can you try it on a larger data , if you can? May be its a better test to see if the optimisation actually works.. 🙂
06/12/2020 at 12:17 AM #13565506/12/2020 at 2:30 AM #135657I’ve been trading the Dow version on my live account but I’ve been surprised it hasn’t taken any shorts during this recent dip. The 2 hour is trending down, maybe the dip has been too sharp? Anybody had any short trades in the last day or so?
06/12/2020 at 7:11 AM #135658hello no trip home either
06/12/2020 at 9:56 AM #135686@Jabezz I have not detected any trades this week, there was a closing early monday. Latest short trades was in mid may
I’m impressed of this algo, even though I don’t understand the code fully yet. Especially to consider the market even after entry is from my small experience unique. The rented algos I’m running are blindfolded after entry. Thank You for sharing so we newbies are able to learn and test before wo contribute. Enjoy the upcoming weekend!
06/12/2020 at 11:46 AM #135704@ Dow Jones, this post #123625 gives some explanation of the overall structure and logic to the strategy. On that basis, my approach to optimisation is to treat each of the 3 trends separately; first the 2hr primary trend, then the 15m/30m secondary trend, then the 5m minor trend. SL, TP and trail come last. I expect that your approach could work perfectly well, but you might end up with a completely different algo. Try it and let us know.
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on