Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

CaudateXPeriodCandle - indicator for MetaTrader 5

Views:
3011
Rating:
(8)
Published:
2018.07.09 13:37
Updated:
2023.03.29 13:48
\MQL5\Include\
MQL5 Freelance 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

Fig 1. Indicator CaudateXPeriodCandle

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21083

XPeriodCandle XPeriodCandle

Synthetic Japanese candlesticks over the period predefined in the indicator settings, calculating on each bar and averaging the price timeseries used in the indicator.

PeriodCandle PeriodCandle

Synthetic Japanese candlesticks over the period defined in the indicator settings, calculating on each bar.

CaudateXPeriodCandleRange CaudateXPeriodCandleRange

An indicator that draws the CaudateXPeriodCandle candlestick sizes in points.

CaudateXPeriodCandle_main CaudateXPeriodCandle_main

Indicator CaudateXPeriodCandle in the main chart