OPEN-SOURCE SCRIPT

OECD CLI Diffusion Index

Cập nhật
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:
ảnh chụp nhanh


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."
Phát hành các Ghi chú
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%.

ảnh chụp nhanh

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.
ảnh chụp nhanh
ảnh chụp nhanh
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
Just minor code cleaning.
businesscycleCyclesmacrooecd

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm