The LinearMomentum with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires LinearMomentum.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Figure 1. The LinearMomentum_HTF indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14342
The PA_Oscillator with the timeframe selection option available in the input parameters.TradeState - the EA trading mode switcher depending on the time
The class restricts the EA trading by time. It has flexible configuration options, which allow to set a custom number of the time zones, and also to allow trading only on the specified week days.