PriceOscillator(Vector, Short Term Periods, Long Term Periods, MA Type)
PO(Vector, Short Term Periods, Long Term Periods, MA Type)
Similar to the Volume Oscillator, the Price Oscillator is calculated based on a
spread of two moving averages.
The Price Oscillator is basically a moving average spread. Buying usually occurs when the oscillator rises, and selling usually occurs when the oscillator falls.
Short Term Periods: 9
Long Term Periods: 14
MA Type: SIMPLE
set BUY = PO(CLOSE, 9, 14, SIMPLE) > 0
Evaluates to buy when the Price Oscillator is in positive territory.