Alert Trigger
in Scanning
I am trying to figure out why this alert would trigger right at the open this morning? The alert code is as follows:
[[symbol = '$XLKADP']
AND [EMA(10) > 30]
OR [EMA(10) < -30]]
This specific symbol is an EOD update, so as of yesterday's close, according to what I am looking at it should have not registered because the 10 day EMA is at 1.16 ... I am running this continuously all day, any occurrences above '0', and continuous.
[[symbol = '$XLKADP']
AND [EMA(10) > 30]
OR [EMA(10) < -30]]
This specific symbol is an EOD update, so as of yesterday's close, according to what I am looking at it should have not registered because the 10 day EMA is at 1.16 ... I am running this continuously all day, any occurrences above '0', and continuous.
0
Comments
-
You need brackets around your "or" conditions. As written, only one condition in your scan needs to be true to return a result. Symbol = $XLKADP is true if that symbol exists, so it would trigger the alert.
What you want is:
[symbol = '$XLKADP']
AND
[
[EMA(10) > 30]
OR
[EMA(10) < -30]
]
Now, two of the three conditions have to be true to get a result - the symbol exists, and its ema is one or the other.
You don't have to use that format (separate lines for the "or" brackets), but it does clarify things.0 -
Awesome, thank you very much. I understand now!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
