Scan Syntax: Technical Indicators
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 Writing Scans.
Accumulation/Distribution
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.
Accumulation/Distribution (AccDist)
The value of the Accumulation/Distribution Line.
Syntax:
AccDist
Operators:
is,=, !=, >, >=, <=, <, x, is, is not
Example:
[AccDist > yesterday's AccDist]
Accumulation/Distribution Signal (AccDist Signal)
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]
Aroon Oscillator
The values of the Aroon indicators and the Aroon Oscillator.
Aroon Up
Syntax:
Aroon Up(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Aroon Up(25) > 70.0]
Aroon Down
Syntax:
Aroon Down(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Aroon Down(25) < 30.0]
Aroon Osc
Syntax:
Aroon Osc(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Aroon Osc(25) > 0.0]
Average Directional Indicator
The value of the Average Directional Indicator.
ADX Line (ADX Line)
Syntax:
ADX Line(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ADX Line(14) > 20.0]
Positive Directional Indicator (Plus DI)
Syntax:
Plus DI(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Plus DI(14) > Minus DI(14)]
Negative Directional Indicator (Minus DI)
Syntax:
Minus DI (nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Minus DI(14) > Plus DI(14)]
Average True Range (ATR)
The value of the Average True Range indicator.
Syntax:
ATR(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ATR(14) > 2.0]
Average True Range Percent (ATRP)
The value of the Average True Range Percent indicator.
Syntax:
ATRP(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ATRP(14) > 1.0]
Balance of Power (BOP)
The value of the Balance of Power (BOP) indicator.
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]
Bollinger Bands
The values of the upper and lower Bollinger Band lines and their width. The bands are calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
Upper Bollinger Band (Upper BB)
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]
Lower Bollinger Band (Lower BB)
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]
Bollinger BandWidth (BB Width)
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]
Bollinger's %B Indicator
The value of Bollinger's %B indicator. The bands are calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
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]
Chaikin Money Flow (CMF)
The value of the Chaikin Money Flow indicator.
Syntax:
CMF(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[CMF(20) > 0.0]
Chaikin Oscillator (Chaikin Osc)
The value of the Chaikin Oscillator indicator.
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]
Chande Trend Meter
The value of the Chande Trend Meter indicator.
Syntax:
Chande Trend Meter
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Chande Trend Meter > 80.0]
Chandelier Exit (Chandlr)
The value of the Chandelier Exit indicator.
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]
Commodity Channel Index (CCI)
The value of the Commodity Channel Index.
Syntax:
CCI(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[CCI(20) > 100.0]
ConnorsRSI
The value of the ConnorsRSI indicator.
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]
Coppock Curve (Coppock)
The value of the Coppock Curve. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
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]
Correlation Coefficient
The value of the Correlation Coefficient, showing the degree of correlation with the specified symbol.
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]
DecisionPoint Price Momentum Oscillator (PMO)
The value of the DecisionPoint PMO indicator and its corresponding EMA signal line. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
PMO Line
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]
PMO Signal
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)]
Detrended Price Oscillator (DPO)
The value of the Detrended Price Oscillator. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
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]
Distance From Moving Average
The value of the simple or exponential Distance From Moving Average indicator.
Distance From SMA (DistFromSMA)
Syntax:
DistFromSMA(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[DistFromSMA(200) > 0]
Distance From EMA (DistFromEMA)
Syntax:
DistFromEMA(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[DistFromEMA(200) > 0]
Double Exponential Moving Average (DEMA)
The value of the Double Exponential Moving Average (DEMA) for the given expression, such as “close”, “volume” or “rsi(14)”.
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]
Ease of Movement (EMV)
The value of the Ease of Movement Oscillator.
Syntax:
EMV(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[EMV(14) > 0]
Force Index (Force)
The value of the Force Index.
Syntax:
FORCE(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[FORCE(13) > 0.0]
Hull Moving Average (HullMA)
The value of the Hull Moving Average (HMA) for the given expression, such as “close”, “volume” or “rsi(14)”.
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]
Ichimoku Cloud
The value of the Ichimoku Cloud lines. Ichimoku Cloud Top represents whichever span line (Span A or Span B) is at the top of the cloud; Ichimoku Cloud Bottom represents the span line at the bottom of the cloud.
See our Support Center article on Scanning Ichimoku Clouds for more information.
Ichimoku Base Line (Ichimoku Base Line)
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]
Ichimoku Conversion Line (Ichimoku Conversion Line)
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]
Ichimoku Span A (Ichimoku Span A)
Syntax:
Ichimoku Span A(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 Span A(9,26,52) > 0]
Ichimoku Span B (Ichimoku Span B)
Syntax:
Ichimoku Span B(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 Span B(9,26,52) > 0]
Ichimoku Cloud Top (Ichimoku Cloud Top)
Syntax:
Ichimoku Cloud Top(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 Cloud Top(9,26,52) < close]
Ichimoku Cloud Bottom (Ichimoku Cloud Bottom)
Syntax:
Ichimoku Cloud Bottom(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 Cloud Bottom(9,26,52) > close]
Kaufman's Adaptive Moving Average (KAMA)
The Kaufman's Adaptive Moving Average (KAMA) for the given expression such as “close”, “volume” or “rsi(14)”.
Syntax:
KAMA(nRatio, nFast, nSlow, exp)
Parameters:
nRatio - Number of periods for the Efficiency Ratio (ER)
nFast - Number of periods for the fast EMA
nSlow - Number of periods for the slow EMA
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[KAMA(10,2,30) > 99.9]
[KAMA(10,2,30,volume) > 60000]
Keltner Channels
The value for the Upper and Lower Keltner Channels.
Upper Keltner Channel (Upper Kelt Chan)
Syntax:
Upper Kelt Chan(EMA, multiplier, ATR period)
Parameters:
EMA - Number of periods
multiplier - multiplier to multiply the ATR value by to determine channel width
ATR Period - number of periods for the ATR
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Upper Kelt Chan(20,2,10) < close]
Lower Keltner Channel (Lower Kelt Chan)
Syntax:
Lower Kelt Chan(EMA, multiplier, ATR period)
Parameters:
EMA - Number of periods
multiplier - multiplier to multiply the ATR value by to determine channel width
ATR Period - number of periods for the ATR
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Lower Kelt Chan(20,2,10) > close]
Mass Index (MASS)
The value of the Mass index.
Syntax:
MASS(nPeriod, EMA)
Parameters:
nPeriod - number of EMA periods to use in sum
EMA - number of EMA periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[MASS(25,9) > 27]
Money Flow Index (MFI)
The value of the Money Flow Index.
Syntax:
MFI(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[MFI(14) > 80]
Moving Average
The simple or exponential moving average for the given expression, such as “close”, “volume” or “rsi(14)”.
Simple Moving Average (SMA)
Syntax:
SMA(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:
[SMA(20, close) < 25]
Exponential Moving Average (EMA)
Syntax:
EMA(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:
[EMA(20, volume) > 60,000]
Moving Average Convergence-Divergence (MACD)
The values of the MACD indicator line, its corresponding EMA signal line and the MACD histogram. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
Note: If the nSignal parameter is set to 1 or left blank, e.g. (12,26,1) or (12,26), the MACD Histogram and the signal line will not be displayed.
MACD Line (MACD Line)
Syntax:
MACD Line(nShort, nLong, nSignal, exp)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[MACD Line(12,26,9) > 0.0]
MACD Signal (MACD Signal)
Syntax:
MACD Signal(nShort, nLong, nSignal, exp)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[MACD Signal(12,26,9) x MACD Line(12,26,9)]
MACD Histogram (MACD Hist)
Syntax:
MACD Hist(nShort, nLong, nSignal, exp)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[MACD Hist(12,26,9) > 0.0]
Moving Average Envelopes
The values of the upper and lower Moving Average Envelope lines. The moving averages are calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
Upper Moving Average Envelope (Upper MA Env)
Syntax:
Upper MA Env(nPeriods,percentage,exp)
Parameters:
nPeriods - The number of periods used in the computation
Percentage - Distance of the bands from the centerline
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Upper MA Env(20,2.5) < close]
Lower Moving Average Envelope (Lower MA Env)
Syntax:
Lower MA Env(nPeriods,percentage,exp)
Parameters:
nPeriods - The number of periods used in the computation
Percentage - Distance of the bands from the centerline
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Lower MA Env(20,2.5) > close]
Upper Exponential Moving Average Envelope (Upper EMA Env)
Syntax:
Upper EMA Env(nPeriods,percentage,exp)
Parameters:
nPeriods - The number of periods used in the computation
Percentage - Distance of the bands from the centerline
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Upper EMA Env(20,2.5) < close]
Lower Exponential Moving Average Envelope (Lower EMA Env)
Syntax:
Lower EMA Env(nPeriods,percentage,exp)
Parameters:
nPeriods - The number of periods used in the computation
Percentage - Distance of the bands from the centerline
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Lower EMA Env(20,2.5) > close]
Negative Volume Index
The value of the Negative Volume Index.
Negative Volume Index (NVI)
Syntax:
NVI
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[NVI > 0.0]
Negative Volume Index Signal (NVI Signal)
Syntax:
NVI Signal(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[NVI Signal(255) < NVI]
On Balance Volume
The value of the On Balance Volume indicator and its corresponding signal line.
On Balance Volume (OBV)
Syntax:
OBV
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[OBV > yesterday's OBV]
On Balance Volume Signal (OBV Signal)
Syntax:
OBV Signal(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[OBV Signal(30) > OBV]
Parabolic Stop and Reverse (Parabolic SAR)
The value of the Parabolic Stop and Reverse overlay.
Syntax:
Parabolic SAR(step, maxStep)
Parameters:
step - The Acceleration Factor used to compute the SAR
maxStep - The maximum value allowed for the Acceleration Factor
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Parabolic SAR(0.02,0.2) < low]
Percentage Price Oscillator (PPO)
The values of the PPO indicator line, its corresponding EMA signal line and the PPO histogram. The indicator is calculated using the values of the given expression, such as “close” “volume”, or “rsi(14)”.
PPO Line (PPO Line)
Syntax:
PPO Line(nShort, nLong, nSignal, exp)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[PPO Line(12,26,9) > 0.0]
PPO Signal (PPO Signal)
Syntax:
PPO Signal(nShort, nLong, nSignal, exp)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[PPO Signal(12,26,9) x PPO Line(12,26,9)]
PPO Histogram (PPO Hist)
Syntax:
PPO Hist(nShort, nLong, nSignal, exp)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
exp - (optional) Values to be used in moving average calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[PPO Hist(12,26,9) > 0.0]
Percentage Volume Oscillator (PVO)
The values of the PVO indicator line, its corresponding EMA signal line and histogram.
PVO Line (PVO Line)
Syntax:
PVO Line(nShort, nLong, nSignal)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[PVO Line(12,26,9) > 0]
PVO Signal (PVO Signal)
Syntax:
PVO Signal(nShort, nLong, nSignal)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[PVO Signal(12,26,9) > 0]
PVO Histogram (PVO Hist)
Syntax:
PVO Hist(nShort, nLong, nSignal)
Parameters:
nShort - Number of periods for the short EMA
nLong - Number of periods for the long EMA
nSignal - Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[PVO Hist(12,26,9) > 0]
Point And Figure Box Count (P&F Box Count)
The number of boxes in the current column on the P&F chart.
Syntax:
P&F Box Count
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[P&F Box Count > 10]
Price Channels
The values of the upper, middle and lower Price Channel lines.
Upper Price Channels (Upper Price Chan)
Syntax:
Upper Price Chan(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Upper Price Chan(20) < close]
Lower Price Channels (Lower Price Chan)
Syntax:
Lower Price Chan(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Lower Price Chan(20) > close]
Middle Price Channels (Middle Price Chan)
Syntax:
Middle Price Chan(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Middle Price Chan(20) < close]
Price Relative
The value of the Price Relative Indicator, showing the performance of a security compared to the specified symbol.
Syntax:
Price Relative(symbol)
Parameters:
symbol - Ticker symbol used as a comparison when calculating relative strength
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Price Relative(SPY) > yesterdays Daily MAX(63,Price Relative(SPY))]
Pring's Know Sure Thing
The value of Pring's Know Sure Thing oscillator and its corresponding SMA signal line.
Know Sure Thing (KST)
Syntax:
KST
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[KST > 0.0]
Know Sure Thing Signal (KST Signal)
Syntax:
KST Signal
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[KST Signal < KST]
Pring's Special K
The value of Pring's Special K indicator and its corresponding SMA signal line.
Special K
Syntax:
Special K
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Special K > 0.0]
Special K Signal
Syntax:
Special K Signal(SMA1, SMA2)
Parameters:
SMA1 - Number of periods in first smoothing
SMA2 - Number of periods in second smoothing
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Special K Signal(100,100) > Special K]
Rate of Change
The value of the Rate of Change indicator and its corresponding signal line. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
Rate of Change (ROC)
Syntax:
ROC(nPeriods, exp)
Parameters:
nPeriods - Number of periods
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ROC(12) > 0.0]
Rate of Change Signal (ROC Signal)
Syntax:
ROC Signal(nPeriods, nSignal, exp)
Parameters:
nPeriods - Number of periods
nSignal - The number of periods used to compute the signal line
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ROC Signal(12,30) > ROC(12)]
Relative Strength Index (RSI)
The value of Wilder's RSI indicator. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
Syntax:
RSI(nPeriods, exp)
Parameters:
nPeriods - Number of periods
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[RSI(14) < 70]
Relative Volume (RVOL)
The value of the Relative Volume (RVOL) indicator calculated with either a simple or an exponential moving average.
RVOL SMA
Syntax:
RVOL SMA(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[RVOL SMA(50) > 1]
RVOL EMA
Syntax:
RVOL EMA(nPeriods)
Parameters:
nPeriods - Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[RVOL EMA(50) > 1]
Slope (Slope)
The value of the Slope indicator. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
Syntax:
Slope(nPeriods, exp)
Parameters:
nPeriods - Number of periods
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Slope(20) > 0]
Standard Deviation (Std Deviation)
The value of the Standard Deviation indicator. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
Syntax:
Std Deviation(nPeriods, exp)
Parameters:
nPeriods - Number of periods
exp - (optional) Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Std Deviation(10) < 2]
Stochastic Oscillators
The values of the Fast and Slow Stochastic Oscillator indicators and their corresponding signal lines.
Fast Stochastic %K (Fast Stoch %K)
Syntax:
Fast Stoch %K(nPeriods, nSignal)
Parameters:
nPeriods - Number of periods used to calculate %K
nSignal: Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Fast Stoch %K(14,3) > 80.0]
Fast Stochastic %D (Fast Stoch %D)
Syntax:
Fast Stoch %D(nPeriods, nSignal)
Parameters:
nPeriods - Number of periods used to calculate %D
nSignal: Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Fast Stoch %D(14,3) > 80.0]
Slow Stochastic %K (Slow Stoch %K)
Syntax:
Slow Stoch %K(nPeriods, nSignal)
Parameters:
nPeriods - Number of periods used to calculate %K
nSignal: Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Slow Stoch %K(14,3) > 80.0]
Slow Stochastic %D (Slow Stoch %D)
Syntax:
Slow Stoch %D(nPeriods, nSignal)
Parameters:
nPeriods - Number of periods used to calculate %D
nSignal: Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Slow Stoch %D(14,3) > 80.0]
Full Stochastic %K (Full Stoch %K)
Syntax:
Full Stoch %K(nPeriods, nSmoothing, nSignal)
Parameters:
nPeriods: Number of periods used to calculate %K
nSmoothing: Number of periods used to smooth %K
nSignal: Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Full Stoch %K(14,3,3) > 80.0]
Full Stochastic %D (Full Stoch %D)
Syntax:
Full Stoch %D(nPeriods, nSmoothing, nSignal)
Parameters:
nPeriods: Number of periods used to calculate %D
nSmoothing: Number of periods used to smooth %D
nSignal: Number of periods for the signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Full Stoch %D(14,3,3) > 80.0]
Stochastic RSI (Stoch RSI)
The value of the StochRSI indicator.
Syntax:
Stoch RSI(nPeriods)
Parameters:
nPeriods: Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Stoch RSI(14) > 0.80]
Triple Exponential Moving Average (TEMA)
The value of the Triple Exponential Moving Average (TEMA) for the given expression, such as “close”, “volume” or “rsi(14)”.
Syntax:
TEMA(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:
[TEMA(20,close) > 0]
TRIX
The value of the TRIX indicator and its corresponding signal line. The indicator is calculated using the values of the given expression, such as “close”, “volume” or “rsi(14)”.
TRIX (TRIX)
Syntax:
TRIX(nPeriods, nSignal, exp)
Parameters:
nPeriods - Number of periods
nSignal: The number of periods used to compute the signal
exp (optional): Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[TRIX(15,9) > 0.0]
TRIX Signal (TRIX Signal)
Syntax:
TRIX Signal(nPeriods, nSignal, exp)
Parameters:
nPeriods - Number of periods
nSignal: The number of periods used to compute the signal
exp (optional): Values to be used in the calculation; default is Close
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[TRIX Signal(15,9) < TRIX(15,9)]
True Strength Index
The value of the True Strength index and its corresponding EMA signal line.
True Strength Index (TSI)
Syntax:
TSI(EMA1, EMA2, nSignal)
Parameters:
EMA1: Number of periods in first smoothing
EMA2: Number of periods in second smoothing
nSignal: Number of periods for signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[TSI(25,13,7) > 0.0]
True Strength Index Signal (TSI Signal)
Syntax:
TSI Signal(EMA1, EMA2, nSignal)
Parameters:
EMA1: Number of periods in first smoothing
EMA2: Number of periods in second smoothing
nSignal: Number of periods for signal line
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[TSI Signal(25,13,7) < TSI(25,13,7)]
TTM Squeeze
The status of the TTM Squeeze indicator (on or off) and the value of the TTM Squeeze momentum histogram.
TTM Squeeze Dots (TTM Squeeze)
Syntax:
TTM Squeeze(nPeriods, StdDev, EMA, multiplier, ATR period)
Parameters:
nPeriods: Number of periods in the Bollinger Bands calculation
StdDev: Distance of the Bollinger Bands from the centerline
EMA: Number of periods in Keltner Channel calculation
multiplier: ATR multiplier to determine Keltner Channel width
ATR Period: number of periods for the Keltner Channel ATR
Acceptable Values:
true, false
Operators:
is, is not, =, !=
Example:
[TTM Squeeze(20,2.0,20,1.5,20) is true]
TTM Squeeze Momentum Histogram (TTM Squeeze Hist)
Syntax:
TTM Squeeze Hist(nPeriods)
Parameters:
nPeriods: Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[TTM Squeeze Hist (20) > 0]
Ulcer Index (ULCER)
The value of the Ulcer Index.
Syntax:
ULCER(nPeriods)
Parameters:
nPeriods: Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[ULCER(14) > 0]
Ultimate Oscillator (Ultimate Osc)
The value of the Ultimate Oscillator.
Syntax:
Ultimate Osc(nShort, nMedium, nLong)
Parameters:
nShort: The short period used in the calculation
nMedium: The medium period used in the calculation
nLong: The long period used in the calculation
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Ultimate Osc(7,14,28) > 70.0]
Vortex Indicator
The value of the Vortex indicator.
Vortex Plus (VTX Plus)
Syntax:
VTX Plus(nPeriods)
Parameters:
nPeriods: Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[VTX Plus(14) > VTX Minus(14)]
Vortex Minus (VTX Minus)
Syntax:
VTX Minus(nPeriods)
Parameters:
nPeriods: Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[VTX Minus(14) < VTX Plus(14)]
Williams %R (Williams %R)
The value of the Williams %R indicator.
Syntax:
Williams %R (nPeriods)
Parameters:
nPeriods: Number of periods
Operators:
=, !=, >, >=, <=, <, x, is, is not
Example:
[Williams %R(14) > -20.0]
Indicators Not Supported
Anchored VWAP
Momentum
Moving Average Ribbon
Pivot Points
RS-Ratio and RS-Momentum
RVOL - Price Plot
RVOL - Time of Day
Volume By Price
VWAP
ZigZag
Last updated
Was this helpful?