I am looking for an EA that, when the margin maintenance rate falls below 100%, closes the positions in order starting with the oldest position until the margin maintenance rate exceeds 100%.
If you know of such an EA or a similar sample code, please let me know.
Advisor Free Margin Close All FIFO
You are on the MQL5 forum. You wrote your question in one of the main sections of MQL5. That is why you received an answer for MQL5.
Remember: there is ONE, SPECIAL section for the old terminal on the forum: MQL4 and MetaTrader 4 . I will move your topic to the section for the old terminal.
You are on the MQL5 forum. You wrote your question in one of the main sections of MQL5. That is why you received an answer for MQL5.
Remember: there is ONE, SPECIAL section for the old terminal on the forum: MQL4 and MetaTrader 4 . I will move your topic to the section for the old terminal.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am looking for an EA that, when the margin maintenance rate falls below 100%, closes the positions in order starting with the oldest position until the margin maintenance rate exceeds 100%.
If you know of such an EA or a similar sample code, please let me know.