OPEN-SOURCE SCRIPT

COVID-19: Daily change per capita (EU only)

Updated
New confirmed cases per day (daily change) is one thing, just an absolute value but when we put this number in context of population (per million people) of each country the situation is a bit different.

We can easily see that, at the moment (Apr 2nd, 2020), the most affected country is Spain (~150 new cases per million people per day) and surprisingly the second one is Switzerland (CH). We can also see Spain or Belgium's steep curve relative to other countries.

I know that some countries run more tests than the others and the outcome might not be reflect the reality but this is the official data that is available.
Release Notes
# Changelog


## 0.0.2 - 20200405


### Added
- Portugal - with more than 10k total cases
- add deaths graphs - toggle between confirmed / deaths graphs in Settings

### Changed
- per capita calculation
- dynamic/relative positioning for legend
- population info for each country
Release Notes
Add Sweden (SE) with more than 10k cases and 1k deaths.
Release Notes
Adding Ireland - IE with more than 1k deaths, fix EU per capita calculation
Release Notes
Remove COVID19 prefix
casesCoronavirus (COVID-19)covid-2019Daily ChartsDEATHSeuropepercapitapopulationRate of Change (ROC)

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