Here is the code I have. Am I using this right?
if (MarketCondition == 4 || PositionAccount.GetUnrealizedProfitLoss(PerformanceUnit.Percent, 1000) == .03) { ExitLong(@"PANIC-Exit8", @"LE8");
Clearly I'm doing something wrong because no matter how I formulate this, I only get the exit based on the MarketCondition - not the P&L exit.
Comment