Thanks,
SetProfitTarget("", CalculationMode.Currency, Profit);
SetStopLoss("", CalculationMode.Currency, Loss, false);
This was created using the builder and then code was created using compile with some other logic changes. Not sure why it says False in the SetStopLoss statement.
Comment