Endogenous Macro Heatmap [invincible3] Endogenous Macro Heatmap
The Endogenous Macro Heatmap is a multi-factor macroeconomic dashboard designed to show the internal economic condition of a selected country in a compact table format directly on the chart.
Unlike cross-country or exogenous comparison models, this indicator focuses on domestic macro conditions : growth, production, demand, liquidity, rates, inflation, employment, fiscal position, debt pressure, and central bank balance sheet behavior.
The goal is to help traders, investors, and macro analysts quickly assess whether a country’s internal economic backdrop is improving, neutral, weakening, or entering a stress phase.
The indicator uses a heatmap structure so that changes in the macro environment can be understood visually. Stronger readings are shown through the positive color gradient, weaker readings through the negative color gradient, and balanced or transition zones through the neutral color.
What This Indicator Measures
The heatmap tracks a broad set of endogenous macro variables, including:
GDP year-over-year growth
Manufacturing production / manufacturing index
New orders or capacity utilization
Building permits, construction output, construction orders, or housing starts depending on the selected country
Retail sales year-over-year
Money supply
10-year government bond yield
Interest rate
Inflation year-over-year
Employment-related data
Debt-to-GDP
Government budget
Central bank balance sheet
Because macro data availability differs across countries, the script automatically substitutes certain fields where required. For example, some countries may use construction output, construction orders, housing starts, or capacity utilization depending on what is available in the TradingView economic database.
Supported Countries
The dashboard currently supports:
United States
United Kingdom
Euro Area
Germany
France
Italy
Canada
Japan
China
Australia
South Korea
New Zealand
Each country uses its corresponding TradingView economic code where available.
Composite Macro Score
The final Score column converts multiple macro readings into a single composite score from 0 to 100.
The score is grouped into four macro blocks:
1. Growth Block
Includes GDP, manufacturing, new orders, construction/building activity, retail sales, and employment.
This block has the largest weight because real economic momentum is the primary driver of macro regime strength.
2. Liquidity Block
Includes money supply and central bank balance sheet data.
This block helps identify whether domestic liquidity conditions are expanding or contracting.
3. Tightness Block
Includes 10-year yield and interest rate conditions.
This block helps measure whether financial conditions are becoming easier or tighter.
4. Stability Block
Includes inflation, debt/GDP, and government budget data.
This block helps detect macro pressure from inflation, fiscal stress, or excessive debt burden.
The composite score is weighted as follows:
Growth: 45%
Liquidity: 20%
Tightness: 20%
Stability: 15%
Score Interpretation
The score is displayed as a clean numeric value without extra symbols, making the table easier to read.
General interpretation:
70–100: Strong macro condition
55–69: Positive / improving condition
45–54: Neutral / transition condition
30–44: Weak condition
Below 30: Stress condition
The score should not be interpreted as a direct buy or sell signal. It is a macro regime filter designed to provide context.
Heatmap Color Logic
The table uses a simple and consistent three-color structure:
Positive color: stronger or favorable macro readings
Neutral color: balanced or mid-range readings
Negative color: weaker or unfavorable macro readings
The color system is intentionally matched with the Exogenous Heatmap style, allowing both dashboards to be used together with a consistent visual language.
Each macro field also includes an **Up Good** setting. This allows the user to define whether higher values are favorable or unfavorable for each metric.
For example:
Higher GDP growth is generally positive.
Higher manufacturing activity is generally positive.
Higher liquidity can be positive.
Higher inflation, debt, or rates may be interpreted differently depending on the user’s macro framework.
This flexibility allows the heatmap to be adapted for different economic regimes and analytical preferences.
Auto and Manual Scaling
The indicator includes an automatic macro gradient scale.
When auto scaling is enabled, the heatmap normalizes each metric based on the visible historical table range. This makes the table visually adaptive and easier to compare across different periods.
Manual scaling is also available for users who prefer fixed macro ranges.
This is useful when comparing the same country across different time periods or when the user wants a stable visual reference.
Timeframe and History Controls
Users can select the table period:
Yearly
Quarterly
Monthly
Weekly
Daily
The data can be fetched by:
A fixed number of periods
A selected start date
This gives flexibility for short-term macro monitoring as well as longer-term economic cycle analysis.
Table Customization
The dashboard includes several table display settings:
Show or hide table
Select table position
Select table size
Customize positive, neutral, and negative colors
The table automatically adapts to the chart background and foreground colors for better readability on both dark and light chart themes.
How to Use
This indicator is best used as a macro context tool.
A practical workflow:
1. Select the country you want to analyze.
2. Choose the table period, such as monthly or quarterly.
3. Review the color trend across the macro fields.
4. Watch whether growth, liquidity, tightness, and stability are improving or deteriorating together.
5. Use the composite score as a broad internal macro regime filter.
6. Combine the macro backdrop with price action, trend, liquidity, sector rotation, and risk management.
For example:
A rising score with improving growth and liquidity may support a risk-on environment.
A falling score with weakening growth and tightening conditions may warn of macro deterioration.
A neutral score may indicate a transition period where markets can become more sensitive to new economic data.
Suggested Use Cases
This heatmap can be useful for:
Macro regime analysis
Country-level economic monitoring
Risk-on / risk-off context
Equity index analysis
Bond market context
Currency market macro background
Sector rotation research
Long-term investment cycle analysis
Comparing domestic conditions with external macro pressure when used together with an exogenous heatmap
Important Notes
Economic data can be revised, delayed, or unavailable depending on the country and TradingView’s data coverage.
Some fields may not exist for every country, so the script uses alternative fields where possible.
The heatmap is designed for macro analysis and educational research. It does not predict price direction by itself and should not be used as a standalone trading system.
Always combine macro signals with technical analysis, market structure, liquidity conditions, and proper risk management.
Disclaimer
This script is for educational and analytical purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any asset.
Markets are influenced by many factors beyond macroeconomic data, including positioning, liquidity, earnings, policy changes, geopolitical events, and sentiment. Use this tool as one layer of a broader decision-making process.
インジケーター

