Please take a look at the attached graphic. If you look at the vertical lines at the right side of the chart, you'll notice that the indicator is charting one period behind the price study.
I have no idea why this is occurring. The code seems to me something straightforward enough, but clearly I'm missing something. I've also attached the code.
Help would be appreciated.
I have no idea why this is occurring. The code seems to me something straightforward enough, but clearly I'm missing something. I've also attached the code.
Help would be appreciated.
Comment