r/pinescript•
magefa

Not getting strategy.exit alerts

Posted Sep 7, 2022, 8:27 AM UTC

12
TomatoJust9907•

In your exit call, you need to refer to the entry trade id using the "from_entry" parameter.

strategy.exit("ExitShort", from_entry="SHORT"....)

2
magefaOP•

Thanks a lot for the reply, ill try it!

1