[blackcat] L3 Ehlers Corona Charts Swing PositionLevel: 3
Background
John F. Ehlers introuced Corona Charts Swing Position Indicator in Nov, 2008.
Function
John Ehlers's corona indicators, "Corona Charts," provide a "multidimensional" view of market activity. In the article "Corona Charts" in Nov, 2008, John Ehlers further developed his earlier work on market cycles. A new kind of indicator was presented that uses a glow-like effect to present another dimension of data. Implementation of corona charts in pine v4 helps detect dominant cycles in data. It provides a corona chart for swing positions indicator.
Dr. Ehlers claims that a corona is displayed when the market is in a trend and there is little cyclic component. The swing position indicator shows the phasing of the data within the dominant cycle. A value of -5 means the cycle is at its valley. A value of +5 means the cycle is at its peak. In a pure cycle the Swing Position will trace out the shape of a sine wave. However, I normalized it to overlay it together with Corona Chart heat maps.
Key Signal
DomCycle--> Ehlers Dominant Cycle
Plot2~Plot50--> Ehlers Corona Charts Swing Position Heat Map
Pros and Cons
100% John F. Ehlers definition translation, even variable names are the same. This help readers who would like to use pine to read his book.
Remarks
The 74th script for Blackcat1402 John F. Ehlers Week publication.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Corona
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.
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 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.
COVID-19 QuantifiedSince TradingView has added the COVID-19 tickers I wanted to get this out for everyone.
Hopefully, someone finds it useful and/or helpful in any way. Stay safe out there guys.
Inputs:
"Region" - Select the region you would like the formulas applied to
note:
All metrics are displayed in a percentage format. Suggest You right-click on the price scale within the indicator tile and enable "logarithmic".
CovidThis indicator is meant to track the trend of total deaths and total confirmed cases of coronavirus.
silver column = (change in deaths)/(change in cases)
black line = (total deaths/total cases)
maroon line = (change in deaths)
navy line = (change in cases)
Interpretation: When they are trending up, it is bearish. When they are trending down, it is bullish.
maroon line going up = virus is not contained, higher % increase in cases than previous day
navy line going up = no antidote found, higher % passed away than previous day
black line going up = 4% of confirmed cases resulted in deaths, higher than yesterday
silver columns increasing = there was an increase in the percentage of deaths relative to the percentage of confirmed cases