Code: Select all
procedure OnParamsChange; stdcall;
SetIndexLabel(0, 'EMA'+IntToStr(period) );
Has no effect on the IndexLabel text even when the period is changed to another value with the options menu.
Same using the SetIndexLabel inside the Calculate also seems not to have the ability to change the text.
It looks like if it is set once it is unchangeable after that.
Is this a bug or a misinterpretation of me how to use the function.
How can I change the IndexLabel's when the Pramas changed ?