Hi,
I'm placing CADJPY BuyLimit order in MQ4 language. The market ASK price is 83.04, while my price for buy limit is 81.78, SL=81.28 and TP =82.78. But it throw me error code of 3 as follow. I think my parameter are set correctly. Anything I missed?
"OrderSend(symbol=CADJPY, cmd=2, volume=0.05, price=81.78, slippage=0, stoploss=81.28, takeprofit=82.78, comment=BUY LIMIT ID=37, magic=342566, expiration=0001.01.01 00:00:00)
-> Invalid parameters were passed to the trading function, for example, wrong symbol, unknown trade operation, negative slippage, non-existing ticket number, etc"
- ERR_INVALID_TRADE_PARAMETERS
- Trouble with OrderSend
- add a comment to my trade

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