pine script strategy exit with alert
Posted: Thu Jan 26, 2023 6:18 pm
Hi friends,
I would like to have a alert when exit through strategy, but custom alert message.
But I am not getting custom message once the strategy.exit
So pls advise how I can get alert with custom message when strategy exit.
Regards, RR1050
I would like to have a alert when exit through strategy, but custom alert message.
Code: Select all
alertsyntax_golong = 'Any customized message with buy loss profit' // Custom message
strategy.exit("Long SL", from_entry = "Long", qty_percent = 25, stop=t_stop, alert_message = alertsyntax_golong)
So pls advise how I can get alert with custom message when strategy exit.
Regards, RR1050