Invalid stop error
Buy Limit Order means that open price should be less then current Ask.
OrderSend(Symbol(),OP_BUYLIMIT,LOTS,Ask-0.0020,0,0,0,0,0,0, DarkOrange );
I want to open a pending order with the price= Ask + 20 pips. I use: OrderSend(Symbol(),OP_BUYLIMIT,LOTS,Ask+0.0020,0,0,0,0,0,0, DarkOrange );
But I get a GetLastError() = 130, which is an Invalid stops error.
What is the problem?
Thank