Description
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. |
Plots
Plot | Description |
---|---|
PriceOsc
|
The Price Oscillator. |
ZeroLine
|
Zero level. |
Example*
*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.
Past performance is no guarantee of future performance.