Mistab XAUUSD Strength DashboardMistab XAUUSD Strength Dashboard
This advanced multi-timeframe dashboard is designed for XAUUSD traders who want a complete real-time market structure and momentum view in one place. It combines trend detection, Break of Structure (BOS), Fair Value Gaps (FVG), Change of Character (CHOCH), and trendline break alerts into a compact, on-chart table.
Key Features
📊 Multi-Timeframe Analysis – From 1-minute to Weekly, each timeframe is scanned for trend direction, BOS, FVG, CHOCH, and TL breaks.
📈 Strength Score Calculation – A 0–100 rating that blends multiple SMC (Smart Money Concepts) elements with moving averages to gauge overall market bias.
🟢 Buy/Sell Recommendations – Instant “Strong Buy”, “Buy”, “Neutral”, “Sell”, or “Strong Sell” signals based on combined technical conditions.
🎯 Key Level Tracking – Displays the most relevant high/low level for the current trend.
🔍 Visual Chart Markers – BOS, CHOCH, TL Breaks, and FVG zones are plotted directly on the chart for quick confirmation.
How to Use
Load the indicator on your XAUUSD chart.
The dashboard (top-right) shows each timeframe’s market bias and structure signals.
Look for confluence between multiple timeframes before taking trades.
Use BOS, CHOCH, and TL Break shapes on the chart to confirm entries.
FVG labels help identify potential price imbalance zones for targets or reversals.
Combine with your existing risk management and trade plan — this is an analysis tool, not a trade signal service.
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always test strategies on demo accounts before applying to live markets. The author is not responsible for any financial losses incurred from using this tool. Trade responsibly.
趨勢分析
MistaB SMC Navigation ToolkitThe MistaB SMC Navigation Toolkit is a multi-functional price action and Smart Money Concepts (SMC) tool designed to help traders quickly identify key market structure shifts, order blocks, fair value gaps (FVGs), premium/discount zones, and higher timeframe (HTF) trend alignment.
This indicator integrates multiple SMC elements into one chart overlay, reducing the need for multiple scripts and improving workflow efficiency.
Main Features:
Automatic Order Block Detection – Identifies bullish and bearish order blocks with optional displacement and volume filters.
Fair Value Gap Highlighting – Marks bullish and bearish FVG zones with optional HTF confirmation.
Market Structure Shift Labels – Detects BoS and CHoCH events with fractal-based swing logic.
HTF Trend Confirmation – Color-codes structure and FVGs based on higher timeframe alignment.
Premium/Discount Zones – Visually divides the range for optimal trade entries.
Custom Cleanup System – Automatically removes broken or filled OB/FVG zones after a user-defined delay.
How to Use
Apply to Your Chart
Add the indicator to your preferred trading timeframe (e.g., 1H, 15M, 5M).
Select your desired HTF Confirmation Timeframe in the settings.
Interpreting the Chart Elements
Green/Red Order Blocks: Potential demand (green) or supply (red) zones.
Green/Red FVG Zones: Imbalances where price may return before continuing.
Market Structure Labels:
HH BoS / HL BoS → Bullish structure breaks.
LH BoS / LL BoS → Bearish structure breaks.
CHoCH → Change of Character (potential reversal).
Premium Zone (red): Above the midline — potential selling areas in a bearish bias.
Discount Zone (green): Below the midline — potential buying areas in a bullish bias.
Trade Example Workflow
Identify overall HTF trend (HTF label at top of chart).
Wait for structure shifts (BoS/CHoCH) aligned with HTF bias.
Look for OB or FVG in discount (buy) or premium (sell) zones.
Manage trade risk with stop-loss below/above the zone.
Disclaimer
This indicator is for educational purposes only.
It does not constitute financial advice and should not be relied upon for investment decisions.
Trading financial markets involves significant risk, and you may lose more than your initial investment.
Always do your own research, test strategies in a demo account, and consult a licensed financial advisor before trading with real capital.
The creator and publisher of this script assume no responsibility for any losses incurred from its use.
Bollinger Bands x SamrtBlackGirlBollinger Bands — Volatility & Breakout Zones
This Bollinger Bands tool dynamically adapts to market volatility, giving traders a visual framework for spotting overbought/oversold conditions, squeezes, and breakout opportunities.
Key Features
Dynamic Volatility Channels – Upper and lower bands expand during high volatility and contract during quiet periods.
Mean Reversion & Trend Trading – Price touching or piercing the bands can signal potential reversals or strong trend continuation.
Squeeze Detection – Narrowing bands indicate compression, often preceding explosive moves.
Fully Customizable – Adjust period, standard deviation, and colors to match your strategy.
Multi-Timeframe Friendly – Works on any chart, from scalping to swing trading.
How to Use
Squeeze Plays – Watch for band tightening; breakouts often follow.
Reversal Signals – Extreme touches combined with candlestick rejection may indicate turning points.
Trend Riding – Price “walking the band” can confirm strong momentum.
This indicator is ideal for traders who want a clear visual of volatility shifts, helping to anticipate when markets are likely to break out or revert to the mean.
Cnagda Trading ToolCnagda Trading Tools - complete set of intraday trading
1. Trendline breakout based On ATR.
2. Live RSI, volume/candle average 20 Periods, trend direction last 34 periods, and some useful dashboard features.
3. Ma Scalp Line provide trend support and resistance + Where Line More Flat Previous Time You Also Use That Range As Support And Resistance
4. RSI based POC ( Point Of Control) indicate high Volume Area like fixed Range Volume profile
5. London session breakout with buy/sell Signal and NewYork session opening half hour range breakout with Buy/sell signal
Ma Scalp Buy And Sell Signal For Short term Scalping ( 5 Min Timeframe) Based on Ema And Wma Crossover
I hope these tools will improve your trading, but you should trade only after proper research, this indicator is not responsible for any loss.
Smart Wick AnalyzerSmart Wick Analyzer (SWA)
Purpose: Highlight potential liquidity‑grab candles (long wicks) and turn them into actionable, rule‑based buy/sell signals with trend, volume, and cooldown filters.
Type: Indicator (not a strategy). Educational tool to contextualize wick events.
🧠 What This Script Does
SWA looks for candles where the wick is large relative to its body—a common signature of liquidity sweeps / rejection. It then adds three confirmations before marking a trade signal:
1. Wick Event
• Upper‑wick event (possible rejection from above)
• Lower‑wick event (possible rejection from below)
• Condition: wick length > body × Wick‑to‑Body Ratio
2. Context Filters
• Trend filter : closing price vs. SMA of lookbackBars
• Volume filter : current volume vs. average volume × volumeThreshold
3. Signal Hygiene
• Cooldown : prevents clustering; a minimum number of bars must pass before a new signal is allowed.
If a candle passes these checks:
• Buy Signal (triangle up): long lower wick + price above SMA + relative‑high volume + cooldown passed
• Sell Signal (triangle down): long upper wick + price below SMA + relative‑high volume + cooldown passed
The signal candle is also bar‑colored black for quick visual focus.
⸻
✳️ What the Dotted Lines Mean (including the green one)
On every signal bar the script draws two dotted horizontal levels, extended to the right:
• Open line of the signal candle
• Close line of the signal candle
• They use the signal color: green for Buy, red for Sell.
How to interpret (example: green = Buy signal):
• The green dotted close line represents the momentum validation level. If subsequent candles close above this line, it indicates follow‑through after the wick rejection (buyers defended into the close).
• The green dotted open line is a risk context / invalidation reference. If price falls back below it soon after the signal, the wick event may have failed or devolved into chop.
In your annotated chart: the candle initially looked constructive (“closing above could be positive momentum”), but later price failed and rotated down—hence a sell signal interpreted when an upper‑wick event occurred under down‑trend conditions.
⸻
⚙️ Inputs & What They Control
• Wick‑to‑Body Ratio (wickThreshold): how “extreme” a wick must be to count as a liquidity‑grab.
• Lookback Period (lookbackBars):
• SMA period for trend context
• Volume MA for relative‑volume check
• Volume Multiplier (volumeThreshold): strengthens/loosens volume confirmation.
• Cooldown Bars (cooldownBars): minimum spacing between consecutive signals.
• Enable Alerts (showAlerts): turns on alert conditions.
⸻
🔔 Alerts (exact titles)
• “SWA Buy Alert” — potential reversal / Buy signal detected
• “SWA Sell Alert” — potential reversal / Sell signal detected
⸻
📌 How to Use (practical guide)
1. Scan for the black‑colored signal candle and its dotted lines.
2. For Buy signals (green): Prefer continuation if price closes above the green close line within the next few bars. Manage risk using the open line or your own level.
3. For Sell signals (red): Prefer continuation if price closes below the red close line.
4. Avoid chasing during low‑volume / counter‑trend signals; the filters help, but structure (HTF trend, S/R, session context) still matters.
5. Use the cooldown to reduce noise on fast time frames.
⸻
✅ Why This Isn’t Just “Another Wick Indicator”
• The script does not flag every long‑wick; it requires trend alignment and relative volume to suggest participation.
• The two reference lines (open/close) provide post‑signal state tracking—a simple, visual framework to judge follow‑through vs. failure without additional tools.
• Cooldown logic discourages clustered, low‑quality repeats around the same zone.
⸻
⚠️ Notes & Limitations
• Works across markets/time frames, but wick behavior varies by instrument and session. Parameters may need adjustment.
• Signals are contextual, not guarantees. Consolidation and news spikes can invalidate wick reads.
• This indicator is not a strategy; it does not backtest performance on its own.
⸻
📄 Disclaimer
This tool is for educational purposes only and should be combined with personal analysis and risk management. Markets are uncertain; past behavior does not guarantee future results.
Auto Trendlines + Breakout Alerts (Tiny Marker, & Alerts)This tool automatically detects and draws uptrend and downtrend lines based on pivot points, then alerts you when price breaks those lines under filtered conditions. It’s designed to cut through market noise and provide only high-quality breakout signals.
Features:
Automatic Trendline Detection – Identifies swing highs/lows and plots trendlines without manual drawing.
Breakout Alerts – Get notified when price breaks a trendline (up or down).
Noise Reduction Filters:
Minimum Break Distance % – Ignore small pierces; only trigger on meaningful breaks.
Bars Cooldown – Prevents multiple signals in a short period.
One Signal Per Trendline – No repeated alerts until a new TL is formed.
Tiny Markers – Clean, minimal arrows instead of large labels.
Customizable Inputs – Adjust pivot sensitivity, break distance, and cooldown for your trading style.
Best Practices:
Works on all timeframes and markets.
For intraday (e.g., XAUUSD M15/H1), try:
Pivot Left/Right = 5, Min Break Distance = 0.20%, Cooldown = 15 bars.
For swing trading (H4/D), try:
Pivot Left/Right = 3–5, Min Break Distance = 0.10–0.15%, Cooldown = 5–10 bars.
Use with additional confirmation (S/R, volume, RSI, etc.) for higher accuracy.
Note: This is an indicator, not a strategy tester — it does not auto-place trades. Always test settings on your chosen market and timeframe.
Sector Hourly Trend + Dynamic % Here’s a concise but clear description you can give to other users:
---
**📊 Sector Hourly Trend + Dynamic % Change Table (Pine Script v6)**
This TradingView indicator displays a fixed on-screen table showing the **real-time performance** of the 11 major SPDR sector ETFs.
**Features:**
* **Hourly Trend Column:** Uses 60-minute candle data to detect the sector’s current direction vs. the previous hour:
* **^** (green) → sector is up over the past hour.
* **v** (red) → sector is down over the past hour.
* **–** (gray) → no change.
* **Dynamic % Change Column:** Calculates the percentage move over a user-defined window (in minutes) using 1-minute data.
* Background colors: bright green for positive, bright red for negative, gray for no change.
* Text color: black for maximum contrast.
* **Sector Column:** Lists each SPDR sector by name, color-coded for easy identification.
* **Customizable Position:** Choose screen corner and fine-tune with X/Y offsets to avoid overlapping the TradingView Pro badge or UI buttons.
* **Always On-Screen:** The table is fixed to the chart’s viewport, so it stays visible regardless of zoom or scroll.
**Use Cases:**
* Quick visual snapshot of which sectors are leading or lagging intraday.
* Monitor short-term sector rotation without switching tickers.
* Combine with your trading strategy to align trades with sector momentum.
Post 9/21 EMA Cross — Paint X Bars* Watches for **9 EMA crossing the 21 EMA** (a classic momentum/trend trigger).
* When a cross happens, it **paints exactly X bars** after the cross in a color you choose:
* **Bullish cross (9 > 21):** paints your bullish color for X bars.
* **Bearish cross (9 < 21):** paints your bearish color for X bars.
* You decide whether the **cross bar itself counts** as the first painted bar.
* Optionally plots the 9 & 21 EMAs so you can see the cross visually.
# Why that’s useful
* **Focus:** It reduces noise by spotlighting the **immediate post‑cross window** when momentum often continues.
* **Discipline:** “Exactly X bars” forces consistency, avoiding “just one more bar” bias.
* **Speed:** Color‑coded candles make it easy to scan charts fast (great for intraday work).
# How signals are defined
* **Bullish condition:** `ta.crossover(EMA9, EMA21)` — the fast EMA crosses **up** through the slow EMA.
* **Bearish condition:** `ta.crossunder(EMA9, EMA21)` — the fast EMA crosses **down** through the slow EMA.
# Key inputs (and what they control)
* **Fast EMA Length (default 9)** and **Slow EMA Length (default 21)**
Change these if your system uses different lookbacks (e.g., 8/21 or 10/20).
***CURRENTLY THE EMA REMAINS STATIC ON THE CHART. PLOT EMA FROM EXTERNAL INDICATOR FOR NOW
* **Bars to Paint After a Cross (default 5)**
How many bars get highlighted post‑cross.
* **Include the Cross Bar Itself? (default off)**
Turn on if you want painting to start **on** the cross candle; off to start **after** it.
* **Bullish/Bearish Paint Colors**
Set your preferred colors (e.g., green/red).
* **Plot EMAs on Chart?**
If off, the logic still works; it just hides the EMA lines.
# What you’ll see on the chart
* Candles **recolored** for exactly X bars after each cross, matching the direction.
* (Optional) 9 & 21 EMA lines so you can confirm the cross visually.
* When the X‑bar window ends, candles return to normal until the **next** cross.
# Practical trading uses
* **Entry timing:** Consider entries only during the painted window to align with fresh momentum.
* **Scaling logic:** Scale in/out within the painted window; stop adding when painting ends.
* **Context filter:** Use the paint as a **“go / no‑go” overlay** on top of your pattern or level setups (breakouts, pullbacks to EMA, ORB, etc.).
SBMS Timing Candle(5m) + Guru Candle(1m)-V1This indicator gives the 5m timing candle based on the current script trading and you can trade based on the range of the candle and follow-up price action, it gives idea about the trend to follow and Guru candle shown in 1m similar study for that price range can be applied for intraday trading decisions. You need to use ETH in 5m for showing Timing candle.
YM Confluence Panel - Dual SMA (fast/slow)This script displays a YM Confluence Panel for the mini Dow Jones (YM), using six correlated/inversely correlated assets (ES, NQ, RTY, ZN, GC, VIX) and two simple moving averages (fast: 9 / slow: 20).
The logic determines bullish or bearish conditions for each asset based on SMA relationships and price, generating arrows and an aggregated BUY / SELL / WAIT signal.
🔹 How it works:
• Correlated assets (ES, NQ, RTY): bullish when SMA(9) > SMA(20) and price above SMA(20).
• Inverse assets (ZN, GC, VIX): bullish when SMA(9) < SMA(20) and price below SMA(20).
• All bullish → BUY
• All bearish → SELL
• Otherwise → WAIT
✅ Customizable:
• Adjust assets and timeframes.
• Change SMA periods.
• Set panel position.
⚠️ Disclaimer: For educational purposes only. Not financial advice.
Information-Geometric Market DynamicsInformation-Geometric Market Dynamics
The Information Field: A Geometric Approach to Market Dynamics
By: DskyzInvestments
Foreword: Beyond the Shadows on the Wall
If you have traded for any length of time, you know " the feeling ." It is the frustration of a perfect setup that fails, the whipsaw that stops you out just before the real move, the nagging sense that the chart is telling you only half the story. For decades, technical analysis has relied on interpreting the shadows—the patterns left behind by price. We draw lines on these shadows, apply indicators to them, and hope they reveal the future.
But what if we could stop looking at the shadows and, instead, analyze the object casting them?
This script introduces a new paradigm for market analysis: Information-Geometric Market Dynamics (IGMD) . The core premise of IGMD is that the price chart is merely a one-dimensional projection of a much richer, higher-dimensional reality—an " information field " generated by the collective actions and beliefs of all market participants.
This is not just another collection of indicators. It is a unified framework for measuring the geometry of the market's information field—its memory, its complexity, its uncertainty, its causal flows—and making high-probability decisions based on that deeper reality. By fusing advanced mathematical and informational concepts, IGMD provides a multi-faceted lens through which to view market behavior, moving beyond simple price action into the very structure of market information itself.
Prepare to move beyond the flatland of the price chart. Welcome to the information field.
The IGMD Framework: A Multi-Kernel Approach
What is a Kernel? The Heart of Transformation
In mathematics and data science, a kernel is a powerful and elegant concept. At its core, a kernel is a function that takes complex, often inscrutable data and transforms it into a more useful format. Think of it as a specialized lens or a mathematical "probe." You cannot directly measure abstract concepts like "market memory" or "trend quality" by looking at a price number. First, you must process the raw price data through a specific mathematical machine—a kernel—that is designed to output a measurement of that specific property. Kernels operate by performing a sort of "similarity test," projecting data into a higher-dimensional space where hidden patterns and relationships become visible and measurable.
Why do creators use them? We use kernels to extract features —meaningful pieces of information—that are not explicitly present in the raw data. They are the essential tools for moving beyond surface-level analysis into the very DNA of market behavior. A simple moving average can tell you the average price; a suite of well-chosen kernels can tell you about the character of the price action itself.
The Alchemist's Challenge: The Art of Fusion
Using a single kernel is a challenge. Using five distinct, computationally demanding mathematical engines in unison is an immense undertaking. The true difficulty—and artistry—lies not just in using one kernel, but in fusing the outputs of many . Each kernel provides a different perspective, and they can often give conflicting signals. One kernel might detect a strong trend, while another signals rising chaos and uncertainty. The IGMD script's greatest strength is its ability to act as this alchemist, synthesizing these disparate viewpoints through a weighted fusion process to produce a single, coherent picture of the market's state. It required countless hours of testing and calibration to balance the influence of these five distinct analytical engines so they work in harmony rather than cacophony.
The Five Kernels of Market Dynamics
The IGMD script is built upon a foundation of five distinct kernels, each chosen to probe a unique and critical dimension of the market's information field.
1. The Wavelet Kernel (The "Microscope")
What it is: The Wavelet Kernel is a signal processing function designed to decompose a signal into different frequency scales. Unlike a Fourier Transform that analyzes the entire signal at once, the wavelet slides across the data, providing information about both what frequencies are present and when they occurred.
The Kernels I Use:
Haar Kernel: The simplest wavelet, a square-wave shape defined by the coefficients . It excels at detecting sharp, sudden changes.
Daubechies 2 (db2) Kernel: A more complex and smoother wavelet shape that provides a better balance for analyzing the nuanced ebb and flow of typical market trends.
How it Works in the Script: This kernel is applied iteratively. It first separates the finest "noise" (detail d1) from the first level of trend (approximation a1). It then takes the trend a1 and repeats the process, extracting the next level of cycle (d2) and trend (a2), and so on. This hierarchical decomposition allows us to separate short-term noise from the long-term market "thesis."
2. The Hurst Exponent Kernel (The "Memory Gauge")
What it is: The Hurst Exponent is derived from a statistical analysis kernel that measures the "long-term memory" or persistence of a time series. It is the definitive measure of whether a series is trending (H > 0.5), mean-reverting (H < 0.5), or random (H = 0.5).
How it Works in the Script: The script employs a method based on Rescaled Range (R/S) analysis. It calculates the average range of price movements over increasingly larger time lags (m1, m2, m4, m8...). The slope of the line plotting log(range) vs. log(lag) is the Hurst Exponent. Applying this complex statistical analysis not to the raw price, but to the clean, wavelet-decomposed trend lines, is a key innovation of IGMD.
3. The Fractal Dimension Kernel (The "Complexity Compass")
What it is: This kernel measures the geometric complexity or "jaggedness" of a price path, based on the principles of fractal geometry. A straight line has a dimension of 1; a chaotic, space-filling line approaches a dimension of 2.
How it Works in the Script: We use a version based on Ehlers' Fractal Dimension Index (FDI). It calculates the rate of price change over a full lookback period (N3) and compares it to the sum of the rates of change over the two halves of that period (N1 + N2). The formula d = (log(N1 + N2) - log(N3)) / log(2) quantifies how much "longer" and more convoluted the price path was than a simple straight line. This kernel is our primary filter for tradeable (low complexity) vs. untradeable (high complexity) conditions.
4. The Shannon Entropy Kernel (The "Uncertainty Meter")
What it is: This kernel comes from Information Theory and provides the purest mathematical measure of information, surprise, or uncertainty within a system. It is not a measure of volatility; a market moving predictably up by 10 points every bar has high volatility but zero entropy .
How it Works in the Script: The script normalizes price returns by the ATR, categorizes them into a discrete number of "bins" over a lookback window, and forms a probability distribution. The Shannon Entropy H = -Σ(p_i * log(p_i)) is calculated from this distribution. A low H means returns are predictable. A high H means returns are chaotic. This kernel is our ultimate gauge of market conviction.
5. The Transfer Entropy Kernel (The "Causality Probe")
What it is: This is by far the most advanced and computationally intensive kernel in the script. Transfer Entropy is a non-parametric measure of directed information flow between two time series. It moves beyond correlation to ask: "Does knowing the past of Volume genuinely reduce our uncertainty about the future of Price?"
How it Works in the Script: To make this work, the script discretizes both price returns and the chosen "driver" (e.g., OBV) into three states: "up," "down," or "neutral." It then builds complex conditional probability tables to measure the flow of information in both directions. The Net Transfer Entropy (TE Driver→Price minus TE Price→Driver) gives us a direct measure of causality . A positive score means the driver is leading price, confirming the validity of the move. This is a profound leap beyond traditional indicator analysis.
Chapter 3: Fusion & Interpretation - The Field Score & Dashboard
Each kernel is a specialist providing a piece of the puzzle. The Field Score is where they are fused into a single, comprehensive reading. It's a weighted sum of the normalized scores from all five kernels, producing a single number from -1 (maximum bearish information field) to +1 (maximum bullish information field). This is the ultimate "at-a-glance" metric for the market's net state, and it is interpreted through the dashboard.
The Dashboard: Your Mission Control
Field Score & Regime: The master metric and its plain-English interpretation ("Uptrend Field", "Downtrend Field", "Transitional").
Kernel Readouts (Wave Align, H(w), FDI, etc.): The live scores of each individual kernel. This allows you to see why the Field Score is what it is. A high Field Score with all components in agreement (all green or red) is a state of High Coherence and represents a high-quality setup.
Market Context: Standard metrics like RSI and Volume for additional confluence.
Signals: The raw and adjusted confluence counts and the final, calculated probability scores for potential long and short entries.
Pattern: Shows the dominant candlestick pattern detected within the currently forming APEX range box and its calculated confidence percentage.
Chapter 4: Mastering the Controls - The Inputs Menu
Every parameter is a lever to fine-tune the IGMD engine.
📊 Wavelet Transform: Kernel ( Haar for sharp moves, db2 for smooth trends) and Scales (depth of analysis) let you tune the script's core microscope to your asset's personality.
📈 Hurst Exponent: The Window determines if you're assessing short-term or long-term market memory.
🔍 Fractal Dimension & ⚡ Entropy Volatility: Adjust the lookback windows to make these kernels more or less sensitive to recent price action. Always keep "Normalize by ATR" enabled for Entropy for consistent results.
🔄 Transfer Entropy: Driver lets you choose what causal force to measure (e.g., OBV, Volume, or even an external symbol like VIX). The throttle setting is a crucial performance tool, allowing you to balance precision with script speed.
⚡ Field Fusion • Weights: This is where you can customize the model's "brain." Increase the weights for the kernels that best align with your trading philosophy (e.g., w_hurst for trend followers, w_fdi for chop avoiders).
📊 Signal Engine: Mode offers presets from Conservative to Aggressive . Min Confluence sets your evidence threshold. Dynamic Confluence is a powerful feature that automatically adapts this threshold to the market regime.
🎨 Visuals & 📏 Support/Resistance: These inputs give you full control over the chart's appearance, allowing you to toggle every visual element for a setup that is as clean or as data-rich as you desire.
Chapter 5: Reading the Battlefield - On-Chart Visuals
Pattern Boxes (The Large Rectangles): These are not simple range boxes. They appear when the Field Score crosses a significance threshold, signaling a potential ignition point.
Color: The color reflects the dominant candlestick pattern that has occurred within that box's duration (e.g., green for Bull Engulf).
Label: Displays the dominant pattern, its duration in bars, and a calculated Confidence % based on field strength and pattern clarity.
Bar Pattern Boxes (The Small Boxes): If enabled, these highlight individual, significant candlestick patterns ( BE for Bull Engulf, H for Hammer) on a bar-by-bar basis.
Signal Markers (▲ and ▼): These appear only when the Signal Engine's criteria are all met. The number is the calculated Probability Score .
RR Rails (Dashed Lines): When a signal appears, these lines automatically plot the Entry, Stop Loss (based on ATR), and two Take Profit targets (based on Risk/Reward ratios). They dynamically break and disappear as price touches each level.
Support & Resistance Lines: Plots of the highest high ( Resistance ) and lowest low ( Support ) over a lookback, providing key structural levels.
Chapter 6: Development Philosophy & A Final Word
One single question: " What is the market really doing? " It represents a triumph of complexity, blending concepts from signal processing, chaos theory, and information theory into a cohesive framework. It is offered for educational and analytical purposes and does not constitute financial advice. Its goal is to elevate your analysis from interpreting flat shadows to measuring the rich, geometric reality of the market's information field.
As the great mathematician Benoit Mandelbrot , father of fractal geometry, noted:
"Clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth, nor does lightning travel in a straight line."
Neither does the market. IGMD is a tool designed to navigate that beautiful, complex, and fractal reality.
— Dskyz, Trade with insight. Trade with anticipation.
[Top] LHAMA SupertrendLHAMA Supertrend - Advanced Adaptive Trend Following System
Overview
The LHAMA Supertrend is an innovative trend-following indicator that combines adaptive moving average technology with intelligent signal confirmation. Unlike traditional supertrend indicators that rely on simple moving averages, this system uses my Low-High Adaptive Moving Average (🦙 LHAMA) algorithm that dynamically adjusts to market volatility and price action patterns. It is much more responsive to sudden price changes than traditional supertrend indicators, allowing you to jump in earlier and catch more of the move, and it manages this responsiveness without significantly increasing the number of false signals.
What Makes This Original
This indicator introduces several unique concepts not found in standard trend-following tools:
LHAMA Algorithm : The core innovation is the Low-High Adaptive Moving Average, which adapts its responsiveness based on the frequency of new highs and lows within a lookback period. This creates a more intelligent baseline that responds appropriately to different market conditions.
Delayed Confirmation System : Rather than generating immediate signals on price crossovers, the indicator implements a sophisticated confirmation mechanism using slope analysis. Signals are only triggered when both trend direction and momentum align, significantly reducing false signals.
Volume Integration : Optional volume weighting enhances the adaptive calculation, giving more weight to price movements during high-volume periods.
Daily Reset Functionality : Unique daily reset feature helps realign the indicator after overnight gaps, particularly useful for equity markets.
How It Works
LHAMA Calculation
The LHAMA baseline adapts using a coefficient derived from:
Frequency of new highs and lows in the lookback period
Optional volume weighting factor
Smoothed adaptation rate based on market activity
The calculation:
lhama = previous_lhama + momentum_adaptation * (price - previous_lhama)
Where the momentum adaptation increases when markets are making new highs or lows, allowing faster response during trending conditions while providing stability during consolidation.
Signal Generation
The indicator uses a two-stage signal process:
Trend Identification : Price position relative to LHAMA determines basic trend bias
Slope Confirmation : ATR-normalized slope analysis confirms momentum direction
Signal Timing : Buy/sell signals only trigger when trend direction and slope momentum align
Visual Components
LHAMA Line : The adaptive baseline with optional angle-based gradient coloring that visualizes momentum strength
Trend Clouds : Dynamic fill areas that adapt to the last confirmed signal direction
ATR Halo : Opposite-side ATR band providing optional additional context for stop-loss placement
Confirmation Signals : Clear BUY/SELL labels only appear after full confirmation
How to Use
Basic Setup
Apply to any timeframe and symbol
Default LHAMA length of 15 periods works well for most applications
Accuracy depends greatly on chart timeframe and symbol, so make sure to backtest before relying on any signals. For example, ES and NQ work best on the 15m timeframe while GC and CL work best on the 5m.
Enable daily reset for equity markets to handle overnight gaps
Signal Interpretation
Immediate Heads-up : Small triangles show instant trend changes for awareness. These are your warnings to get ready to buy or sell if price takes off. (If many triangles are being printed in both directions, that is a warning that the market is ranging and you should not blindly follow a BUY/SELL signal without additional confirmation.)
Confirmed Signals : BUY/SELL labels appear only after slope confirms the direction
Cloud Color : Locked to the last confirmed signal direction for clear regime identification
Advanced Features
Flat Threshold : Adjust the angle threshold to filter out sideways market noise
Gradient Mode : Toggle between classic supertrend coloring and momentum-based gradients
ATR Halo : Use the opposite-side cloud as a more generous trailing stop level
Risk Management
The indicator provides multiple levels for stop-loss placement:
Tight : Edge of the main trend cloud
Standard : The LHAMA Line itself
Generous : ATR halo boundary
Best Practices
Timeframe Selection : Not all timeframes on all symbols are created equal. Make sure to scroll to the left and verify that your current chart timeframe isn't throwing out tons of bad signals. This will be easy to spot as it show up as constant rapid flipping from buy to sell.
Market Conditions : Performs best in trending markets. The flat threshold setting helps filter out poor performance during strong sideways action, but no indicator is perfect.
Confirmation : Wait for confirmed BUY/SELL signals rather than acting on immediate trend flips for better risk-adjusted returns.
Key Parameters
LHAMA Length (15) : Controls the lookback period for adaptive calculation
Daily Reset : Helps maintain accuracy across overnight gaps
Flat Threshold (5°) : Filters out low-momentum signals
Volume Weighting : Enhances adaptation during high-volume periods
Alerts
The indicator provides two alert types:
"BUY (confirmed)": Triggers when bullish trend and upward slope align
"SELL (confirmed)": Triggers when bearish trend and downward slope align
These alerts fire only on confirmed signals, not on immediate price crossovers, providing higher-quality notifications.
Innovation Summary
This indicator advances trend-following methodology by introducing adaptive baseline calculation, intelligent signal confirmation, and comprehensive visual feedback systems. The combination of LHAMA adaptation, slope-based confirmation, and multi-layered risk management tools creates a more sophisticated approach to trend analysis than traditional supertrend indicators.
The result is a tool that maintains responsiveness during trending conditions while providing stability during consolidation, with clear visual cues for entry, exit, and risk management decisions.
Egg vs Tennis Ball — Drop/Rebound StrengthEgg vs Tennis Ball — Drop/Rebound Meter
What it does
Classifies selloffs as either:
Eggs — dead‑cat, no bounce
Tennis Balls — fast, decisive rebound
Core features
Detects swing drops from a Pivot High (PH) to a Pivot Low (PL)
Requires drops to be meaningful (volatility‑aware, ATR‑scaled)
Draws a bounce threshold line and a deadline
Decides outcome based on speed and extent of rebound
Tracks scores and win rates across multiple lookback windows
Includes a color‑coded meter and current streak display
Visuals at a glance
Gray diagonal — drop from PH to PL
Teal dotted horizontal — bounce threshold, from PH to the deadline
Solid green — Tennis Ball (bounce line broken before the deadline)
Solid red — Egg (deadline expired before the bounce)
Optional PH / PL labels for clarity
How the decision is made
1) Find pivots — symmetric pivots using Pivot Left / Right; PL confirms after Right bars.
2) Qualify the drop — Drop Size = PH − PL; must be ≥ (Drop Threshold × ATR at PL).
3) Define the bounce line — PL + (Bounce Multiple × Drop Size). 1.00× = full retrace to PH; up to 2.00× for overshoot.
4) Set the deadline — Drop Bars = PL index − PH index; Deadline = Drop Bars × Recovery Factor; timer starts from PH or PL.
5) Resolve — Tennis Ball if price hits the bounce line before the deadline; Egg if the deadline passes first.
Scoring system (−100 to +100)
+100 = perfect Tennis Ball (fastest possible + full overshoot)
−100 = perfect Egg (no recovery)
In between: scored by rebound speed and extent, shaped by your weight settings
Meter Table
Columns (toggle on/off)
All (off by default)
Last N1 (default 5)
Last N2 (default 10)
Last N3 (default 20)
Rows
Tennis / Eggs — counts
% Tennis — win rate
Avg Score — normalized quality from −100 to +100
Streak — overall (not windowed), e.g., +3 = 3 Tennis Balls in a row, −4 = 4 Eggs in a row
Alerts
Tennis Ball – Fast Rebound — triggers when the bounce line is broken in time
Egg – Window Expired — triggers when the deadline passes without a bounce
Inputs
① Drop Detection
Pivot Left / Right
ATR Length
Drop Threshold × ATR
② Bounce Requirement
Bounce Multiple × Drop Size (0.10–2.00×)
③ Timing
Timer Start — PH or PL
Recovery Factor × Drop Bars
Break Trigger — Close or High
④ Display
Show Pivot/Outcome Labels
Line Width
Table Position (corner)
⑤ Meter Columns
Show All (off by default)
Show N1 / N2 / N3 (5, 10, 20 by default)
⑥ Scoring Weights
Tennis — Base, Speed, Extent
Egg — Base, Strength
How to use it
Pick strictness — start with Drop Threshold = 2.0 ATR, Bounce Multiple = 1.0×, Recovery Factor = 3.0×; adjust to timeframe and volatility.
Watch the dotted line — it ends at the deadline; turns solid green (Tennis) if broken in time, solid red (Egg) if it expires.
Read the meter — short windows (5–10) show current behavior; Avg Score captures quality; Streak shows momentum.
Blend with your system — combine with trend filters, volume, or regime detection.
Tips
Close vs High trigger: Close is stricter; High is more responsive.
PH vs PL timer start: PH measures round‑trip; PL measures recovery only.
Increase pivot strength for fewer, more reliable signals.
Higher timeframes generally produce cleaner patterns.
Defaults
Pivot L/R: 5 / 5
ATR Length: 14
Drop Threshold: 2.0× ATR
Bounce Multiple: 1.00×
Recovery Factor: 3.0×
Break Trigger: Close
Windows: Last 5, 10, 20 (All off)
Interpreting results
Tennis‑y: Avg Score +30 to +70, %Tennis > 55%
Mixed: Avg Score near 0
Egg‑y: Avg Score −30 to −80, %Tennis < 45%
Ichimoku Cloud Signals [sgbpulse] Ichimoku Cloud Signals – Your Advanced Trading Tool
Meet Ichimoku Cloud Signals, the enhanced and interactive version of the classic Ichimoku Cloud indicator, designed specifically for TradingView traders seeking precision and flexibility in their trading decisions. This indicator allows you to maximize the Ichimoku's potential by customizing trend criteria, receiving clear visual signals for entering and exiting positions, and getting alerts to keep you informed.
Introduction to the Ichimoku Cloud
The Ichimoku Cloud, also known as Ichimoku Kinko Hyo, is a comprehensive technical analysis tool developed in Japan. It provides a broad view of the market: trend direction, momentum, and support and resistance levels. "Ichimoku Cloud Signals" takes this power and amplifies it with advanced features.
Key Components of the Ichimoku Cloud
The indicator displays all five familiar Ichimoku lines, along with the "Cloud" (Kumo):
Tenkan-sen (Conversion Line): Calculated as the average of the highest high and lowest low over the past 9 periods. A fast, short-term indicator used as a measure of immediate momentum.
Kijun-sen (Base Line): Calculated as the average of the highest high and lowest low over the past 26 periods. A medium-term reference line serving as a significant support/resistance level.
Senkou Span A (Leading Span A): The average of the Tenkan-sen and Kijun-sen, shifted 26 periods forward into the future.
Senkou Span B (Leading Span B): The average of the highest high and lowest low over the past 52 periods, also shifted 26 periods forward into the future.
Kumo (Cloud): The area between Senkou Span A and Senkou Span B. Its color changes: green for an uptrend (when Senkou Span A is above Senkou Span B) and red for a downtrend (when Senkou Span B is above Senkou Span A). The Cloud serves as a dynamic area of support/resistance and a tool for forecasting future trends.
Chikou Span (Lagging Span): The current closing price, shifted 26 periods backward into the past. It serves as a powerful trend confirmation tool.
How the Ichimoku Cloud Works and How to Interpret It
Trend Identification :
- Uptrend (Bullish): The price is above the Cloud. The higher the price is above the Cloud, the stronger the trend.
- Downtrend (Bearish): The price is below the Cloud. The lower the price is below the Cloud, the stronger the trend.
- Range/Consolidation: The price is within the Cloud. This indicates a market without a clear direction or one that is consolidating.
Support and Resistance:
- The Cloud itself acts as a dynamic area of support and resistance. In an uptrend, the Cloud serves as support. In a downtrend, it serves as resistance.
- A thick Cloud indicates stronger support/resistance levels, while a thin Cloud indicates weaker levels.
The Cloud as a Predictive Indicator:
The uniqueness of the Kumo (Cloud) lies in its ability to be shifted 26 periods forward. This part of the Cloud provides forecasts for future support and resistance levels and even suggests expected trend changes (like a "Kumo Twist" – a change in Cloud color), giving you a planning advantage.
Unique Advantages of Ichimoku Cloud Signals:
Ichimoku Cloud Signals takes the classic Ichimoku principles and gives you unprecedented control:
Focused Trend Selection:
Choose whether you want to analyze a bullish (uptrend) or bearish (downtrend) trend. The indicator will focus on the relevant criteria for your selection.
Customizable Trend Confirmation Criteria (8 Criteria):
The indicator relies on 8 key criteria for clear trend confirmation. You can enable or disable each criterion individually based on your trading strategy and desired risk level. Each criterion plays a vital role in confirming the strength of the trend:
- Price position relative to the Cloud (Kumo) (Default: true): Determines the main trend direction and whether it's bullish or bearish.
- Price position relative to Kijun-sen (Base Line) (Default: true): Indicates the medium-term trend and acts as a critical equilibrium level.
- Price position relative to Tenkan-sen (Conversion Line) (Default: false): Provides quick confirmation of current momentum and short-term market changes.
- Tenkan-sen (Conversion Line) / Kijun-sen (Base Line) Crossover (Default: true): A classic signal for momentum change, crucial for identifying entry points.
- Current Cloud trend (Kumo) (Default: false): Cloud color confirms the main trend direction in real-time.
- Projected Future Cloud trend (Kumo) (Default: true): Indicates an expected future change in the Cloud's trend, providing strong visual insight.
- Chikou Span (Lagging Span) position relative to the Cloud (Kumo) (Default: true): Confirms the current trend strength by comparing the price to the Ichimoku 26 periods ago.
- Chikou Span (Lagging Span) position relative to the Price (Default: false): Additional confirmation of trend strength, indicating buyer/seller dominance.
Full Customization of Ichimoku Parameters:
You can change the period lengths for each Ichimoku component, depending on your strategy:
- Conversion Line Length (Default: 9)
- Base Line Length (Default: 26)
- Leading Span Length (Default: 52)
- Cloud Lagging Length (Default: 26)
- Lagging Span Length (Default: 26)
Visual Criteria Table on the Chart:
Get immediate and clear feedback! A visual table is placed on the chart, showing in real-time which of the 8 criteria you have defined are met for your chosen trend. Criteria you have enabled will be highlighted with a blue color and a "➤" symbol, while disabled criteria will appear in a subtle gray shade. For each criterion, the table shows its real-time status with a "✔" symbol if the condition is met and an "✘" symbol if it is not met. This powerful visual tool provides a quick assessment, helps with learning, and allows for strategy optimization at the click of a button.
Precise Criteria Details in the Data Window:
Beyond the visual table, the indicator provides an additional critical layer of detail: for any point on the chart, you can hover over a candle and see in TradingView's Data Window the precise status and values of all eight criteria. For each criterion, you'll see a clear numerical value (1 or 0) indicating whether it's fully met (1) or not met (0). Additionally, you can inspect the exact numerical values of the Ichimoku lines (Tenkan-sen, Kijun-sen, etc.) at that specific moment. This comprehensive data supports in-depth analysis, strategy debugging, and long-term optimization, providing complete transparency regarding every component of the signal.
Smart and Customizable Alerts:
Ichimoku Cloud Signals provides a powerful alert system to keep you informed of key market movements, so you never miss an opportunity. There are eight unique alerts you can enable in TradingView's alert panel:
Uptrend Entry Alert: Triggers when all of your selected criteria for an uptrend are met on a new candle.
Uptrend Exit Alert: Triggers when one of your selected uptrend criteria is no longer met, signaling a potential exit point.
Downtrend Entry Alert: Triggers when all of your selected criteria for a downtrend are met on a new candle.
Downtrend Exit Alert: Triggers when one of your selected downtrend criteria is no longer met, signaling a potential exit point.
Bullish Crossover Alert: Triggers when the Conversion Line (Tenkan-sen) crosses above the Base Line (Kijun-sen), a classic signal for an upward momentum shift.
Bearish Crossover Alert: Triggers when the Conversion Line (Tenkan-sen) crosses below the Base Line (Kijun-sen), signaling a potential shift to downward momentum.
Bullish Cloud Breakout Alert: Triggers when the price closes above the Ichimoku Cloud (Kumo), indicating a strong bullish trend.
Bearish Cloud Breakout Alert: Triggers when the price closes below the Ichimoku Cloud (Kumo), indicating a strong bearish trend.
Each alert can be independently configured in TradingView's alert panel, allowing you to tailor your notifications to fit your exact trading strategy and risk management preferences.
Summary:
Ichimoku Cloud Signals is an essential tool for TradingView traders seeking control, clarity, and precision. It combines the power of the classic Ichimoku Cloud indicator with advanced customization capabilities, a convenient visual table, and clear signals, empowering you to make informed trading decisions and stay focused on managing your positions.
Important Note: Trading Risk
This indicator is intended for educational and informational purposes only and does not constitute investment advice or a recommendation for trading in any form whatsoever.
Trading in financial markets involves significant risk of capital loss. It is important to remember that past performance is not indicative of future results. All trading decisions are your sole responsibility. Never trade with money you cannot afford to lose.
Auto Fibonacci Golden Zone by Jaehee📌 AUTO FIBONACCI GOLDEN ZONE — Auto Swing Detection with Key Level Highlights
WHAT THIS DOES
• Automatically detects the latest swing high and swing low within your chosen lookback range.
• Plots Fibonacci retracement levels: 1.000, 0.786, 0.618, 0.500, 0.382, 0.236, 0.000.
• Highlights 0.618 (“golden pocket”) and 0.500 as high-interest zones.
• Displays ratio + price labels to the right for quick reference without moving the cursor.
HOW IT WORKS
• Scans the last N bars (default 150) to locate the highest high and lowest low.
• Determines swing direction automatically: if the low forms first → up-leg, if the high forms first → down-leg.
• Calculates retracement prices and plots each level with a thin core line plus two glow layers (opacity adjustable).
• Clears and redraws lines and labels whenever a new swing is found — keeping the chart clean.
WHY THIS SETUP
• Saves time compared to manually anchoring Fib tools for each new swing.
• Highlights the golden pocket (0.618) and midpoint (0.500) — zones many traders watch for pullbacks or reactions.
• Positions labels to the right so they never overlap active candles.
HOW IT’S DIFFERENT FROM THE STANDARD FIB TOOL
• Automatic swing detection — no manual point selection.
• Built-in highlight logic for key levels.
• Clean redraw to prevent leftover lines or labels.
• Right-side label offset for readability in volatile price zones.
HOW TO READ IT (CONTEXT ONLY)
• In an up-leg, the 0.382–0.618 zone is often monitored for pullback reactions; 0.500 can act as a midpoint marker.
• In a down-leg, retracements into the 0.382–0.618 zone can be watched for selling pressure.
• Always confirm with structure, volume, and momentum tools — this indicator is not a standalone trade signal.
INPUTS
• Lookback Bars — swing detection range.
• Fib Line Color / Highlight Line Color — control standard vs. key level colors.
• Label Offset Bars — shift labels away from current price.
• Glow 1 & Glow 2 Opacity — adjust background glow visibility.
DESIGN NOTES
• Thin lines for precision, glow layers for visibility without overpowering candles.
• Overlay display — no extra panel needed.
• All elements clear and redraw automatically to avoid clutter.
LIMITATIONS & BEST PRACTICES
• Levels update whenever a new swing forms within the lookback range — historical lines are not fixed.
• Fib retracements are reference zones only, not guarantees of reversal.
• Best used with confluence factors like S/R flips, market structure, and volume analysis.
• No alerts, no performance claims — purely a market context tool.
DEFAULTS & SCOPE
• Works on all OHLCV instruments and timeframes.
• No repainting after swing confirmation.
AUTHOR’S NOTE FOR REVIEW
This is not a repackaged Fib tool. It combines automatic swing detection, golden pocket highlighting, and a clean redraw process to make retracement analysis faster and clearer. It provides context only, with no predictive or performance claims.
Support and Resistance Lines by Jaehee📌 SUPPORT AND RESISTANCE LINES — PIVOT-BASED AUTOMATIC S/R WITH DYNAMIC FLIP
🔍 WHAT IT IS
• Automatically detects and plots support and resistance levels based on recent pivot highs and lows
• Groups nearby pivots into channels, then draws the channel mid-point as a horizontal line across the chart
• Resistance lines are shown in red, support lines in blue, both with dual glow layers for visibility
• Includes dynamic S/R flip — when price closes beyond a level, it switches role (support ↔ resistance) and updates its color in real time
⚙️ HOW IT WORKS
• Pivot Detection — Scans recent bars for highs and lows using a configurable lookback period
• Channel Clustering — Merges pivots within a set percentage of the recent range into a single channel
• Strength Filtering — Keeps only channels with a minimum number of touches
• Dynamic Flip — Automatically changes support to resistance and vice versa when broken
• Line Plotting — Draws each channel’s mid-price as a solid line extending in both directions
💡 WHY THIS COMBINATION
• Manual S/R drawing is slow and subjective
• Combines pivot detection, clustering, strength filtering, and dynamic flip to produce objective, evolving levels
• Dual glow layers ensure levels stay visible even on crowded charts
🆚 HOW IT DIFFERS FROM COMMON S/R INDICATORS
• Dynamic clustering — Merges nearby pivots into cleaner, more useful levels
• Strength metric — Ranks levels by the number of touches to reduce noise
• Dual glow layers — Improves readability on any chart theme
• Dynamic S/R flip — Instantly updates line type and color when levels are broken
• Full customization — Adjust pivot period, channel width %, maximum levels, colors, widths, and glow transparency
📖 HOW TO READ IT (CONTEXT, NOT SIGNALS)
• Trend continuation — Break and close beyond a strong level can indicate continuation
• Reversal zones — Multiple strong levels in a tight range can signal potential turning points
• Trading range — Boundaries formed by these lines can define range-bound market conditions
• S/R flip — Support becomes resistance when broken, and resistance becomes support when broken, shown visually in real time
🛠 INPUTS
• Pivot period length
• Source: High/Low or Close/Open
• Maximum pivots and S/R levels
• Maximum channel width %
• Minimum strength (touches)
• Label location offset for pivot markers
• Colors and line widths for resistance, support, and glow layers
🎨 DESIGN NOTES
• Lines extend fully across the chart for continuous reference
• Adjustable glow transparency for both resistance and support
• Optional pivot point labels for cleaner visuals
• Real-time calculation on the selected timeframe
• Automatic visual flip between support and resistance
⚠️ LIMITATIONS AND GOOD PRACTICE
• Past levels do not guarantee future reactions
• Strength is based on historical touches only
• Best used with trend, momentum, or volume confirmation
• Not a strategy — no performance claims
📂 DEFAULTS AND SCOPE
• Works on any OHLCV instrument
• No repainting after levels are confirmed
Crypto Macro CockpitCrypto Macro Cockpit — Institutional Liquidity Regime Detection
🔍 Overview
This script introduces a modern macro framework for crypto market regime detection, leveraging newly added stablecoin market data on TradingView. It’s designed to guide traders through the evolving institutional era of crypto — where liquidity, not just price, is king.
🌐 Why This Matters
Historically, traditional proxies like M2 money supply or bond yields were referenced to infer macro liquidity shifts. But with the regulatory green light and institutional embrace of stablecoins, on-chain fiat liquidity is now directly observable.
Stablecoins = The new M2 for crypto.
This script utilizes real-time data from:
📊 CRYPTOCAP:STABLE.C (Total Stablecoin Market Cap)
📊 CRYPTOCAP:STABLE.C.D (Stablecoin Dominance)
to assess dry powder, risk appetite, and macro regime transitions.
📋 How to Read the Crypto Macro Cockpit
This dashboard updates every few bars and is organized into four actionable segments:
1️⃣ Macro Spreads
Metric --> Interpretation
Risk Flow --> Measures capital flow between stablecoins and total crypto market cap. → Green = risk deploying.
ETH vs BTC --> Shift in dominance between ETH and BTC → rotation gauge.
ETHBTC --> Price ratio movement → confirms leadership tilt.
ALTs (TOTAL3ES) --> Momentum in altcoin market, excluding BTC/ETH/stables → key for alt season timing.
2️⃣ Liquidity & Risk Appetite
Metric --> Interpretation
Liquidity --> Directional change in stablecoin cap → more stables = more dry powder.
Risk Appetite --> Inverse of stablecoin dominance → falling dominance = capital rotating into risk.
3️⃣ Stablecoin Context
Metric --> Interpretation
StableCap ROC --> Growth rate of stablecoin market cap → proxy for fiat inflows.
StableDom ROC --> Change in stablecoin dominance → reflects market caution or aggression.
4️⃣ Composite Labels
Label --> Interpretation
Rotation --> Sector tilt (BTC-led vs ETH/Alts)
Regime --> Synthesized macro environment → "Risk-ON", "Caution", "Waiting", or "Risk-OFF"
Background Color --> Optional tint reflecting regime for quick glance validation
All metrics are evaluated with directional arrows (▲/▼/•) and acceleration overlays, using user-defined thresholds scaled by timeframe for precision.
🔔 Built-in Alerts
Predefined, non-repainting alerts include:
Regime transitions
Sector rotations
Confirmed ETH/ALT rotations
Stablecoin market cap spikes
Risk Flow acceleration
You can use these alerts for discretionary trading or automated system triggers.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Trading cryptocurrencies involves risk, and past performance does not guarantee future results. Always do your own research and manage risk responsibly.
✅ Ready to Use
No configuration needed — just load the script
Works on all timeframes (optimized for 1D)
Thresholds and smoothing are customizable
Table positioning and sizing is user-controlled
If you find this helpful, feel free to ⭐️ favorite or leave feedback. Questions welcome in the comments.
Let’s trade with macro awareness in this new era.
Matrix bands by JaeheeMatrix Bands — multi-sigma EMA bands for price dispersion context (no signals)
📌 What it is
Matrix Bands draws an EMA-based central line with multiple standard-deviation envelopes at ±1σ, ±1.618σ, ±2σ, ±2.618σ, ±3σ.
Thin core lines show the precise band levels, while subtle outer “glow” lines improve readability without obscuring candles.
📌 How it works (concept)
Basis: EMA of the selected source (default: close)
Dispersion: Rolling sample standard deviation over the same length
Bands: Basis ± k·σ for k ∈ {1, 1.618, 2, 2.618, 3}
This is not a strategy and does not generate trade signals.
It provides price dispersion context only.
📌 Why these levels together (justification of the combination)
Using multiple σ layers reveals graduated risk zones in one view:
±1σ: routine fluctuation
±1.618σ & ±2σ: extended but still common excursions
±2.618σ & ±3σ: statistically rare extremes, where mean-reversion risk or trend acceleration risk increases
Combining these specific multipliers allows traders to judge positioning vs. volatility instantly, without switching between separate indicators or re-configuring a single band.
📌 How it differs from classic Bollinger Bands
Unlike classic Bollinger Bands, which typically use an SMA basis and only ±2σ envelopes,
Matrix Bands uses an EMA basis for faster trend responsiveness and plots five sigma levels (±1, ±1.618, ±2, ±2.618, ±3).
This design allows traders to visualize market dispersion across multiple statistical thresholds simultaneously, making it more versatile for both trend-following and mean-reversion contexts.
📌 How to read it (context, not signals)
Mean-reversion context: Moves beyond ±2σ may indicate stretched conditions; wait for your own confirmation signals before acting
Trend context: In strong trends, price can “ride” the outer bands; sustained closes near +2σ~+3σ (uptrend) or −2σ~−3σ (downtrend) suggest persistent momentum
Regime observation: Band width expands in high volatility and contracts in quiet regimes; adjust stops and sizing accordingly
📌 Inputs
BB Length: lookback period for EMA and σ (default: 20)
Source: price source for calculations
📌 Design notes
Thin inner lines = exact levels
Soft outer lines = readability “glow” only; no effect on calculations
Overlay display keeps the chart uncluttered
📌 Limitations & good practice
No entry/exit logic; use with your own strategy rules
Volatility interpretation varies by timeframe
Past patterns do not guarantee future outcomes; risk management is essential
📌 Defaults & scope
Works on any symbol with OHLCV
No alerts, no strategy results, no performance claims
Checklist by JaeheeThe checklist is a market context tool that consolidates seven key metrics into a single on-chart panel, helping traders quickly gauge market conditions without switching between multiple indicators.
1. Display Panel (7 metrics):
ADX: Trend intensity (Above 20 often indicates a stronger, more reliable trend)
EMA Structure: 5/20/60/120/240 EMA alignment (Uptrend, Downtrend, or Mixed state)
Volatility: ATR regime classification (High volatility may require wider stops)
Volume State: Relative to 20-bar SMA with spike multiple (High volume often confirms price moves)
RSI: Current RSI(14) value (Above 70 = overbought zone, below 30 = oversold zone)
Price Zone: Location within the last 20-bar range (Near High, Mid, or Near Low)
Momentum Slope: MACD histogram slope (Rising suggests building momentum; Falling suggests fading momentum)
2. Purpose & Use:
Designed for traders—especially beginners—who want to speed up market scanning.
Keeps a concise, standardized “checklist” visible on the right side of the chart.
Use as a contextual reference, not as an entry/exit signal.
3. Features:
Compact label HUD anchored to the chart’s right margin.
Automatic refresh on each bar close with only one label to avoid clutter.
Works on any timeframe and symbol that supports OHLCV data.
Awesome Indicator# Moving Average Ribbon with ADR% - Complete Trading Indicator
## Overview
The **Moving Average Ribbon with ADR%** is a comprehensive technical analysis indicator that combines multiple analytical tools to provide traders with a complete picture of price trends, volatility, relative performance, and position sizing guidance. This multi-faceted indicator is designed for both swing and positional traders looking for data-driven entry and exit signals.
## Key Components
### 1. Moving Average Ribbon System
- **4 Customizable Moving Averages** with default periods: 13, 21, 55, and 189
- **Multiple MA Types**: SMA, EMA, SMMA (RMA), WMA, VWMA
- **Color-coded visualization** for easy trend identification
- **Flexible configuration** allowing users to modify periods, types, and colors
### 2. Average Daily Range Percentage (ADR%)
- Calculates the average daily volatility as a percentage
- Uses a 20-period simple moving average of (High/Low - 1) * 100
- Helps traders understand the stock's typical daily movement range
- Essential for position sizing and stop-loss placement
### 3. Volume Analysis (Up/Down Ratio)
- Analyzes volume distribution over the last 55 periods
- Calculates the ratio of volume on up days vs down days
- Provides insight into buying vs selling pressure
- Values > 1 indicate more buying volume, < 1 indicate more selling volume
### 4. Absolute Relative Strength (ARS)
- **Dual timeframe analysis** with customizable reference points
- **High ARS**: Performance relative to benchmark from a high reference point (default: Sep 27, 2024)
- **Low ARS**: Performance relative to benchmark from a low reference point (default: Apr 7, 2025)
- Uses NSE:NIFTY as default comparison symbol
- Color-coded display: Green for outperformance, Red for underperformance
### 5. Relative Performance Table
- **5 timeframes**: 1 Week, 1 Month, 3 Months, 6 Months, 1 Year
- Shows stock performance **relative to benchmark index**
- Formula: (Stock Return - Index Return) for each period
- **Color coding**:
- Lime: >5% outperformance
- Yellow: -5% to +5% relative performance
- Red: <-5% underperformance
### 6. Dynamic Position Allocation System
- **6-factor scoring system** based on price vs EMAs (21, 55, 189)
- Evaluates:
- Price above/below each EMA
- EMA alignment (21>55, 55>189, 21>189)
- **Allocation recommendations**:
- 100% allocation: Score = 6 (all bullish signals)
- 75% allocation: Score = 4
- 50% allocation: Score = 2
- 25% allocation: Score = 0
- 0% allocation: Score = -2, -4, -6 (bearish signals)
## Display Tables
### Performance Table (Top Right)
Shows relative performance vs benchmark across multiple timeframes with intuitive color coding for quick assessment.
### Metrics Table (Bottom Right)
Displays key statistics:
- **ADR%**: Average Daily Range percentage
- **U/D**: Up/Down volume ratio
- **Allocation%**: Recommended position size
- **High ARS%**: Relative strength from high reference
- **Low ARS%**: Relative strength from low reference
## How to Use This Indicator
### For Trend Analysis
1. **Moving Average Ribbon**: Look for price above ascending MAs for bullish trends
2. **MA Alignment**: Bullish when shorter MAs are above longer MAs
3. **Color coordination**: Use consistent color scheme for quick visual analysis
### For Entry/Exit Timing
1. **Performance Table**: Enter when showing consistent outperformance across timeframes
2. **Volume Analysis**: Confirm entries with U/D ratio > 1.5 for strong buying
3. **ARS Values**: Look for positive ARS readings for relative strength confirmation
### For Position Sizing
1. **Allocation System**: Use the recommended allocation percentage
2. **ADR% Consideration**: Adjust position size based on volatility
3. **Risk Management**: Lower allocation in high ADR% stocks
### For Risk Management
1. **ADR% for Stop Loss**: Set stops at 1-2x ADR% below entry
2. **Relative Performance**: Reduce positions when consistently underperforming
3. **Volume Confirmation**: Be cautious when U/D ratio deteriorates
## Best Practices
### Timeframe Recommendations
- **Intraday**: Use lower MA periods (5, 13, 21, 55)
- **Swing Trading**: Default settings work well (13, 21, 55, 189)
- **Position Trading**: Consider higher periods (21, 50, 100, 200)
### Market Conditions
- **Trending Markets**: Focus on MA alignment and relative performance
- **Sideways Markets**: Rely more on ADR% for range trading
- **Volatile Markets**: Reduce allocation percentage regardless of signals
### Customization Tips
1. Adjust reference dates for ARS calculation based on significant market events
2. Change comparison symbol to sector-specific indices for better relative analysis
3. Modify MA periods based on your trading style and market characteristics
## Technical Specifications
- **Version**: Pine Script v6
- **Overlay**: Yes (plots on price chart)
- **Real-time Updates**: Yes
- **Data Requirements**: Minimum 252 bars for complete calculations
- **Compatible Timeframes**: All standard timeframes
## Limitations
- Performance calculations require sufficient historical data
- ARS calculations depend on selected reference dates
- Volume analysis may be less reliable in low-volume stocks
- Relative performance is only as good as the chosen benchmark
This indicator is designed to provide a comprehensive analysis framework rather than simple buy/sell signals. It's recommended to use this in conjunction with your overall trading strategy and risk management rules.
TSU HCC/LCC barsHCC/LCC ("Higher Candle Close / Lower Candle Close") bars help keep traders on the right side of the trend. They are most useful for keeping traders in a trade and not exiting too early.
The first green candle in a series can be seen as a bullish reversal, while the first red candle in a series can be seen as a bearish reversal. Yellow candles are neutral -- neither progressing nor reversing.
ABS Companion Oscillator — Trend / Exhaustion / New Trend (v1.1)
# ABS Companion Oscillator — Trend / Exhaustion / New Trend (v1.1)
## What it is (quick take)
**ABS CO** is a unified **–100…+100 trend oscillator** that fuses:
* **Regime**: EMA stack (fast/slow/long) + **HTF slope** (e.g., 60-minute)
* **Momentum**: **TSI** vs its signal
* **Stretch**: session-anchored **VWAP Z-score** for exhaustion and “fresh-trend” sanity checks
It paints the oscillator with **lime** in upstate, **red** in downstate, **gray** in neutral, and tags:
* **NEW↑ / NEW↓** when a **new trend** likely starts (zero-line cross with acceptable stretch)
* **EXH↑ / EXH↓** when an **existing trend looks exhausted** (large |Z| + momentum rollback)
> Use it as a **direction filter and context layer**. Works great in front of an entry engine and behind an exit tool.
---
## How to use it (operational workflow)
1. **Read the state**
* **Uptrend** when the oscillator is **≥ upThresh** (default +55) → prefer **long-side** plays.
* **Downtrend** when the oscillator is **≤ dnThresh** (default −55) → prefer **short-side** plays.
* **Neutral** between thresholds → be selective or flat; expect chop.
2. **Act on events**
* **NEW↑ / NEW↓**: zero-line cross with acceptable |Z| (not already overstretched). Treat as **trend start** cues.
* **EXH↑ / EXH↓**: trend state with **high |Z|** and TSI rollback versus its signal. Treat as **trend fatigue**; avoid fresh go-with entries and tighten risk.
3. **Practical pairing**
* Use **up/down state** (or above/below **neutralBand**) as your go/no-go filter for entries.
* Prioritize entries **with** NEW↑/NEW↓ and **without** nearby EXH tags.
* Keep holding while the oscillator stays in state and no EXH appears; consider scaling out on EXH or on your exit tool.
---
## Visual semantics & alerts
* **ABS CO line** (–100…+100): lime in upstate, red in downstate, gray in neutral.
* **Horizontal guides**: `Up` threshold, `Down` threshold, `Zero`, and optional **neutral band** lines.
* **Background heat** (optional): shaded when EXH conditions trigger (lime/red tint with intensity scaled by |Z|).
* **Tags**: `NEW↑`, `NEW↓`, `EXH↑`, `EXH↓`.
**Alerts (stable):**
* **ABS CO — New Uptrend** (NEW↑)
* **ABS CO — New Downtrend** (NEW↓)
* **ABS CO — Exhausted Up** (EXH↑)
* **ABS CO — Exhausted Down** (EXH↓)
Set alerts to **“Once per bar close”** for clean signals.
---
## Non-repainting behavior
* HTF queries use **lookahead\_off**.
* With **Strict NR = true**, the HTF slope is taken from the **prior completed** HTF bar; events evaluate on confirmed bars → **safer, fewer, cleaner**.
* NEW/EXH tags finalize at bar close. Disabling strictness yields earlier but noisier responses.
---
## Every input explained (and how it changes behavior)
### A) Trend & HTF structure
* **EMA Fast / Slow / Long (`emaFastLen`, `emaSlowLen`, `emaLongLen`)**
Control the baseline regime. Larger = smoother, fewer flips; smaller = snappier, more flips.
* **HTF EMA Len (`htfLen`)** & **HTF timeframe (`htfTF`)**
HTF slope filter. Longer len or higher TF = steadier bias (fewer state changes); shorter/ lower = more sensitive.
* **Strict NR (`strictNR`)**
`true` uses the **previous** HTF bar for slope and evaluates on confirmed bars → cleaner, slower.
### B) Momentum (TSI)
* **TSI Long / Short / Signal (`tsiLong`, `tsiShort`, `tsiSig`)**
Standard TSI. Larger values = smoother momentum, fewer EXH triggers; smaller = snappier, more EXH sensitivity.
### C) Stretch (VWAP Z-score)
* **VWAP Z-score length (`zLen`)**
Window for Z over session-anchored VWAP distance. Larger = smoother |Z|; smaller = more reactive stretch detection.
* **Exhaustion |Z| (`zHot`)**
Minimum |Z| to flag **EXH**. Raise to demand **bigger** stretch (fewer EXH); lower to catch milder excess.
* **Max |Z| for NEW (`zNewMax`)**
NEW requires |Z| **≤ zNewMax** (avoid “new trend” when already stretched). Lower = stricter; higher = more NEW tags.
### D) States & thresholds
* **Uptrend threshold (`upThresh`)** / **Downtrend threshold (`dnThresh`)**
Where the oscillator flips into trend states. Widen (e.g., +60/−60) to reduce false states; narrow to get earlier signals.
* **Neutral band (`neutralBand`)**
Visual buffer around zero for “meh” momentum. Larger band = fewer go/no-go flips near zero.
### E) Visuals & tags
* **Show New / Show Exhausted (`showNew`, `showExh`)**
Toggle the tag labels.
* **Shade exhaustion heat (`plotHeat`)**
On = color background when EXH fires. Helpful for scanning.
### F) Smoothing
* **Osc smoothing (`smoothLen`)**
EMA over the raw composite. Higher = steadier line (fewer whip flips); lower = faster turns.
---
## Tuning recipes
* **Trend-day bias (follow moves longer)**
* Raise **`upThresh`** to \~60 and **`dnThresh`** to \~−60
* Keep **`zNewMax`** low (1.0–1.2) to avoid “fresh trend” when stretched
* **`smoothLen`** 3–5 to reduce noise
* **Range-day bias (fade edges)**
* Keep thresholds closer (e.g., +50/−50) for quicker state changes
* Lower **`zHot`** slightly (1.6–1.7) to catch earlier exhaustion
* Consider slightly shorter TSI (e.g., 21/9/5) for faster EXH response
* **Scalping LTF (1–3m)**
* TSI 21/9/5, **`smoothLen`** 1–2
* Thresholds +/-50; **`zNewMax`** 1.0–1.2; **`zHot`** 1.6–1.8
* StrictNR **off** if you want earlier calls (accept more noise)
* **Swing / HTF (1h–D)**
* TSI 35/21/9, **`smoothLen`** 4–7
* Thresholds +/-60\~65; **`zNewMax`** 1.2; **`zHot`** 1.8–2.0
* StrictNR **on** for cleaner bias
---
## Playbooks (how to actually trade it)
* **Go/No-Go Filter**
* Only take **long entries** when the oscillator is **above the neutral band** (preferably ≥ `upThresh`).
* Only take **short entries** when **below** the neutral band (preferably ≤ `dnThresh`).
* Avoid fresh go-with entries if an **EXH** tag appears; let the next setup re-arm.
* **Trend Genesis**
* Treat **NEW↑ / NEW↓** as “green light” for **first pullback** entries in the new direction (ideally within acceptable |Z|).
* **Trend Maturity**
* When in a position and **EXH** prints **against** you, tighten stops, take partials, or lean on your exit tool to protect gains.
---
## Suggested starting points
* **Day trading (5–15m):**
* TSI 25/13/7, `smoothLen=3`, thresholds **+55 / −55**, `zNewMax = 1.2`, `zHot = 1.8`, **StrictNR = true**
* **Scalping (1–3m):**
* TSI 21/9/5, `smoothLen=1–2`, thresholds **+50 / −50**, `zNewMax = 1.1–1.2`, `zHot = 1.6–1.8`, **StrictNR = false** (optional)
* **Swing (1h–D):**
* TSI 35/21/9, `smoothLen=4–6`, thresholds **+60 / −60**, `zNewMax = 1.2`, `zHot = 1.9–2.0`, **StrictNR = true**
---
## Notes & best practices
* **Session anchoring**: Z-score is session-anchored (resets by trading date). If you trade outside standard sessions, verify your data session.
* **Instrument specificity**: Tune **`zHot`**, **`zNewMax`**, and thresholds per symbol and timeframe.
* **Bar-close discipline**: Evaluate tags at **bar close** to avoid intrabar flip-flop.
* This is a **context/confirmation tool**, not a broker or strategy. Combine with your entry/exit rules and position sizing.
---
**Tip:** Start with the suggested day-trading profile. Use this oscillator as your **gate** (only trade with it), let your entry engine time executions, and rely on your exit tool for standardized profit-taking.