Forum

Buy Limit

Hi, I'm trying to execute a OrderSend using a limit order, however neither the buy or sell limit executes when I try to run my test script. This is how I wrote my code, did i do something incorrect. int ordeID = OrderSend(NULL,OP_BUYLIMIT,0.01,Ask + 0.0001,10,Ask - 0.01,Ask + 0.01);