Mark Tony: Hello everyone, I am new, I would like your help with a problem: I am practicing writing a Martingale EA, I want orders to be opened by time instead of points/pips. For example, every 15 minutes an order will be opened, with a maximum of 3 orders. Please help me. Thank you. (The code below is excerpted from MultiCurrency Template EA)
The code you wrote is not part of the function, nor does it appear to be a script for opening orders.
All you need to open orders within a certain period are instructions for opening orders that you place in the OnTimer event area.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello everyone, I am new, I would like your help with a problem: I am practicing writing a Martingale EA, I want orders to be opened by time instead of points/pips. For example, every 15 minutes an order will be opened, with a maximum of 3 orders. Please help me. Thank you. (The code below is excerpted from MultiCurrency Template EA)