Found bug in using DLL function calls in indicators...

 
Please note that there is a bug in the new MT4 build 610. Whenever an indicator uses DLL function calls and is attached to a chart, it is reset to default settings and reinitialized if you compile any other indicator, expert or script in MT4.
Here is how you can recreate the bug:

1) Attach the following indicator to any chart and set Input1 to something other than the default (for example 21).
2) You'll see an alert pup up displaying the entered value 21
3) recompile the RSI indicator
4) You will see the the default value of Input1 displayed in the alert window twice.

Please fix this so that indicators do not get reset to default settings and reinitialized whenever some other piece of code is recompiled.

I used the DLL example from previous MT4 versions and I use the attached indicator code.

Files:
a.mq4  2 kb
Reason: