Join our fan page
CaudateXPeriodCandle - indicator for MetaTrader 5
- Views:
- 3011
- Rating:
- Published:
- 2018.07.09 13:37
- Updated:
- 2023.03.29 13:48
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Synthetic Japanese candlesticks over the period predefined in the indicator settings, calculating on each bar, averaging the price timeseries used in the indicator, and highlighting caudate candlesticks.
Normal candlesticks are colored as pale as possible. The indicator highlights caudate candlesticks of the "hammer" or "inverted hammer" type, the body of such candlestick being in the upper or lower half of the candlestick. Hammer-formed candlesticks are highlighted in blue, while the "inverted hammers" are highlighted in red. Candles are highlighted in a bright color, if its tail and the close price are located on different sides of the candlestick. If the tail and the price are on the same side, the candlesticks are highlighted in a less bright color.
The indicator uses the SmoothAlgorithms.mqh library classes (copy it to terminal_data_directory\MQL5\Include), working with which was described in details published in article Averaging Price Series for Intermediate Calculations without Using Additional Buffers.
Fig 1. Indicator CaudateXPeriodCandle
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21083
Synthetic Japanese candlesticks over the period predefined in the indicator settings, calculating on each bar and averaging the price timeseries used in the indicator.
PeriodCandleSynthetic Japanese candlesticks over the period defined in the indicator settings, calculating on each bar.
An indicator that draws the CaudateXPeriodCandle candlestick sizes in points.
CaudateXPeriodCandle_mainIndicator CaudateXPeriodCandle in the main chart