The Double Exponential Moving Average indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
Figure 1. The DEMA_HTF indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14697
The indicator demonstrates the operation of obtaining the ticks using the "CopyTicks", and allows to compare the three modes of obtaining ticks.AMA_HTF
The Adaptive Moving Average indicator with the timeframe selection option available in input parameters.
Three Double Exponential Moving Average indicators from three different timeframes displayed on the same chart.METRO_XRSX_HTF_Signal
METRO_XRSX_HTF_Signal shows a trend direction or a signal for performing a deal generated by METRO_XRSX_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.