In NT7
DonchianChannel dc = DonchianChannel(DonchianPeriod);
dc.Displacement = 2;
dc.AutoScale = false;
Add(dc);
In NT8 the following doesn't work since SMA doesn't have an AutoScale definition.
SMA smaRegime = SMA(RegimeLookback);
smaRegime.AutoScale = false;
AddChartIndicator(smaRegime);
I've seen the post that sets IsAutoScale = true/false; in the OnStateChange() method, but that sets all of the indicators either true or false. I just want one set to false and the others set to true.
How do I get access to an indicators AutoScale property from a Strategy?
Comment