The Oscillator Cross (OSCx) is the display of Oscillator 1 and Oscillator 2 with a moving average of Oscillator 1.
Oscillators 1 (OSCx1) and 2 (OSCx2) are calculated as follows:
Oscillator 1 = Moving Average 1 (MA1) - Moving Average 2 (MA2)
Oscillator 2 = Moving Average 3 (MA3) - Moving Average 4 (MA4)
A Moving Average of Oscillator 1 (MA5) is also displayed.
Oscillator Cross Parameters
Parameter |
Description |
Display |
Opens sub-window to set parameters • Color = Line color. • Weight = Line thickness. • MarkIt = Opens Specify Conditions window. • Display = Line style: line or histogram. • ShareScale = Determines whether sharing of the vertical scales between studies is accepted. Auto = System determine whether sharing is feasible. On = Scale is shared regardless of the functions and studies displayed. Off = Scale is not shared. ShareScale must be On if study is overlaid on a study with multiple outputs. |
Offset |
Distance in bars between the current bar and the bar to use in the calculation. A positive offset uses future bars. A negative offset uses past bars. For example: 1 = next bar -2 = two bars back from current bar |
Type |
Moving average calculation. Values: • Simple • Smoothed • Exponential • Weighted • Centered • Median • Trix • Exponential Hull |
Period |
Number of bars in the lookback range. |
Price |
Price used to calculate study values. |
OB/OS |
Opens sub-window with overbought and oversold parameters: • Color = Select a color for the line. • Weight = Choose a thickness for the indicator. • Type = Choose fixed or dynamic. Fixed = uses Level as a fixed OB/OS value. Dynamic = uses Standard Deviation and Lookback for a dynamic OB/OS value:. OB: MA(@,Sim,lookback) + factor * STDDEV(@,lookback) OS: MA(@,Sim,lookback) - factor * STDDEV(@,lookback) where @ is the study • Std Dev = Multiplier used to calculate high and low. • Lookback = Number of bars to compare to the current bar. • Level = Percentage of average OB/OS used to calculate predictor Ob/OS levels. • Display = Click this check box to display the component. • Style = Choose a line style. |