if (Position.MarketPosition != MarketPosition.Long && Slope == 1)
{
EnterLong();//execute
BgtAt = GetCurrentAsk();
BgtSoldAt = BgtAt;
ProfitTarget = BgtAt + (tprofit * TickSize);//tprofit = 10
StopLost = BgtAt - (slost * TickSize);//slost = 20
ExitLongStopLimit(BgtAt,StopLost);//will not execute
ExitLongLimit(ProfitTarget);//will not execute
tTradeCount = tTradeCount + 1;
tTickCount = 0;
}
I get no error message
Comment