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.
hello help create scan where price has held above 4 ema at least

in SharpCharts
4 consecutive days. Any advice on this would be appreciated. Thanks!
0
Comments
-
Price comes in 4 flavors in StockCharts. High, Low, Close and Open.
You'd pick the flavor of your choice from the Price, Volume, SCTRs dropdown.
Then you would select the EMA from the Technical Indicators drop down and change "volume" to your flavor.
Then you would compare the current flavor to the EMA flavor
Let's say Close is the price you want to use.
Basic tests:
Close > EMA 4 Close // test day 1 current day
and 1 days ago Close > 1 days ago EMA 4 Close // test day 2
and 2 days ago Close > 2 days ago EMA 4 Close // test day 3
and 3 days ago Close > 3 days ago EMA 4 Close // test day 4
//and 4 days ago Close > 4 days ago EMA 4 Close // optional test day 5
the AND means that the security must pass ALL of the tests.
Pass all the tests and the security Close price was above the EMA 4 Close price for current period and each of the last 4 days.
You can also pick different flavors so you may want the EMA 4 Low compared to Open. Or any combination you want.
You could also pick different periods by adding weekly or monthly in front of the flavor and EMA. Default is daily. AND.... no, you can't scan on intraday time frames.
0 -
Thanks Imkwin, was looking at this for EOD data. Will test it out tonight!0
-
Hi Imkwin, I tried it but keep getting error messages. could you possibly write out the first couple of lines the way they should be input into the scan engine? Thanks!0
-
fixed it thanks!
0
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