Download MetaTrader 5

Using variable declared on another EA which is running on another MT4 cession.

To add comments, please log in or register
Frédéric LEBRE
375
Frédéric LEBRE  

Please, do you know if it's possible to call value of a variable used on an EA running on anther MT4 cession ?

I want to use extremum of zigzag indicator running on a H24 trading hours broker in another graph used by another broker.

Regards 

Keith Watford
Moderator
10651
Keith Watford  
Frédéric LEBRE:

I would like to use values of a constant used on another running EA. Is it possible ?

Regards. 

If you save the value from the first EA in a file or in a Global Variable (Client Terminal) then it can be accessed by the other EA
Frédéric LEBRE
375
Frédéric LEBRE  
Keith Watford:
If you save the value from the first EA in a file or in a Global Variable (Client Terminal) then it can be accessed by the other EA

Thanks Keith,

Even if it's on another MT4 terminal ? 

Keith Watford
Moderator
10651
Keith Watford  
Frédéric LEBRE:

Thanks Keith,

Even if it's on another MT4 terminal ? 

I see that you have changed your original post.

You cannot use a Global Variable if it is another terminal, but you can use a file as long as it is in the Common folder.
Frédéric LEBRE
375
Frédéric LEBRE  
Keith Watford:
I see that you have changed your original post.

You cannot use a Global Variable if it is another terminal, but you can use a file as long as it is in the Common folder.
Thanks a lot, I'll try.
To add comments, please log in or register