OPEN-SOURCE SCRIPT

Session Alerts [TradersPost]

165
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.

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.