The Price Oscillator is a technical indicator used to measure momentum based on the difference between two moving averages of prices. It helps in identifying trend directions and potential reversal points by comparing a short-term moving average to a long-term moving average.
PriceOscillator[S,L](price)
Parameters:
The Price Oscillator is calculated by subtracting the long-term moving average from the short-term moving average. The formula can be expressed as:
PO = MA(price, S) - MA(price, L)
In its percentage form, the result is then divided by the short-term moving average and multiplied by 100 to express it as a percentage:
PO% = (PO / MA(price, S)) * 100
To calculate the Price Oscillator for a stock using a 10-day short-term and a 20-day long-term moving average on the closing price, you would use:
PriceOscillator[10,20](close)
The Price Oscillator provides signals about the momentum and potential shifts in market direction. A positive value indicates that the short-term average is above the long-term average, suggesting upward momentum. Conversely, a negative value suggests downward momentum. Crossovers of the oscillator with its zero line can be used to identify potential buy or sell opportunities, with crossings from below to above zero suggesting a buy signal, and from above to below indicating a sell signal.
This indicator does not provide trading or financial advice but serves as a tool for analyzing market trends.