StockBeatStockBeat
Basics
  • Number Series
  • Boolean Series
  • Examples
  • Indicators
Alarms
Concepts
Basics
  • Number Series
  • Boolean Series
  • Examples
  • Indicators
Alarms
Concepts
  • Signals

    • Number Series
    • Boolean Series
    • Signal Examples
    • Indicators

      • Indicators
      • MFI (Money Flow Index)
      • ATR (Average True Range)
      • CCI (Commodity Channel Index)
      • CE (Chandelier Exit)
      • ER (Kaufman's Efficiency Ratio)
      • KC (Keltner Channel)
      • SMA (Simple Moving Average)
      • EMA (Exponential Moving Average)
      • MACD (Moving Average Convergence Divergence)
      • PPO (Percentage Price Oscillator)
      • RSI (Relative Strength Index)
      • FSO (Fast Stochastic Oscillator)
      • SSO (Slow Stochastic Oscillator)
      • BB (Bollinger Bands)
      • MAD (Mean Absolute Deviation)

PPO (Percentage Price Oscillator)

The PPO (Percentage Price Oscillator) is a momentum oscillator that measures the difference between two moving averages as a percentage of the larger moving average. Like the MACD, the PPO is composed of a PPO line, a signal line, and a histogram. The PPO is used to identify trend direction, momentum, and potential trend reversals.

Arguments

NameDescription
fast_periodperiod for fast EMA
slow_periodperiod for slow EMA
signal_periodperiod of signal EMA
typeone of value, signal or histogram

Useful Signal Expressions

1. PPO Histogram Crossover (Bullish)

Signal:

close().ppo(12, 26, 9, histogram).crosses_above(0)

Explanation: The PPO histogram crosses above the zero line, which is a bullish signal, similar to the MACD.

2. PPO Histogram Crossover (Bearish)

Signal:

close().ppo(12, 26, 9, histogram).crosses_below(0)

Explanation: The PPO histogram crosses below the zero line, which is a bearish signal.

3. PPO Line crosses above Signal Line

Signal:

close().ppo(12, 26, 9, value).crosses_above(close().ppo(12, 26, 9, signal))

Explanation: The PPO line crosses above the signal line, a classic bullish PPO signal.

Last Updated:: 2/12/26, 8:03 AM
Contributors: ErenKizilay
Prev
MACD (Moving Average Convergence Divergence)
Next
RSI (Relative Strength Index)