RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
The BlauSMStochastic indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; //Indicator chart period

Figure 1. The BlauSMStochastic_HTF indicator
Protect profits effectively with the smart Trailing Stop Expert Advisor. Advanced trailing options for MT4/MT5. See it in action.
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
2008