Viewing 2 posts - 1 through 2 (of 2 total)Forums>AlgoWizard / EA Wizard>Application Support>Market Position chengsmine 19. 9. 2013 10:08am #111654 | Participant18 PostsIf I have 2 open orders, in the following order:Buy 1001Sell 1002 and then I use the condition ofIFMarket Position is Short What would happen? Mark Fric 20. 9. 2013 4:20pm #122796 Administrator1182 PostsMarket Position will return the type of very first open order, so it will return Buy in this case.You can use OrderPosition(magic number) to check if given position is long/short or flat MarkMark StrategyQuant architectViewing 2 posts - 1 through 2 (of 2 total)You must be logged in to reply to this topic.