Page 1 of 1

SetIndexLabel does not update

Posted: Tue Oct 26, 2010 4:46 pm
by Wessel
Using the following code:

Code: Select all

procedure OnParamsChange; stdcall;
begin
  SetIndexLabel(0, 'EMA'+IntToStr(period) );
end;         

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 ?


Wessel