I know I can use a bool flag to set it to true/false based on certain criteria.
So how can I tell if the trade is a winner? My definition of a winner is either a target being filled or one of the stop strategies being activated. There are 2 targets so 2 stop strategies. Once a particular price is hit stop strat 1 will auto break even and stop strat 2 will auto trail.
Either I need to know when a target is filled or stop is moved to set the bool flag. What is the best way to do that?

Comment