OPEN-SOURCE SCRIPT

Earnings Countdown

Updated
Since TradingView for some reason removed the small UI element in the symbol details window showing the amount of days left til a company releases its next earnings report, I decided to make my own.

A simple script with options for choosing the position and at what amount of days left the displayed color should change to red (mimicking the old feature).

I would suggest placing the indicator somewhere else than the main price chart, since it will be difficult to place it somewhere where it doesn't obscure something. Default is bottom and right since I place it on a separate volume indicator where the number is clearly visible.
Release Notes
Since TradingView for some reason removed the small UI element in the symbol details window showing the amount of days left til a company releases its next earnings report, I decided to make my own.

A simple script with options for choosing the position and at what amount of days left the displayed text color should change to red (mimicking the old feature).

I would suggest placing the indicator somewhere else than the main price chart, since it will be difficult to place it somewhere where it doesn't obscure something. Default is bottom and right since I place it on a separate volume indicator where the number is clearly visible.
Release Notes
TradingView have contacted me and stated that a countdown has been put back into the symbol details window under the earnings section. But since I (like others probably) would like to have that info readily available upon loading a chart, and not have to scroll to find it, I still find this script useful.
Earnings

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer