I have an query. Suppose For BUY Side I am putting 3 entries one for Entry price(using EnterLongStop method), Profit Target Price(using ExitLongStop method) and Stoploss price( also usingExitLongStop method). Now suppose on the BUY side my profit target price achieved, So while calling on the method: if (Position.MarketPosition== MarketPosition.Short) ,will it be true ?
If it is true, So I have to call CancelOrder method to Cancel The Stoploss price order or Profit target price, whichever is order exist?
Comment