RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
The CandleStop indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires the compiled indicator file CandleStop.mq5 for operation. Place it to terminal_data_folder\MQL5\Indicators\.

Trade Renko charts automatically using the advanced Renko Expert Advisors. Clean trends, better entries. Discover them here.
Figure 1. Indicator CandleStop_HTF
Build better strategies with RobotFX professional tools – check them out.
2084