Download MetaTrader 5
To add comments, please log in or register
Find out how to add a video in the messages editor
Luciano Ola
996
Luciano Ola 2014.05.19 09:20 

I'm using refreshrates().

This is the first time I am getting this error.

2014.05.19 10:14:41.420 '5047689': order sell 13.21 JP225USD opening at 0.0 sl: 0.0 tp: 0.0 failed [Off quotes]

The thing that is striking about this line is the fact that the price keeps being quoted as 0.0.

I have successfully made orders on this pair in the past.

Also here is my order line.

OrderSend(Symbol(),OP_SELL,Lots,Bid,7,0,0,NULL,MagicNumber,0,clrRed);


whroeder1
13602
whroeder1 2014.05.19 11:31  
MetaNt: I am getting this error.
  1. Try putting two print statements around the send. I'm thinking the message comes from another send.
  2. Check your return codes What are Function return values ? How do I use them ? - MQL4 forum
Luciano Ola
996
Luciano Ola 2014.05.19 15:03  
WHRoeder:
MetaNt: I am getting this error.
  1. Try putting two print statements around the send. I'm thinking the message comes from another send.
  2. Check your return codes What are Function return values ? How do I use them ? - MQL4 forum

Yeah atm I just have getlasterror and its 136.
Luciano Ola
996
Luciano Ola 2014.05.19 20:57  
been trying a bunch of things out but the problem consists.
Luciano Ola
996
Luciano Ola 2014.05.19 21:00  
I can't carry out the trade manually even. Mystery freaking solved.
/
To add comments, please log in or register