+91-808040-2119 customerservice@chartalert.com

 CASL/Advanced Scanner Examples

Scan Example #1
Advanced Scanner


List symbols where Close is between 100 and 200
Or Close < 10
Or Volume > 100000
And Close has crossed above SMA(21)
And Volume > Average Volume(10)
Add Column Volume as VOL
Sort on Column VOL desc
Add Column SMA(21)
Apply to Nifty
Apply to NSE Futures 1M
Apply to Junior
Apply to MyFav List1
Apply to MyFav List2
Set periodicity to Weekly
 
Scan Explained
  1. This Scan will list those Symbols ...
    • where the current Close is between 100 and 200
    • where the current Close is less than 10
    • where the traded Volume is more than 100,000
    • where the current Close has just crossed above its 21-bar Simple Moving Average (SMA)
    • where the current Volume is more than the 10-bar average of the daily traded Volume
  2. The Scan will be applied to ...
    • all Symbols that constitute the Nifty and Junior indices
    • all 1-mo NSE Futures
    • MyFavourite watchlists titled "List1" and "List2"
  3. The Scan report will list Volume column as "VOL", and the column will be sorted in a descending order
  4. The Scan report will also include a 21-bar Simple Moving Average (SMA) column as SMA(21)
  5. Lastly, the Scan will be applied to Weekly data

Scan Example #2
Advanced Scanner


List symbols where RSI(14) has been falling over 5 bars
Apply to NSE
 
Scan Explained
  1. This Scan will list all those NSE Symbols where the 14-bar Relative Strength Index (RSI) has been decreasing (or falling) over the last 5 trading bars
  2. The lookback period for this Scan would (therefore) be the last 6 trading bars

Scan Example #3
Advanced Scanner


List symbols where Close has gained by more than 10%
Apply to NSE
 
Scan Explained
  1. This Scan will list all those NSE Symbols where the current Close has gained by more than 10% vis-a-vis the previous Close
  2. The lookback period for this Scan would (therefore) be the last 2 trading bars

Scan Example #4
Advanced Scanner


List symbols where Close has crossed below EMA(21) after remaining above it for 3 bars
Apply to NSE
 
Scan Explained
  1. This Scan will list all those NSE Symbols where today's Close has just crossed below today's 21-bar Exponential Moving Average (EMA), provided the Close of the previous 3 trading bars had been above the 21-bar EMA of the previous 3 trading bars
  2. The lookback period for this Scan would (therefore) be the last 4 trading bars

Scan Example #5
Advanced Scanner


List symbols where Price is touching Envelope Upper(200,2,EMA)
Apply to NSE
 
Scan Explained
  1. This Scan will list all those NSE Symbols where the current trading bar has traded the Upper band of the 200-bar Envelope (the other parameters for computing the Envelope being 2% and EMA)

Scan Example #6
Advanced Scanner


List symbols where Close is between BBL(20) and 2% above BBL(20)
Add Column Close
Add Column BBL(20) as BBL
Apply to NSE
 
Scan Explained
  1. This Scan will list all those NSE Symbols where the current Close is between the Lower band of the 20-bar Bollinger Band and a value that is 2% above that Lower Bollinger Band
  2. The Scan report will also list two columns viz. "Close", and 20-bar Bollinger Band Lower as "BBL"

Scan Example #7
Advanced Scanner


List symbols where BBU(20) has been converging towards BBL(20) for the last 5 bars
Apply to NSE
 
Scan Explained
  1. This Scan will list all those NSE Symbols where the Upper band of the 20-bar Bollinger Band has been converging or moving towards its Lower band for all of the last 5 trading bars
  2. The lookback period for this Scan would (therefore) be the last 5 trading bars

Scan Example #8
Advanced Scanner


List symbols
Add Column BarsSince(pattern is new High) as XBars
Add Column Highest Value Since(Close has crossed above EMA(200), Close) as CloseSinceXover
Apply to Nifty
 
Scan Explained
  1. This Scan will list the number of trading bars that have passed since a Symbol registered a new High, under a column header titled "XBars"
  2. This Scan will also list the Highest Value of Close that has been registered by a Symbol, under a column header titled "CloseSinceXover", since a particular event happened
  3. In this case, the event is Close having crossed above its 200-bar Exponential Moving Average (EMA)
  4. The Scan will be applied to all Nifty Symbols

Scan Example #9
Advanced Scanner


List symbols where pattern is HAshiRed for the last 3 bars and pattern is HAshiGreen 3 bars ago
Apply to NSE
 
Scan Explained
  1. This Scan will list all those NSE Symbols where the last 3 Heikin-Ashi trading bars were Red in color (downtrending), but the previous 3 Heikin-Ashi trading bars (before the Red bars) were Green in color (uptrending)
  2. The lookback period for this Scan would (therefore) be the last 6 Heikin-Ashi bars

Scan Example #10
Advanced Scanner


List symbols where pattern is New High(High,52,w) for 3 bars
Apply to NSE
 
Scan Explained
  1. This Scan will list all those NSE Symbols where a New High has been registered for 3 consecutive trading bars
  2. The New High is defined as a 52-week High
  3. The lookback period for this Scan would (therefore) be the last 3 trading bars

Scan Example #11
Advanced Scanner


