OPEN-SOURCE SCRIPT
1D Enter Alerts

This is only a remaining of an experiment. I had real swing enter alerts, but it just made more sense to use classic TradingView alerts for horizontal / trendline / SMA breaks.
(Btw you can set up a horizontal alert in TradingView just by hovering the mouse on the chart so it's at the price point you aim for, and pressing "Alt + A").
Once this horizontal alert triggered I would usually wait for confirmation of the move on the 5m. If it's f. e. a break of an SMA and I'm not convinced yet, I might wait until end of the day. For exactly that purpose the following alert comes in handy:
"X Candle Close":
Is triggered 15m before market close - good reminder to check a stock again to see whether a resistance / support break was valid - and the stock should be entered as a swing, or maybe whether it should be closed as a loss.
"Z Trend Change: UP" + "Z Trend Change: DOWN":
Same as on 5m Exit Alert: meant to be only applied on SPY, and to have it set up to never end!
Criteria:
More infos: https://www.reddit.com/r/RealDayTrading/comments/1fcux2c/from_38_to_81_after_18_months_34_alerts/
(Btw you can set up a horizontal alert in TradingView just by hovering the mouse on the chart so it's at the price point you aim for, and pressing "Alt + A").
Once this horizontal alert triggered I would usually wait for confirmation of the move on the 5m. If it's f. e. a break of an SMA and I'm not convinced yet, I might wait until end of the day. For exactly that purpose the following alert comes in handy:
"X Candle Close":
Is triggered 15m before market close - good reminder to check a stock again to see whether a resistance / support break was valid - and the stock should be entered as a swing, or maybe whether it should be closed as a loss.
"Z Trend Change: UP" + "Z Trend Change: DOWN":
Same as on 5m Exit Alert: meant to be only applied on SPY, and to have it set up to never end!
Criteria:
- SPY broke through daily EMA 8 or daily SMA today, indicating an important short-term change on the daily chart.
- Is triggered 15m before market close
More infos: https://www.reddit.com/r/RealDayTrading/comments/1fcux2c/from_38_to_81_after_18_months_34_alerts/
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.