AlexD169

AlexD Market annual seasonality

AlexD169 Aggiornato   
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.
Note di rilascio:
Offset removed from plot() function
Note di rilascio:
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.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?