It is possible to set the display name shown on TS2/MarketScope to include current values of variables so the display may read:
MyStrategy: EURUSD m1 P1=1.0;P2=3.4
etc. by instance:name("MyStrategy: EURUSD m1 P1=1.0;P2=3.4") in the code.
If I change the value, for example, of P1 to 2.0 using the Change Strategy facility, this would immediately be shown in MarketScope and theIndicator/Strategy column of the events log.
If I change the value programmatically rather than by input, even though I reconstruct and call instance:name("MyStrategy: EURUSD m1 P1=2.0;P2=3.4") again, it is not changed in either, although host:trace can write it into the log so I will know that the updated value is actually used.
Is there a way to re-initialise this?