Download MetaTrader 5

OrderSelect behaviour - page 2

To add comments, please log in or register
Keith Watford
Moderator
10617
Keith Watford  

Are you sure that the version you are running is the version you have shown here?

This would be a serious issue 

whroeder1
16086
whroeder1  
Print("OrderSymbol ",OrderSymbol()," OrderTicket ",OrderTicket()," OrderOpenPrice ",OrderOpenPrice());
That's halve of the problem, why didn't you print Symbol() also?
Roman Zhitnik
2408
Roman Zhitnik  
WHRoeder:
That's halve of the problem, why didn't you print Symbol() also?

Isn't it showing the same info as this one?


GumRai:
Are you sure that the version you are running is the version you have shown here?

Yes, I'm sure

Alain Verleyen
Moderator
33490
Alain Verleyen  
.roman.:

Isn't it showing the same info as this one?


Yes, I'm sure


This is not possible with the code you posted. Show your real code.
Roman Zhitnik
2408
Roman Zhitnik  

Problem solved. In the logic block there was a user function operating with another OrderSelect that was the reason of sending last selected order data outside of the function to program environment.

UPD.: MetaQuotes support also suggested to:

make the variable "magic" different on all the charts for each advisors.

12
To add comments, please log in or register