The SpearmanRankCorrelation indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
To provide correct operation of the indicator, place the compiled SpearmanRankCorrelation.mq5 indicator file in terminal_data_folder\MQL5\Indicators.
Fig.1. Indicator SpearmanRankCorrelation_HTF
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/6992
The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the colors of the AMkA indicator dots.AMkA_Signal
The AMkA_Signal indicator shows information on the current trend using the values of the AMkA indicator with a fixed timeframe.