The CEnvelopesOnArray class is intended for calculation of Envelopes on an indicator buffer.
Usage:
The Init() method with the following parameters is called in the OnInit() function:
The Solve() method with the following parameters is called in the OnCalculate() function:
Additional methods:
The Test_EnvelopesOnArray.mq5 is an indicator demonstrating how to use the CEnvelopesOnArray class. The IncEnvelopesOnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray folder must be created). The CMAOnArray class for the IncMAOnArray file is required for this class for work.
Envelopes Technical Indicator is formed with two Moving Averages, one of which is shifted upward and another one is shifted downward. The selection of optimum relative number of band margins shifting is determined with the market volatility: the higher the latter is, the stronger the shift is.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/822
IncVHFOnArray
CVHFOnArray class is designed for calculation of Vertical Horizontal Filter (VHF) values on indicator buffers.
ZigZag based on the fractals of a larger timeframe
ZigZag based on the fractals of a larger timeframe considering VininI_FractalsTrend indicator data.
IncPriceChannelOnArray
The CPriceChannelOnArray class is intended for calculation of the price channel on indicator buffers.
IncTrixOnArray
The CTrixOnArray class is intended for calculation of Triple Exponential Average (TRIX) on an indicator buffer.