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.
-
-
01/03/2021 at 1:52 PM #156081
I’ve never used spreadbetting but I dont think there’s any difference for autotrading. Others may be able to confirm this.
It runs on the DJI for which there are different position size and currency options: $10 $2 or €1. The results I have posted are for 1 contract = €1
If you’re trading in $ then the min / max positionsize will be different
If you have a UK IG account, the MM should look like this:
123456789101112131415161718192021222324252627282930//Money Management DJMM = 1 // = 0 for optimizationif MM = 0 thenpositionsize=.4ENDIFif MM = 1 thenONCE startpositionsize = .4ONCE factor = f // factor of 10 means margin will increase/decrease @ 10% of strategy profit; factor 20 = 5% etcONCE margin = (close*.05) // tier 1 margin value of 1 contract in instrument currency; change decimal according to available leverageONCE margin2 = (close*.05)// tier 2 margin value of 1 contract in instrument currency; change decimal according to available leverageONCE tier1 = 55 // IG first tier margin limitONCE maxpositionsize = 550 // IG tier 2 margin limitONCE minpositionsize = .2 // enter minimum position allowedIF StrategyProfit <> StrategyProfit[1] THENpositionsize = startpositionsize + Strategyprofit/(factor*margin)ENDIFIF StrategyProfit <> StrategyProfit[1] THENIF startpositionsize + Strategyprofit/(factor*margin) > tier1 thenpositionsize = (((startpositionsize + (Strategyprofit/(factor*margin))-tier1)*(factor*margin))/(factor*margin2)) + tier1 //incorporating tier 2 marginENDIFIF StrategyProfit <> StrategyProfit[1] THENif startpositionsize + Strategyprofit/(factor*margin) < minpositionsize THENpositionsize = minpositionsize //keeps positionsize from going below allowed minimumENDIFIF (((startpositionsize + (Strategyprofit/(factor*margin))-tier1)*(factor*margin))/(factor*margin2)) + tier1 > maxpositionsize thenpositionsize = maxpositionsize// keeps positionsize from going above IG tier 2 margin limitENDIFENDIFENDIFENDIFThe tiers are actually redundant in this case as the tier 1 and tier 2 margin requirements are the same (in some countries they differ).
I have used .4 as a default starting position as it is roughly equivalent to €1 on the DAX or NAS, but you can put anything you like for startpositionsize =
Factor is what controls how quickly/slowly the positionsize increases/decreases with strategyprofit.
f = 10 means that if you have a €100 win/loss, the margin of the next trade will increase/decrease by €10
f = 20 means the margin of the next trade would increase/decrease by €5
I would not recommend going below f = 8
Hope this helps!
1 user thanked author for this post.
01/03/2021 at 1:59 PM #156083I have used .4 as a default starting position as it is roughly equivalent to €1 on the DAX or NAS
It helps, thank you.
Last thing I cannot grasp though is how .4 correlates to £1? Lets say I want to run this at a starting level of £2 per contract
I assume I put in .8? But i have no idea why 😬
01/03/2021 at 2:02 PM #156084.4 is 40 euro cents. £2 per point would be around €2.2
1 user thanked author for this post.
01/03/2021 at 2:34 PM #156087Ah ha! I think the penny has dropped…. you just mean that because of the size of the DOW (30k) you are just using a smaller starting size for margin requirements? Thats the correlation – your “normal” size on the DAX is just twice as big because its half the size, more or less.
I get it now, thanks!
01/03/2021 at 2:49 PM #156091because of the size of the DOW (30k) you are just using a smaller starting size for margin requirements?
yes, exactly.
01/08/2021 at 9:51 PM #15699801/09/2021 at 8:53 AM #157045Since then we have seen a huge run-up after democrats Georgia win and Biden confirmation. Is it the same for everyone?
Yes Biden won and the democrats took Georgia in my world too. 🙂
(sorry couldn’t resist!)
01/09/2021 at 12:07 PM #157069DJ 5m MoD 5.1 has not taken a trade for me since January 4th. Since then we have seen a huge run-up after democrats Georgia win and Biden confirmation. Is it the same for everyone?
You´re right. But the winnigrate in the last quarter 2020 annyway was negativ. To many full SL and many little winning trades. And no winnig series bigger than 7 winning trades in a row. Maybe the time of the dragon is over.
01/09/2021 at 12:55 PM #157074Maybe the time of the dragon is over
Probably just needs re-optimising?
Price action has changed in the last 2 months or so?
01/09/2021 at 1:13 PM #157078Probably just needs re-optimising?
Thats what happens with curve fitting
Sometimes ( probably always ) its just pays to see where its going wrong price action wise , but even figuring out the logic of this is more than im going to try and do . Data mining is great in hindsite but the OOS /walk forward is always going to be a struggle . You learn more from where it doesnt work but just reoptomizing you learn nothing . Just my opinion .
2 users thanked author for this post.
01/09/2021 at 1:31 PM #157084I agree. It took me a long time to realise that blindly optimising, even with walk forward was always failing. Manually looking at where trades are going wrong and how to best overcome without overfitting was the best way.
Now with v11 , 2d and 3d charts really help in giving the best Ranges and makes optimisation more useful.
01/09/2021 at 5:07 PM #15711601/21/2021 at 8:43 PM #158862@nonetheless: DJ 5m MoD 5.1 has not taken a trade for three weeks. Before that it was quite active.
I have been trying to figure out why this is the case by going through the code, to try to learn more about how algos in general works. But I don’t understand. Could you explain why you think it has not taken any trades even though the market has had quite big swings during this time?
01/21/2021 at 9:00 PM #158863has not taken a trade for three weeks
Has it not taken any trades on backtest also?
Post the .itf on here and I’ll backtest it see if I can offer anything?
There hasn’t been much movement on the DJI over the last 3 weeks that is probably why no trades?
01/21/2021 at 9:33 PM #158865 -
AuthorPosts
Find exclusive trading pro-tools on