Shade COVID PeriodA free Pine Script that shades the COVID outbreak period. Note that you can specify your own date range and shade color.
新冠肺炎(COVID-19)
Smooth ChangePercentage of change, compared to a certain number of candles back, and optionally smoothened as a moving average. I use this for Covid-19 numbers, where I compare to 7 days ago, and use a 7 day moving average over that, which gives me a nice idea of the real corona trend.
COVID19 Death Rate Cases Forecast (DRCF)The core idea is that given a deaths count and a death ratio, we can calculate how many cases must exist.
Total Cases <-> 100%
Deaths <-> Death Rate
This script plots the total cases for two different death rates.
Death Rate = (Deaths * 100) / Total Cases
Remember to update the DEATHS_X value in the script settings so that it matches the COMFIRMED_X graph you are viewing.
COVID19 New Cases & Threshold per 100k inhabitantsGoal is to be able to keep track of new COVID cases and see when the relative threshold is passed.
The default threshold is set to 10 new cases per 100.000 inhabitants per 14-days, please change the available inputs to change this metric
Out of curiosity I've added the population density. Because people generally live and socially interact on land I've used the land-area for population density calculation.
When comparing metrics between countries there are many more factors to be considered.
Create your own symbol list for the CONFIRMED tickers:
Create a new list
Paste the following text where you would add a symbol:
COVID19:CONFIRMED_AT,COVID19:CONFIRMED_BE,COVID19:CONFIRMED_DK,COVID19:CONFIRMED_FI,COVID19:CONFIRMED_FR,COVID19:CONFIRMED_DE,COVID19:CONFIRMED_IS,COVID19:CONFIRMED_IE,COVID19:CONFIRMED_IT,COVID19:CONFIRMED_LV,COVID19:CONFIRMED_LI,COVID19:CONFIRMED_LT,COVID19:CONFIRMED_LU,COVID19:CONFIRMED_MT,COVID19:CONFIRMED_MD,COVID19:CONFIRMED_MC,COVID19:CONFIRMED_NO,COVID19:CONFIRMED_PL,COVID19:CONFIRMED_PT,COVID19:CONFIRMED_RO,COVID19:CONFIRMED_RU,COVID19:CONFIRMED_SK,COVID19:CONFIRMED_SI,COVID19:CONFIRMED_ES,COVID19:CONFIRMED_SE,COVID19:CONFIRMED_CH,COVID19:CONFIRMED_TR,COVID19:CONFIRMED_UA,COVID19:CONFIRMED_AE,COVID19:CONFIRMED_AR,COVID19:CONFIRMED_AU,COVID19:CONFIRMED_BR,COVID19:CONFIRMED_CA,COVID19:CONFIRMED_CL,COVID19:CONFIRMED_CN,COVID19:CONFIRMED_CO,COVID19:CONFIRMED_HR,COVID19:CONFIRMED_ID,COVID19:CONFIRMED_IL,COVID19:CONFIRMED_IN,COVID19:CONFIRMED_IR,COVID19:CONFIRMED_JP,COVID19:CONFIRMED_KR,COVID19:CONFIRMED_KW,COVID19:CONFIRMED_MX,COVID19:CONFIRMED_MY,COVID19:CONFIRMED_NZ,COVID19:CONFIRMED_PE,COVID19:CONFIRMED_PH,COVID19:CONFIRMED_SG,COVID19:CONFIRMED_TH,COVID19:CONFIRMED_US,COVID19:CONFIRMED_US_AZ,COVID19:CONFIRMED_US_CA,COVID19:CONFIRMED_US_FL,COVID19:CONFIRMED_US_IL,COVID19:CONFIRMED_US_MA,COVID19:CONFIRMED_US_NC,COVID19:CONFIRMED_US_NJ,COVID19:CONFIRMED_US_NY,COVID19:CONFIRMED_US_TX,COVID19:CONFIRMED_UZ,COVID19:CONFIRMED_VE,COVID19:CONFIRMED_ZA
COVID-19 Status by CountryThis script summarizes the daily COVID-19 confirmed and deaths cases by country. You can select the country of interest and the SMA period in inputs.
For how we think COVID-19 will impact the market in the near future, see the idea below:
All thoughts and critics are welcomed!
COVID-19 Country CodesTradingView's available country COVID-19 data. "TOTAL" refers to all cases of COVID-19. Let me know if I am missing some. I cannot find Taiwan.
Options to show: confirmed, deaths, recovered, and a delta of the total.
Option to transform data to show daily change.
There are much more comprehensive tools with more utility than mine; ideally this would be helpful towards another indicator.
Will add syminfo.description in the future for easier use.
People's Republic of China COVID-19 CodesTradingView's available People's Republic of China state-owned territory and province COVID-19 data.
Options to show: confirmed, deaths, recovered, and a delta of the total. Because of weird laws, Taiwan does not appear to be listed under China nor as its own country in TradingView.
Option to transform data to show daily change.
US COVID-19 CodesTradingView's available state, province, and the two ships Diamond Princess and Grand Princess COVID-19 data.
Options to show: confirmed, deaths, recovered, and a delta of the total. There seems to be missing data for the recovered cases.
Option to transform data to show daily change.
[Daveatt] BEST Quandl Federal Reserve Economic Dashboard 1.0Hello traders
I hope you're all doing well and the quarantine will soon be over in your respective countries.
We all have strong opinions on how it could have been handled by our respective governments but the facts cannot be contested.
And basically, they acted based on a lot of unknown data. Obviously, we can throw away some conspiracy theories but what's the point really?
Conspiracy theorists never ever ever ever made money - Permabulls did historically.
Fight only for what you can change, in other words, YOURSELF. Those 2 months were tremendous for me to adapt, learn, and pivot my different businesses.
I believe that humans are wired to one thing - transform themselves. You'll never be able to change our governments, the banks, the FED printing money (making it the dollar less and less valuable)
Transforming yourself and your life is the only (and the most powerful) hedge you have
Yes, you didn't ask for it, this is not fair. Life is not fair. Only YOU can make it fair for yourself
That's why I stopped listening to the media, social media and all the news related to COVID
Context
I wanted to play with the new Quandl utility function provided by TradingView
With this dashboard, I tried to build a Quandl dashboard based on the Federal Reserve Economic Data data
I pulled out a few metrics from this Quandl page: www.quandl.com
"Federal Reserve Economic Data" or FRED is a project by the Economic Research Department of the Federal Reserve Bank of St Louis.
FRED collects over 200,000 US and international economic time series, from 69 different sources, on a single website. Data coverage includes all major areas of macroeconomic analysis: growth, inflation, employment, interest rates, exchange rates, production and consumption, income and expenditure, savings and investment, and more.
What can you do with the indicator
First, kudos to Pinecoders . I used his color scale and f_print functions to display those labels at the right.
Script Reference:
You can change from the indicator settings:
- Labels horizontal position
- Labels size (tiny, normal, big, huge)
- Labels colors
Final words
Tough times are ahead as we can see from those numbers.
For those having an online business, it's a fantastic period despite the terrible events. Use it at your advantage to learn and share your vibes and knowledge with your audience
Stay brave,
Dave
Major Event Price Indicators (Coronavirus Lows)This very simple script adds a corridor for two low price ranges, where Corona started to hit. Useful to visualize where a stock currently trades at, relative to the Corona / Covid-19 crisis.
Can easily be adjusted for different dates regarding any major events, crashes. Useful when you run out of Alarms and just want to see "is that still below or above where it was before ?".
Add as many dates as you want, just alter the names of each indicator.
Built upon the script of vitvlkv.
COVID Statistics Tracker & Model Projections by Cryptorhythms😷 COVID-19 Coronavirus Tracker & Statistics Tools by Cryptorhythms 😷
📜Intro
I wanted to put some more meaning behind the numbers for 2020's Covid pandemic. I hope this tool can help people analyze and deal with these hard times. With these metrics I hope to give greater depth and dimension to whats available. While also at the same time creating something that looks decently presentable and gives actionable information.
I had planned on including a few forecasting models and letting the user play with values to see how social distancing works. But alas I couldnt complete those in the scope of time I gave myself for the indicator. If you are interested in collaborating on it, I will share what I have with you and we can further work on it.
📋Description
The script contains 3 main parts you will interact with. I suggest you enable the chart labels for "indicator name" and "indicator last value" to make the charts more readable (right click on the scale of your chart and goto the "labels" pop out menu). Depending on what plots and data you choose to chart, logarithmic and regular scales can both be applied in different situations. To get similar visuals to the examples I will show below, you can goto the indicator options > style tab. I then play with the line styles, colors and transparencies to achieve the nice looking charts. Please also note there is a distinction between "Infected" and "Infectious". A model telling you the number of infected doesnt designate whether that person can still pass the virus on to others (infectious). So Infectious numbers are usually lower than total confirmed, but this isnt always the case if for example a country wasnt testing very much during the early phase or something else.
🚧Disclaimer
I am not a medical professional and none of this should be considered medical advice. All of the models, numbers and math I sourced from professional places but this is not a guarantee of the future only an approximation based on current information. Numbers change daily and so can these models!
🌐PART ONE
In this area you select a region to read the proper statistics data from tradingview. You can do global totals, country totals, or for a few places (AU, CA, CN, US) you can see state/province totals. Remember to SELECT ONLY ONE region.
🧮PART TWO
The Plots/Stats/Data section includes:
1. ) Plot the Days to Double Number of Confirmed
2. ) Plot the Infection Growth Ratio
3. ) Plot Fatality Risk Rate (Total Deaths / Total Outcomes)
4. ) Plot Overall Fatality Rate / Recovery Rate
5. ) Plot % of World Infected & % of USA Infected
6. ) Plot Daily New Deaths, Confirmed & Recovered
7. ) Plot Daily Change Percentages
🎱PART THREE
Forecasting Models and Settings:
1 .) Plot the % of Custom Population Infected (Vs. the Region Selected in Part 1 of Settings)
2 .) Plot the True Num. of Infectious (Death Model / DM)
3 .) Plot the Current and Next Weeks Cumulative Infection Projection (DM)
4 .) Plot Estimated Infection Rates? (DM)
5 .) Enable Basic Trajectory Projection?
6 .) Plot the Likelihood of > 0 **Infectious** in a Group (DM) for Today, Tomorrow and Next Week
7 .) Plot the True Num. of Infected (Confirmed/Tested Model)
8 .) Plot the Estimated Epidemiology for 7 and 14 Days Out (Hospital Beds, ICU Beds, Ventilator Units)
Planned But not completed
9.) SIR Epidemiology Model
10.) Exponential Growth Plot & Correlation
To use the Estimator for likelihood of Infected in N group of people you need to do 2 things. Select and use "Custom Population" as the population source for part 3. Then you need to enable "Custom Infected" as the source for the model. Then you enter your geographical area's population and confirmed cases. Its best to goto the smallest / most granular level of data available to accurately estimate the likelihood. So for instance in the order of least effective to most effective data source: global, country, state, county, city...etc.
If you do not understand what these terms or numbers represent, please read the source materials I have linked in the code, or use google. I dont have the time or expertise to explain all the various specific methods and terms included here. This entire project was a learning journey for me and I have zero experience in epidemiology so please excuse any errors I may have made. (and tell me, so I can change it!)
🔮Future Additions
If anyone has a model or stat they would like included I will be happy to add your code to this toolbox to make it more effective and give you credit here in the description. If you want to collaborate please message me.
📊Some Example Charts:
The Cryptorhythms Team wish you and your families all the absolute best of health!
P.S. Stay safe and act smart I dont think this will be the EOTW.
COVID-19 Case ComparisonDuring this global pandemic, there is limited information available on the COVID-19 disease itself. However one thing we do have is data; and we get more of this every day.
Use this indicator to track the live number of new cases each day, along with the current mortality, recovery, and transmission rates.
Easily switch data output between multiple countries.
If you don't see your country available, please comment below and I will gladly add it.
Corona multi InformationYou can put 2 Countrys on your Chart
includet
Confirmed
Recovered
Death
and
Ill ( Confirmed - ( Recovered and Death)
s19.directupload.net
If you want a feature added write me :)
Normaly i say "Have fun", but not this time.
Stay healthy.
COVID-19: Daily change per capita (EU only)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.
COVID-19: Daily momentumThis indicator shows 14-days moving average of daily rate of change (momentum, acceleration), in other words:
- up trends means that virus accelerates at the rate displayed on the right scale
- consolidation/horizontal movement - virus spreads at constant rate
- down trend - virus looses momentum IMPORTANT: the virus STILL accelerates but at a lower rate
By default the graphic displays World vs. EU vs. US vs. Asia while individual countries are available in Settings.
- EU includes the following countries (DE, FR, IT, ES, CH), all with more than 10k confirmed cases and more than 1k new daily infections.
- Asia includes CH and KR
To use the indicator it is important to disconnect main chart from the right scale, on main chart click on More (the 3 dots) -> Pin to scale -> Select "No Scale".
COVID19 Ratio StudiesA made this study to help understand how COVID19 is spreading in my country (Brazil).
Feel free to change the script, but if you can't do by yourself, ask me and I will help you.
In anyway, lets be safe!
COVID-19: Daily changeNew daily infections (daily change) of COVID-19.
The chart shows new daily cases across the entire planet, the US, EU (de+fr+it+es only) and a small country (RO) that does not matter to anybody but me. You can show/hide different country in Settings.
Select "COVID-19: CONFIRMED" data in main chart and add the indicator.
Covid-19 CFR, Difference Indicator [Bitduke]Simple indicator to track case fatality rate and difference in deaths | recovered cases for novel coronavirus. It could help to trace the impact on the stock market and cryptocurrencies.
Case fatality rate (CFR) - an indicator equal to the ratio of the number of deaths from a disease to the number of patients with this disease for a certain period of time. That is, if CFR = 30% it means one died, two cured out of 3 infected.
The percentage change between recovered cases
The percentage change between deaths
Assumption
It can be assumed that if we consider bitcoin as a store of value, then when the situation getting worse (CFR + deaths difference increase and recovery difference decreases) bitcoin price tends to rise and vice versa.
But this is only an assumption that requires additional tests; there is still little data for a robust statistical analysis.
COVID19-USCOVID19 data United States and 5 states.
Choose mode for Active, Change, or Total cases.
Edit States in script code n1-n5
COVID19COVID19 data worldwide and 5 countries.
Choose mode for Active, Change, or Total cases.
Edit Countries in script code n1-n5