Why "1" for two candles... you even say the word "two". I think that while I was making this block I was thinking that 1 candle rise should be the difference between MA[0] and MA[1]. Technically we compare 2 MA values here, who belong to 2 different candles, but when you draw the line between them, the line itself has width of 1 candle. This is the yellow difference in levels in the picture below:
0_1554118076659_bc52d462-ff32-4c8f-a0db-7d3c595f4cbb-image.png
So I guess we are thinking differently - you think about how many points are connected, I think about the number of lines. Both ways are in the same time right and wrong 🙂