Hi, I am setting a variable every time I exit a position in my system due to CCI in a certain position, this is a Technical Indicator driven exit. I also use stops to protect the capital, money management is important after all.
But I would like to ensure, when I exit a position due to a stop, that a variable, say “Precursor” is reset to zero. I am able to do this in the Technical exit as the variable assignment is include in the condition (if..then..endif)
I can tell ProOrder when to stop and limit but can’t actually get feedback once the event is triggered. How do I get notification that the stop is triggered or how do I get ProOrder to reset “Precursor” to zero?
Thanks