Browse the library

Indicators · Momentum oscillators

Absolute Price Oscillator (APO): moving-average gap in dollars

What the Absolute Price Oscillator measures, why Finabase’s APO uses simple averages unlike MACD, a worked example on Visa, its zero-line signals and their limits.

On this page
  1. What the APO measures
  2. The formula
  3. The APO on a real chart: Visa 2025–2026
  4. How traders use the APO
  5. Pitfalls and limitations
  6. Comparison table
  7. How Finabase calculates and scores the APO
  8. Frequently asked questions
  9. Summary

The Absolute Price Oscillator (APO) is the difference between a fast and a slow moving average of price, plotted as a line around zero. When the fast average is above the slow one, the APO is positive; when it is below, negative. It answers the same question as a moving-average crossover chart, "is the short-term trend above or below the longer-term trend, and by how much?", but puts the answer on a single line that is easy to read.

If that sounds like MACD, it should. The MACD line is a specific APO built from exponential averages. Finabase's APO is different in one important way: it uses simple moving averages, so it is not the same number as the MACD line even with the same 12 and 26 periods. This guide explains the calculation with real Visa prices, how the APO relates to MACD and to the percentage-based PPO, and what its zero-line signals did over a real year.

What the APO measures

A moving-average crossover system watches two lines on the price chart and acts when they cross. The APO subtracts one line from the other, so the crossover becomes a zero crossing and the distance between the averages becomes visible:

  • APO crossing above zero = the fast average crossing above the slow one.
  • APO rising = the fast average pulling away, momentum accelerating.
  • APO falling while still positive = the averages converging, momentum fading.

The "absolute" in its name means the result is in price units, dollars here, rather than a percentage. That is both its simplicity and its main limitation.

The formula

A worked example on Visa

On October 29, 2026, Visa (V) closed at $410.54. From Finabase's daily closes:

Step Value
12-day simple average $404.21
26-day simple average $386.83
APO = 404.21 − 386.83 +$17.38

Finabase's APO (12, 26) for that day is 17.38. The day before it was 18.06, and on October 27 it reached 18.60, its high for the year. So at the end of October the short-term average was still well above the longer one, but the gap had started to narrow: momentum was positive and fading slightly.

The same idea in percentage terms

The PPO would express that gap relative to the slow average: 17.38 ÷ 386.83 × 100 = 4.5%. A 4.5% gap means the same thing on a $40 stock and a $400 stock. A $17.38 gap does not, which is why APO values cannot be compared across stocks.

The APO on a real chart: Visa 2025–2026

Visa (V) daily with APO (12, 26) · 2025-10-30 to 2026-10-29 $300 $350 $400 Low $293.89 · Apr 1 Price -10 0 10 20 APO −13.44 · Jan 29 +18.60 · Oct 27 APO (12, 26) = SMA (12) − SMA (26) Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep Oct
Visa (V), one year of daily bars with APO (12, 26) as computed by Finabase, using simple moving averages.

Visa rose about 19% over the year, from $345.03 to $410.54, but not smoothly. It fell to a low of $293.89 on April 1, 2026, then recovered in two legs. The APO followed:

  • Its low for the year, −13.44, came on January 29, 2026, when the 12-day average was $13 below the 26-day during the winter decline.
  • It crossed above zero on April 15 at a close of $315.91, two weeks after the price low. The 20 sessions after that gained only 1.4%.
  • It dipped below zero on June 4 at $320.18, and Visa then rose 11.6% over the next 20 sessions. It was back above zero on June 24.
  • It dipped below zero again on September 18 at $368.29, and Visa rose 9.3% over the next 20 sessions.

In all, the APO crossed zero seven times during the year. The first downward crossing, on January 15 at $327.75, led into the winter decline (−4.2% over 20 sessions). The last two, in a year-long uptrend, were brief dips, to −2.76 in June and −5.05 in September, and both were followed by strong rallies. A zero-line rule would have been whipsawed exactly where the trend was strongest.

How traders use the APO

Trend side. The simplest reading: above zero, the shorter-term trend is up relative to the longer one; below zero, down.

Momentum shifts. Turns in the APO line, especially when it is far from zero, show momentum peaking or bottoming before the averages cross.

Divergence. As with MACD, a new price high with a lower APO high, or a new price low with a higher APO low, shows momentum disagreeing with price.

Building a custom MACD. Traders who want a MACD-style oscillator from different averages (for example simple averages, or periods of 10 and 30) use the APO and change its periods. Finabase's APO has no signal line; for that, use MACD indicator: signal line, histogram and divergence.

Pitfalls and limitations

Not comparable across stocks or time. A $17 APO on Visa today and a $17 APO on Visa five years ago, at a different price level, mean different things. Use the PPO idea (divide by the slow average) when you need comparability.

Simple averages have drop-off effects. When a large move leaves the 12- or 26-day window, the APO can jump for no current reason. That is the price of using SMAs.

Zero-line whipsaws. As Visa showed, the zero line produces false signals whenever the two averages run close together.

Comparison table

Indicator Formula Units Comparable across stocks? Signal line?
APO Fast MA − slow MA (SMA in Finabase) Dollars No No
MACD EMA(12) − EMA(26) Dollars No Yes
PPO (Fast − slow) ÷ slow × 100 Percent Yes Usually
ROC % change over n bars Percent Yes No

See Simple moving average (SMA): formula, crossovers and limits for the averages the APO subtracts.

How Finabase calculates and scores the APO

Finabase computes the APO with TA-Lib's APO function on closing prices, with MA type 0, which is the simple moving average. A new APO study defaults to a fast period of 12 and a slow period of 26, both adjustable, and is drawn in its own panel around a zero line.

APO (12, 26) is listed in the technical gauge on the symbol page with its latest value and carries no Buy or Sell rule, so it always counts as neutral there. Read its sign, slope and zero crossings on the chart.

Frequently asked questions

What is the difference between APO and MACD?

Both subtract a slow moving average from a fast one. MACD uses exponential averages and adds a signal line and histogram. Finabase's APO uses simple averages and has no signal line, so the two values differ even with the same periods.

What is the difference between APO and PPO?

The APO is the gap in price units; the PPO divides that gap by the slow average to express it as a percentage, which makes it comparable across stocks and over time.

What settings should I use for the APO?

12 and 26 match the MACD convention and are Finabase's defaults. Wider settings, such as 10 and 50, describe longer trends; narrower ones react faster and whipsaw more.

Summary

The Absolute Price Oscillator turns a two-moving-average chart into one line: the fast average minus the slow one, in dollars. In Finabase it subtracts a 26-day SMA from a 12-day SMA, which makes it a close cousin of, but not identical to, the MACD line. On Visa's 2026 chart it tracked the trend's swings well, while its zero-line crossings whipsawed twice in an uptrend. Use it for the trend's side and momentum, and divide by the slow average when you need to compare.

Sources and further reading

  1. Robert W. Colby, The Encyclopedia of Technical Market Indicators, 2nd ed. (McGraw-Hill, 2003) — price oscillators
  2. John J. Murphy, Technical Analysis of the Financial Markets (New York Institute of Finance, 1999), ch. 9 — moving-average oscillators
  3. TA-Lib — APO function reference (MA type 0 = simple moving average)
  4. Finabase chart data — V daily bars, 2025-10-30 to 2026-10-29, APO computed by Finabase