double TSICalc = fastAbsEma[0] == 0 ? 0 : 100 * fastEma[0] / fastAbsEma[0];
double SigCalc = TSICalc * (2.0 / (1 + signalLen)) + (1 - (2.0 / (1 + signalLen))) * TSICalc[1];
TSI.Set(TSICalc);
Signal.Set(SigCalc);
Diff.Set(TSICalc - SigCalc);
This won't compile even though it is almost a mirror of the included MACD code. Just to see, I tried to compile the included (and unedited) MACD code and got the same error. Can anyone see what the problem is?
Comment