Skip to content
All library documents

Absolute Price Oscillator Thresholds for Trend-Following Trades

Article Strategy library · Author: ChaoZhang

Summary

The strategy uses the Absolute Price Oscillator, calculated as the difference between a short and a long exponential moving average, to set directional positions. With the stated default thresholds, it moves long when APO rises above 3 and short when it falls below -3; between those levels, it retains the previous position. An option reverses those directions. The accompanying explanation also describes price-APO divergences as possible reversal clues, though the code’s trade rules do not act on divergence.

The document presents the approach as a simple momentum and trend signal and provides a BTC/USDT futures backtest configuration spanning about a year. It reports no performance statistics, so the configuration is not evidence of profitability. It also notes that the EMA-based signal can lag and whipsaw in sideways markets. The source has no stop-loss or position-sizing logic, leaving risk controls and instrument-specific parameter testing as open work.

Key ideas

  • APO is the difference between short- and long-period exponential moving averages.
  • The strategy enters long above the buy threshold and short below the sell threshold.
  • An option reverses the direction of the threshold signals.
  • Price and APO divergence is discussed as a possible reversal clue but is not part of the coded entry rules.
  • The document identifies lag, sideways-market whipsaws, and missing risk controls as limitations.

Tags

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