Global Liquidity Index (Z-Score)Global Liquidity Index (Quant Normalized Edition)
Overview
The Global Liquidity Index (Quant Normalized Edition) is a professional-grade macro indicator designed to track the "lifeblood" of financial markets: Fiat Liquidity. Unlike retail-focused momentum oscillators, this tool dives deep into the Market Plumbing of the world’s major central banks to provide a lead-lag perspective on asset prices.
The Core Logic
Liquidity is not a single number; it is a flow. This indicator aggregates data from the Federal Reserve (FED), ECB, PBoC, BoJ, BoE, and SNB.
It offers two distinct calculation modes:
-Net Central Banks: Focuses on the "true" spendable liquidity by calculating: (Balance Sheet - RRP - TGA) for the US, plus major global central bank assets.
-Global M2: Tracks the broad money supply growth across the world's largest economies.
Key Features
-Z-Score Normalization Layer: The breakthrough feature of this version. By applying a Z-score normalization to the liquidity Rate of Change (ROC), the script standardizes the different magnitudes of central bank balance sheets. This ensures that a massive move in the PBoC is weighted correctly against the FED, providing a balanced signal.
-4-Phase Liquidity Engine: The indicator categorizes the market regime into four distinct stages:
Phase 1: IGNITION (Blue) – Liquidity is beginning to accelerate, often preceding a major breakout.
Phase 2: FULL THRUST (Green) – Maximum liquidity momentum; the "Golden Window" for trend-following.
Phase 3: ROTATION (Orange) – Liquidity is decelerating. Momentum is fading, suggesting risk-off or distribution.
Phase 4: DROUGHT (Red) – Net liquidity is contracting.Historically associated with increased volatility and "rug pulls".
-X-Ray Projection (Offset): Includes a time-shifting engine that allows users to project the liquidity signal forward (or backward) to identify lead-lag correlations with price action.
-Dynamic Correlation: An integrated dashboard shows the real-time correlation between the liquidity flow and the current chart's price action.
How to Use
-Bullish Environments: Look for Phase 1 (Ignition) transitions into Phase 2 (Full Thrust).
-Risk Mitigation: Be cautious when the signal enters Phase 3 (Rotation), as this often marks the "topping out" of the liquidity cycle.
-Divergence: Watch for "Price vs. Liquidity" divergences, where price moves higher while liquidity (GLI) is making lower highs.
Credits & Disclaimer
Credits: The foundational macro-data fetching logic was inspired by the original work of QuantitativeAlpha. This version has been deeply modified and independently developed to include a proprietary Z-Score normalization layer, a time-shifting engine, and a 4-phase algorithmic regime filter.
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial or investment advice. インジケーター

