 Please enable JavaScript to view this page content properly Log In | Sign Up
Formula Screener

Formula Screener is the most powerful tool we provide in our service. Whereas regular stock screener applies "and" condition to all selected criteria (i.e. all criteria must be met for a stock to be selected), the Formula Screener allows you to combine "and", "or" and "not" conditions to build very specific criteria. Moreover, the Formula Screener tool gives you the possibility to combine criteria on different time periods. Other words, it is possible to find stocks that meet some conditions on a daily chart and other conditions on weekly or monthly charts. It worth to mention that the historical screening feature gets more flexible in the Formula Screener. You can specify offset value for any criteria in a formula expression in days or in weeks or months if the corresponding time periods were set for the criteria. Range screening leverages the above approach and provides you with the ability to set a condition to be met within some period of time. Let say you may allow moving average crossover to occur within last 3 days or require an oscillator to be in oversold zone all time last 10 days. Please note, that when combining many conditions in a formula, it is important to use parentheses so that the screener knows what order to evaluate each condition. The following examples demonstrate how to code maximally flexible criteria in formula expressions:

 Formula Example Explanation

 You may write a formula directly in the Formula text area or use Formula Expression Helper pane to build certain conditions and insert them into the formula one by one: Select criteria Category and Group first, then chose specific criterion or technical event you would like to add to the formula expression. The selected condition will appear in the Expression text field. It allows edits so you may adjust parameters before adding the condition to the formula. Hit Insert into formula button to add the condition to the formula expression. Add other conditions the same way if necessary and perform final edits of the expression in the Formula text area. To view matched stocks click on Run Screen link: The following table contains the full list of indicators that can be used in formula expression. They can also be accessed with the usage of Formula Expression Helper.
 Indicator Example Explanation
 ac(5,34,5) Accelerator Oscillator ad Accumulation / Distribution advdec Advance/Decline Line advdecvol Advance/Decline Volume Line adx(14) Average Directional Movement Index ao(5,34) Awesome Oscillator aroon(25) Aroon Indicator aroonosc(25) Aroon Oscillator atr(14) Average True Range bs(5) Balance Step bbands(20,2) Bollinger Bands bb(20,2) Bollinger BandWidth, % pb(20,2) Bollinger %B bbub(20,2) Upper Band of Bollinger Bands bblb(20,2) Lower Band of Bollinger Bands beta(5) Beta bop Balance Of Power chandexit(22,3) Chandelier Exit chmo(9) Chande Momentum Oscillator cho(3,10) Chaikin Oscillator chop(14) Choppiness Index cci(18) Commodity Channel Index cmf(20) Chaikin Money Flow crsi(3,2,100) Connors RSI darvasub(5,3) Upper bound of the Darvas Box darvaslb(5,3) Lower bound of the Darvas Box dema(50) Double Exponential Moving Average dim(14) Negative Directional Indicator (-DI) dip(14) Positive Directional Indicator (+DI) ema(50) Exponential Moving Average ema(50,7) Forward shifted Exponential Moving Average. The extra "7" at the end is the shifting parameter. emah(50) Exponential Moving Average applied to high prices emal(50) Exponential Moving Average applied to low prices emae(50,20) Exponential Moving Average Envelope emaeub(50,20) Upper Bound of Exponential Moving Average Envelope emaelb(50,20) Lower Bound of Exponential Moving Average Envelope emaobv(20) Exponential Moving Average of OBV emarsi(14,9) Exponential Moving Average of RSI emv(14) Ease of Movement force(14) Elder Force Index hma(50) Hull Moving Average ichimoku(9,26,52) Ichimoku tenkan(9,26,52) Ichimoku, Tenkun Line kijun(9,26,52) Ichimoku, Kijun Line spana(9,26,52) Ichimoku, Span A Line spanb(9,26,52) Ichimoku, Span B Line chikou(9,26,52) Ichimoku, Chikou Line kama(30) Kaufman Adaptive Moving Average keltub(20,2,10) Keltner Upper Band keltlb(20,2,10) Keltner Lower Band kdj(9,3,3) KDJ Indicator K-Line kdjd(9,3,3) KDJ Indicator D-Line kdjj(9,3,3) KDJ Indicator J-Line macd(12,26,9) MACD macds(12,26,9) MACD Signal Line macdh(12,26,9) MACD Histogram mama(0.5,0.05) MESA Adaptive Moving Average mfi(14) Money Flow Index mhigh Monthly Previous High mlow Monthly Previous Low mclose Monthly Previous Close mi(25) Mass Index minusvi(14) Vortex Indicator -VI Line mo McClellan Oscillator mvo McClellan Volume Oscillator mom(12) Momentum msi McClellan Summation Index mvsi McClellan Volume Summation Index natr(14) Normalized Average True Range nhnl New Highs - New Lows obv On Balance Volume pb(20,2) Bollinger %B pp Pivot Point ps1 Pivot Point (S1) ps2 Pivot Point (S2) pr1 Pivot Point (R1) pr2 Pivot Point (R2) cpp Camarilla Pivot Point cs1 Camarilla Pivot Point (S1) cs2 Camarilla Pivot Point (S2) cs3 Camarilla Pivot Point (S3) cs4 Camarilla Pivot Point (S4) cr1 Camarilla Pivot Point (R1) cr2 Camarilla Pivot Point (R2) cr3 Camarilla Pivot Point (R3) cr4 Camarilla Pivot Point (R4) plusvi(14) Vortex Indicator +VI Line ppo(12,26,9) Percentage Price Oscillator ppoh(12,26,9) PPO Histogram psar(0.02,0.2) Parabolic SAR qstick(8,5) QStick qsticks(8,5) QStick Signal Line range(5) Price % Range roc(10) Price Rate of Change rmi(14,10) Relative Momentum Indicator rs5 1-Week Relative Strength rs10 2-Week Relative Strength rs21 1-Month Relative Strength rs68 3-Month Relative Strength rs126 6-Month Relative Strength rs252 1-Year Relative Strength rsi(14) Relative Strength Index sma(50) Simple Moving Average sma(50,7) Forward shifted Simple Moving Average. The extra "7" at the end is the shifting parameter. smah(50) Simple Moving Average applied to high prices smal(50) Simple Moving Average applied to low prices smae(50,20) Simple Moving Average Envelope smaobv(20) Simple Moving Average of OBV smarsi(14,9) Simple Moving Average of RSI smi(5,3,3) Stochastic Momentum Indicator smie(25,13,7) SMI Ergodic Indicator snr_res(9,1) The first resistance level of S&R indicator snr_sup(9,1) The first support level of S&R indicator snroc_res(9,1) The first resistance level of S&ROC indicator snroc_sup(9,1) The first support level of S&ROC indicator snrc_res(9,1) The first resistance level of S&RC indicator snrc_sup(9,1) The first support level of S&RC indicator stc(23,50,10) Schaff Trend Cycle stddev(5,1) Standard Deviation stoch(5,3,3) Stochastic Oscillator (fast %K, slow %K, slow %D) slowk(5,3,3) Stochastic Oscillator (fast %K, slow %K, slow %D), slow %K Line slowd(5,3,3) Stochastic Oscillator (fast %K, slow %K, slow %D), slow %D Line stochrsi(14) Stochastic RSI supertrend(3,7) SuperTrend Indicator tema(50) Triple Exponential Moving Average tmf(21) Twiggs Money Flow trix(14,8) Triple Exponential Average trixs(14,8) Triple Exponential Average Signal Line tsi(25,13) True Strength Index ttms(20,2,1.5,12,5) TTM Squeeze ttmshist(20,2,1.5,12,5) TTM Squeeze Histogram uo(7,14,28) Ultimate Oscillator udon(20) Upper Donchian mdon(20) Middle Donchian ldon(20) Lower Donchian ulr(100,2) Upper Line of Linear Regression Channel (period, number of standard deviations) mlr(100,2) Middle Line of Linear Regression Channel (period, number of standard deviations) llr(100,2) Lower Line of Linear Regression Channel (period, number of standard deviations) slr(100,2) Slope of Linear Regression Channel (period, number of standard deviations) vma(20) Volume Moving Average vo(7,14) Volume Oscillator vr(21) Volume Ratio vstop(20,2) Volatility Stop vwap Volume Weighted Average Prices (Supported only for IEX exchange and Forex) vwma(50) Volume Weighted Moving Average wad William's Accumulation / Distribution wavetrend(10,21) WaveTrend Oscillator wts(10,21) WaveTrend Signal Line wild(21) Wilder Moving Average wma(50) Weighted Moving Average wma(50,7) Forward shifted Weighted Moving Average. The extra "7" at the end is the shifting parameter. wpr(14) Williams` Percent Range whigh Weekly Previous High wlow Weekly Previous Low wclose Weekly Previous Close yhigh Yealy Previous High ylow Yealy Previous Low yclose Yealy Previous Close zigzag(7) ZigZag

 Technical Events
 Event Explanation Formula sample ca Crossed Above ema(7) ca ema(50) cb Crossed Below ema(7) cb ema(50) ia Is Above price ia ema(50) ib Is Below price ib ema(50) tocha Touched Above price tocha sma(50) tochb Touched Below price tochb sma(50) bon_up Bounced Up From price bon_up bblb(20,2) bon_dn Bounced Down From price bon_dn bbub(20,2) div_bull Bullish Divergence rsi(14) div_bull div_bear Bearish Divergence rsi(14) div_bear trend_up Trending Up price trend_up 7 trend_dn Trending Down price trend_dn 7

 Function Example Explanation