Maybe someone can take a look a look at the code with a fresh pair of eyes and recognize the problem. I have a feeling its related to either the properties section or something to do with the DataSeries, then again it could be something totally different...
(Good for determining the trend, and stays out of the way of the price)