Moving average crossover in the last 5 days
Answers
-
The easiest and most accurate way is to run this code for today:
and [ema(10, close) x ema(20,close)]
Then re-run the scan for each of the last four days by adjusting the calendar tool " Starting 0 trading days before the..." above the scan window. Click on the zero and select yesterday's date. Repeat for each date.
If you want one scan, you would need to write a more complicated "or" routine.
and
[
[ema(10, close) x ema(20,close)]
or
[1 day ago ema(10, close) x 1 day ago ema(20,close)]
or
[ 2 days ago ... ]
or
...
]
0
Categories
- All Categories
- 2.4K StockCharts
- 397 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 74 Data Issues
- 177 Other StockCharts Questions
- 224 Technical Analysis
- 155 Using Technical Analysis
- 6 InterMarket and International
- 19 Market and Breadth Indicators
- 44 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 162 S.C.A.N the StockCharts Answer Network forum
- 64 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 7 Off-Topic
- 7 The Cogitation & Rumination Emporium
- Forum Test Area
