Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Script | buysell+sl+tp

script to open a buy andsell position at the current price in the MT5 window with a specified stop loss (in pips) and take profit (in pips) that are automatically set when the order is placed.

MetaTrader Experts, Indicators, Scripts and Libraries

the script does not display any dialog windows when running the script, so the script can capture the current price that is being displayed.

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

MetaTrader Experts, Indicators, Scripts and Libraries

51939