|
Stefan Kroscen
2011-05-22 15:51:06
|
|
Hi,
I'm getting a result I don't understand; not sure if it is a bug or not. What I want to do is get the standard deviation over the entire length of previous bars. Stddev
doesn't appear to support that directly, so I thought if I supply the the Count() function as the number of bars it should work.
It doesn't though... it returns 0. Is this correct? If so, is there another way to accomplish this?
Thanks!
You can plot these to see what I mean.
closeAdjMax = Stddev(close,Count()-1);
Plot(Count(), "count", colorgreen|0|colorgreen|0|0, ChartLine, StyleOwnScale);
Plot(closeAdjMax, "closeAdjMax", colorbrown|0|colorbrown|0|0, ChartLine, StyleOwnScale);
|
|