Beta Zones [MMT]Beta Zones
Overview
The Beta Zones indicator is a multi-timeframe analysis tool designed to identify and visualize price ranges (zones) across different timeframes on a TradingView chart. It draws boxes to represent high and low price levels for each enabled timeframe, helping traders spot key support and resistance zones, track price movements, and assess market signals relative to these zones. The indicator is highly customizable, allowing users to toggle timeframes, adjust colors, and control historical visibility.
Features
Multi-Timeframe Support : Tracks up to five user-defined timeframes (default: 15m, 1H, 4H, 1D, 1W) to display price zones.
Dynamic Price Boxes : Draws boxes on the chart to represent the high and low prices for each timeframe, updating dynamically as new bars form.
Signal Indicators : Provides directional signals (▲, ▼, →) based on the previous close relative to the current box's top and bottom.
Customizable Display : Includes options to show or hide historical boxes, adjust box colors, and configure a summary table.
Summary Table : Displays a table with timeframe status, price range, and signal information for quick reference.
Settings
Timeframes
Enable/Disable : Toggle each timeframe (e.g., 15m, 1H, 4H, 1D, 1W) to display or hide its respective zones.
Timeframe Selection : Choose custom timeframes for each of the five slots.
Color Customization : Set unique fill and border colors for each timeframe's boxes (default colors: green, blue, orange, purple, red).
Display
Max Historical Boxes : Limit the number of historical boxes per timeframe (default: 1, max: 50).
Show History : Toggle visibility of historical boxes (default: false, showing only the latest box).
Min Box Height : Ensures boxes have a minimum height in ticks (default: 1.0, currently hardcoded).
Table
Show Table : Enable or disable the summary table (default: true).
Background Color : Customize the table's background color.
Header Color : Set the color for the table's header row.
Text Color : Adjust the text color for table content.
Table Columns
Timeframe : Displays the selected timeframe (e.g., 15m, 1H).
Color : Shows the color associated with the timeframe's boxes.
Status : Indicates if the timeframe is "Active" (valid and lower than the chart's timeframe), "Invalid" (enabled but not lower), or "Disabled".
Range : Shows the price range (high - low) of the current box.
Signal : Displays ▲ (price above box), ▼ (price below box), or → (price within box) based on the previous close.
How to Use
Add to Chart : Apply the indicator to your TradingView chart.
Configure Timeframes : Enable desired timeframes and adjust their settings (e.g., 15m, 1H) to match your trading strategy.
Analyze Zones : Use the boxes to identify key price levels for support, resistance, or breakout opportunities.
Monitor Signals : Check the table's "Signal" column to gauge price direction relative to each timeframe's zone.
Customize Appearance : Adjust colors and historical box visibility to suit your preferences.
Ideal For
Swing Traders : Identify key price zones across multiple timeframes for entry/exit points.
Day Traders : Monitor short-term price movements relative to higher timeframe zones.
Technical Analysts : Combine with other indicators to confirm support/resistance levels.
Analisis Fundamental
Ichimoku Cloud Pro [CongTrader]📌 Description (dùng khi publish)
Ichimoku Cloud Pro
This script is a customized version of the Ichimoku Cloud with additional features for flexibility and clarity in trading analysis.
It includes:
Multiple built-in presets (Default, Crypto, Scalping, Forex).
Optional higher timeframe EMA filter for trend confirmation.
Buy/Sell/TP/SL signal labels.
Clear visualization of Ichimoku lines and cloud.
Info table for real-time status display.
📖 How to use
Add the indicator to your chart.
Choose your preferred preset (Crypto, Forex, Scalping, or Default).
Optionally enable the HTF EMA filter to trade only in the major trend direction.
Look for confluence:
Cloud color change (bullish/bearish).
Tenkan/Kijun cross.
Chikou span confirmation.
Use the built-in signals as a visual aid, not as a standalone trading system.
Combine with your own risk management and trading strategy.
⚠️ Disclaimer
This indicator is provided for educational and research purposes only.
It does not guarantee profits and should not be considered financial advice.
Always backtest and practice proper risk management before applying to live trading.
The author takes no responsibility for any financial losses incurred from using this script.
🙏 Acknowledgment
Thank you for using Ichimoku Cloud Pro .
Your support and feedback are greatly appreciated. Wishing you success in your trading journey! 🚀 #Ichimoku #IchimokuCloud #Trading #Forex #Crypto #Scalping #Trend #Indicator #CongTrader
Volume profile time marker12 AM -12 AM marking used for volume profile tool and no trading zone showing manipulation
IBS Multi-Bar Retracement Analyzer v6 ProIBS Multi-Bar Retracement Analyzer v6 Pro - Complete Functionality
This indicator performs quantitative analysis of Internal Bar Strength (IBS) patterns and their subsequent price retracement behavior under various market regime filters, with multi-bar holding period analysis.
Core Methodology
IBS Calculation: (Close - Low) / (High - Low), measuring where price closed within each bar's range (0.0 = closed at low, 1.0 = closed at high)
Retracement Analysis: For each historical bar meeting filter criteria, the indicator:
Calculates the bar's IBS and assigns it to one of 5 buckets (0.0-0.2, 0.2-0.4, 0.4-0.6, 0.6-0.8, 0.8-1.0)
Analyzes how future price action retraces into that bar's range over 1-5 subsequent bars
Maps retracement levels to 15 extended buckets (from <-0.8 to ≥1.8 range)
Stores results in 5×15 matrices for bullish and bearish reference bars separately
Multi-Bar Enhancement: Instead of single-bar analysis, calculates the combined high/low range across multiple future bars to reveal maximum favorable/adverse excursion over specified holding periods.
Analysis Parameters
Analysis Window: 100-5000 historical bars for statistical analysis
Future Bar Count: 1-5 bars for multi-bar retracement analysis
Bucket System: Standard (0.0-1.0) or Extended (-0.8 to 1.8) retracement ranges
HTF First Bar Handling: Four methods for handling bars where open equals higher timeframe open
Six-Layer Filter System
1. Higher Timeframe Filters
Primary: 1-hour open filter (Above/Below)
Secondary: Configurable timeframe filter (Above/Below)
Special handling for first bar of each HTF period
2. EMA Trend Filter
Configurable length (5-200 periods)
Above/Below EMA positioning
3. ATR Volatility Filters
ATR Multiple Filter: Current ATR vs baseline ATR threshold
Range/ATR Filter: Current bar's range relative to ATR
4. Previous Bar IBS Filter
Analyzes IBS of bar immediately before reference bar
Configurable threshold (0.0-1.0) and direction (Above/Below)
Enables two-bar sequence pattern analysis
Data Architecture
Matrix-Based Storage: 5×15 integer matrices for bullish/bearish data
Rows: IBS buckets of reference bar
Columns: Retracement buckets of future price action
Eliminates manual index calculations and enables row/column operations
Distribution Tracking: Parallel arrays track unfiltered distributions for bias analysis
Validation Metrics: Counts successful multi-bar analyses vs insufficient data cases
Table Output System
Dynamic Table Generation:
Matrix row iteration for clean data display
Conditional formatting based on retracement percentages
Raw counts, percentages, or combined display formats
Distribution Comparison: Shows how filters bias IBS bucket distribution vs baseline data
Filter Status Display: Real-time indication of active filters and their parameters
Research Capabilities
Mean Reversion Analysis:
Identifies optimal holding periods for each IBS range
Reveals edge persistence or degradation over time
Maps adverse excursion patterns
Filter Effectiveness Studies:
Regime-dependent pattern analysis
Filter bias quantification
Multi-dimensional filtering combinations
Sequence Pattern Recognition:
Two-bar IBS sequence analysis (high→low, low→low, etc.)
Momentum vs reversal pattern identification
Risk-Reward Profiling:
Maximum favorable/adverse excursion mapping
Success rate curves across holding periods
Breakout vs reversion classification
Visual Components
Bar Coloring: Real-time indication of bars passing all filter criteria
Optional Plots: EMA and ATR threshold lines
Debug Output: Comprehensive filter status and multi-bar analysis statistics
Technical Implementation
Performance Optimization:
Batch processing on last confirmed historical bar
Matrix operations instead of flattened arrays
Efficient reset functions using built-in matrix operations
Data Validation:
Robust handling of missing or invalid data
Statistical significance tracking
Edge case protection for range calculations
Non-Repainting Design: All filter calculations maintain historical consistency using proper bar referencing and confirmed bar states.
The indicator transforms basic IBS analysis into a sophisticated quantitative research tool for identifying high-probability mean reversion setups under specific market conditions, with statistical validation of edge persistence over varying holding periods.
The Debasement IndexOVERVIEW
The Debasement Index measures asset prices relative to monetary debasement, providing a currency-neutral view of underlying economic fundamentals. Unlike traditional inflation metrics, it captures the sole impact of money supply expansion on asset valuations across different monetary regimes.
Key Innovation: Divides any asset by the ratio of Broad Money Supply (M2/M3) to Real GDP, reducing the impact of excess money creation on asset prices.
HOW IT WORKS
• Input 1: Select any symbol/asset for analysis (default: close price)
• Region: Choose country/currency for debasement calculation
• Display: Purple line overlay on main chart
Formula: Asset Price ÷ Debasement Index
i.e.
Formula: Asset Price ÷ (Money Supply / Real Output / last result (to rebased the index))
The indicator calculates neutralised security prices for each supported region:
• Numerator: M2/M3 money supply data
• Denominator: Real GDP (inflation-adjusted economic output)
• Number: rebases the index to the last updated value of the selected security
Supported Regions: US, UK etc. (regions may change based on availability)
DATA SOURCES
FRED (Federal Reserve Economic Data), TradingView Economics data feeds
INTERPRETATION
Rising Ratio: Asset outperforming monetary debasement (genuine value creation)
Falling Ratio: Asset underperforming relative to currency dilution (fundamental value loss)
Trend Analysis: Long-term slopes reveal whether assets maintain purchasing power against monetary expansion
The purple line represents the performance of the selected security after filtering out monetary noise, exposing fundamental economic trends that raw prices often obscure.
Take special note that most indices do not provide the total return, and the total return is necessary to understand actual value gains and losses.
APPLICATIONS
• Asset Allocation: Compare real returns across different monetary environments
• Cross-Country Analysis: Evaluate assets in countries with varying monetary policies
• Regime Identification: Spot asset price transitions that raw price measurements might obfuscate
• Value Assessment: Distinguish between monetary-driven and fundamental price movements
THEORETICAL FOUNDATION
Inspired by Anna Schwartz's monetary framework, the index attempts to measure currency dilution and remove that impact on the selected asset prices. It is a systematic attempt to filter out ‘monetary noise’ from financial data. The index addresses limitations of traditional inflation measures by:
1. Using real GDP (not nominal) to avoid circular causation of money creation
2. Capturing asset price effects beyond goods and services
3. Providing regime-aware analysis across monetary systems
LIMITATIONS
• Requires reliable M2/M3 and GDP data (scope and quality vary by country)
• Rebasing factors need periodic adjustment
• Most effective for medium to long-term analysis
• Not suitable for short-term trading signals
Note: This indicator reveals trends rather than providing entry/exit signals. Combining debasement-adjusted indices with comprehensive fundamental analysis can reframe and enhance your insights, providing a more complete understanding of price developments over time.
RuleBased Ai SM Footprint Finder by QuantxRuleBased AI SM Footprint Finder by Quantx
Uncover where the Smart Money is entering and exiting the market with precision. The RuleBased AI SM Footprint Finder combines AI-driven logic with institutional Orderblock footprint analysis to reveal hidden liquidity zones, accumulation, and distribution and FVG levels.
✅ Spot Smart Money footprints early
✅ Identify high-probability reversal and Pullback zones
✅ Filter out noise with AI-based confirmation
✅ Works across stocks, indices, and derivatives and Market instruments
Trade with the confidence of knowing where big players are moving their capital.
NQ–2Y CorrelationThis indicator tracks the relationship between the Nasdaq futures (NQ) and the US 2-Year Treasury yield (US02Y). The two typically move in opposite directions. This tool highlights when that relationship breaks down, and when moves become stretched to extremes. This can be useful for traders to find inflection points in price representing either overbought or oversold extremes.
Key Features
Residual Z-Score: Shows how far NQ’s returns deviate from what would be expected given moves in the 2Y. Useful for spotting stretched conditions (+/- 2σ bands).
Correlation Tracking: Fast and slow correlations between NQ and inverted 2Y returns. Helps identify regime shifts in the relationship.
Same-Direction Signals: Green dots mark when NQ and 2Y both move strongly in the same direction (rare alignment). Red dots mark strong opposing moves.
Alerts: Triggers available for residual stretches, correlation flips, and significant same-direction or opposite moves.
Usage
Monitor Z-Score to identify when the equity–rates linkage is stretched beyond typical bounds. I typically use this on the H1 or H4 timeframe.
Watch for correlation regime shifts to spot changing market dynamics. Typically price falling into support or moving into resistance as there is a false correlation or a flip.
Same-direction dots help flag unusual synchronized moves between risk assets and yields - these are especially useful for identifying false moves.
FX 2Y Spread AutoWhat it does
Plots the 2-year government bond yield spread for the current FX pair and timeframe you’re viewing.
Spread = Yield(Base currency) − Yield(Quote currency), shown in percentage points (pp).
How it works
Display & own scale
If you overlay it on price, pin the indicator to its own scale so it doesn’t flatten against the FX price scale.
Where to find it: Hover the indicator’s label, click More (⋯) → Pin to scale → choose Left or Right.
Automatically maps each currency to its 2Y benchmark:
USD→US02Y, EUR→DE02Y, CAD→CA02Y, CHF→CH02Y, GBP→GB02Y, AUD→AU02Y, NZD→NZ02Y, JPY→JP02Y
(EUR is represented by Germany’s 2Y Schatz: DE02Y.)
Pulls yields from TVC: symbols (e.g., TVC:US02Y, TVC:DE02Y) using the chart’s timeframe.
Many yield series are daily; on intraday charts the script forward-fills the last daily value so you always see a continuous line.
Interpretation (rule of thumb)
Spread ↑ (Base yields rising relative to Quote) → supports pair up (base currency appreciation).
Spread ↓ → supports pair down.
Short-end spreads (2Y) mainly reflect policy expectations; price can still diverge short-term due to risk sentiment, commodities (e.g., oil for CAD), positioning, or different maturities driving the move.
Examples
EURUSD → DE02Y − US02Y
USDJPY → US02Y − JP02Y
EURCAD → DE02Y − CA02Y
⚠️ Disclaimer
This indicator is for informational and analytical purposes only. It does not constitute financial advice, a trading signal, or a guarantee of future performance. Always perform your own research and consult with a qualified financial advisor before making trading decisions.
Macro Pulse Dashboard [SwissAlgo]Macro Pulse Dashboard
What is it?
The Macro Pulse Dashboard is a multi-asset performance dashboard designed to give traders and investors a quick snapshot of global market conditions. The indicator tracks price and momentum across crypto, equities, sectors, commodities, bonds, and macro indicators—considering multiple timeframes—in one color-coded table with a trend indication for each asset.
Purpose
Give you a fast, single-glance read of global markets so you can gauge whether conditions are broadly risk-on or risk-off and where strength/weakness clusters across markets.
Who it’s for
Traders and investors who want a clear, beginner-friendly macro overview to frame ideas and risk, without digging through multiple charts.
Why this may help you
Gives context fast : before focusing on one chart, you see the broader environment. This can help avoid trades that fight the macro tide.
Reduces noise : instead of jumping between watchlists and windows, you get a single, consistent view each day.
Improves decision quality : aligning ideas with the table’s short-term and medium-term bias can assist with timing and position sizing.
Builds routine : spend 30 seconds at the open scanning for agreement or conflict across crypto, equities, sectors, commodities, bonds, and macro gauges. If signals are mixed, consider waiting or sizing down; if they align, proceed with your plan.
Beginner-friendly : clear green/red percentages and a simple Trend icon make it easy to interpret without advanced indicators. The trend is determined using a simplified rule in this version.
What’s included
Crypto (BTC/ETH, dominance, total/alt caps), equity indices (US futures, Europe 50, FTSE, HSI, Nikkei, Nifty), US sectors (XLK, SOXX, ARKK, XLY, XLV), commodities (Gold, Silver, WTI, Nat Gas), bonds/credit ETFs (SHY, IEF, TLT, LQD, HYG, AGG, EMB), and macro gauges (US10Y, DXY, EURUSD, VIX).
Columns
Price/Value, % change over 1D, 1W, 2W, 1M, YTD, plus a simple trend glyph (▲ up, ▼ down, ◆ mixed).
Trend logic
The Trend icon is a simple overview (not a signal): ▲ if both short-term (1W) and 1M changes are positive, ▼ if both are negative, ◆ otherwise.
How numbers are computed
All changes use the last completed daily close.
1D = change since the prior daily close.
1W/2W/1M: crypto uses 7/14/30 calendar days; other assets use 5/10/21 trading sessions.
YTD compares to the first daily close of the year.
Prices show a $ prefix where applicable and are compacted (M/B/T).
Repainting
The table uses daily data with lookahead_off and updates only after the daily bar completes. It does not repaint intrabar.
Settings
Anchor (top-left) and Table Size (Small/Normal/Large).
Notes
Informational/educational tool only. Not trading advice. No buy/sell signals or alerts are generated.
Symbols depend on TradingView data availability; if a symbol isn’t accessible on your plan, that row will show “—”.
MSMT _ Position Size CalculatorFor apes who don't wanna do math. This is a position size calculator in USD value. You enter how much you want to risk per trade in dollars. It automatically shows your USD position size, in real time on the candle your watching or the previous candle position.
MuLegend's Impulse Radar StarterThis indicator alerts you right before the market is about to make an impulsive move in the market!!! It's pretty FIRE!!!
RS Stock + Chart Pattern Pine ScreenerThis script is a comprehensive stock screener & pattern detector based on Mark Minervini’s Trend Template, enhanced with breakout detection, range tightening indicator (RTI), ATH tracking, and flag pattern recognition. It’s designed to help traders quickly identify high-potential trend setups on any timeframe.
🔑 Features
✅ Minervini Trend Template (8 Core Rules)
Implements the well-known Minervini checklist used by top momentum traders:
Price above the 150 & 200 SMA
150 SMA above 200 SMA
200 SMA trending up for at least 1 month
50 SMA above both 150 & 200 SMA
Price above 50 SMA
Price at least 25% above 52-week low≈
Price within 25% of 52-week high
RS Rating (relative strength) above 70
📉 Range Tightening Indicator (RTI)
Detects volatility contractions that often precede explosive moves.
📈 Breakout & Breakdown Finder
Detects pivot breakouts and breakdowns using highs/lows tests.
🏆 All-Time High Tracker
Find the stock’s all-time high (ATH).
🚩 Bull & Bear Flag Detection
Identifies bullish and bearish flag patterns based on pole strength, pullback depth, and consolidation length.
Automatically find the flags on your screener.
Economic Profit (Fixed & Labeled) — Rated + PeersFRAC (Fundamental-Rated-Asset-Calculate)
FRAC is a fundamentals-driven tool designed to measure whether a company is creating or destroying shareholder value. Unlike surface ratios, FRAC uses Economic Profit (ROIC – WACC) as its engine, showing whether a business truly outperforms its cost of capital.
🔹 What FRAC Does
Calculates ROIC (Return on Invested Capital) vs. WACC (Weighted Average Cost of Capital).
Shows whether a company is creating or destroying shareholder value.
Uses tiered color coding for clarity:
🔵 Superior (Aqua Blue) → Top tier; best of the best.
🟣 Elite (Purple) → Strong value creation.
🟢 Positive (Green) → Solid, creating shareholder value.
🟡 Marginal (Yellow) → Barely covering cost of capital.
🔴 Negative (Red) → Value destruction.
🔹 Composite Ranking System (1–4)
FRAC also assigns each company a Composite Rank so you can compare multiple names side by side. The rank works like this:
Rank 1 → Superior (🔵 Aqua Blue)
Best possible rating; wide gap between ROIC and WACC.
Rank 2 → Elite (🟣 Purple)
Strongly positive; above-average capital efficiency.
Rank 3 → Positive (🟢 Green)
Creating value but only moderately; not a top compounder.
Rank 4 → Marginal/Negative (🟡/🔴)
Weak or destructive; either barely covering WACC or losing money on capital.
✅ How to Use the Ranks
When comparing a set of peers (e.g., NVDA, AMD, INTC):
FRAC will display each company’s color rating + composite rank (1–4).
You can instantly see who is strongest vs. weakest in the group.
Best decisions = overweight Rank 1 & 2 companies, avoid Rank 4 names.
🔹 Key Inputs Explained
Risk-Free Asset → Typically the 10-Year US Treasury yield (US10Y).
Corporate Tax Rate → Effective tax rate for the company’s country (e.g., USCTR).
Expected Market Return → Historical average ~8–10%, adjustable.
Beta Lookback Period → Controls how far back Beta is calculated (longer = more stable, shorter = more reactive).
👉 These must be set correctly for FRAC to calculate WACC accurately.
🔹 Example Comparison
NVDA: ROIC 25% – WACC 7% = +18% → 🔵 Superior → Rank 1
AMD: ROIC 17% – WACC 8% = +9% → 🟣 Elite → Rank 2
INTC: ROIC 11% – WACC 9% = +2% → 🟢 Positive → Rank 3
FSLY: ROIC 5% – WACC 10% = –5% → 🔴 Negative → Rank 4
🔹 Why It Matters
Buffett said: “The best businesses are those that can consistently generate returns on capital above their cost of capital.”
FRAC turns that into a visual + numeric rating system (1–4), making comparisons across peers simple and actionable.
🔹 Credit
FRAC was created by Hunter Hammond (Elite x FineFir), inspired by corporate finance models of Economic Profit and Economic Value Added (EVA).
⚠️ Disclaimer: FRAC is a research framework, not financial advice. Always pair with full due diligence.
Tradix COT IndexThe Commitment of Traders (COT) Report is one of the most reliable tools for uncovering the true positioning of major market participants. The Tradix COT Report Index transforms complex CFTC data into a clear and actionable visual overview, showing you how the three key groups behave:
Commercials (Hedgers) – companies managing long-term risk exposure.
Large Speculators – funds and institutional traders driving market trends.
Retail / Small Speculators – individual traders often positioned against the market.
Session Map! This indicator visually highlights the three main Forex trading sessions — Asia, London, and New York — as well as the Power Zone when London and New York overlap.
It also includes a bottom-center dashboard showing the current active session and the best Forex pairs to trade during that session.
Key Features 🚀
Session Background Shading
Asia Session → Aqua
London Session → Teal
New York Session → Blue
Power Zone (London + NY overlap) → Gold ⚡
Dynamic Dashboard (bottom-center)
Displays current active session
Shows best pairs to trade based on session liquidity
Optimized for Forex Trading
Know instantly when to trade and what to trade
Uses session-specific recommendations based on volatility windows
Why This Indicator is Useful
This isn’t just a session visualizer — it’s a trading assistant:
Helps you identify high-liquidity trading windows
Shows you which pairs are most active per session
Highlights the Power Zone ⚡ where volatility peaks
RoyalGold TRW Indicator | Oxford+ (Adaptive)Update version of the original Oxford with some new features and new updates
A best Seasonality Monthly IndicatorSeasonality Monthly is a custom indicator designed for TradingView that calculates and displays monthly seasonality performance as a table overlay on the chart.
Key aspects and functionality:
It requires the timeframe to be either monthly or daily; otherwise, it throws an error.
The user can set the starting year (default 2015) from which the seasonality statistics begin.
It collects monthly percentage change data (close to close returns) for each month and year dynamically using request.security.
Data is stored in a two-dimensional matrix representing years by months, accumulating returns for each month over the years.
The table is drawn on the chart showing monthly returns for each year, with cells colored green for positive returns and red for negatives.
The bottom rows of the table show summary statistics per month:
AVG: Average monthly returns
SUM: Sum of returns
+ive: Count of months with positive returns over total counts
WR: Win rate (ratio of positive months)
Text sizes and colors are customizable via inputs.
Uses Pine Script v5 features like matrix, table API, and new runtime error handling.
This script is useful for visualizing historical monthly seasonality patterns for any symbol on TradingView.
------------------
The Seasonality Monthly Pine Script indicator is a powerful tool designed for TradingView that enables traders to analyze and visualize the historical seasonal performance of an asset on a monthly basis. This script focuses on identifying recurring monthly patterns by accumulating monthly percentage returns over multiple years, providing insights that help traders understand when certain months tend to perform better or worse historically.
The script requires the chart to be set to either a daily or monthly timeframe to ensure accurate calculations and data retrieval. It uses the request. security function to fetch monthly data, extracting each bar's year, month, and monthly price change percent based on close-to-close returns. These returns are then accumulated into a matrix data structure, organizing the percentage changes for each year and month to build a comprehensive historical dataset.
A dynamic table is constructed and displayed on the chart, showing a detailed breakdown of percentage changes each month for every year starting from a customizable start year (default is 2015). Each cell in the table is color-coded—green for positive monthly returns and red for negative—making it visually easy to interpret seasonal trends. This immediate visual feedback is valuable for traders looking to identify strong or weak months historically.
Beyond just the yearly data, the script calculates aggregate statistics for each month, which are displayed in summary rows at the bottom of the table. These include the average monthly return, the sum of returns, the count of positive-return months versus total months ("+ive"), and the win rate (WR), which is the proportion of positive months over the total number of months observed. These statistics assist traders in quantifying the strength and consistency of monthly seasonal effects.
The script also includes user customization options such as the starting year for seasonality analysis and adjustable text size for better readability. It incorporates modern Pine Script v5 features like runtime error handling, matrix operations, and the enhanced table API for efficient and clear display.
Overall, This is a practical indicator that helps traders incorporate seasonality insights into their decision-making process, potentially improving timing entries and exits by leveraging historical monthly market behaviors. It is particularly useful for spotting cyclic tendencies and planning strategies around historically strong or weak months, adding a valuable dimension to technical analysis.
----------------------------------------------
#Seasonality #TradingView #PineScript #TechnicalAnalysis #StockMarket #MonthlyPerformance #SeasonalTrends #MarketAnalysis #TradingStrategy #PricePatterns #Charting #DataVisualization #AlgorithmicTrading #FinancialMarkets #TradingIndicators #InvestmentStrategy #QuantitativeAnalysis #MarketSeasonality #StockTrading #TradingTools
Asset Strength Index <DOSALGO>The Asset Strength Index (ASI) is a comprehensive dashboard indicator designed to provide traders with a broader perspective on market dynamics. Instead of viewing an asset in isolation, the ASI measures its relative strength against a basket of key global assets: Bonds, Gold, and the US Dollar.
This tool is built to give you an immediate, visual understanding of how the asset you are charting is performing in the context of the wider financial landscape. The analysis is presented across three distinct time horizons—Short-Term, Medium-Term, and Long-Term—allowing for a nuanced view of performance.
How It Can Be Useful
The core purpose of the ASI is to serve as a contextual analysis tool. By understanding an asset's strength or weakness relative to others, traders can gain valuable insights that may not be apparent from price action alone.
Inter-Market Confirmation: Use the dashboard to confirm your trading ideas. For example, a bullish outlook on a stock index could be strengthened if it shows increasing strength against safe-haven assets like Gold and Bonds.
Risk Sentiment Barometer: Gauge the prevailing risk-on or risk-off sentiment. If the US Dollar and Bonds are showing strength while your asset is weakening, it could indicate a broader market shift towards safety.
Multi-Term Perspective: Quickly assess if short-term movements are aligned with the longer-term trend. A short-term dip might be less concerning if the asset's long-term relative strength remains high.
How to Use It
The ASI dashboard is displayed directly on your chart. The values are presented as percentages, indicating the relative strength for each term.
Monitor the Readings: Observe the percentage values in the "S. Term," "M. Term," and "L. Term" columns. Positive values suggest relative strength, while negative values indicate relative weakness.
Look for Trends: The arrows (▲ or ▼) next to the percentage show the most recent change, helping you spot developing trends in relative strength.
Combine with Your Strategy: The ASI is not a standalone signal generator. It is most effective when used to supplement your existing trading system, helping you make more informed decisions by adding a layer of sophisticated, inter-market analysis.
The dashboard's appearance is fully customizable, allowing you to adjust its position, size, and colors to fit your chart layout.
Disclaimer
The Asset Strength Index (ASI) is a tool for market analysis and should not be considered financial advice. All trading involves risk, and past performance is not indicative of future results. Always use this indicator in conjunction with your own comprehensive trading plan and risk management strategy.
US Liquidity-Weighted Business Cycle📈 BTC Liquidity-Weighted Business Cycle
This indicator models the Bitcoin macro cycle by comparing its logarithmic price against a log-transformed liquidity proxy (e.g., US M2 Money Supply). It helps visualize cyclical tops and bottoms by measuring the relative expansion of Bitcoin price versus fiat liquidity.
🧠 How It Works:
Transforms both BTC and M2 using natural logarithms.
Computes a liquidity ratio: log(BTC) – log(M2) (i.e., log(BTC/M2)).
Runs MACD on this ratio to extract business cycle momentum.
Plots:
🔴 Histogram bars showing cyclical growth or contraction.
🟢 Top line to track the relative price-to-liquidity trend.
🔴 Cycle peak markers to flag historical market tops.
⚙️ Inputs:
Adjustable MACD lengths
Toggle for liquidity trend line overlay
🔍 Use Cases:
Identifying macro cycle tops and bottoms
Timing long-term Bitcoin accumulation or de-risking
Confirming global liquidity's influence on BTC price movement
Note: This version currently uses US M2 (FRED:M2SL) as the liquidity base. You can easily expand it with other global M2 sources or adjust the weights.