RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
The Slow-Stoch 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 Slow-Stoch.mq5 for operation. Place it to terminal_data_folder\MQL5\Indicators\.

Reduce lag and improve accuracy with the NonLagMA Expert Advisor for MT4/MT5. Discover it.
Figure 1. The Slow-Stoch_HTF indicator
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
2180