Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Closing by % of Equity - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

Idea from : Adam Malik Kasan .

MQL5 code by : Vladimir Karputov .

If the equity reaches a certain ratio related to the balance, the EA closes the position (for any symbol and any magic number).

It has only one input parameter % equity in balance - the percentage of equity above balance.


Attachment download

📎 close_by_equity_percent.mq5 (4.97 KB)

Source: MQL5 #20880

Closing by percentage of equity - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 resource usage and screening recommendations

Closing by percentage of equity - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 resources are MT5 EA related resources. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.

Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based only on titles or short-term profit descriptions.

Verification code Refresh