List symbols where Close has crossed above Kumo Top(9,26,52) after remaining below for 3 bars
Add Column Kumo Top(9,26,52) as KumoTop
Add Column Kumo Bottom(9,26,52) as KumoBot chart
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #12
Advanced Scanner


List symbols where pattern is Bullish Divergence EWOsc
Add Column EWOsc chart
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #13
Advanced Scanner


List symbols where pattern is Gartley Bullish
Add Column Gartley Bullish Status as Status
Add Column Gartley Bullish Target as Target
Add Column Gartley Bullish Date as Date
Apply to NSE
Plot
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #14
Advanced Scanner


List symbols where close has crossed above FIBONACCI(61.8, HighLow, 1, YEAR)
Add Column FIBONACCI(61.8, HighLow, 1, YEAR) as Fib_618 chart
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #15
Advanced Scanner


List symbols where RWILow(7) has crossed above 1
Add Column RWIHigh(7) as RWI_High chart
Add Column RWILow(7) as RWI_Low
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #16
Advanced Scanner


Set var PATTERN_DATE = DATEWHEN(Low is falling for 3 bars)
Set Var PATTERN_LOW = VALUEWHEN(Low is falling for 3 bars, Low)
Set Var PATTERN_HIGH = VALUEAT(BARATDATE(DATEWHEN(Low is falling for 3 bars))-2, High)

List symbols where DATE - PATTERN_DATE <= 14
and Close > 50 and Vol > 25000 and Trades > 1000
Add Col PATTERN_DATE
Sort on Column PATTERN_DATE desc
Add Col PATTERN_HIGH
Add Col PATTERN_LOW
Add Col VALIDEXP(CLOSE > PATTERN_HIGH) as Cls_Abv_PatternHigh
Group rows by Cls_Abv_PatternHigh
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #17
Advanced Scanner


Set var 1_Var = 0.4 * (C * 100 / C 65 bars ago)
Set var 2_Var = 0.2 * (C 65 bars ago * 100 / C 130 bars ago)
Set var 3_Var = 0.2 * (C 130 bars ago * 100 / C 195 bars ago)
Set var 4_Var = 0.2 * (C 195 bars ago * 100 / C 260 bars ago)

List symbols where Trades >= 1000 and VOL >= 25000 and Close > 50
Add Column 1_Var + 2_Var + 3_Var + 4_Var as IBD
Add Column Trades as Trades
Add Column Volume as Volume
Sort on Column IBD desc
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #18
Advanced Scanner


Set Var chgP = ((c/c a bar ago) -1) * 100
Set Var volP = ((v/v a bar ago) -1) * 100

List symbols where chgP > 5 and VolP > 5 and Close > 50 and Volume > 25000
Add Column Close
Add Column Volume
Add Column ChgP
Sort on Column ChgP desc
Add Column VolP
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #19
Advanced Scanner


Set Var Hi_High = VALUEAT(HIGHVALPOSSINCE(RSI(14) crossed above 30,HIGH,1),HIGH)

List symbols where close > Open and previous close < previous Open
and High <> HIGHVALSINCE(RSI(14) crossed above 30) and RSI(14) > 30
Add Column Date
Add Column DATEAT(HIGHVALPOSSINCE(RSI(14) crossed above 30,HIGH,1)) as Hi_Date
Add Column Hi_High
Add Column (C - Hi_High)/Hi_High * 100 as Chg%
Sort on Column Chg% asc
Set periodicity to Daily
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #20
Advanced Scanner


Set Var High1Mo = HIGHESTVALUE(H,1,M)
Set Var Low1Mo = LOWESTVALUE(L,1,M)

List symbols where chg%(High1Mo,Low1Mo) >= 10
Add Column High1Mo
Add Column Low1Mo
Add Column chg%(High1Mo,Low1Mo) as HLMove
Sort on Column HLMove
Apply to NSE
***** Determine what came first, Low or High, and list only stocks that have moved up in the last 1-Mo *****
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #21
Advanced Scanner


SET VAR VWAP1 = Cum((AP)*(Vol))/Cumulative(Vol)

List symbols where Low is within 5% of Cum((AP)*(Vol))/Cumulative(Vol)
Add Column VWAP1 as VWAP chart(panel=price,c=green,lw=2)
Add Column CHG%(low,VWAP1) as d_L_VWAP
Set periodicity to Monthly
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #22
Advanced Scanner


Set Var FIBORET382 = LOWESTVALUE(low) + 38.2% of
(Highest Value Since(pattern is NEWLOW(low),High) - LOWESTVALUE(low))

List symbols where price is touching FIBORET382
Add Column fillseries(FIBORET382) as ret38 chart(panel=price,c=green,lw=2)
Set periodicity to Monthly
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Scan Example #23
Advanced Scanner


List symbols where chg%(Close, LOWESTVALUE(L,52,W)) >= 100
and chg%(Close, HIGHESTVALUE(H,52,W)) >= -25
and ATR(5) < ATR(21)
Add col chg%(Close, LOWESTVALUE(L,52,W)) as AbvL%
Add col chg%(Close, HIGHESTVALUE(H,52,W)) as BlwH%
Apply to NSE
 
Scan Explained
  1. This Scan will
  2. This Scan will

Go back to Basic and Advanced Scanner in ChartAlert®

Learn more about the Trading Systems Builder / Backtester in ChartAlert®

Like what you see?   Or what we have done?
Then it is worth considering a fully functional 4-wk Evaluation Trial!

Learn More