Blockcircle Global Central Bank Balance Sheet and Money SupplyOVERVIEW
This indicator aggregates money supply (M2) and central bank balance sheet data from the world's largest economies into a single, unified view of global liquidity conditions. Rather than manually tracking dozens of separate data feeds or building your own aggregation logic, you get a ready-to-use tool that pulls from FRED, TradingView Economics, and real-time FX rates to convert everything into USD terms automatically.
Global liquidity has historically served as a leading indicator for risk assets. When central banks expand their balance sheets and the money supply grows, capital tends to flow into equities, crypto, and other risk-on assets. When liquidity contracts, markets often follow. This indicator gives you that macro context directly on your chart.
The global liquidity movement (expansionary or contractionary) often leads to asset price appreciation/depreciation in CRYPTOCAP:BTC , SP:SPX , etc
WHAT MAKES IT ORIGINAL AND DIFFERENT
Combines both M2 money supply AND central bank balance sheet data in one place, whereas most existing tools focus on only one metric
Aggregates 11 economies for M2 (USA, EU, China, Japan, UK, Canada, India, Russia, Brazil, Australia, Switzerland) and 10 central banks for balance sheet data
Automatically handles currency conversion using live FX rates so all values display in USD
Includes a dedicated US Net Liquidity calculation (Fed Balance Sheet minus Reverse Repo minus TGA) which filters out temporary distortions that other aggregate tools ignore
Provides granular country by country breakdown in the information table so you can identify which central banks are driving the aggregate trend
Offers four moving average types (SMA, EMA, WMA, RMA) for trend smoothing with configurable length
HOW IT WORKS
The indicator requests monthly M2 data from TradingView's Economics feeds for each included country. Central bank balance sheet data is pulled the same way. All non-USD values are converted using daily FX rates from major currency pairs. The script then sums these converted values to produce the Global M2 and Global CBBS lines.
For US liquidity specifically, the script pulls weekly data for the Reverse Repo Program (RRP) and Treasury General Account (TGA) from FRED. Net Liquidity is calculated as: Fed Balance Sheet minus RRP minus TGA. This formula removes funds parked in reverse repos and Treasury cash balances, showing what is actually circulating in the financial system.
KEY FEATURES
Global M2 Money Supply line tracking 11 major economies with individual toggles for each country
Global Central Bank Balance Sheet line tracking 10 central banks with individual toggles
US-specific components, including Reverse Repo, TGA, and Net Liquidity as separate plot lines
Moving average overlays with selectable type and length for identifying trend direction
Fill the option between M2 and CBBS lines to visualize the gap between money supply and central bank assets
Value labels at line endpoints showing current readings and period-over-period percentage change
Comprehensive information table with optional country breakdown view
Full color customization for all lines, configurable line width, and style options
Alert conditions for significant M2 and CBBS changes plus MA crossover signals
HOW TO USE
Add to any chart and observe the overall direction of global liquidity. Rising lines generally support risk on positioning, while declining lines suggest caution
Watch for divergences between the M2 and CBBS lines. If money supply grows faster than central bank assets, private credit may be expanding. If CBBS rises faster, central banks are actively injecting liquidity
Use the US Net Liquidity line to understand short term dollar liquidity conditions separate from longer term global trends
Enable moving averages to filter noise and identify when liquidity trends are changing direction
Toggle individual countries on or off in the settings to see how specific regions contribute to the total
Reference the information table for exact values and percentage changes without leaving your chart
SETTINGS BREAKDOWN
Table Settings: position, text size, and whether to show the country breakdown
Display Settings: toggle visibility for each line, fill area, value labels, percent labels, and the info table
Line Styling: customize colors for each metric, adjust line width, and select solid, dashed, or dotted style
Moving Average: enable or disable MA overlays for M2 and CBBS, select MA type, and set length
Global M2 Countries: individually enable or disable each of the 11 economies
US Liquidity Components: toggle RRP and TGA data
Global CBBS Countries: individually enable or disable each of the 10 central banks
Alerts: set percentage threshold for change based alerts
IMPORTANT CONSIDERATIONS
Data updates depend on the publication schedule of each source. M2 and CBBS data are typically monthly with some delay. US Fed Balance Sheet, US RRP and US TGA update weekly
FX conversion uses daily close rates which may introduce minor discrepancies during volatile currency periods
Some emerging market data may have longer reporting lags than developed market data
Hope you find it useful and impactful to your trading and investment decisions! If you have any questions at all, please just ask, happy to help インジケーター

