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".
Originally this indicator has been written in MQL5 and was first published in the Code Base on 10.10.2013.
Figure 1. The InverseReaction indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1995
Shows the relative change of the current price from the price N/M bars ago.StepMA_NRTR_HTF
The StepMA_NRTR indicator with the timeframe selection option available in input parameters.