Idea by:Β
mq5 code by:Β
The EA works with indicators on different timeframes:
- iMACD (Moving Average Convergence/Divergence, MACD) – PERIOD_M5
- iAlligator (Alligator) –Β PERIOD_H4
- iRSI (Relative Strength Index, RSI) –Β PERIOD_H1
MACD gives a signal, RSI checks the overbought/oversold level, and Alligator checks the trend.
Position may only be opened, if there are no open positions and if the EA is within the allowed time interval. The time interval is managed by parameters “Use time control,” “Start hour,” and “End hour.”