RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
A simple indicator will be useful for beginners. Even the present optimization.
Options:
int LRPeriod=13;
Reduce lag and improve accuracy with the NonLagMA Expert Advisor for MT4/MT5. Discover it.

linreg
Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.
8139