Hi, experimenting with EA where one indicator directly changing the setting of another, not via externals...
It do not work even with simple std indicators. Even a simple direct change of setting, see code, will cause the problem.
Seems everytime the setting is changed (every tick or bar) a new sub-window appear, there can be 10' or 100's of them... See picture.
Is there a way around this problem? I've seen it before and it happends when passing incorrect order or number of parameters to iCustom.
Maybe there is a way to force indicator reset/init after chaning the param?
//+------------------------------+//| The main start function |//+------------------------------+ int start()
{
if(Bars<100) { Print("bars less than 100"); return(0); }
Len = Len + 10;
double wp0 = iATR(NULL,0,Len,0);
//----
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi, experimenting with EA where one indicator directly changing the setting of another, not via externals...
It do not work even with simple std indicators. Even a simple direct change of setting, see code, will cause the problem.
Seems everytime the setting is changed (every tick or bar) a new sub-window appear, there can be 10' or 100's of them... See picture.
Is there a way around this problem? I've seen it before and it happends when passing incorrect order or number of parameters to iCustom.
Maybe there is a way to force indicator reset/init after chaning the param?