Scan Syntax: Technical Indicators
Last updated
Was this helpful?
Last updated
Was this helpful?
There are several technical indicators that you can set as filters for your scan. For more information on writing scans using these and other scan clauses, please see our Support Center article on .
Note: Accumulation/Distribution indicators use volume in their calculations, which means these indicators are not available for intraday scans. Make sure the starting date adjuster is set to “Last Market Close” when using these scan clauses.
The value of the .
Syntax:
AccDist
Operators:
is,=, !=, >, >=, <=, <, x, is, is not
Example:
[AccDist > yesterday's AccDist]
The average of the Accumulation/Distribution Line over a given period of time.
Syntax:
AccDist Signal(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[AccDist Signal(20) > AccDist]
Syntax:
Aroon Up(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Aroon Up(25) > 70.0]
Syntax:
Aroon Down(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Aroon Down(25) < 30.0]
Syntax:
Aroon Osc(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Aroon Osc(25) > 0.0]
Syntax:
ADX Line(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ADX Line(14) > 20.0]
Syntax:
Plus DI(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Plus DI(14) > Minus DI(14)]
Syntax:
Minus DI (nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Minus DI(14) > Plus DI(14)]
Syntax:
ATR(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ATR(14) > 2.0]
Syntax:
ATRP(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ATRP(14) > 1.0]
Syntax:
BOP(nPeriods)
Parameters:
nPeriods - Number of periods in the SMA used to smooth the indicator
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[BOP(14) > 0]
Syntax:
Upper BB(nPeriods, StdDev, exp)
Parameters:
nPeriods - Number of periods
StdDev - Distance of the bands from the centerline
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Upper BB(20,2,close) < close]
Syntax:
Lower BB(nPeriods, StdDev, exp)
Parameters:
nPeriods - Number of periods
StdDev - Distance of the bands from the centerline
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Lower BB(20,2,close) > close]
Syntax:
BB Width(nPeriods, StdDev, exp)
Parameters:
nPeriods - Number of periods
StdDev - Distance of the bands from the centerline
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[BB Width(20,2,close) > 9.99]
Syntax:
%B(nPeriods, StdDev, exp)
Parameters:
nPeriods - Number of periods
StdDev - Distance of the bands from the centerline
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[%B(20,2,close) > 1]
Syntax:
CMF(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[CMF(20) > 0.0]
Syntax:
Chaikin Osc(nShort, nLong)
Parameters:
nShort - The smaller number of periods used in the computation
nLong - The larger number of periods used in the computation
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Chaikin Osc(3,10) > 9,999]
Syntax:
Chande Trend Meter
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Chande Trend Meter > 80.0]
Syntax:
Chandlr(nPeriods, multiplier, long/short)
Parameters:
nPeriods - Number of periods
multiplier - ATR multiplier
long/short - (optional) Default is long
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Chandlr(22,3.0,long) > close]
Syntax:
CCI(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[CCI(20) > 100.0]
Syntax:
ConnorsRSI(nRSI,nStreak,nRank)
Parameters:
nRSI - Number of periods in the RSI of price
nStreak - Number of periods in the RSI of the up/down streak
nRank - Number of periods used in the price change ranking
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ConnorsRSI(3,2,100) > 50]
Syntax:
Coppock(ROC1, ROC2, WMA, exp)
Parameters:
ROC1 - Rate of Change periods to be used in WMA calculation
ROC2 - additive ROC periods
WMA - Weighted Moving Average period
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Coppock(14,11,10) > 0.0]
Syntax:
Correlation(nPeriods, symbol)
Parameters:
nPeriods - Number of periods
symbol - Ticker symbol used as a comparison when calculating correlation coefficient
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Correlation(20,$spx) > 0]
Syntax:
PMO Line(EMA1, EMA2, Signal EMA, exp)
Parameters:
EMA1 - First Exponential Moving Average Value
EMA2 - Second Exponential Moving Average Value
Signal EMA - Exponential Moving Average for the Signal Line
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[PMO Line(35,20,10) > 0.0]
Syntax:
PMO Signal(EMA1, EMA2, Signal EMA, exp)
Parameters:
EMA1 - First Exponential Moving Average Value
EMA2 - Second Exponential Moving Average Value
Signal EMA - Exponential Moving Average for the Signal Line
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[PMO Signal(35,20,10) x PMO Line(35,20,10)]
Syntax:
DPO(nPeriods, nOffset, exp)
Parameters:
nPeriods - Number of periods
nOffset - (optional) Number of periods to move forward; default is 0
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[DPO(20) > 0]
[DPO(20,0,close) > 0]
Syntax:
DistFromSMA(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[DistFromSMA(200) > 0]
Syntax:
DistFromEMA(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[DistFromEMA(200) > 0]
Syntax:
DEMA(nPeriods, exp)
Parameters:
nPeriods - Number of periods
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[DEMA(20,close) > 0]
Syntax:
EMV(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[EMV(14) > 0]
Syntax:
FORCE(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[FORCE(13) > 0.0]
Syntax:
HullMA(nPeriods, exp)
Parameters:
nPeriods - Number of periods
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[HullMA(20,close) > 0]
Syntax:
Ichimoku Base Line(nConversion, nBase, nSpan)
Parameters:
nConversion - number of periods in conversion line (Tenkan-Sen)
nBase - periods in base span (Kijun-Sen)
nSpan - periods in leading span (Senkou)
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Ichimoku Base Line(9,26,52) > 0]
Syntax:
Ichimoku Conversion Line(nConversion, nBase, nSpan)
Parameters:
nConversion - number of periods in conversion line (Tenkan-Sen)
nBase - periods in base span (Kijun-Sen)
nSpan - periods in leading span (Senkou)
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Ichimoku Conversion Line(9,26,52) > 0]
Syntax:
Ichimoku Span A(nConversion, nBase, nSpan)
Parameters:
nConversion - number of periods in conversion line (Tenkan-Sen)
nBase - periods in base span (Kijun-Sen)