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 Expert Advisor | ScalpWiz 9001

Idea by: Marc Boggs

Code mq5 by: barabashkakvn

The EA works on hedge accounts ONLY!

In the EA, classes CPositionInfo, CTrade, CSymbolInfo, CAccountInfo, COrderInfo, and CArrayObj were used.

Four levels, i.e., the spaces for placing pending orders, can be specified in input parameters. The sizes of the spaces follows the logic below:

Level #0 < Level #1 < Level #2 < Level #3

The EA permanently monitors the situation, i.e., it works on each tick, as soon as the price breaks through one of the lines of indicator iBands (Bollinger Bands, BB) at the distance of Level #3. As soon as such breakthrough is found, pending orders will be placed. In the picture below, you can see a sample situation where the breakthrough of the upper line is found: Four Sell stop orders were placed

MetaTrader Experts, Indicators, Scripts and Libraries

Accordingly, as soon as the lower line is broken through, pending Buy stop orders will be placed.

For each pending order, Pending Stop orders expiration time (in minutes) is set. You can specify both permanent and dynamic (in risk percents) lot sizes. Lot type is specified in Money management.

Parameters, such as Stop Loss, Take Profit, and Trailing Stop, can be disabled. To do so, you just have to assign the value of 0.0 to the parameter.

A sample start on EURUSD,H1

MetaTrader Experts, Indicators, Scripts and Libraries

and on USDJPY,H1

MetaTrader Experts, Indicators, Scripts and Libraries

22678