|
Navigation: Study Formulas > Oscillators Oscillators |
Top Previous Next |
The study formulas included in the Oscillators section are:
armsEaseOfMov()
This function calculates the Arms Ease of Movement which is a simple moving average of ((H+L)/2-(H1-L1)/2)/(V/(H-L)). Requires volume.
Parameters
period |
the input length |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
aroonUp()
Aroon Up is a trend strength measurement developed by Tushar Chande which oscillates between 0 and 100. Formula is ((period-offsetToHighOfPeriod)/period)*100. The input stream can be a standard data point or it can be another study. Typically the high is used for the aroonUp calculation.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
aroonDn()
Aroon Dn is a trend strength measurement developed by Tushar Chande which oscillates between 0 and 100. Formula is ((period-offsetToLowOfPeriod)/period)*100. The input stream can be a standard data point or it can be another study. Typically the low is used for the aroonDn calculation.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
asymmetricalRSI()
Returns the Asymmetrical RSI. Formula based on a 10/2008 TASC article by Sylvain Vervoort.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
centerOfGravity()
This function calculates the Center of Gravity indicator (COG). COG was developed by John Ehlers as a low-lag method of identifying turning points. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
chaikinMF()
This function calculates the Chaikin Money Flow indicator (CMF). CMF is the sum of accumulation/distribution over a selected period divided by the sum of volume over that same period.
Parameters
period |
the input length |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
chaikinOsc()
This function calculates the Chaikin Oscillator (CO). CO is typically a 3-period exponential average of accumulation/distribution subtracted from a 10-period exponential average of accumulation/distribution.
Parameters
fast |
the fast input length |
slow |
the slow input length |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
commodityChannelIndex()
This function calculates the Commodity Channel Index (CCI). CCI was developed by Donald Lambert and is designed to identify cyclical turns in commodities. Lambert recommends using 1/3 of the current cycle length as the input length to the CCI. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
detrendedOsc()
This function calculates the Detrended Price Oscillator which is a simple moving average offset by 1/2 of the input length subtracted from current price. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
dynamicMomIndex()
This function calculates the Dynamic Momentum Index, which is essentially a variable-term RSI that is more responsive than a traditional RSI. The input stream can be a standard data point or it can be another study.
Parameters
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
eldersForceIndex()
This function calculates the Elder's Force Index (EFI), which is a momentum indicator that uses volume in conjunction with price change from previous close.
Parameters
period |
the input length |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
fisher()
This function calculates John Elher's Fisher Transform which is designed to identify major turning points. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
fisherInverse()
This function calculates John Elher's Inverse Fisher Transform which is designed to alter the probability distribution function of an input stream to generate clearer signals.. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
fisherInverseAlt()
This function calculates John Elher's Inverse Fisher Transform which is designed to alter the probability distribution function of an input stream to generate clearer signals. Same formula as the standard fisherInverse() function but this version uses rsi as the input stream.
Parameters
rsilen |
the input length for the rsi calculation |
wmalen |
the input length for the fisher calculation |
source1 |
the input stream for the rsi. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
macd()
This function calculates the standard MACD value. The input stream can be a standard data point or it can be another study.
Parameters
fast |
the fast input length |
slow |
the slow input length |
smooth |
the smoothing length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
macdHist()
This function calculates the standard MACD Histogram value. The input stream can be a standard data point or it can be another study.
Parameters
fast |
the fast input length |
slow |
the slow input length |
smooth |
the smoothing length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
macdSig()
This function calculates the standard MACD Signal value. The input stream can be a standard data point or it can be another study.
Parameters
fast |
the fast input length |
slow |
the slow input length |
smooth |
the smoothing length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
momentum()
This function calculates standard momentum which is prior price (at "period") subtracted from current price. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
moneyFlow()
This function calculates MoneyFlow, which is an indexed value (accumulation/distribution) based on the price and volume over the number of bars specified by the input period. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
percentChange()
This function calculates the percent-change which is (currentValue-priorValue)/priorValue, where priorValue is the value from "period" bars ago. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
percentInRange()
This function calculates the position of the close (i.e., current price) relative to the range of the current bar (i.e., low to high) as a percentage. The formula is ( ( close - low ) / ( high - low ) ) * 100.0.
Parameters
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
percentR()
This function calculates the Williams PercentR which is a measurement of current price in relation to the recent range, expressed as a percentage. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
priceOsc()
This function calculates calculates the difference between two moving averages. When this value is positive it means that the fast moving average is above the slow moving average. The input stream can be a standard data point or it can be another study.
Parameters
fast |
the fast input length |
slow |
the slow input length |
source1 |
the input stream for the fast moving average. select from one of the standard data points or select the output of another study as input for this study |
source2 |
the input stream for the slow moving average. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
priceOscPercent()
This function calculates calculates the difference between two moving averages as a percentage of the slow moving average. When this value is positive it means that the fast moving average is above the slow moving average. The input stream can be a standard data point or it can be another study.
Parameters
fast |
the fast input length |
slow |
the slow input length |
source1 |
the input stream for the fast moving average. select from one of the standard data points or select the output of another study as input for this study |
source2 |
the input stream for the slow moving average. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
qStick()
This function calculates the QStick indicator, which was developed by Tushar Chande to identify trends in candlestick charts, and is an n-period moving average of the difference between the open and closing prices.
Parameters
period |
the input length |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
rateOfChange()
This function calculates the rate of change of the input source over the specified period. Same formula as percentChange, which is (currentValue-priorValue)/priorValue, where priorValue is the value from "period" bars ago. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
relativeSpreadStrength()
This function calculates the relative spread strength, developed by Ian Copsey, and it is a variation on relative strength index (rsi). The input stream can be a standard data point or it can be another study.
Parameters
rsiLen |
the input length for the rsi calculation |
fast |
the fast ema length |
slow |
the slow ema length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
relativeStrengthIndex()
This function calculates the standard Relative Strength Index (RSI). RSI is a momentum indicator that compares the recent gains to recent losses in an attempt to assign overbought and oversold levels. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
relativeVigorIndex()
This function calculates the Relative Vigor Index (RVI) which tracks the cyclical component of the market.
Parameters
period |
the input length |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |
slowRSI()
This function calculates the Slow RSI, which is a smoothed version (using a simple moving average) of the standard RSI. The input stream can be a standard data point or it can be another study.
Parameters
period |
the input length |
smooth |
the smoothing length |
source1 |
the input stream. select from one of the standard data points or select the output of another study as input for this study |
inv |
select the bar interval on which this study should be calculated or leave blank to calculate on the default bar interval |