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

Figure 1. Indicator AroonOscillator_HTF
Smooth out market noise with the Heiken Ashi Expert Advisor for MT4 and MT5. Reliable trend-following automation. Details here.
Build better strategies with RobotFX professional tools – check them out.
2208