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

Discover expert developed MetaTrader tools that can complement professional solutions.

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.

Classic MACD strategy made fully automatic – the MACD Expert Advisor for MT4 handles it all. Check it out.

Straddle Orders Around Current Price Level

Complement community code with advanced automation from RobotFX.

1856

Best MetaTrader Indicators + Profitable Expert Advisors