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 );
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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