Double centered moving averages v1

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
Projection stabilization function
Improved user experience
Update version 6
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact luigigarone1983 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
🚨 Hai bisogno di formazione o consulenza?
👉 linktr.ee/cryptoverso.xyz
🔥 Accedi al nostro server DISCORD:
👉discord.gg/gYAzxQk6z6
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact luigigarone1983 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
🚨 Hai bisogno di formazione o consulenza?
👉 linktr.ee/cryptoverso.xyz
🔥 Accedi al nostro server DISCORD:
👉discord.gg/gYAzxQk6z6