A single click on trigger button in the Parameter dialog is not any more sufficient to remove a static variable:

|RequestTimedRefresh(0);
Plot(*C*, "", *colorBlack*);

Left = GetCursorMouseButtons() & 1;
ID = GetChartID();

*if* (Left)
StaticVarSet("ID + stop", GetCursorYPosition());
stop = StaticVarGet("ID + stop");

Plot(stop,"", *colorBrightGreen*);

remove = ParamTrigger("StaticVar", "Remove");
*if*(remove)
StaticVarRemove("ID + stop");|


Reply via email to