I have an indicator that it is drawing himself on separate window at the bottom of the chart (#property indicator_separate_window). When I insert it into an expert advisor I wrote, at each value change on the market it reload the indicator and causes to the expert advisor to stucks the computer due to multiple windows that just keep opening for the "new" indicator.
I never had this kind of behavior on other EAs I wrote. This is the first time it happen and I do not know why.
Does the EA, on each market change initializes (init()) and de-initializes (deinit()) the indicator when using the iCustom function?
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.
Hello,
I have an indicator that it is drawing himself on separate window at the bottom of the chart (#property indicator_separate_window). When I insert it into an expert advisor I wrote, at each value change on the market it reload the indicator and causes to the expert advisor to stucks the computer due to multiple windows that just keep opening for the "new" indicator.
I never had this kind of behavior on other EAs I wrote. This is the first time it happen and I do not know why.
Does the EA, on each market change initializes (init()) and de-initializes (deinit()) the indicator when using the iCustom function?
Someone may knows why is it happen?
Thank in advantage.