APO Absolute Price Oscillator (also simply called: PO – Price Oscillator) is pretty much like MACD it’s a difference between a faster and a slower Moving Average.
Zero line crossings are to be intended as Bullish or Bearish signals.
input = price, user defined, default is Midpoint
method = moving average (ma), user defined, default is SMA
period = user defined, default is 10
period2 = user defined, default is 30
index = current bar number
MA1 = ma(method, index, period, input);
MA2 = ma(method, index, period2, input);
Plot: diff = MA1-MA2;
FastMA = 12
SlowMA = 26
MAtype = 0 //(sma)
FastMA = max(1,min(999,FastMA))
SlowMA = max(FastMA + 1,min(999,SlowMA))
MAtype = max(0,min(8,MAtype))
src = CustomClose
APO = Average[FastMA,MAtype](src) - Average[SlowMA,MAtype](src)
RETURN APO AS "Absolute Price Oscillator",0 AS "Zero"
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.ProRealTime ITF files and other attachments :