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

BuySell + SL + TP - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

BuySell + SL + TP - script for MetaTrader 5

BuySell + SL + TP - script for MetaTrader 5

Script for opening buy and sell positions in the MT5 window at the current price and specifying the stop loss (in pips) and take profit (in pips) that are automatically set when placing the order.

BuySell + SL + TP - script for MetaTrader 5

On initial script execution, the script uses lot size, take profit and stop loss values ​​based on the values ​​specified in the script. They can then be modified via the global variable settings in the MT5 menu.

BuySell + SL + TP - script for MetaTrader 5


Attachment download

📎 buygslvtp.mq5 (2.68 KB)

📎 sellksletp.mq5 (2.17 KB)

📎 closeall.mq5 (2.13 KB)

Source: MQL5 #51939

BuySell + SL + TP - MetaTrader 5 script usage and filtering suggestions

BuySell + SL + TP - MetaTrader 5 Script is a resource related to trading scripts. 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 on titles or short-term profit descriptions.

Verification code Refresh