Warning: This script works only on a daily chart and only works for bitcoin charts with a long history. Best to be used on the BLX chart as it goes back to July 2010.
This script shows you the Moving Average with the length of a full bitcoin cycle, in which a cycle is defined as a period between two reward halvings; i.e. 210.000 blocks. After data analysis in Python, I found that the average inter arrival time is a bit lower than the often communicated 10minutes; it's 9.46minutes, which makes the 210.000 block interval equal to 1379days.