Smart Donchian Channel Hariss 3691. The Donchian Channel is a trend-following indicator. It’s primarily used to identify volatility, breakouts, and price trends.
The channel is composed of three lines:
Upper Band: The highest high over a specified period (e.g., 20 bars).
Lower Band: The lowest low over the same period.
Middle Line (optional): The average of the upper and lower bands.
2. How the Donchian Channel Detects Price Momentum
The Donchian Channel is based on price extremes, which inherently reflects momentum and market sentiments.
Price Above Midline / Upper Band: Indicates strong bullish momentum. Buyers are dominating, pushing price toward new highs.
Price Below Midline / Lower Band: Indicates strong bearish momentum. Sellers are in control, pushing price toward new lows.
Price Touching the Bands:
Upper band breakout: A potential continuation of an uptrend or trend initiation.
Lower band breakout: A potential continuation of a downtrend or trend initiation.
Bounce from the bands: Signals potential reversals or retracements.
Essentially, the Donchian Channel acts as a dynamic support and resistance level.
3. Interpreting Market Conditions
Trending Markets:
Price moves along or breaks out from the upper/lower band. Donchian Channel expands as volatility increases. Breakouts from the channel often indicate continuation of the trend.
Sideways/Range-Bound Markets:
Price oscillates between upper and lower bands. Channel width narrows. Bounces from upper/lower bands may produce false signals unless filtered by volume or trend indicators.
4. Trading Applications
Breakout Strategy:
Buy when price closes above the upper band.
Sell when price closes below the lower band.
Useful for trend-following systems.
Reversal/Bounce Strategy:
Buy when price bounces from the lower band.
Sell when price rejects the upper band.
How this indicator has been designed to reduce false signals:
Buy signal fires when price bounces from the lower band with high volume (1.5), bullish RSI and DMI/ADX.
Sell signal fires when price reverses from upper band with high volume (1.5) with bearish RSI and DMI/ADX.
One can change the RSI and RVOL setting according to trading style and class assets being traded.
Trading With this Indicator:
Buy when the signal is fired to buy, place Stop Loss just below the low of last candle and take profit @1.5 or 2 times of stop loss.
Sell when the signal is fired to sell, place stop loss just above the high of the last candle and take profit @1.5 or 2 times of stop loss.
It is to note that, this indicator is a trend following indicator, so be with the trend will avoid missing out trend following levels or early exit.
트렌드 어낼리시스
ZynIQ Breakout Pro v2 - (Pro Pack)Overview
ZynIQ Breakout Pro v2 is an advanced breakout framework designed to identify high-quality expansion points from compression zones. It includes adaptive volatility filters, directional detection, optional confirmation logic and an integrated risk-mapping system for structured trade planning.
Key Features
• Adaptive breakout range detection with smart volatility filters
• Direction-aware breakout triggers
• Optional ADX or volatility conditions for confirmation
• Pullback gating to reduce low-quality continuation attempts
• Integrated Risk Helper for SL/TP structure
• Clean labels and minimal chart clutter
• Suitable for intraday and swing trading
Use Cases
• Identifying breakout moments with stronger confirmation
• Avoiding noise and clustering during choppy phases
• Structuring entries around expansion from compression
• Combining breakout signals with trend, momentum or volume tools
Notes
Breakout Pro v2 provides structural and volatility-aware breakout context. It is not a standalone trading system. Use with your own confirmation tools and risk management.
INMERESHINMERESH (INTRADAY MEAN REVERSION SHORT) – First 5-Minute EMA Breakdown Highlight
This indicator is designed to highlight bearish candles on the 5-minute chart that close below the 5-minute 6 EMA, providing a clear visual representation of the first EMA breakdown after short-term bullish activity.
Key Features:
Highlights the first bearish candle that closes below the 5-minute 6 EMA after prior conditions are met.
Only triggers after sufficient prior closes above the 5-minute 6 EMA, helping to visually potentially identify the transition from short-term bullish to bearish momentum.
Incorporates MACD (6, 20, 9) prior bearish check — the signal occurs only if the MACD was bearish in prior bars, giving context to the breakdown.
Candle filtering based on body characteristics:
Weak bearish closes are prioritized, based on body size relative to the total candle range.
Close position within the candle range is considered to focus on meaningful bearish closes.
Highlights only the first breakdown candle after the conditions are met, preventing repeated signals during ongoing downtrends.
Visual customization: background color highlights the signal candle for easy identification.
Inputs / Configurable Options:
EMA length for 5-minute chart
Number of bars to check for prior closes above EMA
Minimum prior closes above EMA required
Lookback bars for prior MACD bearish condition
Candle body filtering thresholds
Option to show or hide background highlight
Use case:
This tool is primarily a visual aid for analyzing 5-minute price action relative to short-term EMA and MACD conditions, emphasizing the initial bearish shift after short-term bullish activity.
ZynIQ Trend Master V2 - (Pro Pack)Overview
ZynIQ Trend Master v2 (Pro) provides a structured, multi-layered approach to trend analysis. It combines volatility-aware trend detection, adaptive cloud colouring, and pullback signalling to help traders see trend strength, continuation phases and potential shift points with clarity.
Key Features
• Multi-profile trend modes (Scalping / Intraday / Swing)
• Adaptive trend cloud with colour transitions based on strength
• Volatility-aware pullback detection
• Optional HTF trend alignment
• Clean labels marking key transitions
• Configurable filters for smoothing and responsiveness
• Lightweight visuals for fast intraday charting
Use Cases
• Identifying conditions where trend strength is increasing or weakening
• Timing entries during pullbacks within a trend
• Aligning intraday and HTF directional bias
• Combining with breakout, volume or market structure tools for confirmation
Notes
This tool provides structured trend context and momentum flow. It is not a trading system on its own. Use with your preferred confirmation and risk management.
Orderflow - Full suiteThis indicator provides a comprehensive institutional view of the market by aggregating real-time volume and delta data from the four largest crypto derivatives exchanges: Binance, Bybit, OKX, and Gate.io.
Unlike standard indicators that rely on a single data feed, this tool normalizes and combines volume from multiple sources to reveal the "True Market Volume." It features a sophisticated 1-Minute Granularity Scanner that analyzes the underlying 1m data within your current timeframe to detect hidden whale activity that is often smoothed out on higher timeframe charts.
Key Features:
🌊 Multi-Exchange Aggregation: Automatically fetches and sums volume from Binance, Bybit, OKX, and Gate.io. It handles currency normalization (converting USDT volume to Base Currency) to ensure accurate apples-to-apples calculations.
🐋 1-Minute Big Trade Scanner: The script scans the 1-minute candles underlying your current bar. It detects "Whale," "Huge," and "Large" trades that occur within a single minute, revealing aggressive market participants hiding inside consolidated candles.
🛡️ Absorption Detection: Identifies specific moments where high aggregated volume meets minimal price movement, highlighting areas where passive limit orders are absorbing aggressive flow.
📉 CVD Divergence: accumulating Aggregated Delta to spot divergences between price action and order flow (e.g., Price making Lower Lows while CVD makes Higher Lows).
📊 Dynamic Volume Profile: A fully functional Volume Profile driven by the global aggregated data, including Value Area (VAH/VAL) and POC logic.
⚖️ Market Balance & Retests: Automatically detects if the market is Balanced or Imbalanced and highlights valid retests of Value Area High/Low levels.
How to Use:
Bubbles: Represent Big Trades detected on the 1m timeframe (Blue = Buy, Red = Sell). Size indicates relative volume.
Diamonds: Indicate Absorption events (High volume, zero price progress).
Triangles: Indicate CVD Divergences (Potential reversals).
Right Panel: Displays the Volume Profile and Key Levels based on the total market liquidity.
Note: This indicator uses request.security_lower_tf to scan granular data. It is optimized for Crypto Perpetual pairs (USDT.P).
Manual Pivot Plotter//================================================================================
//📌 Manual Pivot Plotter (P, R1–R3, S1–S3)
//📈 Pine Script v6
//
//This script allows the user to manually input Pivot levels (P), Resistance levels
//(R1, R2, R3), and Support levels (S1, S2, S3). Each line starts at the beginning
//of the new trading day (detected at 00:00 UTC+8) and extends only a limited
//distance into the future (default: 3 bars).
//
//Features:
//✔ Manual pivot, support, and resistance level inputs
//✔ Lines refresh automatically at each new day (00:00 UTC+8)
//✔ Lines extend only a few bars ahead (not full chart)
//✔ Clean label placement slightly below line and near line end
//✔ No repainting, memory-safe line handling
//✔ Smooth intraday updates when values are edited
//
//This tool is ideal for traders who manually calculate or import pivot levels and
//prefer clean, minimal, non-intrusive visual levels on the chart.
//================================================================================
UpDown Advanced [DivineTrade]English version below
Описание индикатора UpDown Advanced (Pump & Damp Strategy)
UpDown Advanced это улучшенная версия индикатора для поиска резких импульсных движений цены, известных как Pump & Dump. Индикатор анализирует состояние рынка на выбранном таймфрейме и формирует сигналы, когда цена совершает аномальное движение за короткий промежуток времени и одновременно выполняет фильтры, указанные пользователем.
Короткое резюме
UpDown Advanced помогает:
• находить резкие импульсы на графике
• фильтровать их по RSI, тренду и таймфреймам
• контролировать частоту сигналов
• выстраивать собственные сценарии под любую стратегию
Подробное описание
Индикатор идеально подходит для Pump & Dump логики, но может использоваться и как универсальный детектор импульсных движений.
Основная логика работы
1. Анализ выбранного таймфрейма
Индикатор работает строго на том таймфрейме, который открыт на графике.
Все расчёты, сигналы и фильтры привязаны именно к текущему ТФ.
2. Поиск импульса каждые N свечей
В настройке Bars for pump / damp указывается количество последних свечей, в пределах которых индикатор будет искать резкий скачок цены.
Например:
Bars for pump/damp = 5
→ индикатор проверяет, на сколько % цена изменилась за последние 5 свечей.
3. Пороговый размер пампа/дампа
Параметр Signal trigger, % задаёт нужное изменение цены для возникновения сигнала.
Если изменение цены превышает указанное значение, этот критерий считается выполненным.
4. Система фильтров по таймфреймам
Индикатор поддерживает несколько независимых фильтров, каждый из которых включает:
• выбор таймфрейма
• длину RSI
• верхнюю/нижнюю границу RSI
• анализ тренда (вверх / вниз / оба варианта)
Все таймфреймы, отмеченные галочками, используются для фильтрации сигнала.
Сигнал появится только если выполнены условия по каждому выбранному фильтру.
Это позволяет создавать сложные сценарии, например:
• RSI перегрет на 1ч и 4ч
• тренд совпадает
• памп на основном ТФ составляет +7%
• импульс произошёл в пределах заданного окна свечей
5. Контроль частоты сигналов
Чтобы индикатор не спамил уведомлениями, есть два механизма:
1. Alerts frequency: once per bar close — сигнал формируется только по закрытию свечи.
2. Interval between signals, minutes — минимальный промежуток между сигналами.
Например:
Интервал = 30 минут → повторный сигнал появится не раньше, чем через 30 минут после предыдущего.
Пример настройки №1 (сигнал на 5-минутный памп)
Цель:
Получать сигнал, если:
• памп +7%
• произошёл за последние 5 свечей
• RSI перегрет на 1ч и 4ч (83+)
• сигнал не чаще 1 раза в 30 минут
Настройки:
• Alerts frequency: once per bar close
• Interval between signals: 30
• Bars for pump/damp: 5
• Signal trigger: 7%
Timeframe #1:
• RSI Length: 14
• Timeframe: 1H
• RSI Upper Band: 83
• RSI Lower Band: 0
• Trend: Both
Timeframe #2:
• RSI Length: 14
• Timeframe: 4H
• RSI Upper Band: 83
• RSI Lower Band: 0
• Trend: Both
Пример настройки №2 (сигнал на 15-минутный памп)
Всё как выше, но:
• Bars for pump/damp: 15
Индикатор позволяет создавать столько фильтров, сколько нужно под стиль трейдера.
__________________________________________________________________________________
English version
UpDown Advanced (Pump & Damp Strategy) – Indicator Description
UpDown Advanced is an improved version of the indicator designed to detect sharp impulsive price movements, commonly known as Pump & Dump events. The indicator analyzes the market on the currently opened timeframe and generates signals when a strong price impulse appears within a short period, while simultaneously meeting all user-defined filters.
Summary
UpDown Advanced allows traders to:
• detect sharp pump/dump movements
• filter signals using RSI, trend, and multi-timeframe conditions
• control alert frequency
• build custom scenarios for any trading style
It is ideal for Pump & Dump trading logic but also works as a universal impulse-detection tool.
Core Logic
1. Analysis of the selected timeframe
The indicator works strictly on the timeframe opened on the chart.
All calculations, triggers, and filters are tied to this timeframe.
2. Searching for impulses every N bars
The setting Bars for pump / damp defines how many recent bars the indicator evaluates for a rapid price move.
Example:
Bars for pump/damp = 5
→ the indicator checks how much the price changed over the last 5 bars.
3. Pump/Dump threshold
The parameter Signal trigger, % sets the minimum percentage change required to trigger a signal.
If the price movement exceeds this value, the first condition is met.
4. Multi-timeframe filter system
The indicator supports multiple independent filters, each including:
• chosen timeframe
• RSI length
• RSI upper/lower bands
• trend direction filter (up / down / both)
Only timeframes with checkmarks enabled are used for filtering.
A signal will appear only if ALL selected filters pass.
This allows building advanced logic, such as:
• RSI strongly overheated on 1H and 4H (83+)
• trend confirmation
• pump of +7% on the main timeframe
• impulse detected within N bars
• signals limited to a specific time interval
5. Signal frequency control
To prevent excessive alerts, the indicator provides:
1. Alerts frequency: once per bar close – signals only on candle close
2. Interval between signals (minutes) – minimum time gap between alerts
Example:
Interval = 30 minutes → the next signal will not appear earlier than 30 minutes after the previous one.
Example Setup #1 (5-bar pump detection)
Goal:
Receive a signal if:
• pump = +7%
• within the last 5 bars
• RSI overheated on 1H and 4H (83+)
• no more than 1 signal every 30 minutes
Settings:
• Alerts frequency: once per bar close
• Interval between signals: 30 minutes
• Bars for pump/damp: 5
• Signal trigger: 7%
Timeframe #1:
• RSI Length: 14
• Timeframe: 1H
• RSI Upper Band: 83
• RSI Lower Band: 0 (long signals disabled for now)
• Trend: Both
Timeframe #2:
• RSI Length: 14
• Timeframe: 4H
• RSI Upper Band: 83
• RSI Lower Band: 0
• Trend: Both
Example Setup #2 (15-bar pump detection)
All settings remain the same, but:
• Bars for pump/damp: 15
The indicator allows creating any number of filter combinations to match your trading logic.
Trend-Momentum Matrix [Pro]The Problem: Analysis Paralysis Traders often struggle to align multiple timeframe signals. You might see momentum on the 5-minute chart but fail to notice a major resistance on the 1-hour, or enter a trend just as it loses strength. Juggling multiple indicators (RSI, Moving Averages, ADX, Clouds) on a single chart creates clutter and confusion.
The Solution: Trend-Momentum Matrix The Trend-Momentum Matrix is a professional-grade dashboard that condenses complex market data into a single, high-contrast heatmap. It allows you to monitor the health of a trend across 7 distinct timeframes simultaneously—from scalping charts to long-term views—without cluttering your screen.
This tool is built on a "Strict Compliance" engine. It does not issue signals based on loose guesses; it waits for a high-probability confluence of three market forces: Price Structure, Momentum Velocity, and Trend Strength.
Core Capabilities
1. Dual-Engine Logic The system runs two independent strategies in parallel to catch both sides of the market:
Compounder Engine (Longs) : Identifies high-growth setups where momentum has entered a "Bullish Power Zone," supported by institutional trend strength.
Breakdown Engine (Shorts): Detects structural failures where momentum is accelerating downward and trend support has been breached.
2. The "Squint Test" Visualization Markets move fast. You shouldn't have to read numbers to know the trend. The Matrix utilizes a Heatmap Architecture:
Solid Green Row: Confirmed Bullish Confluence (Safe to Buy).
Solid Red Row: Confirmed Bearish Breakdown (Safe to Short).
Black/Mixed: Noise or Consolidation (Stay Out).
3. Advanced Noise Filtering: Most indicators fail in choppy markets. This tool uses a multi-layered filter:
Trend Strength (ADX) Filter: Signals are ignored if the prevailing trend is too weak or sideways.
Structure Lock: Signals are strictly gated by key moving averages. If the price structure isn't sound, the signal is suppressed.
4. Donchian Breakout Detection The matrix automatically tracks volatility breakouts. It monitors whether the current price action is expanding beyond historical volatility bands (Upper/Lower Donchian channels) to confirm true breakouts versus fake-outs.
Key Features
Multi-Timeframe Matrix: Monitor 7 timeframes (fully customizable with On/Off toggles) in one corner of your screen.
Auto-Adaptive Interface: The table uses a high-contrast Black background that remains clearly visible on both Light and Dark TradingView themes.
Smart Ribbon: Includes an optional, non-intrusive 8-line Moving Average Ribbon to visualize trend flow directly on the chart.
Strict Exit System: The system is designed to protect capital. The moment the specific conditions for Momentum or Structure are lost, the signal immediately converts to an EXIT or COVER command.
Risk Disclaimer: Trading involves substantial risk and is not suitable for every investor. This tool is an analysis aid and does not constitute financial advice. Past performance is not indicative of future results.
Access: This is an Invite-Only premium indicator. Please contact the author to request access.
[NORTH2025] N.E.S.T. — Nebula Encapsulated Star TrapOverview
N.E.S.T. CORE (Nebula Encapsulated Star Trap Core Engine) is a multi-system Inside Bar detection and trading framework that combines 5 unique Inside-Bar-based strategies into a single, unified engine.
Each system captures different forms of market compression and consolidation — similar to stars being trapped inside multiple layers of a nebula — and converts that structure into breakout-ready trade setups.
N.E.S.T. CORE is designed for swing/positional traders who use 4H timeframe , multi-layer Inside Bar structures, and breakout continuation patterns.
---
Key Features
✔ 5 Inside Bar Systems in One Script
Each system has its own logic, direction rules, signal placement, risk evaluation, and independent Win/Draw/Loss tracking.
1. S1 – NEST-2NFV
* Double Inside Bar (Nested chain: child inside parent, grandchild inside child)
* Direction determined by 3-bar Vote
* EP/SL based on the Mother Bar
2. S2 – NEST-2CFM
* Double Inside Bar (Cluster type: both inside bars must be inside Mother Bar, not each other)
* Direction from Mother Bar
3. S3 – NEST-3CFM
* Triple Inside Bar (Cluster of 3 inside bars inside the same Mother Bar)
* Direction from Mother Bar
4. S4 – NEST-3BOM
* Triple Inside Bar
* Buy-Only version (Prime Variant)
* Direction from Mother Bar
5. S5 – NEST-5CFL
* Five Inside Bar Cluster
* Direction determined by the last Inside Bar(final compression bar)
---
✔ Auto-Backtesting for Each System
Every system runs its own internal backtest engine:
* Win / Draw / Loss
* Break-even logic after hitting +1R
* Max Consecutive Loss tracking
* Visual summary table on the chart
All systems update independently and do not interfere with one another.
---
✔ Smart Visual Layering (No Overlap)
Each system draws its signal label at a different orbital altitude based on Mother Bar range.
This prevents label overlap and creates a clean, layered cosmic layout:
* S1 at orbit 1
* S2 at orbit 2
* S3 at orbit 3
* S4 at orbit 4
* S5 at orbit 5
All labels use cosmic-themed colors matching their system identity.
---
✔ SL/TP Engine with RRR 1:1.5
* EP placed at Mother Bar breakout
* SL placed at the opposite side of Mother Bar
* TP = EP ± 1.5×R
* Signals are filtered by Maximum SL distance (in pips) to avoid oversized trades
---
✔ Universal Broker Compatibility
Although the system tags indicate origin (F = Forex.com, O = OANDA),
the script is fully compatible with any broker on TradingView.
---
✔ 4H-Only + 5-Year Lookback Optimization
This engine is optimized for:
* 4H timeframe (auto-restrict)
* Recent 5-year data to maintain speed and performance
* Average 7,000–8,000 bars
Ensuring stable performance and avoiding unnecessary resource load.
---
Recommended Use
This indicator is best suited for:
* Swing traders
* Price action / Inside Bar traders
* Breakout and continuation strategy users
* Traders who want multi-system confirmation
* Traders studying Inside-Bar compression patterns for algorithmic behavior
Works well with:
* Support/Resistance
* Trend structure
* ATR volatility
* Market session timing (NY/London)
---
Disclaimer
N.E.S.T. CORE is not a financial advice tool.
Use proper position sizing and risk management.
Past performance does not guarantee future results.
---
Final Words
N.E.S.T. CORE is designed as a cosmic-themed, multi-layer Inside Bar engine , giving traders one of the most complete Inside Bar toolkits available on TradingView — from nested patterns to cluster patterns, multi-direction logic, buy-only variants, and 5-bar compression signals.
Enjoy exploring the market with the power of the nebula.
Clear skies ✨🚀
---
NORTH 2025
Trend Composite (Auto 125d + Daily Overlay)Arthur Hill’s Trend Composite is a multi-factor trend indicator designed to quantify the overall trend strength of any market. Instead of relying on a single moving average or MACD signal, the Trend Composite combines five proven long-term trend measures into one clear score.
The indicator outputs a value from –5 to +5, where:
+5 → Strong uptrend
0 → Neutral / transition zone
–5 → Strong downtrend
A higher score means more trend components are aligned bullishly. A lower score means multiple trend components are pointing bearish.
The Trend Composite evaluates:
Price vs 100-day SMA
Price vs 200-day SMA
50-day SMA vs 200-day SMA
Slope of the 200-day SMA
MACD line vs Signal line
Each component votes +1 (bullish) or –1 (bearish), and the sum becomes the Trend Composite score.
Why This Indicator Works
Trend signals by themselves can be noisy or lagging. When you combine multiple uncorrelated trend measures, you remove false positives and get a cleaner picture of market direction. The result is a powerful, balanced trend filter that works across stocks, crypto, forex, indices, and commodities.
How Traders Use It
Trend filter for long trades: Only trade long when the score is ≥ +3
Avoid chop: Stay out when the score is between –2 and +2
Short setups: Look for –3 or lower
Watchlist ranking: Sort symbols by composite score to find the strongest trends
Stage analysis: Helps identify clear Stage 2 uptrends and Stage 4 downtrends
This makes it ideal for systematic traders, swing traders, trend followers, and anyone building rule-based strategies.
Notes
This is not a buy/sell signal on its own — it’s a trend framework. Combine it with volume patterns, relative strength, volatility contraction, or your preferred entry setup for best results.
Pure FVG [Textbook]1. The Core Concept
This is not a standard "show all gaps" indicator. It is a specific entry signal generator based on Smart Money Concepts (SMC).
It focuses on Consequent Encroachment (The 50% Level). The underlying principle is that a Fair Value Gap (FVG) represents a market inefficiency where opposing traders are trapped. When price retraces at least 50% back into this gap, it creates pressure as these trapped positions look to exit—either through stop-losses or position reversal. This makes the gap most likely to act as a reversal zone.
2. How It Works (The Lifecycle)
The indicator logic follows a strict sequence of events. A signal is generated only if all conditions are met in order:
-- Phase 1: Identification (The Fresh Gap)
The script scans for the classic 3-candle FVG pattern (where the 1st and 3rd candles do not overlap).
Visual: It draws a box (Green for Bullish, Red for Bearish) extending to the right.
The 50% Line: A dashed line is drawn through the center of the gap.
-- Phase 2: Mitigation (The Gray Zone)
This is the critical filter. The indicator waits for a candle to CLOSE past the 50% dashed line.
Once this happens, the gap is considered "Deeply Mitigated."
Visual: The box changes color to Gray. This tells the trader: "Price is deep in the zone, watch for a reaction."
-- Phase 3: The Signal (Rejection)
Once the box is Gray, the script watches for a "Rejection Candle."
Bullish Scenario: Price is deep in the gap (Gray). The script waits for a candle to close higher than it opened (a green candle).
Bearish Scenario: Price is deep in the gap (Gray). The script waits for a candle to close lower than it opened (a red candle).
Visual: A Triangle Label (▲ or ▼) appears, signaling an entry.
-- Phase 4: Invalidation
If the price closes completely past the far edge of the box (the Stop Loss level), the box is deleted immediately.
3. Key Options
These are the most important settings for the user:
-- Min Gap Size (%):
Filters out "noise." It ensures the script ignores tiny, insignificant gaps that are less than X% in height.
-- Max Visible Gaps:
Keeps your chart clean. It limits how many open boxes can be on the screen at once (e.g., only show the last 3 unclosed gaps).
-- Show Signal History Only:
Feature Highlight: When enabled, this hides all the "noise" of open or failed gaps. It only draws the boxes that successfully produced a Rejection Signal in the past.
SPY Downside Risk - Bond Flow Indicator (Daily)## **SPY Downside Risk - Bond Flow Indicator**
### 📊 **Overview**
A professional bond market risk monitoring indicator that assesses SPY (S&P 500 ETF) downside risk by tracking Treasury yield spreads and credit spreads. The indicator provides two complementary display modes for comprehensive market analysis.
---
### 🎯 **Key Features**
#### **Mode 1: Spreads Analysis**
Monitor critical fixed-income risk indicators:
- **10Y-2Y Treasury Spread**
- 🔵 Blue Line (> 20bp): Normal economic expansion
- 🟠 Orange Line (0-20bp): Flight-to-safety sentiment emerging
- 🔴 Red Line (< 0bp): **Yield curve inversion - Recession warning**
- **HY-IG Credit Spread** (High Yield - Investment Grade)
- 🟣 Purple Line: Credit spread widening - Rising default risk
- 🟢 Green Line: Credit spread tightening - Risk appetite improving
#### **Mode 2: Bond ETFs Capital Flow**
Track capital movements across four major bond ETFs:
- **SHY** (🔴 Red): 1-3 Year Treasury - Short-term safety
- **TLT** (🟠 Orange): 20+ Year Treasury - Long-term safety
- **LQD** (🟡 Yellow): Investment Grade Bonds - Quality credit
- **HYG** (🔵 Blue): High Yield Bonds - Risk appetite
---
### 🔧 **Input Parameters**
| Parameter | Default | Description |
|-----------|---------|-------------|
| **Display Mode** | Spreads | Choose between "Spreads" or "Bond ETFs" view |
| **ROC Period** | 10 | Rate of change period (for Bond ETFs mode smoothing) |
| **10Y-2Y Threshold** | 20 bp | Spread narrowing threshold indicating safe-haven flows |
| **VIX Filter Level** | 18 | Volatility threshold for heightened market stress |
---
### 📈 **How to Use**
#### **Yield Curve Inversion Signal**
When 10Y-2Y spread inverts (< 0bp):
- Historically precedes recession within 6-24 months
- Equity markets may face correction in 3-12 months
- Consider defensive positioning (bonds, gold, utilities)
#### **Credit Spread Expansion**
When HY-IG spread rapidly widens:
- Corporate default risk increasing
- Capital flowing from risky assets to safety
- Potential equity market pullback ahead
#### **Capital Flow Analysis**
- **SHY ⬆️ + HYG ⬇️** = Risk-off mode, equity pressure mounting
- **HYG ⬆️ + SHY ⬇️** = Risk-on sentiment, bullish for equities
- **TLT surge** = Long rates falling, economic slowdown expected
- **LQD + HYG divergence** = Credit quality differentiation
---
### 📊 **Real-Time Debug Table**
Upper-right corner displays key metrics:
**Spreads Mode:**
- **10Y-2Y Spread**: Current yield curve spread (basis points)
- **Credit Spread**: HY-IG spread (basis points)
- **VIX**: Market volatility index
**Bond ETFs Mode:**
- **SHY Flow**: Short-term Treasury momentum (%)
- **HYG Flow**: High-yield bond momentum (%)
- **VIX**: Market volatility index
**Color Coding:**
- 🔴 Red = High risk / Inverted
- 🟠 Orange = Caution / Elevated
- 🔵 Blue/Gray = Normal conditions
---
### ⚠️ **Trading Signals**
#### **High Risk Scenarios**
1. **Yield curve inverted** (Red line < 0) + **VIX > 18** (Orange)
- Action: Reduce equity exposure, increase cash/bonds
2. **Credit spread widening** + **HYG Flow negative**
- Action: Avoid high-yield debt, favor quality bonds
3. **SHY Flow positive** + **SPY declining**
- Action: Flight-to-safety confirmed, defensive positioning
#### **Bullish Scenarios**
1. **Steep yield curve** (Blue line > 50bp) + **HYG Flow > 3%**
- Action: Risk-on environment, equity allocation appropriate
2. **Credit spread tightening** + **Low VIX** (< 15)
- Action: Favorable credit conditions, growth exposure
---
### 🔔 **Alert System**
**Built-in Alert:**
- **Treasury Spread Inversion Alert**: Triggers when 10Y-2Y spread crosses below 0
**How to Set Up:**
1. Click "Create Alert" in TradingView
2. Select condition: "Treasury Spread Inversion Alert"
3. Configure notification preferences
---
### 📚 **Data Sources**
**Treasury Yields** - Federal Reserve Economic Data (FRED):
- `DGS2`: 2-Year Treasury Constant Maturity Rate
- `DGS10`: 10-Year Treasury Constant Maturity Rate
**Credit Spreads** - FRED:
- `BAMLC0A1CAAAEY`: ICE BofA US Corporate Index Option-Adjusted Spread
- `BAMLH0A0HYM2`: ICE BofA US High Yield Index Option-Adjusted Spread
**ETF Data** - AMEX/NASDAQ:
- iShares 1-3 Year Treasury Bond ETF (SHY)
- iShares 20+ Year Treasury Bond ETF (TLT)
- iShares iBoxx $ Investment Grade Corporate Bond ETF (LQD)
- iShares iBoxx $ High Yield Corporate Bond ETF (HYG)
**Volatility** - CBOE:
- VIX Index (Volatility Index)
**Update Frequency**: Daily (FRED data typically 1-2 day lag)
---
### 💡 **Best Practices**
1. **Timeframe**: Use on **Daily charts** for optimal signal quality
2. **Confirmation**: Combine with SPY price action, volume, and momentum indicators
3. **Risk Management**: Signals are early warnings - adjust positions gradually
4. **Mode Switching**: Toggle between modes weekly to understand both spread dynamics and flow patterns
5. **Historical Context**: Review past inversion periods (2000, 2007, 2019) for signal validation
---
### 📖 **Interpretation Guide**
#### **Recession Probability Matrix**
| 10Y-2Y Spread | Credit Spread | VIX | Risk Level |
|---------------|---------------|-----|------------|
| < -20bp | Widening | > 25 | 🔴 Very High |
| -20bp to 0 | Widening | > 18 | 🟠 High |
| 0-20bp | Stable | 15-18 | 🟡 Moderate |
| > 20bp | Tightening | < 15 | 🟢 Low |
#### **Lead Times (Historical Average)**
- Yield curve inversion → Recession: **12-18 months**
- Credit spread surge → Equity peak: **3-6 months**
- Safe-haven flows → Volatility spike: **1-4 weeks**
---
### 🎓 **Educational Notes**
**Why Monitor Treasury Spreads?**
- Long-term rates reflect growth expectations
- Short-term rates reflect Fed policy
- Inversion = Market expects Fed to cut rates (recession ahead)
**Why Track Credit Spreads?**
- Measures corporate borrowing stress
- Leading indicator of credit cycle turns
- High correlation with equity risk premiums
**Why Bond ETF Flows Matter?**
- Real-time capital allocation signals
- Faster than spread movements
- Shows risk sentiment shifts
---
### ⚙️ **Technical Specifications**
- **Version**: PineScript v5
- **Type**: Indicator (Non-overlay)
- **Calculation**: Daily timeframe only
- **Lookback Period**: 10 bars (customizable for ETF mode)
---
### 🚨 **Risk Disclaimer**
**IMPORTANT NOTICES:**
1. **Historical Performance**: Past yield curve inversions don't guarantee future recession timing
2. **False Signals**: Brief inversions (<30 days) may not indicate recession
3. **Data Lag**: FRED economic data has 1-2 business day delay
4. **Complementary Tool**: Use alongside fundamental and technical analysis
5. **Not Financial Advice**: For educational and research purposes only
**This indicator does not:**
- Provide specific buy/sell signals
- Guarantee trading profits
- Replace professional financial advice
- Account for individual risk tolerance
---
### 📞 **Support & Updates**
- **Questions**: Contact via TradingView private message
- **Bug Reports**: Describe issue with screenshot and chart settings
- **Feature Requests**: Suggestions welcome for future versions
---
### 📋 **Version History**
**v1.0** (December 2025)
- Initial release
- Dual-mode display (Spreads + Bond ETFs)
- Real-time debug table
- Yield curve inversion alert
- VIX filter integration
---
### 📄 **License**
**Protected Script** - Source code is not publicly available. Authorized users only.
---
**DISCLAIMER**: This indicator is provided "as-is" for educational purposes. Trading and investing involve substantial risk of loss. Always conduct your own research and consult with a licensed financial advisor before making investment decisions.
---
**© 2025 | SPY Downside Risk Indicator | All Rights Reserved**
ZynIQ VWAP Master v2 - (Lite Pack)Overview
ZynIQ VWAP Master v2 (Lite) provides a clean, structured view of volume-weighted price action using configurable VWAP bands and session-aware logic. It is designed to help traders identify value zones, mean-reversion conditions and directional bias around the VWAP.
Key Features
• Main VWAP with optional upper and lower bands
• Configurable multipliers for custom deviation levels
• Session-aware VWAP anchoring (daily or continuous, depending on settings)
• Lightweight visual style suitable for intraday and swing charts
• Optional HUD panel for quick context
• Highlights value areas and stretched conditions relative to VWAP
Use Cases
• Identifying when price returns to or deviates from value
• Tracking mean-reversion setups
• Assessing directional bias relative to VWAP
• Combining VWAP context with breakout or momentum analysis
Notes
This tool provides VWAP-based structure and value context. It is not a standalone trading system. Use it with your own confirmation and risk management.
ZynIQ Volume Surge Master v2 - (Lite Pack)Overview
ZynIQ Volume Surge Master v2 (Lite) highlights abnormal increases in trading volume and identifies moments when market participation expands significantly. It provides clean, visual alerts that help traders spot shifts in activity that often precede directional moves.
Key Features
• Surge detection based on volatility-adjusted volume thresholds
• Configurable sensitivity for different markets or timeframes
• Clear labels showing surge conditions
• Optional HUD panel with surge status
• Lightweight visuals designed for intraday charting
• Works alongside trend, breakout or momentum tools for confirmation
Use Cases
• Spotting volume expansion during breakouts
• Identifying exhaustion vs. continuation conditions
• Filtering entries based on participation strength
• Assessing when a move has real momentum behind it
Notes
This tool highlights volume surges for context and confirmation. It is not a standalone trading system. Use it together with your preferred market structure tools and risk management.
ZynIQ Session Master v2 - (Lite Pack)Overview
ZynIQ Session Master v2 (Lite) highlights key market sessions and their associated ranges, helping traders understand when volatility tends to shift between Asian, London and New York sessions. It provides clean visual context for intraday trading without overwhelming the chart.
Key Features
• Automatic detection and shading of major trading sessions
• Configurable session highlighting
• Optional range markers for Asia, London and New York
• Lightweight visuals suitable for fast intraday charting
• Simple session-based structure for context around volatility shifts
• Optional labels marking session transitions
Use Cases
• Seeing where session volatility typically increases
• Identifying when price is leaving a session range
• Timing trades around session opens
• Combining session structure with breakout, trend or momentum tools
Notes
This script provides session structure and volatility context. It is not a standalone trading system. Use alongside your preferred confirmation and risk management.
ZynIQ Premium/Discount Master v2 - (Lite Pack)Overview
ZynIQ Premium-Discount Master v2 (Lite) is a simplified tool designed to highlight premium/discount zones relative to short-term market structure. It helps traders see when price is stretched above or below fair value, using volatility-adjusted logic suitable for intraday and swing trading.
Key Features
• Automated premium/discount classification
• Volatility-aware thresholds for mild and strong stretch conditions
• Clear visual cues for overbought/oversold environments
• Direction-aware structure to complement trend and momentum tools
• Clean labels marking stretch transitions
• Lightweight visuals suitable for fast charting workflows
Use Cases
• Identifying premium and discount zones for entries or exits
• Assessing when price has deviated significantly from equilibrium
• Combining with breakout or VWAP tools for structured confluence
• Improving trade timing with stretch-based context
Notes
This tool provides premium/discount structure and stretch context. It is not a standalone trading system. Use it along with your own confirmation and risk management rules.
ZynIQ Momentum Master v2 - (Lite Pack)Overview
ZynIQ Momentum Master v2 (Lite) is a streamlined momentum tool built to highlight shifts in directional strength using volatility-adjusted inputs. It offers clean signal structure for intraday and swing traders without overwhelming visual noise.
Key Features
• Multi-profile modes (Scalping / Intraday / Swing) with tailored settings
• Momentum state detection using volatility-aware logic
• Directional bias highlighting to complement trend analysis
• Lightweight visuals for fast chart interpretation
• Optional ZynIQ HUD panel for quick momentum overview
• Clean, non-intrusive labels marking momentum transitions
Use Cases
• Identifying strengthening or weakening market momentum
• Aligning entries with directional bias
• Filtering breakout or mean-reversion signals
• Enhancing multi-indicator frameworks with momentum confirmation
Notes
Momentum Master v2 (Lite) provides structural assistance for reading momentum shifts. It is not a standalone trading system. Combine it with your own analysis and risk management.
ZynIQ Breakout Lite v1.2 - (Lite Pack)Overview
ZynIQ Breakout Lite v1.2 provides a streamlined breakout framework designed to highlight expansion moves from short-term consolidation. It focuses on clarity and simplicity, making it suitable for intraday and swing trading.
Key Features
• Breakout range detection based on a configurable lookback period
• Optional minimum candle-range filter
• Simple signal spacing to reduce clustered signals
• Direction-aware breakout triggers (non-repainting)
• Optional ZynIQ Risk Helper for structured SL/TP planning
• Optional HUD panel showing current settings and breakout context
Use Cases
• Identifying range breakouts
• Highlighting directional shifts
• Quickly assessing breakout structure with lightweight visuals
Notes
This tool assists with breakout structure and risk planning. It is not a trading system by itself. Use with your preferred confirmation tools and risk management.
ZynIQ Breakout Essentials + Risk v1Overview
ZynIQ Breakout Essentials + Risk v1 is a breakout-based tool designed for traders who want a clean, rules-driven framework for identifying consolidation zones, breakout levels, and structured stop/target planning. It highlights key areas where price may transition from compression into momentum.
Key Components
• Breakout Range Detection – Identifies consolidation zones using a configurable lookback window and optional candle-range filters.
• Breakout Levels – Plots upper/lower boundaries that define potential breakout points.
• Signal Spacing Filters – Helps reduce noisy or clustered breakout triggers.
• Risk Helper – Provides both %-based and ATR-based structure for stop loss and take profit planning.
Use Cases
• Spotting breakouts from tight ranges.
• Structuring consistent entries for intraday or swing setups.
• Planning stops and targets with volatility-adjusted levels.
Notes
This tool provides structure for assessing breakout conditions and planning trade levels. It is not a standalone trading system. Use alongside your own confirmation and risk management.
VWAP and EMA Crossover VWAP & EMA-21 Crossover Indicator
The VWAP & EMA-21 Crossover Indicator is a momentum-based trend tool that combines the institutional strength of VWAP with the responsiveness of the 21-period Exponential Moving Average. It is designed for intraday traders who rely on clean and high-probability trend confirmation.
Key Features
Plots real-time VWAP as the institutional fair-value benchmark
Plots EMA-21 for fast trend detection
Generates Buy & Sell signals based on VWAP and EMA-21 alignment
Alerts for bullish and bearish crossovers
Suitable for stocks, indices, crypto, forex, and futures
How Signals Work
Buy Signal: Triggered when price moves above VWAP and crosses above EMA-21, indicating bullish momentum.
Sell Signal: Triggered when price moves below VWAP and crosses below EMA-21, confirming bearish momentum.
Best Use-Cases
Scalping and intraday trading (1m–30m charts)
Trend continuation and breakout confirmation
Filtering trades using VWAP’s institutional bias
Spotting early momentum shifts with EMA-21
Why this Indicator Works
VWAP identifies where institutional traders see fair value, while EMA-21 captures short-term trend direction. When both align, the indicator highlights clean, high-probability trading opportunities and filters out low-quality setups.
Conclusion
The VWAP & EMA-21 Crossover Indicator is ideal for traders seeking a simple yet powerful signal system that blends institutional volume logic with fast trend confirmation. Perfect for day traders, scalpers, and momentum-based strategies.
Weighted KDE Mode🙏🏻 The ‘ultimate’ typical value estimator, for the highest computational cost @ time complexity O(n^2). I am not afraid to say: this is the last resort BFG9000 you can ‘ever’ get to make dem market demons kneel before y’all
Quickguide
pls read it, you won’t find it anywhere else in open access
When to use:
If current market activity is so crazy || things on your charts are really so bad (contaminated data && (data has very heavy tails || very pronounced peak)), the only option left is to use the peak (mode) of Kernel Density Estimate , instead of median not even mentioning mean. So when WMA won’t help, when WPNR won’t help, you need this thing.
Setting it up:
Interval: choose what u need, you can use usual moving windows, but I also added yearly and session anchors alike in old VWAP (always prefer 24h instead of Session if your plan allows). Other options like cumulative window are also there.
Parameters: this script ain't no joke, it needs time to make calculations, so I added a setting to calculate only for the last N bars (when “starting at bar N” is put on 0). If it’s not zero it acts as a starting point after which the calculations happen (useful for backtesting). Other parameters keep em as they are, keep student5 kernel , turn off appropriate weights if u apply it to other than chart data, on other studies etc.
But instead of listening to me just experiment with parameters and see what they change, would take 5 mins max
Been always saying that VWAP is ish, not time-aware etc, volume info is incorporated in a lil bit wrong way… So I decided not just to fix VWAP (you can do it yourself in 5 mins), but instead to drop there the Ultimate xD typical value estimator that is ever possible to do. Time aware, volume / inferred volume aware, resistant to all kinds of BS. This is your shieldwall.
How it works:
You can easily do a weighted kernel density estimation, in our case including temporal and intensity information while accumulating densities. Here are some details worth mentioning about the thing:
Kernels are raw (not unit variance), that’s easier to work with later.
h_constants for each kernel were calculated ^^ given that ^^ with python mpmath module with high decimal precision.
In bandwidth calculation instead of using empirical standard deviation as a scaler, I use... ta.range(src, len) / math.sqrt(12)
...that takes data range and converts it to standard deviation, assuming data is uniformly distributed. That’s exactly what we need: a scaler that is coherent with the KDE, that has nothing to do with stdevs, as the kernels except for gaussian ones (that we don’t even need to use). More importantly, if u take multiple windows and see over time which distro they approach on the long term, that would be the uniform one (not the normal one as many think). Sometimes windows are multimodal, sometimes Laplace like etc, so in general all together they are uniform ish.
The one and only kernel you really need is Student t with v = 5 , for the use case I highlighted in the first part of the post for TV users. It’s as far as u can get until ish becomes crazy like undefined variance etc. It has the highest kurtosis = 9 of all distros, perfect for the real use case I mentioned. Otherwise, you don’t even need KDE 4 real, but still I included other senseful kernels for comparison or in case I am trippin there.
Btw, don’t believe in all that hype about Epanechnikov kernel which in essence is made from beta distribution with alpha = beta = 2, idk why folk call it with that weird name, it’s beta2 kernel. Yes on papers it really minimises AMISE (that’s how I calculated h constants for all dem kernels in the script), but for really crazy data (proper use case for us), it ain't provides even ‘closely’ compared with student5 kernel. Not much else to add.
Shout out to @RicardoSantos for inspiration, I saw your KDE script a long time ago brotha, finna got my hands on it.
∞
Diff Price (Future - Spot)Diff Line (Future – Spot) plots a grid of spot-price levels derived from the current futures price.
It rounds the current futures price up to the nearest price block (e.g. every 25 points), then subtracts a user‑defined Diff (Future – Spot) to find the main spot level and draws that as the central line. Additional lines are plotted above and below at equal block distances, with labels showing both Future and Spot values (e.g. 4250 (4215)), plus a compact diff info box for quick reference.
Regime Filter [BigBeluga]🔵 OVERVIEW
Regime Filter is a dual-factor trend condition tool combining price trend momentum and volume expansion into a single, easy-to-read visual framework. It quantifies recent trend direction and volume shifts, then shows them as:
Two oscillator plots for Trend and Volume regimes
Dynamic candle coloring for trend clarity
A quadrant scatter map in your chart corner for immediate regime recognition.
This filter helps traders quickly detect when a trend is healthy & confirmed by strong volume, or weakening & vulnerable due to low volume.
🔵 CONCEPTS
Trend Oscillator: A loop-based trend value calculated by comparing the current smoothed price (HMA of HLC3) against its own trailing history. Positive values indicate trend-up regimes, negative values signal trend-down phases.
Volume Oscillator: Similar loop logic but on smoothed volume (HMA of Volume) — highlighting whether trading activity is expanding or contracting relative to past bars.
hma = ta.hma(hlc3, 15)
vol = ta.hma(volume, 15)
for i = 0 to len
if hma > hma
trend += 1
else
trend -= 1
for i = 0 to len
if vol > vol
voltrend += 1
else
voltrend -= 1
Regime Map Scatter Plot: A unique 2D quadrant displayed in the bottom-right corner. This shows where the market is sitting:
> Top Right (green): Trend ↑ and Volume ↑ → strong confirmed up trend.
> Top Left (red): Trend ↓ but Volume ↑ → strong sell momentum.
> Bottom Right (blue): Trend ↑ but Volume ↓ → uptrend losing steam.
> Bottom Left (yellow): Trend ↓ and Volume ↓ → weak bearish drift.
Dynamic Candle Coloring: Candles are colored by trend only: green for uptrends, red for downtrends, and orange near reversals.
Threshold Fills: The oscillator region is shaded green above +10 (healthy uptrend) and red below -10 (strong downtrend) for instant confidence.
🔵 FEATURES
Normalized trend and volume values adapt automatically to your lookback length.
Candlestick color overrides highlight current trend state in real-time.
Clear zero-line and fill bands help you gauge strength vs. noise.
Scatter regime dashboard updates live to track when trend and volume align or decouple.
Color gradients show intensification or cooling in both oscillators and the regime map.
🔵 HOW TO USE
Look for sustained positive trend and volume values to confirm strong directional moves.
Watch for the scatter dot in the green square (top right) for high-confidence breakouts.
If the dot drops to bottom right, uptrend may be tiring — possible exit zone.
If the dot jumps top left, bearish drive is reinforced by heavy volume — caution on longs.
Use the orange trend coloring as an early warning that trend pressure may be shifting.
Combine with breakout levels or moving averages for a robust regime filter system.
🔵 CONCLUSION
The Regime Filter distills price trend and volume dynamics into an actionable multi-mode display: oscillators, color-coded candles, and an intuitive scatter map. This all-in-one layout helps traders visually read market regime strength and spot fading trends before they turn — perfect for swing traders, intraday scalpers, and macro trend followers alike.






















