This moving average is a slow adaptive trend line with ultralinear and JMA smoothings.
The moving average is calculated the following way:
JJurX[bar] = JMA(Jurx(PRICE[bar]))
Additional JMA smoothing is used to improve the smoothing of the final indicator. The indicator uses the CJJMA class of the smoothalgorithms.mqh library. The use of the class was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/436
2pbIdeal1MA.mq5 and 2pbIdeal3MA.mq5 indicators are the moving averages with the smoothing algorithm developed by Neutron.PriceChannel_Stop
The indicator generates market entry signals and draws the line of Stop Loss orders positioning.