Systemicbeta

Percentage Price Oscillator

systemic:core-ppoIndicators

Inputs

NameTypeDescription
Slow WindowWhole numberThe number of bars in the slow (long-term) EMA, the trend baseline that momentum is measured against.
Fast WindowWhole numberThe number of bars in the fast (short-term) EMA, which reacts quickly to recent price changes.
Signal WindowWhole numberThe number of bars in the EMA of the PPO that forms the Signal line.
PriceNumber seriesThe series the PPO is calculated from, usually closing prices.

Outputs

NameTypeDescription
PPONumber seriesThe PPO line: the gap between the fast and slow EMA, as a percentage of the slow EMA.
SignalNumber seriesThe Signal line: an EMA of the PPO line, used for crossover signals.
HistogramNumber seriesThe gap between the PPO line and its Signal line, which shows whether momentum is speeding up or slowing down.

Cost

18
credits per run
1,000
bars

0.21 + 0.0176·n credits for n bars, rounded up. The marks are each plan's limit of bars.

The Comparability Problem

You compare two stocks. Stock A ($500) has a MACD of 5. Stock B ($25) also has a MACD of 5. Which has stronger momentum?

The answer is not obvious. For Stock A, the 5-point difference is 1% of its price. For Stock B, it is 20%. The MACD gives the same number for very different situations.

The PPO solves this by expressing momentum as a percentage:

PPO=EMAfast−EMAslowEMAslow×100\text{PPO} = \frac{\text{EMA}_{\text{fast}} - \text{EMA}_{\text{slow}}}{\text{EMA}_{\text{slow}}} \times 100

Now Stock A shows PPO = 1 and Stock B shows PPO = 20. The values are in percent, so you can compare them directly.


Why Percentage Matters

ScenarioMACDPPOTruth
$500 stock, EMAs differ by $551%Modest momentum
$25 stock, EMAs differ by $5520%Very strong momentum
$100 stock, EMAs differ by $333%Moderate momentum

💡 The PPO normalizes momentum. A PPO of 3% means the same thing for Bitcoin, Apple stock, or a penny stock.


Calculation Flow

flowchart TD
    subgraph Input["Price Data"]
        P["Closing Prices"]
    end
    
    subgraph EMAs["Moving Averages"]
        F["Fast EMA (12)"]
        S["Slow EMA (26)"]
    end
    
    subgraph Calc["PPO Line"]
        D["(Fast − Slow) ÷ Slow × 100"]
    end
    
    subgraph Signal["Signal & Histogram"]
        SL["Signal Line (9-period EMA of PPO)"]
        H["Histogram = PPO − Signal"]
    end
    
    P --> F & S --> D --> SL
    D & SL --> H

Interpreting PPO Values

PPO ValueWhat It Means
> 0Fast EMA > Slow EMA → Bullish momentum
< 0Fast EMA < Slow EMA → Bearish momentum
RisingMomentum accelerating
FallingMomentum decelerating
Near 0Trend transitioning or ranging

Extreme Value Guidelines

PPO RangeInterpretation
> +3%Strong bullish momentum
+1% to +3%Moderate bullish
-1% to +1%Neutral / transitioning
-3% to -1%Moderate bearish
< -3%Strong bearish momentum

Trading Signals

Signal Line Crossover

EventSignalStrength
PPO crosses above SignalBuyStronger if PPO > 0
PPO crosses below SignalSellStronger if PPO < 0

Zero Line Crossover

EventSignalMeaning
PPO crosses above 0BullishFast overtakes slow—trend shift
PPO crosses below 0BearishFast falls below slow—trend shift

Divergence

TypePricePPOImplication
Bullish DivergenceLower lowHigher lowDowntrend weakening
Bearish DivergenceHigher highLower highUptrend weakening

Histogram: Momentum Acceleration

The histogram shows how fast momentum is changing:

Histogram BehaviorMeaning
Positive & risingBullish momentum accelerating 📈
Positive & fallingBullish momentum slowing
Negative & fallingBearish momentum accelerating 📉
Negative & risingBearish momentum slowing

Missing Data

