This indicator is a double centered moving average!
The missing periods have been reconstructed with a very complex approximation and projection technique!
The hatched areas are approximations of the missing periods projected into the future.
It is possible to set the centering of the averages through the variable "Approximation Lenght" and the ratio between the parent average and the underlying in "Period Partition".
Practical example of setting:
"Approximation Lenght" equal to 2 means that the centering will be of half a period
"Period Partition" gives me the possibility to set the second average equal to half the main average if we insert 2 in the variable; equal to the third part if we insert 3 and so on ......
//By default we will have a main period at 256 and a shorter one at 128 (period partition 2), with centering equal to half a period (approximation length 2); if the average is shorter than 64 then I put 4 in the period partition.//
This is a great tool for cyclical analysis.
It is not possible, due to the pinescript v4 language limit, to set the average under 50 periods and over 670 periods.
For any bugs contact the creators