v11 Documentation update
Updated:
outlierLevel(src, len, level, useWma, smoothing)
Gets the (standard deviation) outlier level for a given series.
Parameters:
src: The series to average and add a multiple of the standard deviation to.
len: The The number of bars to measure.
level: The positive or negative multiple of the standard deviation to apply to the average. A positive number will be the upper boundary and a negative number will be the lower boundary.
useWma: When true, the calulcation is done using an improved weighted moving average to avoid giving significance to older values.
smoothing: The number of extra bars to help in smoothing out the result so that large spikes dont' occur from recent data.
Returns: The average of the series plus the multiple of the standard deviation.
naOutliers(src, len, maxDeviation, useWma, smoothing)
Returns only values that are within the maximum deviation.
Parameters:
src: The series to filter results from.
len: The The number of bars to measure.
maxDeviation: The maximum deviation before considered an outlier.
useWma: When true, the calulcation is done using an improved weighted moving average to avoid giving significance to older values.
smoothing: The number of extra bars to help in smoothing out the result so that large spikes dont' occur from recent data.
normalize(src, len, maxDeviation, baseline, useWma, smoothing)
Returns the source value adjusted by its standard deviation.
Parameters:
src: The series to measure.
len: The number of bars to measure the standard deviation.
maxDeviation: The maximum deviation before considered an outlier.
baseline: The value considered to be at center. Typically zero.
useWma: When true, the calulcation is done using an improved weighted moving average to avoid giving significance to older values.
smoothing: The number of extra bars to help in smoothing out the result so that large spikes dont' occur from recent data.
outlierLevelAdjusted(src, len, level, maxDeviation, useWma, smoothing)
Gets the (standard deviation) outlier level for a given series after a single pass of removing any outliers.
Parameters:
src: The series to average and add a multiple of the standard deviation to.
len: The The number of bars to measure.
level: The positive or negative multiple of the standard deviation to apply to the average. A positive number will be the upper boundary and a negative number will be the lower boundary.
maxDeviation: The optional standard deviation level to use when cleaning the series. The default is the value of the provided level.
useWma: When true, the calulcation is done using an improved weighted moving average to avoid giving significance to older values.
smoothing: The number of extra bars to help in smoothing out the result so that large spikes dont' occur from recent data.
Returns: The average of the series plus the multiple of the standard deviation.