OPEN-SOURCE SCRIPT
Updated

Timed Trade Close Alert

111
Enables you to set up alerts that can be used to close all trades when used in conjunction with web hooks.
Firstly, you can enable a daily alert at a regular time to avoid spread blow outs during roll overs. ie: This will alert at the same time each day
Additionally, you can enable and program up to 8 individual alerts to address news events or any other situations that you would want to halt your trading. The day, hour and minute can be adjusted according
Release Notes
Enables you to set up alerts that can be used to close all trades when used in conjunction with web hooks.
Firstly, you can enable a daily alert at a regular time to avoid spread blow outs during roll overs. ie: This will alert at the same time each day
Additionally, you can enable and program up to 8 individual alerts to address news events or any other situations that you would want to halt your trading. The day, hour and minute can be adjusted according.
This was written with Sydney, Australia time zone. Those in other time zones will have to edit the code to represent the time zone you are in
Release Notes
Added a dropdown list to select time zones of UTC, London, New York & Sydney

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.