In other words, if two separate strategies are running and you want them to be exclusive - that is, Strategy A can enter a trade as long as B isn't in one, and vice versa - can I use something like this?
if Position.MarketPosition == MarketPosition.Flat) { EnterShort(2); SetProfitTarget(CalculationMode.Ticks, 8); SetStopLoss(CalculationMode.Ticks, 8); }
or
B: If your overall account is flat, then go;
Which one is it?
(I'm faintly aware of the existence of some particularly complex coding methods that can allow all strategies to access, evaluate and modify global variables (but I know absolutely nothing about such things), and if the answer to the above is A, then I'll have to go down that route , but hopefully it'll be B and I won't have to.)
Thanks in advance.
Comment