Send Order problem

 

Hi every body,

I've used the SendOrder function in my EA, my problem is, in spot markets and currencies, it works correctly, but in futures market, when the program reach to SendOrder Syntax, an error would occur, "wrong Input Parameter"

I looked at the New Order window, and found that, in spot market, we have Max Devision and it is writed SELL & BUY but in the futures market, it is writed SELL BY MARKET & BUY BY MARKET, and we don't have Enable Max Devision

How can i Use SendOrder and OrderClose in such conditions?

thanks