インジケーター

インジケーター

Global M2 ex-China MonitorGlobal M2 Monitor - Ultimate Edition
🎯 OVERVIEW
Advanced global M2 money supply monitoring indicator, offering a unique macroeconomic view of global liquidity. Real-time tracking of M2 evolution in major developed economies.
📊 KEY FEATURES
Global M2 Aggregation : USA, Japan, Canada, Eurozone, United Kingdom
Currency Conversion : All data converted to USD for consistent analysis
High Resolution Display : Daily curve by default
Technical Analysis : 50-period moving average (SMA/EMA/WMA)
Accurate YoY Calculation : Annual variation based on monthly data
Advanced Signal System : Multi-condition color codes
🎨 COLOR SYSTEM - DEFAULT SETTINGS
🟢 GREEN : YoY ≥ 7% AND M2 ≥ SMA → Strong growth + Bullish momentum
🔴 RED : YoY ≤ 2% AND M2 ≤ SMA → Weak growth + Bearish momentum
🟢 LIGHT GREEN : YoY ≥ 7% BUT M2 < SMA → Good fundamentals, temporarily weak momentum
🔴 LIGHT RED : YoY ≤ 2% BUT M2 > SMA → Weak fundamentals, price still supported
🔵 BLUE : YoY between 2% and 7% → Neutral zone of moderate growth
🇨🇳 WHY IS CHINA EXCLUDED BY DEFAULT?
Chinese M2 data presents methodological reliability and transparency issues. Exclusion allows for more consistent analysis of mature market economies.
Different M2 definition vs Western standards
Capital controls affecting real convertibility
Frequent monetary manipulations by authorities
✅ Available option : Can be activated in settings
⚙️ OPTIMIZED DEFAULT PARAMETERS
// DISPLAY SETTINGS
Candle Period: D (Daily)
// MOVING AVERAGE
MA Period: 50, Type: SMA
// BACKGROUND LOGIC
YoY Bullish: 7%, YoY Bearish: 2%
SMA Method: absolute, Threshold: 0.2%
// COLORS
Transparency: 5%
China M2: Disabled
📈 RECOMMENDED USAGE
Traders : Anticipate sector rotations
Investors : Identify abundant/restricted liquidity phases
Macro-analysts : Monitor monetary policy impacts
Portfolio managers : Understand inflationary pressures
🔍 ADVANCED INTERPRETATION
M2 ↗️ + YoY ≥ 7% → Favorable risk-on environment
M2 ↘️ + YoY ≤ 2% → Defensive risk-off environment
Divergences → Early warning signals for trend changes
💡 WHY THIS INDICATOR?
Global money supply is the lifeblood of the financial economy . Its growth or contraction typically precedes market movements by 6 to 12 months.
"Don't fight the Fed... nor the world's central banks"
🛠️ ADVANCED CUSTOMIZATION
All parameters are customizable:
YoY bullish/bearish thresholds
SMA comparison method (absolute/percentage)
Colors and transparency
Moving average period and type
Optional China inclusion
📋 TECHNICAL INFORMATION
YoY Calculation : Based on monthly data for consistency
Sources : FRED, ECONOMICS, official data
Updates : Real-time with publications
Currencies : Updated exchange rates
インジケーター

