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

Track/Close Buy and Sell Buttons - MetaTrader 4 Expert | MT4 EA Download - MetaTrader 4 Resources

author EAcpu | 5 reads | 0 comments |

Track/close buys and sells buttons - expert for MetaTrader 4

This little assistant tracks the total profit of sell and buy orders separately, displays them in two buttons on the chart, and allows the user to close all buys or all sells by clicking the corresponding button. I find it useful for situations where an order goes in the wrong direction and I try to get it back into profit by averaging.

Tracked orders are those that correspond to chart symbols and can be further filtered by a magic number:

Additionally, a review filter string can limit tracked orders to those with corresponding reviews.

Track/close buys and sells buttons - expert for MetaTrader 4


Attachment download

📎 buttonclosebuysell.mq4 (4.85 KB)

Source: MQL5 #18998

Track/Close Buy and Sell Buttons - MetaTrader 4 Expert | MT4 EA Download - MetaTrader 4 Resource Usage and Screening Suggestions

Track/Close Buy and Sell Buttons - MetaTrader 4 Expert | MT4 EA Download - MetaTrader 4 resources are MT4 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