The KC indicator with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires KC.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Fig.1. The KC_HTF indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/13922
The script displays the number of bullish and bearish candlesticks.Exp_derivative
The Exp_derivative Expert Advisor is based on the breakthrough of the zero level by the Derivative indicator.