I'm trying to make a custom indicator, the rate of change of the rate of change in percent (ROCPROCP for short). To me it looks like I have the code correct, but when I go double-check the numbers, they aren't correct. Example: if the ROCP (RateOfChangePercent) is 10% today, and was 7% yesterday, the ROCPROCP would be (10-7)/7 * 100 = 43%. I used the ROCP plot to check the numbers, which don't match what I would expect.