Download MetaTrader 5

Is not there something Wrong in MQL4 Reference's Trade Functions ?

To add comments, please log in or register
MQL5 Cloud Network is a distributed computing network. Just give it a try!
Arav007
412
Arav007 2014.03.15 15:14 

Isn't there something wrong?

Alain Verleyen
Moderator
30688
Alain Verleyen 2014.03.15 15:17  
Arav007:

Isn't there something wrong?

What ? We have to guess I imagine.
Arav007
412
Arav007 2014.03.15 15:27  
angevoyageur:
What ? We have to guess I imagine.


For OrderClosePrice() function shouldn't it be

double ctm=OrderOpenPrice(); instead of datetime ctm=OrderOpenTime(); and so on?

Alain Verleyen
Moderator
30688
Alain Verleyen 2014.03.15 16:23  
Arav007:


For OrderClosePrice() function shouldn't it be

double ctm=OrderOpenPrice(); instead of datetime ctm=OrderOpenTime(); and so on?

Yes of course, the example is not related to OrderClosePrice.
To add comments, please log in or register