I was wondering if anyone could help me figure how to change this over...i've tried several different things but since i'm very new to programming it's been quiet frustrating so any help would be GREATLY appreciated. Here is the NT7 code:
RSIDelta.Set(Momentum(RSI(Close,14,3),9)[0]);
RSIsma.Set(SMA(RSI(Close,3,3),3)[0]);
Values[0].Set(RSIDelta[0] + RSIsma[0]);
Values[1].Set(SMA(Values[0],13)[0]);
Values[2].Set(SMA(Values[0],33)[0]);
and here is what i've gotten so far, i can get all the way through Value[0] with no problems but Value[1] on gives an error b/c "Value[0]" is a double, while the SMA specifically requires it to be a ISeries<double>, which i can not for the life of me figure out how to circumvent even though i'm pretty sure it's going to be something pretty simple.
RSIDelta[0] = Momentum(RSI(Close,14,3),9)[0];
RSIsma[0] = SMA(RSI(Close,3,3),3)[0];
Value[0] = (RSIDelta[0] + RSIsma[0]);
Value[1] = SMA(Value[0],13)[0];
Value[2] = SMA(Value[0],33)[0];
if there is anything else you need please let me know and i'll get back with you asap, thanks again for the help
Comment