Envelopes using the Color_PEMA_Digit MA, with an indication of trend direction and display of the last values of channel borders.
The indicator uses the SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The detailed description of the classes is available in the article Averaging Price Series for Intermediate Calculations Without Using Additional Buffers.
Fig. 1. Indicator Color_PEMA_Envelopes_Digit
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/18616
Envelopes using the Color_QEMA_Digit MA, with an indication of trend direction and display of the last values of channel borders.N-_Candles_v4
The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The account type is taken into account, i.e. whether it is netting or hedging.