{
EnterLongLimit(DefaultQuantity, Close[0], "");
SetProfitTarget("", CalculationMode.Ticks, ((High[1]-Low[1])*100)/2);
SetStopLoss("", CalculationMode.Ticks, ((High[1]-Low[1])*100)*1.5, false);
}
but if i inverse the above to:
{
EnterShortLimit(DefaultQuantity, Close[0], "");
SetProfitTarget("", CalculationMode.Ticks, ((High[1]-Low[1])*100)/2);
SetStopLoss("", CalculationMode.Ticks, ((High[1]-Low[1])*100)*1.5, false);
}
the profit target does not get set but stoploss does.

Comment