How to change time frame automatically when certain % drawdown is reached?
-
I start running my ea at H1, if DD is 10% I want the ea to change the time frame to trade at H4 automatically. Please advise how to do it? Thank you
-
There are different ways, but this - ChartSetSymbolPeriod(0, NULL, PERIOD_H4); - added to custom code when you want the timeframe changed should do it. So when you have worked out the drawdown.