below code is for Enter long position
if ((Close[0] > Open[0]) )
EnterLong(Convert.ToInt32(LOT), @"Long");
below this code will exit Long posiotion
if (Position.MarketPosition == MarketPosition.Long)
ExitLong(Convert.ToInt32(LOT), @"Long");
But i was looking for how i can cancel long position order which is pending not executed
Thank You

Comment