Skip to content
All library documents

Using an ATR Moving Average Oscillator Zero Cross to Exit Trades

Article MQL5 code base

Summary

The ATR_MA_Oscillator is described as an oscillator modeled on OsMA, but applied to the Average True Range. Its proposed role is as an additional exit signal: a crossing of the zero line can help close a position while seeking to retain more of its gains. The description focuses on the indicator’s purpose rather than providing a detailed formula, parameter settings, or entry rules.

The document says the indicator was first implemented in MQL4 and later published in MetaTrader’s code base. It depends on a smoothing-algorithm library that must be available to the terminal for the implementation to work. No trading examples, comparative tests, or performance results are included, so the zero-cross idea is not evidence of improved exits by itself. Traders would need to define how the signal interacts with their position rules and assess its behavior across instruments and market conditions.

Key ideas

  • The indicator applies an OsMA-style oscillator concept to ATR.
  • A zero crossing is proposed as an additional signal for exiting a position.
  • The description provides no entry method, parameter guidance, or performance tests.
  • The implementation depends on a separate smoothing-algorithm library.

Tags

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