TradingView
sl-wk
31 דצמ׳ 2022 13:12

OECD CLI Diffusion Index 

S&P 500SP

תיאור

What does the indicator measure?
This is a macro indicator. It uses OECD's composite leading indicator - see details about the CLI below.
What it does it calculate YoY changes for CLI of 38 countries that are members or are associated with the OECD. Then it measures a percent of countries which CLI is rising.

How this can be used?
The positive slope of the curve means that there probably will be an economic growth among those countries within next 6 - 9 months. The negative slope means there probably will be an economic contraction.
Forward-looking economic growth is correlated with positive S&P 500 YoY growth (equity markets are also forward looking). The chart above presents the CLI diffusion index with overlayed S&P500 YoY rate of change.

The CLI is also correlated with ISM PMI - see example below:



What is a CLI?
"The OECD system of Composite Leading Indicators (CLIs) is designed to provide early signals of turning points in business cycles - fluctuation in the output gap, i.e. fluctuation of the economic activity around its long term potential level. This approach, focusing on turning points (peaks and troughs), results in CLIs that provide qualitative rather than quantitative information on short-term economic movements."

הערות שחרור

Another reason to look at CLI Diffusion Index is its relationship with the volatility. Table below presents the distribition of VIX spikes over 35 among ten buckets of the index - where first bucket consists of index values of 0%-10% and the last one 90%-100%.



Additional idea on how to use the index is to look at securities that the most sensitive to economic changes. Below are YoY rate of changes of Russell 2000 and Copper futures.

הערות שחרור

I changed how CLI data is pulled - instead of using data.nasdaq.com (which does not store the data anymore) - the code uses TW data.
However, additional change comes from OECD. They previously published data for all OECD members and some associated countries. Now it is limited only to G20 countries (TW allows us to get only 16 coutries). Go to OECD's website to get more details on that.

הערות שחרור

Just minor code cleaning.
תגובות
sl-wk
For some reason, the source of OECD data - data.nasdaq.com - no longer has this data available. Thus, the indicator does not plot anything. I trust this is a temporary issue and it soon will be solved.
nik0580
@sl-wk, Looks like now CLI composite leading indicators component data set are available within tradingview it self . May be you can use tradingview symbols straight (Eg. CNCLI, INCLI, )and update your script. Thanks !
sl-wk
@nik0580, I did not know that, thank you for letting me know. I'll update the code soon.
nik0580
@sl-wk, Very welcome and will be looking forward to the new version. Plz let me know once you will have updated version ready. I really liked your work with this script. +1
sl-wk
@nik0580, it is updated. Please read release notes.
nik0580
@sl-wk, Thank you so much. Looks gr8 !
עוד