OPEN-SOURCE SCRIPT

Mins Before Market Close Alert

Updated
This script will set an alert X mins before the market closes.

This is meant to be added to daily charts (calculations based off of daily bars).

This script can be useful for sending webhooks before the market closes to close open positions or to open new ones.

Simply add it to your daily chart and set up your desired alert (email, webhook, sound, etc.).

You can also change the chart marker to a different shape, color, or location to your preference.

Enjoy this simple alert!
Release Notes
Changed default input to 10
alertmarketclosePine utilities

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer