This trend oscillator displays the dominant direction of Close prices of candlesticks over the specified period.
It has two parameters:
Calculation:
where

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20441
ILRS_MA
Integral of Linear Regression Slope (ILRS MA).
Donchain counter
A trading system based on the Donchian Channel indicator.