Here we will consider the strategy based on price crossover with Moving Average indicator, confirmed by ADX indicator. The strategy called "Signals based on price crossover with MA confirmed by ADX" (when creating EA automatically in MQL5 Wizard).
The trade signals:
The trade signals:
- Buy: closing price of the last completed bar is higher than moving average, the moving average increases at the current and last completed bars.
- Sell: closing price of the last completed bar is lower than moving average, the moving average decreases at the current and last completed bars.
- To filter the false signal, it checks the trend power (ADX>ADXmin) and trend direction using the Directional Movement Indexes (DI+ and DI-).