RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
Real author:
Rosh
The popular indicator by Constantine Kopyrkin. This version is based on the normalized NRatio oscillator.
Unique stair-step trend trading with the Stairsteps Expert Advisor. Innovative approach for consistent results. Learn more.
For details, see the author's site.
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Figure 1. The NRatio indicator
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
7029