tedwardd

Yearly High/Low Indicator

This is a basic line drawing script which will draw lines for the highest and lowest prices for each year on a chart. High lines will be green and low lines will be red. Each line is labeled with the year and price that it represents. It takes in a single input value which is the year to start marking from. By default, the script will only draw the yearly high lines and a check-box can be selected to enable the low lines. The high line can, similarly, be disable should you only want the low lines. I chose this default because I noticed that more often than not, with both enabled, the screen got a little too cluttered.

Known Issues:
If you set the starting year to the current year, the labels don't show up. I spent a while trying to figure out why but I gave up after realizing that if you only have one year selected, it's less important that they be labeled and it didn't bother me after that. If it bothers you, fix it and feel free to let me know how you did it but I'm not interested in working any harder on a fix right now.

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?