Here is the code:
double obv = OBV()[0];
double obvEma = EMA(obv, 12);
I have tried quite a bit to get the value of obv into the first parameter of EMA but I just cant seem to get it.
What confuses me even more is that I have done it in another section of my code:
ISeries<double> mom0 = Momentum(Close, Momentum_length);
ISeries<double> mom1 = Momentum(mom0, 1);
I am getting errors ranging from CS1502, CS0029 and others.
Thanks for your help!
Comment