New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
etf scanning for moving averages up by $symbol:$spx ratio
hello
how can i done this scan with an expression like "symbol:$spx > sma(5-,symbol:$spx)"?
thanks!
--
[group is ETF]
and [Liquidity > 999,999]
and [group is ETFNOUI]
and [SMA(20,VOLUME) >= 30,000]
and [ symbol:$spx > sma(5-,symbol:$spx) ]
// perc diff sma20
RANK BY [ PctDiff(close,sma(20,close))]
--
how can i done this scan with an expression like "symbol:$spx > sma(5-,symbol:$spx)"?
thanks!
--
[group is ETF]
and [Liquidity > 999,999]
and [group is ETFNOUI]
and [SMA(20,VOLUME) >= 30,000]
and [ symbol:$spx > sma(5-,symbol:$spx) ]
// perc diff sma20
RANK BY [ PctDiff(close,sma(20,close))]
--
0
Comments
-
Unfortunately, as far as I know, the scan engine cannot scan for ratio symbol values (for instance, abc:xyz).0
-
You could try the PctRelative function from the Technical Indicators dropdown. Might not be exactly what you are looking for but it's an option inside the scan engine.
and [PctRelative(20,$spx) > SMA(5,PctRelative(20,$spx) )]
It passes syntax and does return 368 results
[group is ETF]
and [Liquidity > 999,999]
and [group is ETFNOUI]
and [SMA(20,VOLUME) >= 30,000]
//and [ symbol:$spx > sma(5-,symbol:$spx) ]
and [PctRelative(20,$spx) > SMA(5,PctRelative(20,$spx) )]
// perc diff sma20
RANK BY [ PctDiff(close,sma(20,close))]
You can even use it as a Rank by
rank by [PctRelative(20,$spx)]
With the PctRelative you can also use $Sector and $Industry where the $spx is. In fact, you can use ANY valid symbol in that position. With ETF's they are NOT assigned to sectors or industries so that would be good to use in an ETF scan, but something to keep in mind.
0 -
PLEASE HELP; All I want is a scan with 50 and 100 ema for stocks and etfs. With rel st of over 80. 100 is enough Thank you0
-
@DKIRK68947
Have you used the Help on StockCharts to writing this scan?
https://support.stockcharts.com/doku.php?id=scans:advanced_scan_syntax:relative_strength_scans
https://support.stockcharts.com/doku.php?id=scans:advanced_scan_syntax:sctr_scans
StockCharts has SCTR reports for RS as well
https://support.stockcharts.com/doku.php?id=reports:sctrs0
Categories
- All Categories
- 2.3K StockCharts
- 395 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 73 Data Issues
- 177 Other StockCharts Questions
- 218 Technical Analysis
- 155 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 42 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 163 S.C.A.N the StockCharts Answer Network forum
- 65 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 5 Off-Topic
- 6 The Cogitation & Rumination Emporium
- Forum Test Area