TradingView
AlexD169
25 dec 2022 07:10

AlexD Market annual seasonality 

Bitcoin all time history indexINDEX

Beskrivning

The indicator displays the percentage of bullish days with a given date over several years.
This allows you to determine the days of the year when the price usually goes up or down.
Indicator has a built-in "simple moving average" shifted back by half a period, due to which the delay of this smoothing is removed.

Versionsinformation

Offset removed from plot() function

Versionsinformation

Added smoothing when sampling the day of the year.

The "Depth" property indicates how many bars to take for smoothing to the left and right of the found day.
Extreme bars are taken with less weighting for smooth signal decay.

I recommend setting "Depth" to 1. If you don't need to use this feature, set "Depth" to 0.

This is the final functionality change. Further changes are possible to optimize the indicator.
Mer