Alert on Candle Close
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © SimpleTradingTools

//@version=5
indicator("Alert on Candle Close", overlay = true)
var string msg = "{{interval}} Close on {{exchange}}:{{ticker}}\nPrice {{close}}"
alertcondition(timenow >= time_close, title = "Alert on Candle Close", message=msg)