Official USD Staggered Bands - ArgentinaOfficial USD Staggered Bands - Argentina
The Central Bank, under the administration of Javier Milei (La Libertad Avanza), announced on Friday, April 11, 2025, a series of measures to eliminate the so-called "exchange rate restriction."
In this new phase, the dollar's exchange rate on the Free Exchange Market (MLC) will be able to fluctuate within a band between $1,000 and $1,400 , the limits of which will be expanded at a rate of 1% monthly.
The lines evolve daily, increasing as the public administration predicts. This way, you can know the likelihood of a Central Bank intervention to correct the variation and return the peso to a price within the band.
The script runs under the ticker USDARS インジケーター

DECODE Global Liquidity IndexDECODE Global Liquidity Index 🌊
The DECODE Global Liquidity Index is a powerful tool designed to track and aggregate global liquidity by combining data from the world's 13 largest economies. It offers a comprehensive view of financial liquidity, providing crucial insights into the underlying currents that can influence asset prices and market trends.
The economies covered are: United States, China, European Union, Japan, India, United Kingdom, Brazil, Canada, Russia, South Korea, Australia, Mexico, and Indonesia. The European Union accounts for major individual economies within the EU like Germany, France, Italy, Spain, Netherlands, Poland, etc.
Key Features:
1. Customizable Liquidity Sources
Include Global M2: You can opt to include the M2 money supply from the 13 listed economies. M2 is a broad measure of money supply that includes cash, checking deposits, savings deposits, money market securities, mutual funds, and other time deposits. (Note: Australia uses M3 as its primary measure, which is included when M2 is selected for Australia).
Include Central Bank Balance Sheets (CBBS): Alternatively, or in addition, you can include the total assets held by the central banks of these economies. Central bank balance sheets expand or contract based on monetary policy operations like quantitative easing (QE) or tightening (QT).
Combined View: If you select both M2 and CBBS, and data is available for both, the indicator will display an average of the two aggregated values. If only one source type is selected, or if data for one type is unavailable despite both being selected, the indicator will display the single available and selected component. This provides flexibility in how you define and analyze global liquidity.
2. Lead/Lag Analysis (Forward Projection):
Lead Offset (Days): This feature allows you to project the liquidity index forward by a specified number of days.
Why it's useful: Global liquidity changes can often be a leading indicator for various asset classes, particularly those sensitive to risk appetite, like Bitcoin or growth stocks. These assets might lag shifts in liquidity. By applying a lead (e.g., 90 days), you can shift the liquidity data forward on your chart to more easily visualize potential correlations and identify if current asset price movements might be responding to past changes in liquidity.
3. Rate of Change (RoC) Oscillator:
Year-over-Year % View: Instead of viewing aggregate liquidity, you can switch to a Year-over-Year (YoY%) Rate of Change (ROC) oscillator.
Why it's useful:
Momentum Identification: The ROC highlights the speed and direction of liquidity changes. Positive values indicate liquidity is increasing compared to a year ago, while negative values show it's decreasing.
Turning Points: Oscillators make it easier to spot potential accelerations, decelerations, or reversals in liquidity trends. A cross above the zero line can signal strengthening liquidity momentum, while a cross below can signal weakening momentum.
Cycle Analysis: It helps in assessing the cyclical nature of liquidity provision and its potential impact on market cycles.
This indicator aims to provide a clear, customizable, and insightful measure of global liquidity to aid traders and investors in their market analysis. インジケーター

インジケーター

インジケーター

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.
インジケーター

インジケーター

インジケーター

インジケーター

インジケーター

インジケーター

インジケーター

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. インジケーター
