Indicator EMAVFS_StDev with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
For the indicator to operate, the EMAVFS_StDev.ex5 indicator must be added to the <terminal_data_directory>\MQL5\Indicators folder.
Fig.1. Indicator EMAVFS_StDev_HTF
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/20725
The indicator plots four horizontal lines: Two basic ones (red by default) above the High and below the Low of the "Bar number" bar and help lines (green by default) shifted from the basic ones.TST
The Expert Advisor does not use any indicators. It only uses the current price and the OHLC of zero bar.