I'm trying to close a buy order sending inmediately a sell order to de current Bid offer with the following statement:
ExitLongLimit(0, false, 1, GetCurrentBid(0), "Hout1", "Hin1")
Why it doesn'ts fills the order inmediately, and it's waiting as an accepted order?
With this one I've the same problem:
EnterShortLimit(1, false, 1, GetCurrentBid(1), "Hin2");
And this two work fine:
EnterLongLimit(0, false, 1, GetCurrentAsk(0), "Hin1")
ExitShortStop(1, false, 1, GetCurrentAsk(1), "Hout2", "Hin2")
Thanks.

that is what I need, but I must be sure this is the reason of sending to the bid price with the GetCurrentBid statement.
Comment