I have several strats that I will be running simultaneously. In certain cases I don't want a particular strat to trade if another strat is in a position. Is there a way to do the following pseudo code?
foreach(strategy s in AllRunningStrategies)
{
if(s.IsInAPosition == true)
DontTrade();
}
Thanks ... Ed.

Comment