APO (Absolute Price Oscillator)

Indicator Description

APO (Absolute Price Oscillator) is a momentum indicator that measures price momentum by calculating the difference between two moving averages of different periods.

Function Information

  • Function Name: APO
  • Input Parameters:
    • #Kline: K-line data
  • Parameter Settings:
    • fastperiod: Fast period (default: 12)
    • slowperiod: Slow period (default: 26)
    • matype: Moving average type (default: 0)
  • Output: APO value

Calculation Principle

APO is calculated using the following formula:

APO = FastMA - SlowMA

Where:

  • FastMA is the fast period moving average
  • SlowMA is the slow period moving average

Usage Scenarios

  1. Momentum Analysis
  2. Trend Confirmation
  3. Trading Signal Generation
  4. Market State Analysis

Usage Recommendations

  1. APO > 0 indicates upward momentum
  2. APO < 0 indicates downward momentum
  3. Watch for APO zero-line crossovers
  4. Pay attention to market environment changes
Last Updated: