Weighted Global Liquidity Index (WGLI) ROCThe Weighted Global Liquidity Index (WGLI) ROC indicator calculates the rate of change (ROC) of the WGLI, providing valuable insights into the dynamics of global liquidity. The WGLI consolidates major central bank balance sheets and key financial indicators, such as Foreign Exchange Reserves, Interbank Rates, and Interest Rates, converted to USD and expressed in trillions. Specific US accounts like the Treasury General Account (TGA) and Reverse Repurchase Agreements (RRP) are subtracted from the Federal Reserve's balance sheet for a more detailed view of US liquidity.
Using both the WGLI and the WGLI ROC together allows users to track changes in global liquidity and understand policy trajectories and economic conditions. This dual approach offers insights into asset pricing and helps investors make informed decisions about capital allocation.
Feel free to explore and customize the WGLI ROC script to suit your analysis needs!
Analisis Makroekonomi dan Ide Trading
Weighted Global Liquidity Index (WGLI)The Weighted Global Liquidity Index (WGLI) provides a comprehensive view of major central bank balance sheets from around the world, using data converted to USD for consistency and expressed in trillions. This indicator includes specific US accounts like the Treasury General Account (TGA) and Reverse Repurchase Agreements (RRP), which are subtracted from the Federal Reserve's balance sheet to offer a more detailed perspective on US liquidity.
The WGLI incorporates not only the balance sheets but also additional key financial indicators such as Foreign Exchange Reserves, Interbank Rates, and Interest Rates, weighted by their global liquidity importance. The regions and central banks included are:
Federal Reserve System (FED) - Treasury General Account (TGA) - Reverse Repurchase Agreements (RRP)
European Central Bank (ECB)
People's Bank of China (PBC)
Bank of Japan (BOJ)
Bank of England (BOE)
Bank of Canada (BOC)
Reserve Bank of Australia (RBA)
Reserve Bank of India (RBI)
Swiss National Bank (SNB)
Central Bank of the Russian Federation (CBR)
Central Bank of Brazil (BCB)
Bank of Korea (BOK)
Reserve Bank of New Zealand (RBNZ)
Sweden's Central Bank (Riksbank)
Central Bank of Malaysia (BNM)
This tool is designed for anyone interested in gaining a snapshot of global liquidity to interpret macroeconomic trends. By examining these balance sheets and additional indicators, users can understand policy trajectories and evaluate the global economic climate. It also offers insights into asset pricing and helps investors make informed capital allocation decisions.
Feel free to explore and customize the WGLI script on Trading View to suit your analysis needs!
Bond Yield SpreadThe Bond Yield Spread Script is developed for forex traders, offering an automated tool to calculate the bond yield spread between two countries associated with the forex pair displayed on the chart.
Functionality:
The script starts by identifying the base and quote currencies of the current forex pair and aligns them with their corresponding national bond symbols based on user-selected maturity, with options ranging from 01Y to 30Y. It calculates the yield spread by subtracting the bond yield associated with the quote country from that of the base country, following the formula:
Yield Spread = Yield(Base Country) − Yield(Quote Country)
which is then displayed as a plot line on the chart.
This script relies solely on TradingView's internal yield symbols, with the following calculation:
"currency" => "first two letters" + maturity
And maturity, in this case, is the value that is configured in the indicator settings, for example:
"EUR" => "EU" + "02Y" will result in EU02Y -> which will be used in the formula, depending on the quote or base currency.
Application in Trading:
This indicator is invaluable for traders employing carry trading strategies or assessing currency strength based on traded interest rates as an indicator. A higher yield spread typically indicates a stronger currency, because the return obtained for holding the currency is higher.
Originality and Practicality:
This script is self-developed, aiming to fill the gap in automatic bond yield comparisons within the TradingView environment. It is particularly beneficial for traders focusing on macroeconomic factors affecting forex markets. Unlike other scripts, it integrates various bond maturities into one tool, enhancing its utility and application range.
Conclusion:
Designed for traders incorporating macroeconomics in their strategy, this script will be useful to calculate the bond yield differences automatically without having to enter a new formula for every new currency pair.
Compliance and Limitations:
The script complies with TradingView scripting standards, ensuring no lookahead bias and maintaining real-time data integrity. However, its utility depends on the comprehensive availability of bond yield data within TradingView. As not all countries issue bonds for each listed maturity, this may limit the script’s application for certain currency pairs or specific maturities.
Interest Rate IndicatorThis script offers a overview of Year-over-Year (YoY) interest rates for key countries. The interest rate data utilized by default are sourced from TradingView Tickers, but they can be modified to any preferred source via the settings.
The script does not perform any calculations; its primary function is to present a comparative view of interest rates across different countries in a single indicator.
Key features include:
Interest rate data for the USA, European Union, Australia, Canada, Switzerland, Japan, United Kingdom, and New Zealand (Interest Rate Symbols are editable in the settings).
A table displaying country flags, names, and the latest interest rates, providing a clear and immediate comparison.
Country-representative colors for easy identification and visual distinction between different countries' data.
This indicator is designed for traders and analysts looking for a quick and efficient way to monitor and compare the interest rates of major economies directly within TradingView, facilitating better informed financial and investment decisions.
Inflation IndicatorThis script provides a great view of Year-over-Year (YoY) inflation rates for key countries.
The inflation data used per default are TradingView Tickers, but you can change them to anything you want from the settings.
There is no calculation in this script, all it does is providing a overview of inflation rates in a single indicator.
Inflation data for the USA, European Union, Australia, Canada, Switzerland, Japan, United Kingdom, and New Zealand (Inflation Symbols editable in the settings)
Customizable static line to indicate a specific threshold value (default: 2.0).
Table displaying country flags, names, and the latest inflation rates.
Country-representative colors for easy identification.
Central Banks Balance Sheets ROI% ChangeIntroducing the "Central Banks Balance Sheets ROI% Change" indicator, a tool designed to offer traders and analysts an understanding of global liquidity dynamics.
This indicator tracks the Return on Investment (ROI) percentage changes across major central banks' balance sheets, providing insights into shifts in global economic liquidity not tied to cumulative figures but through ROI calculations, capturing the pulse of overall economic dynamics.
Key Enhancements:
ROI Period Customization: Users can now adjust the ROI calculation period, offering flexibility to analyze short-term fluctuations or longer-term trends in central bank activities, aligning with their strategic time horizons.
Chart Offset Feature: This new functionality allows traders to shift the chart view, aiding in the alignment of data visualization with other indicators or specific analysis needs, enhancing interpretive clarity.
Central Bank Selection: With options to include or exclude data from specific central banks among the world's top 15 economies (with the exception of Mexico and the consolidation of the EU's central bank data), traders can tailor the analysis to their regional focus or diversification strategies.
US M2 Option: Recognizing the significance of the M2 money supply as a liquidity metric, this indicator offers an alternative view focusing solely on the US M2, allowing for a concentrated analysis of the US liquidity environment.
Comprehensive Coverage: The tool covers a wide array of central banks, including the Federal Reserve, People's Bank of China, European Central Bank, and more, ensuring a broad and inclusive perspective on global liquidity.
Visualization Enhancements: A histogram plot vividly distinguishes between positive and negative ROI changes, offering an intuitive grasp of liquidity expansions or contractions at a glance.
This indicator is a strategic tool designed for traders who seek to understand the undercurrents of market liquidity and its implications on global markets.
Whether you're assessing the impact of central bank policies, gauging economic health, or identifying investment opportunities, the "Central Banks Balance Sheets ROI% Change" indicator offers a critical lens through which to view the complex interplay of global liquidity factors.
Global Liquidity IndexThe Global Liquidity Index offers a consolidated view of all major central bank balance sheets from around the world. For consistency and ease of comparison, all values are converted to USD using their relevant forex rates and are expressed in trillions. The indicator incorporates specific US accounts such as the Treasury General Account (TGA) and Reverse Repurchase Agreements (RRP), both of which are subtracted from the Federal Reserve's balance sheet to give a more nuanced view of US liquidity. Users have the flexibility to enable or disable specific central banks and special accounts based on their preference. Only central banks that both don’t engage in currency pegging and have reliable data available from late 2007 onwards are included in this aggregated liquidity model.
Global Liquidity Index = Federal Reserve System (FED) - Treasury General Account (TGA) - Reverse Repurchase Agreements (RRP) + European Central Bank (ECB) + People's Bank of China (PBC) + Bank of Japan (BOJ) + Bank of England (BOE) + Bank of Canada (BOC) + Reserve Bank of Australia (RBA) + Reserve Bank of India (RBI) + Swiss National Bank (SNB) + Central Bank of the Russian Federation (CBR) + Central Bank of Brazil (BCB) + Bank of Korea (BOK) + Reserve Bank of New Zealand (RBNZ) + Sweden's Central Bank (Riksbank) + Central Bank of Malaysia (BNM).
This tool is beneficial for anyone seeking to get a snapshot of global liquidity to interpret macroeconomic trends. By examining these balance sheets, users can deduce policy trajectories and evaluate the global economic climate. It also offers insights into asset pricing and assists investors in making informed capital allocation decisions. Historically, riskier assets, such as small caps and cryptocurrencies, have typically performed well during periods of rising liquidity. Thus, it may be prudent for investors to avoid additional risk unless there's a consistent upward trend in global liquidity.
Central Bank Balance SheetsDisplay FED, China, Europe and Japan Central Bank Assets over time in USD.
Display FED, China, Europe and Japan Central Bank Assets as % of their country's GDP over time.
Display the sum of all of the central bank assets over time.
Global LiquidityThe "Global Liquidity" script is an indicator that calculates and displays the global liquidity value using a formula that takes into account the money supply of several major economies. The script utilizes data from various sources, such as the Federal Reserve Economic Data (FRED), Economics, and FX_IDC.
The indicator plots the global liquidity value as a candlestick chart and breaks it down into two categories: the Euro-Atlantic region (West) and the rest of the world (East). The values are denominated both in inflation-adjusted dollars and in trillions of dollars. The script also calculates the spread between the Euro-Atlantic region and the rest of the world.
Traders and investors can use this indicator to gauge the overall liquidity of the global economy and to identify potential investment opportunities or risks. By breaking down the liquidity value into different regions, traders can also gain insights into regional economic trends and dynamics.
Note that this script is subject to the terms of the Mozilla Public License 2.0 and was created by rodopacapital.
Global Net LiquidityShows the value of Global Net Liquidity.
Currently defined as:
Fed + Japan + China + UK + ECB - RRP - TGA
where the first five components are central bank assets.
Global Net Liquidity - SPX Fair ValueThis is similar to the SPX Fair Value Bands indicator.
It currently only displays the fair value.
The original SPX Fair Value formula only includes the Fed balance sheet data.
This indicator incorporates the following central bank assets:
Fed
Japan
China
UK
ECB
This is currently experimental. Feel free to explore using different formula constants.
Interest Rates [WhaleCrew]This indicator allows you to display the interest rates of multiple central banks (US, EU, China, Russia, Japan, UK, ...) at once.
Built-in Interest Rates
US ECONOMICS:USINTR
EU ECONOMICS:EUINTR
China ECONOMICS:CNINTR
Russia ECONOMICS:RUINTR
Japan ECONOMICS:JPINTR
UK ECONOMICS:GBINTR
Custom Symbol (default: ECONOMICS:CHINTR )
Central Bank Interest RatesThis indicator will show central bank interest rates on any major currency pairs.
I included the last 10 values for the study and will update them with future changes.
Major currencies: USD, CAD, NZD, AUD, JPY, EUR, CHF, GBP
I might add CZK, TRY, ZAR, and Yuan in the future.