Changing EA properties in while( !IsStopped() ) version

 

Hi,

I'm just changing my EA from the tick by tick version to the while( !IsStopped() ) version in the start() function.

I noticed that I can't change the EA properties anymore by clicking on the smiley in the chart.

So is the only way to change the EA properties now to remove and reattach it?

Thanx.

forexfan

 
mt4forum:

Hi,

I'm just changing my EA from the tick by tick version to the while( !IsStopped() ) version in the start() function.

I noticed that I can't change the EA properties anymore by clicking on the smiley in the chart.

So is the only way to change the EA properties now to remove and reattach it?

Thanx.

forexfan

Nope, create a script, write to MT Global Variable, EA read from Global Variable. Done.

or use https://www.mql5.com/en/forum/124688

PostMessageA(WindowHandle(Symbol (), Period ()), WM_COMMAND, 33048, 0);//  33324
This website uses cookies. Learn more about our Cookies Policy.