The CBandsOnArray is intended for calculation of Bollinger Bands ® (BB) on an indicator buffer.
Usage:
The Init() method with the following parameters is called in the OnInit() function of the indicator:
The Solve() method with the following parameters is called in the OnCalculate() function:
Additional methods:
The Test_BandsOnArrayArray.mq5 is an indicator demonstrating how to use the class. The IncBandsOnArray must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray must be created). The CMAOnArray class for the IncMAOnArray file is required for this class for work.
Bollinger Bands ® Technical Indicator (BB) is similar to Envelopes. The only difference is that the bands of Envelopes are plotted a fixed distance (%) away from the moving average, while the Bollinger Bands are plotted a certain number of standard deviations away from it. Standard deviation is a measure of volatility, therefore Bollinger Bands adjust themselves to the market conditions. When the markets become more volatile, the bands widen and they contract during less volatile periods.

Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/639
IncIchimokuOnArray
The CIchimokuOnArray class is intended for calculation of Ichimoku (Ichimoku Kinko Hyo) values on indicator buffers.
IncStdDevOnArray
CStdDevOnArray class is designed for calculation of Standard Deviation (StdDev) on indicator buffers. The example of use of the class is provided.
SilverTrend_HTF_Signal
SilverTrend_HTF_Signal shows a trend direction or a signal for performing a deal generated by SilverTrend_Signal indicator as a graphic object with colored trend indication or deal direction.
Rabbit
Modified version of "Rabbit" indicator having enhanced display features (the indicator displays actual support/resistance levels for any currency pair).