The Momentum table arithmetic code should be reviewed. It shows negative percentages when the price is above the moving average in many cases. I didn't check positives. I can send a pic if you like.

Avatar