I am ignorant as to why ridiculous values always occur at the first Period length whenever I calculate Ratios?
I hope I have not discovered some bug and I imagine it's more likely I am just being silly.
For example in the image below indicator doesn't begin to count bars until its Period length with this line of code.
if (CurrentBar < (Period)) return;
Unfortunately a ridiculously large value of about 4 or 5 is achieved after the first PERIOD number of bars is reached.
This ridiculously large skewing value occurs only for the very first PERIOD number of bars on the chart and then never occurs again.
Thank all the experts of NT8 very much for verifying if this has happened to others or if this is some standard issue with a common solution for initialization.

Comment