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.
-
-
05/21/2020 at 8:51 PM #132695
hi nonetheless
I was curious how your code with reentry would perform. Didn’t optimise. Uses latest atr be/ts stops from vectorial dax.
4 users thanked author for this post.
05/21/2020 at 9:01 PM #13269805/21/2020 at 10:33 PM #132722how your code with reentry would perform
Thanks very much for that, not something I would have thought to do. I’ll have a closer look at it tomorrow. And as Francesco says, could also apply to the DAX which has really been the best performer in recent months.
05/22/2020 at 1:37 PM #13281505/22/2020 at 3:05 PM #132840Optimisation gets an improvement but not quite up to the original. This is odd because the ATR trail works better almost everywhere else I’ve tried it, and the reenter should help. I tried a compromise of conventional break even with ATR trail but was worse. Attached image is with these values/changes:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253//if dayofweek<5 thenctime= hour>1//elsif dayofweek=5 then//ctime= hour>1 and hour<t2//endif// breakeven stop atronce breakevenstoptype = 1 // breakeven stop - 0 off, 1 ononce beatrperiod = 10 // atr parameter valueonce beminstop = 12 // minimum breakeven stop distanceonce bepointsorperct= 1 //[0]percentage [1]pointsif tradetype=1 thenonce bestoplong = 5 // ts atr distanceonce bestopshort = 5 // ts atr distancebepointstokeep = 3 //-(sl/2) // positive or negative //not use onceonce trailingstoptype = 1 // trailing stop - 0 off, 1 ononce tsatrperiod = 10 // ts atr parameteronce tsminstop = 12 // ts minimum stop distanceif tradetype=1 thenonce tsincrements = .25 // set to 0 to ignore tsincrementsonce tsminatrdist = 1once tssensitivity = 0 // [0]close;[1]high/lowelsif (tradetype=2 or tradetype=3) thenonce tsincrements = .25 // set to 0 to ignore tsincrementsonce tsminatrdist = 1once tssensitivity = 1 // [0]close;[1]high/lowendifif trailingstoptype thenif barindex=tradeindex thenif tradetype=1 thentrailingstoplong = 8 // ts atr distancetrailingstopshort = 8 // ts atr distanceelsif (tradetype=2 or tradetype=3) thentrailingstoplong = 6 // ts atr distancetrailingstopshort = 6 // ts atr distanceendifAny other changes worth trying? Fifi’s pivots are inactive i think but I’m not sure how to bring them into play
05/22/2020 at 3:23 PM #13284505/22/2020 at 9:56 PM #13289905/23/2020 at 3:32 PM #132953I leave positions open over the weekend. I know that lots of people close everything friday evening for fear of an adverse gap when they open again, but my tests tend to show its better to let them run. Over a length of time it’s just as likely to gap in your favour.
05/23/2020 at 4:56 PM #132963I close everything before the weekend . Maybe not as effective but i like to be “free”over the weekend no matter what goes on in the world
I like to clear my mind and start new every week .
1 user thanked author for this post.
05/23/2020 at 6:18 PM #132972Any other changes worth trying?
not really a.t.m. The goal of reentry is to see quickly how stable the strategy is and it looks pretty good!
05/23/2020 at 10:10 PM #132993I think I misunderstood, is reentry a test rather than a part of the strategy? Something like vrt?
05/24/2020 at 1:32 AM #133001yes a bit
often when in a position and the same entryconditions are true again, you don’t act on those. The bigger the exit criteria are (i.e. sl/pt/ts) the more signals you could have in the same direction and it’s those signals i’am interested in .
If taken version dow 1p short, set tradetype at 3, reenter at 1 and positionperftype at 0,1 or 2. Equitycurve & stats looks impressive & solid!
for long only it shows that signals are not as good as the shorts. Here is a bigger difference depending on positionperftype for the equitycurve & stats.
With reentry, the new entry is likely to have a worse price & there are extra spread costs, which makes it the more impressive if the equity curve can hold up.
I see it as an extra tool to create more robust parameters with optimisation and is something to experiment with.
2 users thanked author for this post.
05/24/2020 at 1:33 AM #133002at the bottom of the dow version you can add this
123456789101112131415if ctime thenif (tradetype=1 or tradetype=2) and condbuy thenbuysignal=1elsebuysignal=0endifif (tradetype=1 or tradetype=3) and condsell thensellsignal=-1elsesellsignal=0endifendifgraph buysignal coloured(121,141,35,255)graph sellsignal coloured(255,0,0,255)1 user thanked author for this post.
05/26/2020 at 4:54 AM #13326805/26/2020 at 7:43 AM #133275Hey, thanks for the vote of confidence. TBH I’m amazed that it works at all, but so far not too bad. Reentry is an interesting tool, I haven’t had time to play around with it yet.
-
AuthorPosts
Find exclusive trading pro-tools on