Join our fan page
- Views:
- 3630
- Rating:
- Published:
- 2016.02.08 15:05
- Updated:
- 2023.03.29 13:45
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
A usual Bears Power with the option of selecting Open, Close, High, Low price type for calculation as a colored histogram. Additionally, smoothing of the resulting indicator is performed.
The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Figure 1. The ColorBears indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/14273

A usual Bulls Power with the option of selecting Open, Close, High, Low price type for calculation as a colored histogram.

The indicator draws three pairs of the Bollinger Bands with a default standard deviation rate of 2, 3 and 4, respectively. Modified to accept all Bollinger Bands parameters.

The ColorBears indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the ColorBears indicator algorithm.

The ColorBulls indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the ColorBulls indicator algorithm.