INVITE-ONLY SCRIPT
Updated

Single centered moving average v1

1 271
This indicator is a centered moving average!
The missing periods have been reconstructed with a very complex approximation and projection technique!
On the chart I loaded a simple 180-period average in blue and our average centered in yellow.
The hatched area is the approximation of the missing periods projected into the future.
It is possible to set the centering of the average through the offset ratio:
2 is half a period behind; 4 is a quarter of a period behind.
This is a great tool for cyclical analysis.
It is not possible, due to the pinescript v4 language limit, to set the average over 1.000 periods.

For any bugs contact the creators
Release Notes
This indicator is a centered moving average!
The missing periods have been reconstructed with a very complex approximation and projection technique!
On the chart I loaded a simple 180-period average in blue and our average centered in red.
The hatched area is the approximation of the missing periods projected into the future.
It is possible to set the centering of the average through the ''Approximation length'':
2 is half a period behind; 4 is a quarter of a period behind.
This is a great tool for cyclical analysis.
It is not possible, due to the pinescript v4 language limit, to set the average over 1.000 periods.

For any bugs contact the creators
Release Notes
I replaced '' main period '' with '' main cycle '' as it is a cyclic moving average
Release Notes
Update to version 5

Debugging

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

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.