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.
$NYAD
I tried to set up the sell signal that Joe Duarte often refers to. $NYAD crosses below the 50 day moving average and the RSI is below 50. I wrote the alert as this:
[symbol = '$NYAD']
and [SMA(50,close) x close]
and [RSI(14) <50.0]
It should have triggered yesterday. Please help me correct this.
Thank you
[symbol = '$NYAD']
and [SMA(50,close) x close]
and [RSI(14) <50.0]
It should have triggered yesterday. Please help me correct this.
Thank you
0
Comments
-
If you run this alert as a scan, it triggers on the 12th. The cross happened last week.
A great way to "test" alerts is to run them as a scan. The same logic is applied in both workbenches. On the Scan you can change the date to run the "alert" against.0 -
You are correct. Alerts only trigger at the time that they happen. You could set a nested condition inside the alert, just like with a scan, to alert on prior activity though.
This returns a result if the condition was met in the last 6 days in the scan. I didn't test it in alerts, but I do have nested alerts that return results.
[symbol = '$NYAD']
and
[
[[SMA(50,close) x close]
and [RSI(14) <50.0]]
or
[[1 days ago SMA(50,close) x 1 days ago close]
and [1 days ago RSI(14) <50.0]]
or
[[1 days ago SMA(50,close) x 1 days ago close]
and [1 days ago RSI(14) <50.0]]
or
[[2 days ago SMA(50,close) x 2 days ago close]
and [2 days ago RSI(14) <50.0]]
or
[[3 days ago SMA(50,close) x 3 days ago close]
and [3 days ago RSI(14) <50.0]]
or
[[4 days ago SMA(50,close) x 4 days ago close]
and [4 days ago RSI(14) <50.0]]
or
[[5 days ago SMA(50,close) x 5 days ago close]
and [5 days ago RSI(14) <50.0]]
]
0 -
Many thanks, now I understand why0
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