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
- Momentum Analysis
- Trend Confirmation
- Trading Signal Generation
- Market State Analysis
Usage Recommendations
- APO > 0 indicates upward momentum
- APO < 0 indicates downward momentum
- Watch for APO zero-line crossovers
- Pay attention to market environment changes