 Advertising space available Members Area Sign Up | Log In
 Free Level 2 Quotes Stock Analysis Indicator Analysis Correlations Membership Benefits

 Enter id # or part of an indicator:

TECHNICAL INDICATOR OPERATORS & SYNTAX:

 Operator Description Operator Description > Greater than and Logical AND < Less than or Logical OR = Equal + Add >= Greater than or equal - Subtract <= Less than or equal * Multiply (   ) Grouping of statements / Divide

IMPORTANT NOTES REGARDING SYNTAX:

 Always use parenthesis to group statements. This is important even if your statement is a simple single comparison such as (open > close). Only compare up to 2 indicators (or indicator and number) at a time.For example, instead of (low < low < low) you must enter (low < low) and (low < low). Do not use + or - as logical operators. Instead, + is used as the addition operator and - is used as the subtraction operator. Logical and is the word and. Logical or is the word or.

 > < == >= <= ( ) ! and or + - * / Enter an indicator to analyze: characters left. (close > bb[20,2,u]) Enter up to 5 ticker symbols to analyze: (OPTIONAL) Give your indicator a name:
 open[n] high[n] low[n] close[n] vol[n] newhigh[x,n] newlow[x,n] avevol[x,n] sma[x,n] ema[x,n] bb[x,y,z,n] faststo[k,d,r,n] rsi[x,n] imi[x,n] macd[s,f,t,r,n] smacrossover[x,y,n] smam[x,n] smamspeed[x,y,n] smamdir[x,y,n] black[n] white[n] doji[n] smbody[n] lgbody[n] smuwick[n] lguwick[n] smlwick[n] lglwick[n] gap[x,y,z,n] p1change[n] p2change[n] p3change[n] p4change[n] p5change[n] p1range[n] p2range[n] p3range[n] p4range[n] p5range[n] Indicator Usage Description Example open (open[n] OPERATOR (INDICATOR or POSITIVE NUMBER)) , where n is a positive integer. Returns the opening price of day n where n=0 represents the current end of day, n=1 is the previous end of day, etc. (open > close) high (high[n] OPERATOR (INDICATOR or POSITIVE NUMBER)) , where n is a positive integer. Returns the high price of day n where n=0 represents the current end of day, n=1 is the previous end of day, etc. (high < open) low (low[n] OPERATOR (INDICATOR or POSITIVE NUMBER)) , where n is a positive integer. Returns the low price of day n where n=0 represents the current end of day, n=1 is the previous end of day, etc. (low < low) and (low < low) close (close[n] OPERATOR (INDICATOR or POSITIVE NUMBER)) , where n is a positive integer. Returns the closing price of day n where n=0 represents the current end of day, n=1 is the previous end of day, etc. (close > close) newhigh newhigh[x,n] , where x is a positive integer >= 2 and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if the closing price from n days ago is equal to the highest closing price for the last x days starting n days ago. (newhigh) newlow newlow[x,n] , where x is a positive integer >= 2 and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if the closing price from n days ago is equal to the lowest closing price for the last x days starting n days ago. (newlow) gap gap[x,y,z,n] , where x {fu, fd, pu, pd, uu, ud} and y & z are optional positive integers <= 100% representing the minimum and maximum percentage price gap change. n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if the price gap from n days ago matches x, fu=Full Up Gap, fd=Full Down Gap, pu=Partial Up Gap, pd=Partial Down Gap, uu=Unfilled Up Gap, ud=Unfilled Down Gap (gap[fu,1])Screens for full up gaps where the opening price is > 1% higher than the previous day high price. vol (vol[n] OPERATOR (INDICATOR or POSITIVE NUMBER)) , where n is a positive integer. Returns the volume of day n where n=0 represents the current end of day, n=1 is the previous end of day, etc. (vol > (1.5 * vol)) avevol avevol[x,n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where x is a positive integer >= 2 and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns the x-day simple moving average volume from n days ago. (avevol < (0.8 * avevol))

 Indicator Usage Description Example sma sma[x,n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where x is a positive integer >= 2 and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns the x-day simple moving average closing price from n days ago. (sma > sma) ema ema[x,n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where x is a positive integer >= 2 and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns the x-day exponential moving average closing price from n days ago. (close < ema) and (close > ema) bb bb[x,y,z,n] OPERATOR (INDICATOR or NUMBER) , where x is a positive integer >= 2 representing the x-day sma period, y is a positive integer from 2 to 10 representing the distance from the sma, z is either 'u' or 'l' representing 'upper' and 'lower' Bollinger Bands and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns the x,y,z Bollinger Band value from n days ago. (close > bb[20,2,u]) faststo faststo[k,d,r,n] OPERATOR (INDICATOR or NUMBER) , where k and d are positive integers >= 2, r {k, d} and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns one of the following:(1) the %K fast stochastic if r = 'k' or r is not provided;(2) the %D fast stochastic if r = 'd'. (faststo[14,3,d] < 8) rsi rsi[x,n] OPERATOR (INDICATOR or NUMBER) , where x is a positive integer >= 2 and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns the x-day relative strength index from n days ago. (rsi < 30) imi imi[x,n] OPERATOR (INDICATOR or NUMBER) , where x is a positive integer >= 2 and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns the x-day intraday momentum index from n days ago. (imi < 30) macd macd[s,f,t,r,n] OPERATOR (INDICATOR or NUMBER) , where s,f,t are positive integers >= 2, r is optional where r {s, f, t} and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns one of the following: (1) the s,f,t MACD if r is not provided; (2) the s-day exponential moving average if r = 's'; (3) the f-day exponential moving average if r = 'f'; (4) the t-day MACD trigger value if r = 't'. ((macd[12,26,9] / ema) < -0.02) smacrossover (smacrossover[x,y,n]) , where x and y are positive integers and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.). Returns a 1 (logical TRUE) if the x-day simple moving average from n days ago crosses above the y-day simple moving average. Otherwise, it returns 0. (smacrossover[14,9]) smam (smam[x,n] OPERATOR (INDICATOR or PERCENTAGE)) , where x is a positive integer and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Do not use the % sign. Returns the slope of the x-day simple moving average from n days ago expressed as a percent of the closing price. (smam < -0.5)Screens for a 0.5% or more decrease in the 14-day simple moving average from one day to the next day. smamspeed (smamspeed[x,y,n]) , where x is a positive integer, y {a,d,n,rd,ru} and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if the the acceleration of the slope of the x-day simple moving average from n days ago matches y, a = Accelerating, d=Decelerating, n = Neutral, rd = Reversal Down, ru = Reversal Up (smamspeed[25,a]) and (smamdir[25,m]) smamdir (smamdir[x,y,n]) , where x is a positive integer, y {p,m,z} and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if the direction of the slope of the x-day simple moving average from n days ago matches y, p = Plus, m = Minus, z = Zero (smamdir[25,p]) and (close > sma)

 Indicator Usage Description Example black (black[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n is a black candle and a 0 (false) if day n is not a black candle. (black) and (black) and (black) white (white[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n is a white candle and a 0 (false) if day n is not a white candle. (white) and (white) and (white) doji (doji[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n is a doji candle and a 0 (false) if day n is not a doji candle. (doji) smbody (smbody[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n is a small body candle and a 0 (false) if day n is not a small body candle. (smbody) lgbody (lgbody[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n is a large body candle and a 0 (false) if day n is not a large body candle. (lgbody) smuwick (smuwick[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n candlestick has a small upper wick and a 0 (false) if day n candlestick does not have a small upper wick. (smuwick) lguwick (lguwick[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n candlestick has a large upper wick and a 0 (false) if day n candlestick does not have a large upper wick. (lguwick) smlwick (smlwick[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n candlestick has a small lower wick and a 0 (false) if day n candlestick does not have a small lower wick. (smlwick) lglwick (lglwick[n]) , where n is a positive integer >= 0 and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) Returns a 1 (logical TRUE) if day n candlestick has a large lower wick and a 0 (false) if day n candlestick does not have a large lower wick. (lglwick)

 Indicator Usage Description Example p1change p1change[n] OPERATOR (INDICATOR or NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the opening to closing price of day n where n=0 is the last trading day, n=1 is the previous day, etc. (p1change > -1) and (p1change < 1) p2change p2change[n] OPERATOR (INDICATOR or NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the closing price of day n-1 to the closing price of day n where n=0 is the last trading day, n=1 is the previous day, etc. p2change is the percentage price change (from close to close) found at most popular financial web sites. (p2change > -1) and (p2change < 1) p3change p3change[n] OPERATOR (INDICATOR or NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the closing price of day n-2 to the closing price of day n where n=0 is the last trading day, n=1 is the previous day, etc. (p3change > -1) and (p3change < 1) p4change p4change[n] OPERATOR (INDICATOR or NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the closing price of day n-3 to the closing price of day n where n=0 is the last trading day, n=1 is the previous day, etc. (p4change > -1) and (p4change < 1) p5change p5change[n] OPERATOR (INDICATOR or NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the closing price of day n-4 to the closing price of day n where n=0 is the last trading day, n=1 is the previous day, etc. (p5change > -1) and (p5change < 1) p1range p1range[n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the low to high price of day n where n=0 is the last trading day, n=1 is the previous day, etc. (p1range < 2) p2range p2range[n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the lowest price among day n and day n-1 to the highest price among day n and day n-1 where n=0 is the last trading day, n=1 is the previous day, etc. (p2range < 3) p3range p3range[n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the lowest price among day n, day n-1 and day n-2 to the highest price among day n, day n-1 and day n-2 where n=0 is the last trading day, n=1 is the previous day, etc. (p3range < 3) p4range p4range[n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the lowest price among day n, day n-1, day n-2 and day n-3 to the highest price among day n, day n-1, day n-2 and day n-3 where n=0 is the last trading day, n=1 is the previous day, etc. (p4range < 3) p5range p5range[n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where n is a positive integer >= 0. Returns the percentage change from the lowest price among day n, day n-1, day n-2, day n-3 and day n-4 to the highest price among day n, day n-1, day n-2, day n-3 and day n-4 where n=0 is the last trading day, n=1 is the previous day, etc. (p5range < 3)

 Any specific investment or investment service contained or referred to in this web site may not be suitable for all visitors to this site. An investment in stocks may mean investors may lose an amount even greater than their original investment. Anyone wishing to invest or speculate in the stock market should seek his or her own financial or professional advice. AiStockCharts.com is not an investment advisory service and does not recommend the purchase or sale of stocks. There are no licensed financial advisors working at AiStockCharts.com.HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND THE ACTUAL RESULTS SUBSEQUENTLY ACHIEVED BY ANY PARTICULAR TRADING SYSTEM. ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN ACTUAL TRADING. FOR EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR TO ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS. THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF HYPOTHETICAL PERFORMANCE RESULTS AND ALL OF WHICH CAN ADVERSELY AFFECT ACTUAL TRADING RESULTS. THE RISK OF LOSS IN TRADING STOCKS CAN BE SUBSTANTIAL.Stock trading is speculative and a substantial risk of loss exists. Past performance is not necessarily indicative of future results.