Mauro Barquinero / Publications
Forum
Place purchase order in another period
Hi everyone, I'm new in MQL5 and the following code is not working for me, what I want is that when it detects the crossing of the two H1 moving averages, I change the period with ChartSetSymbolPeriod to M5 and place the purchase order (orderSend) and close the purchase (orderClose or trade
Initiating a trade in a shorter timeframe and at the same position as the detected position in the higher timeframe
Hi everyone, How do I trade candles from a higher timeframe to a lower timeframe? I've researched on the forum, and I know that to switch timeframes, I should use ChartSetSymbolPeriod , but I'm really confused about what I want to do. For example, taking this example case (example.PNG attached)