INVITE-ONLY SCRIPT
Mis à jour

Double centered moving averages v1

846
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
Notes de version
The new settings offer a greater range of use, from a minimum of 10 periods to a maximum of 1340
Notes de version
Update to version 5

Projection stabilization function
Notes de version
Automatic stabilization system
Improved user experience
Update version 6

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.