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 | Straddle Orders Around Current Price Level

A script for creating straddle Buy/Sell stop orders.

The idea would be that they expire after a certain time period and would straddle the current price action a certain number of points.

If there is an existing open position, the position's stop loss would be set to 1 point less than the opposite order. If the script fail to set the position stop loss, the script would then just close the position and create the straddle orders.

MetaTrader Experts, Indicators, Scripts and Libraries

1856

Best MetaTrader Indicators + Profitable Expert Advisors