I get the following error "TSMOOTH is a type but is used like a variable." TSMOOTH is an enum Type containing several moving avarages and when called in the following code case this error is generated. The parameters in the code are those listed by Ninja SmartScript
case DivergenceMode.EsakIndicator: esakIndicator = EsakIndicator(20, 0.1, TSMOOTH, Brushes.Red, Brushes.LimeGreen); break;
Many Thanks.

Comment