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 | Long and Short Stepped Grid Trade

Set grid distance.

Open a long order for the price fall a grid distance, and o pen a short order for the price rise a grid distance.

When the price rise two grid distance, close the position.

The fund of frist time open position is one-tenth of the required for a grid, and then two-tenths, and so on.

When the equity recaches the take profit of setting, close all positions and restart.

The backtest of EOS/USDT in 2021/1/1-2021/8/31. The parameters use the default parameters in the code.

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

The backtest of AUD/USD in 2021/1/1-2021/6/30. 

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

38300