OPEN-SOURCE SCRIPT
Session Alerts [TradersPost]

This indicator is designed to demonstrate a method for firing an alert at the close of a user-defined session. However, instead of waiting for the session bar to close (which can be too late) or on setting a specific hour/minute/second, we count the number of bars that have elapsed on a lower timeframe.
For some, this might be a more intuitive method that sets the session end relative to a user's trading style.
IMPORTANT: Only works on real-time charts.
DISCLAIMER
This script is experimental and provided for informational purposes only. There are no guarantees of performance or profitability. Users should apply their discretion and backtest before implementing it in live trading environments.
For some, this might be a more intuitive method that sets the session end relative to a user's trading style.
IMPORTANT: Only works on real-time charts.
DISCLAIMER
This script is experimental and provided for informational purposes only. There are no guarantees of performance or profitability. Users should apply their discretion and backtest before implementing it in live trading environments.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.