i've an issue for manage the cancel of an order that is not filled in a normal time:
private void checkIsPendingOrderInMarket(){
if (this.entryOrder != null && CurrentBar > this.barNumberOfOrder + orderLifeLimit)
{
if(logEnabled) printLogFile("Cancel Order", false);
CancelOrder(this.entryOrder);
isLaunchedOrderButNotDetected = false;
}
}
any idea?
thanks to alls!
wyatt

Comment