I have tried using Indicators for DataSeries, but am getting incorrect values.
As an example please see the attached ninjascript code: I create a simple ratio dataseries ( last close / 10 ) and use the print command to check the values. The first SMA ( Bollinger (ratio,2,10).Middle) seems to divide the last close price by 100 and the subsequent Bollinger Middle, Lower & Upper values seem to take some garbage values. Could you please help me out with this.
Thank you,
Neo

Comment