The Price Oscillator study calculates the difference between two moving averages of price: the fast and the slow ones; average type is customizable via input parameters. You can choose any of the supported average types: simple, exponential, weighted, Wilder's, or Hull.

It is considered a Buy signal when the Price Oscillator values rise above zero, and a Sell signal when the values fall below zero.


Input Parameters

Parameter Description
color norm length The number of bars defining the coloring algorithm.
fast length The number of bars used to calculate the fast moving average.
price The price used to calculate the averages.
slow length The number of bars used to calculate the slow moving average.
average type Defines the type of moving average to be used in calculations.


Plot Description
PriceOsc The Price Oscillator.
ZeroLine Zero level.


*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.

  Past performance is no guarantee of future performance.

You may also like
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
thinkScript®: Q&A
What is thinkScript®? thinkScript® is a built-in programming language that gives you the ...
The Slow Relative Strength Index is a version of the classic Relative Strength Index (RSI), ...