Hi,
I shoud to transform these strategy.exit into alertcondition, can you help me?
strategy.exit("firtsExit",trail_points=100,trail_offset=100,profit=80,qty_percent=0.5)
strategy.exit("fullExit",trail_points=100,trail_offset=100)
Welcome to the BEST forum for traders
Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".
Hi,
I shoud to transform these strategy.exit into alertcondition, can you help me?
strategy.exit("firtsExit",trail_points=100,trail_offset=100,profit=80,qty_percent=0.5)
strategy.exit("fullExit",trail_points=100,trail_offset=100)
Why just not adding the alert_message parameter in the strategy.exit function?
https://www.tradingview.com/pine-script-reference/v4/#fun_strategy{dot}exit
alert_message (string) An optional parameter which replaces the placeholder when it is used in the "Create Alert" dialog box's "Message" field.