Now i need to understand why entry hasnt moved to High[1], it seems because entry condition looks for entryOrder which is not null. So do I need to cancel this order? if so onBarUpdate? or on OrderUpdate?
if(longPrice >= GetCurrentAsk() && entryOrder == null ){
EnterLongStopMarket(0,true, PositionSize, longPrice, "MyEntryLong");
if(TradeRunner && entryOrderRunner == null)
{
EnterLongStopMarket(0,true, PositionSizeRunner, longPrice, "MyEntryLongRunner");
}
-----
Would this be the approach to cancel order so entry is based on High[1]?
if(Position.MarketPosition == MarketPosition.Flat && IsFirstTickOfBar && entryOrder != null)
{
tradeLongCancelled = true;
CancelOrder(entryOrder);
if(TradeRunner && entryOrderRunner != null)
{
CancelOrder(entryOrderRunner);
}
}

Comment