Keltner Channel built relative to the average value of the XRSX oscillator as a sequence of candlesticks.
The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was described in detail in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Fig1. The XRSXCandleKeltner indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17591
The Expert Advisor opens a deal in the breakout direction. Lot calculation depending on risk percent of margin.T3MA
An ExpertAdvisor based on the T3MA-ALARM indicator.