Two related bugs in mt4

 
1) When I have a custom indicator attached to a chart and changed inputs (not using the defaults) and compile the custom indicator the values on the chart switch back to the defaults.

2) Same situation as above. But when compiling the indicator all layouts for the graphs switch to lines with width 1. They are not even using the defaults from the indicator (which may be histogram with thickness 2 or line with dotted lines) but the always revert back to thickness 1 and unbroken lines.


Markus
 
Reverting back to the defaults of the input parameters is probably intentional, but I don't know. It is why I use a template to save my indicators/chart settings, so I can easily restore it when I keep fixing my code :).

The lines/histogram changing is a problem.