Skip to content
All library documents

Trading Price–Oscillator Divergences with AC and Stochastic

Article Strategy library · Author: ChaoZhang

Summary

This strategy looks for possible reversals by comparing recent price extremes with the Accelerator Oscillator (AC) and Stochastic indicator. A bullish signal requires a lower recent price low alongside rising AC and a bullish Stochastic divergence; a bearish signal uses a higher price high with falling readings. The description also mentions RSI as confirmation, but the supplied code calculates RSI without using it in its entry rules.

The code sets take-profit and stop-loss orders at fixed price distances and marks signals on the chart. The published backtest configuration specifies daily BTC/USDT futures data over a stated date range, but the document provides no performance results, so it does not establish profitability. It flags potential false signals in ranging markets, parameter sensitivity, slippage, and moving-average lag. The text suggests volatility-based exits and other filters as possible extensions, not tested improvements.

Key ideas

  • Bullish signals require price to make a lower recent low while AC rises and Stochastic confirms divergence.
  • Bearish signals require a higher recent high while AC falls and Stochastic confirms divergence.
  • The code uses fixed price distances for take-profit and stop-loss orders.
  • RSI is calculated in the code but does not participate in the stated entry conditions.
  • The document gives backtest settings but no performance evidence.

Tags

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