RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

A very large number of colored indicators can not be used, some indicators paint one bar in the past (in this case it is worth trying to increase the values of _O_iShift and _C_iShift by 1), others simply overlay lines of one color with lines of another color (these can not be used).
Added the MarketWatch mode - opening market orders without stop loss/take profit, which are set afterwards.
New parameters:
Reduce lag and improve accuracy with the NonLagMA Expert Advisor for MT4/MT5. Discover it.
In the "Indicator for opening" parameters section:
- _O_M5_iBuyBufIndex - index of the buffer for the line displayed during an uptrend;
- _O_M5_iSellBufIndex - index of the buffer for the line displayed during a downtrend.
In the "Indicator for closing" parameters section:
- _C_M5_iBuyBufIndex - index of the buffer for the line displayed during an uptrend;
- _C_M5_iSellBufIndex - index of the buffer for the line displayed during a downtrend.
In the "Order" parameters section:
- MW_Mode - enable the MarketWatch mode.
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
8524