Skip to content
All library documents

AO Reversal Entry Rules for a Single-Symbol Expert Advisor

Article MQL5 code base

Summary

This Expert Advisor uses the Awesome Oscillator (AO) to time entries and exits. It evaluates its conditions only when a new bar appears and requires there to be no open positions. The current AO value must also be at least a specified minimum distance from zero, providing a threshold filter whose setting is left to the user.

A buy signal occurs when AO rises from the prior bar after falling from the bar before that; a sell signal uses the inverse sequence. The document describes the rules and states that the EA supports both netting and hedging accounts, but it offers no performance results or detailed exit rules. It therefore explains a basic oscillator-turn setup rather than evidence of profitability, and gives no guidance on stop placement, position sizing, or managing risk after entry.

Key ideas

  • The EA checks for trading conditions only at the start of a new bar.
  • It requires no open positions and a minimum AO distance from zero before entering.
  • A buy signal is a one-bar turn upward in AO, while a sell signal is a one-bar turn downward.
  • The document provides no performance evidence or detailed risk and exit rules.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.