Both EMAs use only the bars that have a price:

  • Closed-market gaps (e.g. weekends) stay gaps. On a bar with no price, all three outputs are empty. They never repeat an old PPO value or show a 0 that could look like a zero-line crossover. The EMAs continue on the next bar that has a price.
  • Warm-up is empty, never 0. The PPO line is empty for the first window_slow − 1 bars that have a price. The Signal line needs window_signal − 1 more PPO values after that.
  • A zero slow EMA gives no percentage. PPO divides by the slow EMA. On the rare bar where that EMA is exactly 0, all three outputs are empty.
  • Enough bars. The run needs at least as many bars as the largest of the three windows.

Multi-Asset Momentum Comparison

The main strength of PPO: you can compare momentum directly across any assets.

flowchart LR
    subgraph Assets["Portfolio Assets"]
        A["BTC ($45,000)"]
        B["ETH ($2,500)"]
        C["SOL ($120)"]
    end
    
    subgraph PPOs["PPO Values"]
        PA["PPO: +2.1%"]
        PB["PPO: +4.5%"]
        PC["PPO: +1.2%"]
    end
    
    subgraph Decision["Rotation Signal"]
        R["Overweight ETH<br/>Underweight SOL"]
    end
    
    A --> PA
    B --> PB
    C --> PC
    PA & PB & PC --> R

Use case: Momentum rotation strategies. Favor the assets with the highest PPO and reduce exposure to those with the lowest.


Parameters

ParameterTypical valuePurpose
Fast Window12Short-term EMA (recent momentum)
Slow Window26Long-term EMA (trend baseline)
Signal Window9EMA of PPO for crossover signals

Tuning Guidelines

Trading StyleSuggested Settings
Day trading5 / 13 / 8
Swing trading12 / 26 / 9 (standard)
Position trading19 / 39 / 9

When PPO Works Well

  • Multi-asset comparison — Compare momentum across assets with different prices
  • Sector rotation — Find the strongest and weakest sectors
  • Trending markets — Clear signals in directional moves
  • Portfolio construction — A momentum factor for allocation decisions

When PPO Struggles

  • Sideways markets — Whipsaws around the zero line
  • Precise timing — It lags: signals come after a move starts
  • Choppy markets — Many false crossovers
  • Without confirmation — Works best together with a trend filter

Summary

AspectDetail
Full NamePercentage Price Oscillator
Core IdeaMACD as a percentage, so assets can be compared
FormulaEMAfast−EMAslowEMAslow×100\frac{EMA_{fast} - EMA_{slow}}{EMA_{slow}} \times 100
RangeTypically -5% to +5% (unbounded)
Key SignalsSignal crossovers, zero crossovers, divergence
StrengthCross-asset momentum comparison
WeaknessLagging, whipsaws in ranges
Typical Windows12 / 26 / 9

Further Reading


Indicator Assessment

%%{init: {"quadrantChart": {"titleFontSize": 14}, "themeVariables": {"quadrant1Fill": "#e8f5e9", "quadrant2Fill": "#fff3e0", "quadrant3Fill": "#ffebee", "quadrant4Fill": "#e3f2fd"}}}%%
quadrantChart
    title PPO Indicator Assessment
    x-axis Low Popularity --> High Popularity
    y-axis Low Reliability --> High Reliability
    quadrant-1 High potential  
    quadrant-2 Established
    quadrant-3 Niche
    quadrant-4 Widely used
    Stocks: [0.65, 0.70]
    Crypto: [0.55, 0.60]
DimensionStocksCryptoNotes
Popularity●●●◐○●●●○○Less known than MACD, but its use is growing
Reliability●●●●○●●●○○Percentage normalization improves cross-asset signals
Complexity●●○○○●●○○○A MACD variant: the same concepts apply
Versatility●●●●●●●●●●Very good for multi-asset comparison
Recent Interest●●●◐○●●●●○Growing with crypto portfolio strategies

Why PPO rates higher for multi-asset use: The percentage scale lets you compare momentum across assets with very different prices, which MACD cannot do. This makes PPO a common choice for momentum rotation strategies.

Rendering diagrams...
© 2026 WanoLabs. All rights reservedBeta v0.1.5