I'm trying this code:
EnterLong(Convert.ToInt32(ContractSize), @"long");
// Trail the profit after 15 points are reached
// Trail the stop loss by 6 ticks with a profit trigger of 60 ticks
SetTrailStop(CalculationMode.Ticks, 6, 22);
}

Comment