Thanks for your help:
if(ShortTrigger && SentryOrder == null && Close[1]>Open[1] && Close[0] < Open[0]
&& Position.MarketPosition == MarketPosition.Flat)
{
Starget = (int)((High[0]-Close[0])/TickSize);
SetStopLoss("Short",CalculationMode.Price, High[0]+TickSize, false);
SetProfitTarget("Short",CalculationMode.Ticks,Star get , false);
EnterShortLimit(0, true, contracts, Close[0], "Short");
}

Comment