AlexD169

AlexD Market annual seasonality

AlexD169 Uppdaterad   
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.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?