====== Technical Indicators ====== ===== Scan Syntax Reference: 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 [[:scans:advanced_scan_syntax|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:accumulation_distribution_line|Accumulation/Distribution Line]]. **Syntax:** * AccDist **Operators:** * =, !=, >, >=, %%<=%%, <, 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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:aroon|Aroon indicators]] and the [[https://school.stockcharts.com/doku.php?id=technical_indicators:aroon_oscillator|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:average_directional_index_adx|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:average_true_range_atr|Average True Range]] indicator. **Syntax:** * ATR(nPeriods) **Parameters:** * nPeriods - Number of periods **Operators:** * =, !=, >, >=, %%<=%%, <, x, is, is not **Example:** * [ATR(14) > 2.0] ===== Balance of Power (BOP) ===== The value of the [[https://school.stockcharts.com/doku.php?id=technical_indicators:balance_of_power|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:bollinger_bands|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:bollinger_band_perce|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:chaikin_money_flow_cmf|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:chaikin_oscillator|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:chande_trend_meter|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:chandelier_exit|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:commodity_channel_index_cci|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:connorsrsi|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:coppock_curve|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 - [[:scans:indicators#rate_of_change_roc|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:correlation_coeffici|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:dppmo|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:detrended_price_osci|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:distance_from_ma|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:dema|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:ease_of_movement_emv|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:force_index|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:hull_moving_average|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:ichimoku_cloud|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 [[:scans:advanced_scan_syntax:ichimoku_scans|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:kaufman_s_adaptive_moving_average|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:keltner_channels|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:mass_index|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:money_flow_index_mfi|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:moving_averages|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:moving_average_convergence_divergence_macd|MACD]] indicator line, its corresponding EMA signal line and the [[https://school.stockcharts.com/doku.php?id=technical_indicators:macd-histogram|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) The values to be used in the calculation. The 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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:moving_average_envelopes|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:negative_volume_inde|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:on_balance_volume_obv|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:parabolic_sar|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:price_oscillators_ppo|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 ===== The values of the [[https://school.stockcharts.com/doku.php?id=technical_indicators:percentage_volume_oscillator_pvo|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 [[:other-tools:pnf-charts|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:price_channels|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:price_relative|Price Relative/Relative Strength]]. ==== Price Relative/Relative Strength ==== **Syntax.** * Price Relative **Operators.** * =, !=, >, >=, < =, < **Example.** [Price Relative(SPY) > yesterdays Daily MAX(63,Price Relative(SPY))] ===== Pring's Know Sure Thing ===== The value of Pring's [[https://school.stockcharts.com/doku.php?id=technical_indicators:know_sure_thing_kst|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:pring_s_special_k|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:rate_of_change_roc_and_momentum|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:relative_strength_index_rsi|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:rvol|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:slope|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) The values to be used in the calculation. The default is Close. **Operators:** * =, !=, >, >=, %%<=%%, <, x, is, is not **Example:** * [Slope(20) > 0] ===== Standard Deviation (Std Deviation) ===== The value of the [[https://school.stockcharts.com/doku.php?id=technical_indicators:standard_deviation_volatility|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:stochastic_oscillator_fast_slow_and_full|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:stochrsi|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:tema|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:trix|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:true_strength_index|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:ttm_squeeze|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:ulcer_index|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:ultimate_oscillator|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:vortex_indicator|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 [[https://school.stockcharts.com/doku.php?id=technical_indicators:williams_r|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 * Price Relative * RS-Ratio and RS-Momentum * RVOL - Price Plot * RVOL - Time of Day * Volume By Price * VWAP * ZigZag