Download MetaTrader 5
To add comments, please log in or register
Articles have already helped many traders. Come and read them!
Sherif Hasan
7256
Sherif Hasan 2015.08.24 10:18 

Eg:

EA default parameter settings as StopEA=true;

If (a>0)

{

StopEA=False; (this to be changed in expert parameter settings)

}

i would like to change this settings as StopEA=false while EA runs.

Is this possible to write code? if yes please advice to get!

Subgenius
570
Subgenius 2015.08.24 23:03  
sheriffonline:

Eg:

EA default parameter settings as StopEA=true;

If (a>0)

{

StopEA=False; (this to be changed in expert parameter settings)

}

i would like to change this settings as StopEA=false while EA runs.

Is this possible to write code? if yes please advice to get!

only if your external variable has an internal variable.

ive tried before and it doesn't work

if you were changing your lotsize it is not possible to change the external variable, so

/
To add comments, please log in or register