Square Root Deviation (SqrtDv)

This function is available on the Add Study window and in the Formula Toolbox.

Square root deviation is the square root of the deviations from a user specified moving average other than a simple moving average (which represents Standard Deviation).

The formula is the same as the Standard Deviation formula except the moving average can be of any type.

Example: SQRTDV(@,Smo,8)

 

Parameter

Description

Display

Opens a sub-window with display properties:

      Color = Select a line color.

      Weight = Type a value for line thickness.

      Display = Select line style: line, histogram, or dash.

      ShareScale = Assign a behavior for functions and studies sharing the vertical scale:

      Auto = System determine whether sharing is feasible.

      On = Scale is shared regardless of the functions and studies displayed.

      Off = Scale is not shared.

MarkIt

Opens the Specify Conditions for Marking Bar window.

Price

Price used for calculations.

Type

Type of moving average used for the Average True Range calculations. Choices include Simple, Smoothed, Exponential, Weighted, Centered, Median, Trix and Exponential Hull.

Period

Time period for the moving average calculations.

OB/OS

Opens a sub-window with properties for overbought and oversold indicators.

      Color = Select a line color.

      Weight = Type a value for line thickness.

      Type = Select fixed or dynamic.

      Std Dev = Choose a multiplier of the Standard Deviation used to derive high and low.

      Lookback = Choose the number of bars that should be compared to the current bar.

      Level = Assign a percentage value of average OB/OS to be used to calculate predictor OB/OS levels.

      Display = Click this check box to display the line on the chart.

      Style = Choose a line style: line, long dash, or short dash.