Global M2 Money Supply (USD) GrowthThe Global M2 Growth indicator evaluates the total liquid money supply, including cash, checking deposits, and assets that can be easily converted to cash. It reflects changes in global liquidity by tracking year-on-year (YoY) changes in the Global M2 money supply rather than its absolute value. This approach highlights the velocity of liquidity expansion or contraction, offering a clearer understanding of its correlation with asset performance, such as Bitcoin.
How It Works
When the Global M2 money supply expands, it reflects an increase in available liquidity. This often leads to an influx of capital into higher-yielding and riskier assets like Bitcoin, equities, and commodities. Conversely, when M2 contracts, liquidity tightens, leading to declines in the values of these assets.
An essential insight is that Bitcoin's price is not immediately affected by changes in M2. Research shows a lag of approximately 56-60 days (around two months) between liquidity changes and Bitcoin's price movements. Shifting the liquidity data forward by this period improves the correlation between Global M2 and Bitcoin performance.
How to Use
Track Global M2 YoY Change: Focus on liquidity's yearly change to identify trends. Rapid increases in liquidity often signify favorable conditions for Bitcoin and other risk assets to rise, while contractions often predict price declines or consolidation phases.
Account for the Lag Effect: Incorporate the two-month lag into your analysis to predict Bitcoin's potential moves more accurately. For instance, a recent resurgence in liquidity growth could signal a Bitcoin rally within the next two months.
Use as a Macro Indicator: Monitor liquidity trends alongside other economic indicators and asset performance metrics to build a more comprehensive investment framework.
By tracking these dynamics, traders and investors can better anticipate Bitcoin's trajectory and make informed decisions.
Фундаментальный анализ
Binance Leveraged Liquidations ApproximationBinance Leveraged Liquidations Approximation (BLLA)
The Binance Leveraged Liquidations Approximation (BLLA) indicator is a tool designed to estimate liquidation levels for leveraged trading on Binance. It calculates the approximate prices at which liquidations could occur for long and short positions, based on the entry price and leverage levels selected by the user.
Key Features:
Liquidation Level Calculation:
Estimates liquidation prices for multiple leverage levels (e.g., 20x, 10x, 5x, etc.).
Supports both long and short positions.
Customization:
Allows the user to manually input the entry price or automatically calculate it as the midpoint between the low and high of a defined period.
Leverage levels are configurable, enabling the indicator to adapt to different trading strategies.
Clear Visualization:
Displays liquidation levels directly on the chart, with labels indicating the corresponding leverage.
Uses distinct colors for long positions (yellow) and short positions (blue).
Recommended Use:
Risk Management: Helps identify liquidation levels to adjust stop-loss orders and manage risk in leveraged trading.
Market Analysis: Provides a quick overview of key levels where significant price movements might occur due to mass liquidations.
Settings:
Entry Price: Enter manually or leave at 0.0 to calculate automatically.
Leverage: Configure desired leverage levels (e.g., 20x, 10x, 5x, etc.).
Transparency and Display: Adjust the transparency of the lines and the number of bars displayed.
Quick Instructions:
Add the indicator to your chart.
Enter the entry price or leave it at 0.0 to calculate automatically.
Configure leverage levels according to your strategy.
Observe liquidation levels on the chart and use them to manage your risk.
Note:
This indicator is an approximation and does not guarantee absolute accuracy of liquidation levels, as these may vary depending on market conditions and exchange policies.
Quantitative Easing and Tightening PeriodsQuantitative Easing (QE) and Quantitative Tightening (QT) periods based on historical events from the Federal Reserve:
Quantitative Easing (QE) Periods:
QE1:
Start: November 25, 2008
End: March 31, 2010
Description: The Federal Reserve initiated QE1 in response to the financial crisis, purchasing mortgage-backed securities and Treasuries.
QE2:
Start: November 3, 2010
End: June 29, 2011
Description: QE2 involved the purchase of $600 billion in U.S. Treasury bonds to further stimulate the economy.
QE3:
Start: September 13, 2012
End: October 29, 2014
Description: QE3 was an open-ended bond-buying program with monthly purchases of $85 billion in Treasuries and mortgage-backed securities.
QE4 (COVID-19 Pandemic Response):
Start: March 15, 2020
End: March 10, 2022
Description: The Federal Reserve engaged in QE4 in response to the economic impact of the COVID-19 pandemic, purchasing Treasuries and MBS in an effort to provide liquidity.
Quantitative Tightening (QT) Periods:
QT1:
Start: October 1, 2017
End: August 1, 2019
Description: The Federal Reserve began shrinking its balance sheet in 2017, gradually reducing its holdings of U.S. Treasuries and mortgage-backed securities. This period ended in August 2019 when the Fed decided to stop reducing its balance sheet.
QT2:
Start: June 1, 2022
End: Ongoing (as of March 2025)
Description: The Federal Reserve started QT again in June 2022, reducing its holdings of U.S. Treasuries and MBS in response to rising inflation. The Fed has continued this tightening cycle.
These periods are key moments in U.S. monetary policy, where the Fed either injected liquidity into the economy (QE) or reduced its balance sheet by not reinvesting maturing securities (QT). The exact dates and nature of these policies may vary based on interpretation and adjustments to the Fed's actions during those times.
Liquidity Channels [TFO]1. Indicator Declaration:
indicator("Liquidity Channels ", "Liquidity Channels ", true, max_lines_count = 500)
This defines the name of the indicator as "Liquidity Channels " and sets the maximum number of lines to 500.
2. Input Variables:
bsl_color & ssl_color: These allow you to set the colors for bullish (liquidity highs) and bearish (liquidity lows) levels.
ps: Defines the "Liquidity Strength," i.e., how many bars to the left and right should the local high/low be valid for liquidity.
exag: Controls the size of the expanding channels. Higher values make the liquidity levels grow more.
del_untouched, del_after: Options to delete liquidity levels that were never traded through after a certain number of bars.
hide_channel: If true, hides the expanding channels.
line_style, line_width: Customizes the line style and width for the liquidity levels.
3. ATR Calculation:
atr = ta.atr(100) / 1000: This calculates the Average True Range (ATR) for 100 bars and scales it down.
4. Line Style Logic:
The switch statement assigns a line style based on the input (Solid, Dashed, Dotted).
5. Liquidity Type (liq):
liq is a custom type that holds:
price: Array of liquidity prices.
idx: Array of the bar index for each liquidity level.
diag: Array for diagonal lines showing channel growth.
hrz: Array for horizontal lines showing liquidity levels.
6. Methods:
add_liq: Adds a new liquidity level by saving the price and index, drawing a horizontal line at the liquidity price, and optionally adding a diagonal line showing channel expansion.
del_liq: Deletes a liquidity level by removing the price, index, and line (horizontal and diagonal).
update_liq: Updates the liquidity levels, extending the lines to the current bar index. If the liquidity level is outdated (based on the del_after setting) or the price is breached, it deletes the level.
7. Pivot Detection:
piv_hi: Detects if there is a pivot high (local high) based on the liquidity strength.
piv_lo: Detects if there is a pivot low (local low) based on the liquidity strength.
8. Logic for Adding Liquidity Levels:
If a pivot high (piv_hi) is detected, it adds a liquidity level at the high of that pivot using BSL.add_liq().
If a pivot low (piv_lo) is detected, it adds a liquidity level at the low of that pivot using SSL.add_liq().
9. Update Liquidity Levels:
The script calls BSL.update_liq(true) for bullish liquidity levels and SSL.update_liq(false) for bearish liquidity levels to update and possibly remove old or breached liquidity levels.
How to Use:
The script automatically identifies and plots liquidity levels (highs and lows) based on the price action.
You can customize the strength of liquidity, the appearance of lines, and how long the liquidity levels remain visible.
The expanding channel lines show how liquidity levels grow over time, providing dynamic visual references.
Important Notes:
You can adjust the ps parameter to control how many bars to the left and right must be higher or lower than the current bar for the level to be considered valid.
The exag parameter allows you to control how much the channel expands.
Liquidity levels that are never traded through can be automatically deleted after a specific period.
This script can be useful for traders looking to identify liquidity areas that could act as support/resistance or where price might react.
MK FractalsFraktal Indikator wo die von den Fraktalen jeweils Linien gezogen werden, bis zu von einer Kerze gekreuzt/rausgenommen wird. Hier werden die Linien der rausgenommenen Fraktale gelöscht.
Volume Profilei added color choosing function for Volume Profile indicator, the code is based on kv4coins.
You can choose the color for different region of the volume distribution for better visualization!!
M2 Global Liquidity Index - 10 Week Lead
M2 Global Liquidity Index - Forward Projection (10 Weeks)
This indicator provides a 10-week forward projection of the M2 Global Liquidity Index, offering traders insight into potential future market conditions based on global money supply trends.
What This Indicator Shows
The M2 Global Liquidity Index aggregates M2 money stock data from five major economies:
- China (CNY)
- United States (USD)
- European Union (EUR)
- Japan (JPY)
- Great Britain (GBP)
All values are converted to USD and presented as a unified global liquidity metric, providing a comprehensive view of worldwide monetary conditions.
Forward Projection Feature
This adaptation displays the indicator 10 weeks ahead of the current price, allowing you to visualize potential future liquidity conditions that might influence market behavior. The projection maintains data integrity while providing an advanced view of the liquidity landscape.
Trading Applications
- Anticipate potential market reactions to changing global liquidity conditions
- Identify divergences between projected liquidity and current price action
- Develop longer-term strategic positions based on forward liquidity projections
- Enhance your macro-economic analysis toolkit
Credit
This indicator is an adaptation of the original "M2 Global Liquidity Index" created by Mik3Christ3ns3n. Full credit for the original concept and implementation goes to the original author. This version simply adds a 10-week forward projection to the existing calculations.
Disclaimer
This indicator is for informational purposes only and should be used as one of many tools in your analysis. Past performance and projections are not guarantees of future results.
EMA + MACD Entry SignalsEMA + MACD Entry Signals Indicator
This indicator combines Exponential Moving Averages (EMAs) and the Moving Average Convergence Divergence (MACD) to identify potential trading entry points for both long and short positions.
Key Features
Displays three EMA lines (9, 20, and 200 periods) for trend identification
Generates entry signals based on EMA alignment and MACD confirmation
Shows alternating signals (long/short) to prevent signal clustering
Provides clear visual cues with green up-arrows for long entries and red down-arrows for short entries
Signal Conditions
Long Entry (Green Arrow)
A green up-arrow appears when all these conditions are met:
9 EMA > 20 EMA and 9 EMA > 200 EMA
MACD histogram > 0
MACD line > Signal line and MACD line > 0
No previous long signal is active (signals alternate)
Short Entry (Red Arrow)
A red down-arrow appears when all these conditions are met:
20 EMA > 9 EMA and 20 EMA > 200 EMA
MACD histogram < 0
Signal line > MACD line and MACD line < 0
No previous short signal is active (signals alternate)
Trading Application
This indicator is designed to help traders identify potential trend-following entry points with multiple confirmations, reducing false signals through both EMA and MACD alignment requirements.
Jacob's Basic strategyExecuting trade ideas using standard OHLC
This is a baseline script
I will be building off of this to get more technical analysis and entry points
noodle Vol CompositionVolume composition of lower timeframes.
Divergences between active volume and regular volume shows undecided participants.
Being able to see the composition of the lower timeframes volume profile helps to see when price is likely to make a strong move in either direction.
FinFluential Global M2 Money Supply // Days Offset =The "Global M2 Money Supply" indicator calculates and visualizes the combined M2 money supply from multiple countries and regions worldwide, expressed in trillions of USD.
M2 is a measure of the money supply that includes cash, checking deposits, and easily convertible near-money assets. This indicator aggregates daily M2 data from various economies, converts them into a common USD base using forex exchange rates, and plots the total as a single line on the chart.
It is designed as an overlay indicator aligned to the right scale, making it ideal for comparing global money supply trends with price action or other market data.
Key Features
Customizable Time Offset: Users can adjust the number of days to shift the M2 data forward or backward (from -1000 to +1000 days) via the indicator settings. This allows for alignment with historical events or forward-looking analysis.
Global Coverage Includes:
Eurozone: Eurozone M2 (converted via EUR/USD)
North America: United States, Canada
Non-EU Europe: Switzerland, United Kingdom, Finland, Russia
Pacific: New Zealand
Asia: China, Taiwan, Hong Kong, India, Japan, Philippines, Singapore
Latin America: Brazil, Colombia, Mexico
Middle East: United Arab Emirates, Turkey
Africa: South Africa
Cash Flow YieldsCash Flow Yields Indicator
This indicator offers a straightforward way to visualize a company’s cash flow metrics—Free Cash Flow (FCF), Operating Cash Flow (OCF), and Capital Expenditures (CapEx)—as yields relative to its market capitalization. With the flexibility to switch between Trailing Twelve Months (TTM) and Quarterly data, it’s perfect for spotting financial efficiency trends at a glance. Values are plotted as dynamic lines with smart color coding and labeled for clarity.
Features:
TTM & Quarterly Data: Toggle between financial periods to suit your analysis.
Color-Coded Lines: Green for positive OCF, teal for positive FCF, and blue for CapEx. Red and maroon kick in when values turn negative.
Yield Perspective: See FCF, OCF, and CapEx as percentages of market cap, making it easy to compare cash flow strength across companies.
Clear Labels: The latest values pop up on the chart, positioned to the right of the last bar.
Simple & Intuitive: No clutter - just clean lines and numbers to help you focus on what matters.
To use it, add it to your chart and toggle between TTM or Quarterly to see trends. FCF should roughly equal OCF minus CapEx. Adjust your view to focus on companies with strong FCF yields for potential opportunities.
This indicator is freely available and open-source on TradingView for everyone to use. Enjoy!
EMA Ribbon with 100 MA BY TIJUThe EMA Ribbon with 100 MA is a powerful and visually intuitive indicator designed to help traders identify trends, momentum, and potential support/resistance levels using multiple Exponential Moving Averages (EMAs). By plotting a series of EMAs with varying periods, the script creates a "ribbon" effect on the chart, making it easier to spot trend direction and strength at a glance.
Key Features:
Multiple EMAs for Trend Analysis:
The script plots 8 EMAs with periods ranging from 20 to 55, creating a gradient ribbon effect.
The 100-period EMA is added as a thick blue line, acting as a key level for long-term trend analysis.
Customizable Periods:
Each EMA period is fully customizable, allowing traders to tailor the indicator to their preferred trading style and timeframe.
Visual Clarity:
The EMAs are color-coded, making it easy to distinguish between different periods and identify the overall trend direction.
Dynamic Support/Resistance:
The EMAs act as dynamic support and resistance levels, helping traders identify potential entry and exit points.
Drop Candles Feature:
The script includes an option to drop the first N candles, ensuring cleaner calculations and avoiding false signals during the initial periods.
How to Use:
Trend Identification:
Uptrend: When the shorter-period EMAs are stacked above the longer-period EMAs, it indicates a strong uptrend.
Downtrend: When the longer-period EMAs are stacked above the shorter-period EMAs, it indicates a strong downtrend.
Consolidation: When the EMAs are intertwined, it suggests a sideways or weak trend.
Support/Resistance Levels:
Use the EMAs as dynamic support/resistance levels. For example, in an uptrend, the price may bounce off the lower EMAs.
100-Period EMA:
The 100-period EMA (thick blue line) acts as a key level for long-term trend analysis. A price above this line suggests a bullish bias, while a price below suggests a bearish bias.
Customization:
Adjust the EMA periods and colors to suit your trading strategy.
Use the Drop first N candles option to avoid false signals during the initial periods.
Example Use Cases:
Trend Following:
Enter long positions when the price is above the EMA ribbon and the EMAs are stacked in an uptrend.
Enter short positions when the price is below the EMA ribbon and the EMAs are stacked in a downtrend.
Dynamic Support/Resistance:
Use the EMAs as dynamic support/resistance levels for setting stop-loss or take-profit targets.
Confirmation Tool:
Combine the EMA Ribbon with other indicators (e.g., RSI, MACD) to confirm trade signals.
Settings:
MA-1 to MA-8 Periods: Adjust the periods for the 8 EMAs (default: 20, 25, 30, 35, 40, 45, 50, 55).
MA-100 Period: Adjust the period for the 100 EMA (default: 100).
Source: Choose the price source for the EMAs (default: Close).
Drop First N Candles: Drop the first N candles to avoid false signals (default: 1).
Why Use EMA Ribbon ?
Versatility: Suitable for all trading styles (scalping, day trading, swing trading) and timeframes.
Visual Appeal: The color-coded ribbon makes it easy to interpret the trend at a glance.
Customizable: Tailor the indicator to your specific trading strategy.
Dynamic Levels: Use the EMAs as dynamic support/resistance levels for better risk management.
Enhanced Doji Candle StrategyYour trading strategy is a Doji Candlestick Reversal Strategy designed to identify potential market reversals using Doji candlestick patterns. These candles indicate indecision in the market, and when detected, your strategy uses a Simple Moving Average (SMA) with a short period of 20 to confirm the overall market trend. If the price is above the SMA, the trend is considered bullish; if it's below, the trend is bearish.
Once a Doji is detected, the strategy waits for one or two consecutive confirmation candles that align with the market trend. For a bullish confirmation, the candles must close higher than their opening price without significant bottom wicks. Conversely, for a bearish confirmation, the candles must close lower without noticeable top wicks. When these conditions are met, a trade is entered at the market price.
The risk management aspect of your strategy is clearly defined. A stop loss is automatically placed at the nearest recent swing high or low, with a tighter distance of 5 pips to allow for more trading opportunities. A take-profit level is set using a 2:1 reward-to-risk ratio, meaning the potential reward is twice the size of the risk on each trade.
Additionally, the strategy incorporates an early exit mechanism. If a reversal Doji forms in the opposite direction of your trade, the position is closed immediately to minimize losses. This strategy has been optimized to increase trade frequency by loosening the strictness of Doji detection and confirmation conditions while still maintaining sound risk management principles.
The strategy is coded in Pine Script for use on TradingView and uses built-in indicators like the SMA for trend detection. You also have flexible parameters to adjust risk levels, take-profit targets, and stop-loss placements, allowing you to tailor the strategy to different market conditions.
Stock Earnings Viewer for Pine ScreenerThe script, titled "Stock Earnings Viewer with Surprise", fetches actual and estimated earnings, calculates absolute and percent surprise values, and presents them for analysis. It is intended to use in Pine Screener, as on chart it is redundant.
How to Apply to Pine Screener
Favorite this script
Open pine screener www.tradingview.com
Select "Stock Earnings Viewer with Surprise" in "Choose indicator"
Click "Scan"
Data
Actual Earnings: The reported earnings per share (EPS) for the stock, sourced via request.earnings().
Estimated Earnings: Analyst-predicted EPS, accessed with field=earnings.estimate.
Absolute Surprise: The difference between actual and estimated earnings (e.g., actual 1.2 - estimated 1.0 = 0.2).
Percent Surprise (%): The absolute surprise as a percentage of estimated earnings (e.g., (0.2 / 1.0) * 100 = 20%). Note: This may return NaN or infinity if estimated earnings are zero, due to division by zero.
Practical Use
This screener script allows users to filter stocks based on earnings metrics. For example, you could screen for stocks where Percent Surprise > 15 to find companies exceeding analyst expectations significantly, or use Absolute Surprise < -0.5 to identify underperformers.
EPS Line Indicator - cristianhkrOverview
The EPS Line Indicator displays the Earnings Per Share (EPS) of a publicly traded company directly on a TradingView chart. It provides a historical trend of EPS over time, allowing investors to track a company's profitability per share.
Key Features
📊 Plots actual EPS data for the selected stock.
📅 Updates quarterly as new EPS reports are released.
🔄 Smooths missing values by holding the last reported EPS.
🔍 Helps track long-term profitability trends.
How It Works
The script retrieves quarterly EPS using request.financial(syminfo.tickerid, "EARNINGS_PER_SHARE", "Q", barmerge.gaps_off).
If EPS data is missing for a given period, the last available EPS value is retained to maintain continuity.
The EPS values are plotted as a continuous green line on the chart.
A baseline at EPS = 0 is included to easily identify profitable vs. loss-making periods.
How to Use This Indicator
If the EPS line is trending upwards 📈 → The company is growing earnings per share, a strong sign of profitability.
If the EPS line is declining 📉 → The company’s EPS is shrinking, which may indicate financial weakness.
If EPS is negative (below zero) ❌ → The company is reporting losses per share, which can be a warning sign.
Limitations
Only works with stocks that report EPS data (not applicable to cryptocurrencies or commodities).
Does not adjust for stock splits or other corporate actions.
Best used on daily, weekly, or monthly charts for clear earnings trends.
Conclusion
This indicator is a powerful tool for investors who want to visualize earnings per share trends directly on a price chart. By showing how EPS evolves over time, it helps assess a company's profitability trajectory, making it useful for both fundamental analysis and long-term investing.
🚀 Use this indicator to track EPS growth and make smarter investment decisions!
CAPE / Shiller PE Ratio - cristianhkrThe Cyclically Adjusted Price-to-Earnings Ratio (CAPE Ratio), also known as the Shiller P/E Ratio, is a long-term valuation measure for stocks. It was developed by Robert Shiller and smooths out earnings fluctuations by using an inflation-adjusted average of the last 10 years of earnings.
This TradingView Pine Script indicator calculates the CAPE Ratio for a specific stock by:
Fetching historical Earnings Per Share (EPS) data using request.earnings().
Adjusting the EPS for inflation by dividing it by the Consumer Price Index (CPI).
Computing the 10-year (40-quarter) moving average of the inflation-adjusted EPS.
Calculating the CAPE Ratio as (Stock Price) / (10-year Average EPS adjusted for inflation).
Plotting the CAPE Ratio on the chart with a reference line at CAPE = 20, a historically significant threshold.
Revenue & Net IncomeRevenue & Net Income Indicator
This indicator provides a clear visual representation of a company's revenue and net income, with the flexibility to switch between Trailing Twelve Months (TTM) and Quarterly data. Values are automatically converted into billions and displayed in both an area chart and a dynamic table.
Features:
TTM & Quarterly Data: Easily toggle between financial periods.
Intuitive Visuals: Semi-transparent area charts make trends easy to spot.
Smart Number Formatting: Revenue below 1B is shown with two decimals (e.g., "0.85B"), while larger values use one decimal (e.g., "1.2B").
Customizable Table: Displays the most recent revenue and net income figures, with adjustable position and text size.
Light Mode: Switch table text to black with a white header for better readability on light backgrounds.
This indicator is freely available and open-source on TradingView for all. It is designed to help traders enhance their market analysis and strategic decision-making.
Trading Sessions Background ColorTrading Sessions Background Color
This indicator provides a visual representation of the major trading sessions — Asia, London, and USA — by applying distinct background colors to the chart. It allows traders to easily identify active market hours and session overlaps.
Features:
Customizable Sessions: Users can modify time ranges, and colors according to their preferences.
Predefined Major Trading Sessions: The indicator includes Asia, London, and USA sessions by default.
Time Zone Adjustment: A configurable UTC offset ensures accurate session display.
Clear Visual Differentiation: Background colors indicate when each session is active.
Usage Instructions:
Apply the indicator to a TradingView chart.
Adjust session settings and time zone offset as needed.
The chart background will update dynamically to reflect the active trading session.
Monthly Buy IndicatorIt shows us the the total balance when buying monthly, ploting the total invested amount and total current balance along the time.
Opening the Data Window, it displays the profit (%) and the number of trades.
The "Allow Fractional Purchase" flag can be used to check the the performance of the ticker, disregarding how much the monthly amount is set vs the price of the ticker.
The trades are considering buying the available amount on the 1st candle of each month, at the Open price. The "Total Balance" considers the close price of each candle.
RV- Intrinsic Value AnalyzerWhy These Metrics Matter in IVA Pro (Intrinsic Value Analyzer)?
The IVA Pro consolidates key valuation, profitability, and efficiency metrics into a single, easy-to-read table. These indicators provide a comprehensive view of a company’s financial health, helping traders and investors make informed decisions based on growth potential, profitability, and valuation. The color-coded signals (green for strong, orange for moderate, and red for weak values) simplify fundamental analysis and enable quick comparisons across different stocks.
Key Fundamental Parameters in IVA Pro
Market Capitalization (Market Cap): Measures a company's total market value, helping assess size, stability, and growth potential.
Earnings Yield (TTM): Indicates how much profit a company generates relative to its stock price—useful for comparing against bonds and other assets.
Return on Capital Employed (ROCE): Shows how efficiently a company generates profits using its capital—a key profitability metric.
Return on Equity (ROE): Evaluates how well a company uses shareholder funds to generate earnings.
Price-to-Earnings Ratio (PE): Helps determine whether a stock is overvalued or undervalued based on earnings.
Price-to-Book Ratio (PB): Assesses if a stock is trading above or below its net asset value—useful for asset-heavy industries.
Price-to-Sales Ratio (PS): Helps evaluate revenue potential, particularly for growth-stage companies.
PEG Ratio: Enhances PE ratio by factoring in earnings growth—ideal for identifying undervalued growth stocks.
Forward PE Ratio: Provides a future-looking valuation based on projected earnings.
Forward PS Ratio: Helps evaluate future revenue potential and overall stock valuation.
TradFi Fundamentals: Enhanced Macroeconomic Momentum Trading Introduction
The "Enhanced Momentum with Advanced Normalization and Smoothing" indicator is a tool that combines traditional price momentum with a broad range of macroeconomic factors. I introduced the basic version from a research paper in my last script. This one leverages not only the price action of a security but also incorporates key economic data—such as GDP, inflation, unemployment, interest rates, consumer confidence, industrial production, and market volatility (VIX)—to create a comprehensive, normalized momentum score.
Previous indicator
Explanation
In plain terms, the indicator calculates a raw momentum value based on the change in price over a defined lookback period. It then normalizes this momentum, along with several economic indicators, using a method chosen by the user (options include simple, exponential, or weighted moving averages, as well as a median absolute deviation (MAD) approach). Each normalized component is assigned a weight reflecting its relative importance, and these weighted values are summed to produce an overall momentum score.
To reduce noise, the combined momentum score can be further smoothed using a user-selected method.
Signals
For generating trade signals, the indicator offers two modes:
Zero Cross Mode: Signals occur when the smoothed momentum line crosses the zero threshold.
Zone Mode: Overbought and oversold boundaries (which are user defined) provide signals when the momentum line crosses these preset limits.
Definition of the Settings
Price Momentum Settings:
Price Momentum Lookback: The number of days used to compute the percentage change in price (default 50 days).
Normalization Period (Price Momentum): The period over which the price momentum is normalized (default 200 days).
Economic Data Settings:
Normalization Period (Economic Data): The period used to normalize all economic indicators (default 200 days).
Normalization Method: Choose among SMA, EMA, WMA, or MAD to standardize both price and economic data. If MAD is chosen, a multiplier factor is applied (default is 1.4826).
Smoothing Options:
Apply Smoothing: A toggle to enable further smoothing of the combined momentum score.
Smoothing Period & Method: Define the period and type (SMA, EMA, or WMA) used to smooth the final momentum score.
Signal Generation Settings:
Signal Mode: Select whether signals are based on a zero-line crossover or by crossing user-defined overbought/oversold (OB/OS) zones.
OB/OS Zones: Define the upper and lower boundaries (default upper zones at 1.0 and 2.0, lower zones at -1.0 and -2.0) for zone-based signals.
Weights:
Each component (price momentum, GDP, inflation, unemployment, interest rates, consumer confidence, industrial production, and VIX) has an associated weight that determines its contribution to the overall score. These can be adjusted to reflect different market views or risk preferences.
Visual Aspects
The indicator plots the smoothed combined momentum score as a continuous blue line against a dotted zero-line reference. If the Zone signal mode is selected, the indicator also displays the upper and lower OB/OS boundaries as horizontal lines (red for overbought and green for oversold). Buy and sell signals are marked by small labels ("B" for buy and "S" for sell) that appear at the bottom or top of the chart when the score crosses the defined thresholds, allowing traders to quickly identify potential entry or exit points.
Conclusion
This enhanced indicator provides traders with a robust approach to momentum trading by integrating traditional price-based signals with a suite of macroeconomic indicators. Its normalization and smoothing techniques help reduce noise and mitigate the effects of outliers, while the flexible signal generation modes offer multiple ways to interpret market conditions. Overall, this tool is designed to deliver a more nuanced perspective on market momentum.
Cryptolabs Global Liquidity Cycle Momentum IndicatorCryptolabs Global Liquidity Cycle Momentum Indicator (LMI-BTC)
This open-source indicator combines global central bank liquidity data with Bitcoin price movements to identify medium- to long-term market cycles and momentum phases. It is designed for traders who want to incorporate macroeconomic factors into their Bitcoin analysis.
How It Works
The script calculates a Liquidity Index using balance sheet data from four central banks (USA: ECONOMICS:USCBBS, Japan: FRED:JPNASSETS, China: ECONOMICS:CNCBBS, EU: FRED:ECBASSETSW), augmented by the Dollar Index (TVC:DXY) and Chinese 10-year bond yields (TVC:CN10Y). This index is:
- Logarithmically scaled (math.log) to better represent large values like central bank balances and Bitcoin prices.
- Normalized over a 50-period range to balance fluctuations between minimum and maximum values.
- Compared to prior-year values, with the number of bars dynamically adjusted based on the timeframe (e.g., 252 for 1D, 52 for 1W), to compute percentage changes.
The liquidity change is analyzed using a Chande Momentum Oscillator (CMO) (period: 24) to measure momentum trends. A Weighted Moving Average (WMA) (period: 10) acts as a signal line. The Bitcoin price is also plotted logarithmically to highlight parallels with liquidity cycles.
Usage
Traders can use the indicator to:
- Identify global liquidity cycles influencing Bitcoin price trends, such as expansive or restrictive monetary policies.
- Detect momentum phases: Values above 50 suggest overbought conditions, below -50 indicate oversold conditions.
- Anticipate trend reversals by observing CMO crossovers with the signal line.
It performs best on higher timeframes like daily (1D) or weekly (1W) charts. The visualization includes:
- CMO line (green > 50, red < -50, blue neutral), signal line (white), Bitcoin price (gray).
- Horizontal lines at 50, 0, and -50 for improved readability.
Originality
This indicator stands out from other momentum tools like RSI or basic price analysis due to:
- Unique Data Integration: Combines four central bank datasets, DXY, and CN10Y as macroeconomic proxies for Bitcoin.
- Dynamic Prior-Year Analysis: Calculates liquidity changes relative to historical values, adjustable by timeframe.
- Logarithmic Normalization: Enhances visibility of extreme values, critical for cryptocurrencies and macro data.
This combination offers a rare perspective on the interplay between global liquidity and Bitcoin, unavailable in other open-source scripts.
Settings
- CMO Period: Default 24, adjustable for faster/slower signals.
- Signal WMA: Default 10, for smoothing the CMO line.
- Normalization Window: Default 50 periods, customizable.
Users can modify these parameters in the Pine Editor to tailor the indicator to their strategy.
Note
This script is designed for medium- to long-term analysis, not scalping. For optimal results, combine it with additional analyses (e.g., on-chain data, support/resistance levels). It does not guarantee profits but supports informed decisions based on macroeconomic trends.
Data Sources
- Bitcoin: INDEX:BTCUSD
- Liquidity: ECONOMICS:USCBBS, FRED:JPNASSETS, ECONOMICS:CNCBBS, FRED:ECBASSETSW
- Additional: TVC:DXY, TVC:CN10Y