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".

conversion strategy in study

Jul 3, 2021 - 1:35 PM

Viewed 307 times

https://best-trading-indicator.com/community/bti/forums/4180/topics/24914 COPY
  • 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)
    
    0
  • 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.
    
    0
CONTENTS