Clean Support & Resistance ZonesThis indicator automatically maps out key Support and Resistance zones on any chart and displays them as clean, easy-to-read filled boxes.
Instead of flooding the chart with dozens of levels, it ranks zones by strength (how often price has pivoted from that area), then shows only the most relevant zones near current price. It also includes a no-overlap filter, so zones don’t stack on top of each other — making it much easier to see exactly where you might want to buy from support or sell from resistance.
Key Features
Automatic Support & Resistance zones using pivot structure
Strength-based filtering (keeps the most respected zones)
Distance filter (only shows zones within a user-defined ATR range of price)
No overlapping zones + optional minimum spacing for clarity
Custom colours for support/resistance fill and borders
Works on all markets and all timeframes
Boxes can optionally extend to the right for forward planning
Inputs You Can Adjust
Pivot sensitivity (Pivot Left/Right)
Zone thickness (ATR multiplier or fixed tolerance)
How many zones to display per side
How close zones must be to current price (ATR distance)
Minimum separation between zones (ATR spacing)
Full colour controls for fills + borders
指标和策略
DkS Market Structure Breakout Strategy Crypto & ForexDkS Market Structure Breakout Strategy Crypto & Forex
🔍 Overview
DkSPro – Universal Market Analysis is a structure-based trading strategy designed for Crypto and Forex markets, focused on trend alignment, breakout confirmation, and volume validation.
This strategy is built to filter low-quality trades, avoid ranging conditions, and reduce false breakouts by requiring multiple layers of confirmation before any trade is executed.
It is intended for scalping and intraday trading, prioritizing consistency and risk control over trade frequency.
🧠 Strategy Logic (How It Works)
DkSPro follows a sequential decision process, not a single-indicator signal:
Trend Bias (EMA Structure)
A fast and slow EMA define the directional bias.
Long trades are only allowed during bullish EMA alignment.
Short trades are only allowed during bearish EMA alignment.
This prevents counter-trend and ranging-market entries.
Market Structure & Breakout Validation
The strategy identifies recent swing highs and lows.
Trades are triggered only after a confirmed breakout of structure, not during consolidation.
This avoids early entries and false momentum moves.
Volume Confirmation
Volume must exceed its moving average by a defined multiplier.
This ensures participation and filters out low-liquidity breakouts.
Volume thresholds adapt depending on the selected trading mode.
Momentum Confirmation (RSI)
RSI is used strictly as a momentum filter, not as a standalone signal.
It confirms that price movement aligns with the breakout direction.
Risk Management (Mandatory)
Every position includes a predefined Stop Loss and Take Profit.
Position sizing is based on a fixed percentage of equity, keeping risk per trade within sustainable limits.
All conditions must align simultaneously; otherwise, no trade is executed.
⚙️ Trading Modes
SAFE Mode
Stronger volume and RSI thresholds
Fewer trades, higher selectivity
Designed for risk control and consistency
AGGRESSIVE Mode
Slightly relaxed filters
Higher trade frequency during strong momentum
Intended for experienced users only
📊 Markets & Assets
This strategy has been actively used and tested on:
🟢 Crypto (Binance / Binance.US)
SOL-USDT
XRP-USDT
Other high-liquidity pairs (BTC, ETH)
Crypto mode benefits from stronger volume confirmation to adapt to higher volatility.
🔵 Forex
Major pairs such as EURUSD, GBPUSD, USDJPY
Optimized for liquid markets with lower relative volume
The same structural logic applies to both markets, with volume behavior naturally adapting to each asset class.
⏱ Recommended Timeframes
Crypto: 5m – 15m
Forex: 15m – 1H
Lower timeframes (1m) are not recommended due to noise and unreliable volume behavior.
🧪 Backtesting & Settings Transparency
Default strategy properties are intentionally conservative to reflect realistic conditions:
Initial capital: $20,000
Position size: 2% of equity
Commission: 0.08%
Slippage: 1 tick
Fixed Stop Loss and Take Profit on every trade
Backtests should be performed on sufficient historical data (ideally 6–12 months) to ensure a statistically meaningful sample size (100+ trades).
📈 Originality & Usefulness
DkSPro is not a simple indicator mashup.
Each component serves a specific role in a layered confirmation system:
EMAs define direction
Structure defines timing
Volume validates participation
RSI confirms momentum
Risk management controls exposure
Removing any layer significantly reduces signal quality. The strategy is designed as a complete decision framework, not a signal generator.
⚠️ Important Notes
This script is an analysis and execution tool, not financial advice.
Market conditions change, and no strategy performs well in all environments.
Users are encouraged to backtest, forward test, and adjust position sizing according to their own risk tolerance.
🧩 Version Notice
This publication represents a consolidated and refined version of an internal experimental script.
No parallel or duplicate versions are intended.
All future improvements will be released exclusively using TradingView’s Update feature.
🇪🇸 Descripción en Español (Resumen)
DkSPro es una estrategia basada en estructura de mercado, diseñada para Crypto y Forex, que combina tendencia, ruptura de estructura, volumen y control de riesgo.
Solo opera cuando todas las condiciones se alinean, evitando rangos, falsas rupturas y sobreoperar.
Ha sido utilizada en Binance con pares como SOL-USDT y XRP-USDT, así como en Forex, siempre con gestión de riesgo fija y condiciones realistas.
StO Price Action - Luminous Daily RoadmapShort Summary
- Luminous Daily Roadmap (LDR) are special trading days
- Marks entire trading days using background coloring
- Creates a clear daily roadmap directly on the chart
- Designed to stay minimal and non-intrusive
Full Description
Overview
- LDR is a proprietary forex trading schedule
- Dates of major trend reversals or significant market continuations
- Highlights full trading days using background colors
- Improves visual structure and day-to-day orientation
- Focuses purely on time segmentation, not price signals
- Suitable for all markets and timeframes
Daily Marking Logic
- Each trading day is visually marked across all its bars
- Background coloring spans the full session of the day
- Works consistently across intraday and higher timeframes
Year Look Back (YLB)
- YLB defines the starting year for day marking
- Markings are only applied from the selected year onward
- Allows focused analysis on recent or specific years
Visualization
- Background color is fully customizable
- Uses high transparency to avoid hiding price action
Usage
- Useful for session-based and daily analysis
- Supports routine-based trading and journaling
- Enhances visual rhythm of the chart
Notes
- This indicator is purely visual and non-predictive
- No alerts or signals are generated
- Best used as a structural overlay for orientation
- Can be combined with any price action or indicator-based workflow
StO Price Action - Daily Outside BarShort Summary
- Outside Bar indicator with multiple range calculation algorithms
- Highlights where the current range fully engulfs the previous
- Works with Daily candles in Daily, H4, and H1 timeframes only
- Highlights the current bar when it engulfs the previous bar according to the selected method
Full Description
Overview
- Identifies bars where the current period's range fully engulfs the prior period's range
- Offers three algorithms for defining the engulfing range:
- High/Low: uses absolute high and low values
- Open/Close: considers candle direction (bull/bear) and compares opens and closes
- Open/Close II: stricter version with exclusive inequalities for engulfing
- Engulfing behavior is detected automatically and highlighted for easy recognition
- Works on multiple markets but restricted to D, H4, and H1 charts for accuracy
Controls
- Year lookback (YLB) configurable to filter older bars
- Custom background color for highlighting Outside Bars
- Simple toggle interface with minimal chart clutter
Visual Representation
- Highlights engulfing bars with configurable background color
- Color transparency adjustable for clarity
Usage
- Use to identify strong market momentum or potential reversals
- Helps spot high-probability setups based on engulfing price action
Notes
- Only compatible with Daily, H4, and H1 timeframes
- Non-repainting: once an Outside Bar is drawn, it will not adjust retroactively
- Best used as a market structure reference not a direct trade signal
HazMeed Session Highs/Lows)Marks out Asia Session Highs and Lows
Marks out London Session Highs and Lows
Marks out NYAM Session Highs and Lows
Needle Below 20, Sub-chart## 指标名称
**单针下20副图(Needle Below 20, Sub-chart)**
## 一句话概述
在**中周期保持强势**的背景下,用短周期的“快速降温”来定位**强势回撤/错杀**,并额外标记**极端超卖(双线归零)**的情绪极值窗口。
---
## 指标逻辑与构成
本指标包含两条强弱线(随机指标风格的区间归一化):
* **短期线(默认 3)**
反映近短周期内价格在区间的位置,敏感度高,用于捕捉短线回撤与情绪快速降温。
* **长期线(默认 21)**
反映中周期强弱分布,用作“趋势/强势背景”的过滤。
并提供两类柱状提示(STICK):
1. **双线归零(默认:短期≤6 且 长期≤6)**
代表“情绪极端恐慌/极端超卖”的窗口,更多用于观察**反弹可能性**与“风险释放阶段”。
2. **单针下20(默认:短期≤20 且 长期≥80)**
代表“中周期强势未破 + 短线急跌/下探”的典型回撤信号,用于寻找趋势交易中的**回撤介入候选**。
图中绘制 **80/20** 参考线,帮助快速判断分位区域。
---
## 使用方法(推荐工作流)
### 1)先定“背景”:只在你认可的趋势环境使用
本指标本质是“**强势回撤定位器**”,并不负责替你判断大盘/板块/个股是否处于可交易趋势。建议搭配以下任一类过滤器:
* **趋势过滤(强烈推荐)**
* 价格位于中长期均线之上(例:MA50/MA200 上方)
* 或者你自己的趋势线/多空线系统显示多头趋势(如:快线>慢线、结构未破)
* **结构过滤(强烈推荐)**
* 回撤仍然在关键支撑之上(前高、趋势线、箱体上沿回踩等)
* 避免在明显“破位下跌”的结构中把信号当作抄底依据
### 2)信号触发后的处理:不要“看到就买”,而是“进入观察与触发”
* **单针下20(黄柱)**:
作为“候选提示”,下一步关注是否出现:
* 回踩关键位后的止跌K线(锤子线/吞没/放量止跌等)
* 次日/后续重新站回关键位或出现趋势延续确认
* 量价关系转好(缩量回撤、放量反转等)
* **双线归零(红柱)**:
更偏“情绪极值”提示,常见用途是:
* 提醒你风险已经释放到极端区域,观察是否出现反弹结构
* 不建议无过滤硬抄底;更适合与“结构止跌/大盘企稳”一起使用
---
## 风险控制与止损思路(示例,不构成建议)
以下仅提供“如何把信号落到可执行”的框架示例:
* **入场触发(示例)**
* 黄柱出现后:等待价格在关键位止跌,或出现确认K线再介入
* 分批:先小仓试错,确认后再加
* **止损锚点(示例)**
* 关键支撑位下破(趋势线/前低/箱体下沿)
* 或“信号触发后的反弹失败又破前低”
* **仓位建议(原则)**
* 把仓位大小与止损距离联动:止损距离越大,仓位越小
* 避免单次信号重仓;这类信号更适合“低风险试错 + 确认加仓”的趋势回撤逻辑
---
## 参数说明与调参建议
### 1)为什么是 3 / 21?
* **3**:强调“短期情绪/回撤”的敏感度,适合捕捉快速下探
* **21**:近似一个月交易日,刻画中周期强弱背景,适合作为“强势过滤”
如果你交易周期更短(更偏日内/隔日):
* 可考虑 **短期 2–5**、长期 **13–34** 区间做测试。
如果你交易周期更长(偏波段/中线):
* 可考虑 **短期 5–8**、长期 **34–55**。
### 2)为什么阈值是 6 / 20 / 80?
* **6**:更接近“极端”区域,用于标记情绪极值(双线归零)
* **20/80**:经典分位阈值,表示低位/高位区域,用于区分“短弱/长强”的错位状态
### 3)如何调参更贴合你的市场与标的?
建议按“信号密度—胜率—回撤”三者权衡:
* 信号太多:
* 降低“长期≥”阈值的触发频率(如 80→85)
* 或提高“短期≤”门槛的严苛度(20→15)
* 或把长期周期加长(21→34)
* 信号太少:
* 放宽阈值(长期 80→75、短期 20→25)
* 或缩短长期周期(21→13)
调参务必结合你常交易的品种波动特征,建议在同一市场同一类标的上做一致性回测/复盘。
---
## 免责声明
本脚本仅用于教育与研究目的,展示一种技术分析可视化方法,不构成任何形式的投资建议、交易建议或收益承诺。市场有风险,交易需谨慎。使用者应基于自身风险承受能力独立决策,并对交易结果自行负责。作者不对任何因使用本脚本导致的直接或间接损失承担责任。
---
## 致谢与来源
* **策略/思路来源**:B站 UP 主 **z哥** 的相关分享与讲解。
* **实现说明**:本脚本为 TradingView(Pine Script)版本的复现与可视化实现,便于在 TradingView 环境中使用与研究。
* 如原作者对公开引用有额外要求,请以原作者说明为准;若有侵权或需要修改归因方式,请联系我调整/下架相关描述。
下面给你补齐一份**英文版(可直接用于 TradingView 发布页)**,并与中文版结构对齐,符合社区常见写法(Overview / How it works / How to use / Inputs / Risk / Credits)。
---
## Title
**Needle Below 20 (Sub-chart) — TDX Style Recreation**
## Overview
This indicator is an auxiliary tool designed to spot **sharp short-term pullbacks (shakeouts) within a strong mid-term regime**, and to highlight **extreme oversold “panic” zones**. It is best used as a **candidate filter and timing aid** inside a broader trend-following framework, rather than as a standalone buy/sell signal.
## How it works
The script plots two normalized strength lines (stochastic-style normalization over a lookback window):
* **Short-term line (default: 3 bars)**
Captures fast sentiment cooling and short-term compression (high sensitivity).
* **Long-term line (default: 21 bars)**
Represents the mid-cycle regime strength, used as a context filter.
It also provides two stick/column signals:
1. **Double-Line Near-Zero (Red stick)**
Triggered when **Short-term ≤ 6 AND Long-term ≤ 6** (defaults).
This typically represents an **extreme oversold / capitulation-like** window, often used to monitor potential technical rebounds (confirmation recommended).
2. **Needle Below 20 (Yellow stick)**
Triggered when **Short-term ≤ 20 AND Long-term ≥ 80** (defaults).
This is commonly interpreted as a **strong regime intact + sudden short-term dump/pullback**, useful for spotting potential **trend pullback re-entry candidates**.
Reference levels **80/20** are drawn for quick zone reading.
### How to use (recommended workflow)
1. **Define the regime first (strongly recommended)**
This indicator does not decide whether a market is tradable. Use a trend/structure filter, for example:
* Price above a medium/long MA (e.g., MA50/MA200), or your own trend model
* Structure not broken (support holds, pullback into a valid support zone)
2. **Treat signals as “watchlist triggers,” not instant entries**
* **Yellow stick (Needle Below 20):**
After it prints, look for confirmation such as:
* A hold/reclaim of a key level (prior high, trendline, range top retest, etc.)
* A reversal candle or continuation confirmation
* Constructive volume/price behavior (e.g., pullback on lighter volume, rebound with demand)
* **Red stick (Double-Line Near-Zero):**
Best viewed as an **extreme sentiment/oversold marker**. Avoid blind bottom-fishing; combine with structure stabilization and broader market context.
## Risk management (examples, not financial advice)
* **Entry trigger (example):** scale in after confirmation rather than buying the first signal
* **Stop reference (example):** below the key support / prior swing low / structural invalidation level
* **Position sizing principle:** size positions based on stop distance; larger stop = smaller size
## Inputs / Parameters
* **Lookbacks (3 / 21):**
* 3 bars: short-term sensitivity for fast pullback detection
* 21 bars: mid-cycle regime context (roughly one trading month)
Suggested adjustments:
* Shorter-term trading: try **2–5** (short) and **13–34** (long)
* Longer swing trading: try **5–8** (short) and **34–55** (long)
* **Thresholds (6 / 20 / 80):**
* 6: “extreme” zone for near-zero panic marker
* 20/80: classic zone thresholds for low/high regime separation
If signals are too frequent:
* tighten thresholds (e.g., long ≥ 80 → 85, short ≤ 20 → 15), or lengthen long lookback (21 → 34)
If signals are too rare:
* loosen thresholds (e.g., long ≥ 80 → 75, short ≤ 20 → 25), or shorten long lookback (21 → 13)
## Disclaimer
This script is provided for **educational and research purposes only**. It does **not** constitute financial advice, investment recommendations, or any guarantee of performance. Trading involves risk. You are solely responsible for your decisions and outcomes.
## Credits / Attribution
* **Concept origin:** Inspired by the Bilibili creator **“z哥”**.
* **Implementation:** This is a TradingView (Pine Script) recreation for visualization and study.
If the original creator has specific attribution requirements, please follow the creator’s instructions. If any changes are needed, attribution text can be updated accordingly.
## Citation snippet
> Concept inspired by Bilibili creator “z哥”. Pine Script recreation for educational/research use.
Value Area PRO (TPO/Volume Session VAH/VAL/POC) 📌 AP Capital Value Area PRO (TPO / Volume)
AP Capital Value Area PRO is a session-based value area indicator designed for Gold (XAUUSD), NASDAQ (NAS100), and other CFD instruments.
It focuses on where the market has accepted price during the current session and highlights high-probability interaction zones used by professional traders.
Unlike rolling lookback volume profiles, this indicator builds a true session value area and provides actionable signals around VAH, VAL, and POC.
🔹 Core Features
Session-Anchored Value Area
Value Area is built only during the selected session
Resets cleanly at session start
Levels develop during the session and can be extended forward
No repainting or shifting due to lookback changes
TPO or Volume Mode
TPO (Time-at-Price) mode – ideal for CFDs and tick-volume data
Volume mode – uses broker volume if preferred
Same logic, different weighting method
Fixed Price Bin Size
Uses a fixed bin size (e.g. 0.10 for Gold, 0.25–0.50 for NAS100)
Produces cleaner, more realistic VAH/VAL levels
Avoids distorted profiles caused by dynamic bin scaling
VAH / VAL / POC Levels
VAH (Value Area High)
VAL (Value Area Low)
POC (Point of Control) (optional)
Lines can be extended to act as forward reference levels
🔹 Trading Signals & Alerts
Value Re-Entry
Identifies false breakouts where price:
Trades outside value
Then closes back inside
Often seen before strong mean-reversion or continuation moves.
Acceptance
Detects initiative activity using:
Multiple consecutive closes outside value
Filters out weak single-candle breaks
Rejection
Flags strong rejection candles:
Large candle body
Wick outside value
Close back inside the value area
These conditions are especially effective on Gold intraday.
🔹 Optional Profile Histogram
Right-side volume/TPO histogram
Buy/sell imbalance visualization
Fully optional to reduce chart clutter and improve performance
🔹 Best Use Cases
Recommended markets
XAUUSD (Gold)
NAS100 / US100
Other index or metal CFDs
Recommended timeframes
5m, 15m, 30m
Suggested settings
Mode: TPO
Value Area: 70%
Bin size:
Gold: 0.10
NAS100: 0.25 or 0.50
🔹 How Traders Use It
Trade rejections at VAH / VAL
Look for acceptance to confirm trend days
Use re-entries to fade failed breakouts
Combine with trend filters, EMA structure, or session context
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only and does not constitute financial advice. Always manage risk appropriately.
Performance Table: Standard DCA | Last 6-12-24-48MThis indicator visualizes Standard Dollar-Cost Averaging (DCA) performance across multiple time horizons (6M, 12M, 24M, 48M).
It summarizes invested capital, current portfolio value, net profit, and return percentage in a compact table, allowing quick comparison of short- and long-term DCA outcomes.
Designed for long-term investors, it helps evaluate how consistent periodic investments perform over time without relying on market timing.
The indicator is asset-agnostic and works on any symbol supported by TradingView.
Key use cases:
Long-term portfolio tracking
DCA strategy validation
Performance comparison across periods
Educational and analytical purposes
This tool focuses on clarity and realism, avoiding over-optimization and short-term noise.
--
I hope this table helps investors better understand long-term DCA performance.
Feedback and suggestions for improvement are always welcome.
CVD-MACD### CVD-MACD (Research)
The CVD-MACD is a research-oriented indicator that combines Cumulative Volume Delta (CVD) with the classic MACD framework to provide insights into market momentum and potential reversals. Unlike a standard MACD based on price, this version uses CVD (the running total of buy vs. sell volume delta) as its input source, offering a volume-driven perspective on trend strength and divergences.
Key Features:
- **CVD-Based MACD Calculation**: Computes MACD using CVD instead of price, highlighting volume imbalances that may precede price moves.
- **Dual Divergence Detection**: Identifies bullish/bearish divergences on both the MACD line and histogram, with configurable pivot lookbacks and filters (e.g., momentum decay and zero-side consistency).
- **Visual Flexibility**: Toggle divergences in the indicator pane or overlaid on the main chart, with optional raw CVD line for reference.
- **Alerts**: Built-in conditions for bullish and bearish divergences to notify users of potential setups.
###This indicator is designed for research and experimentation—it's not financial advice. It performs best on liquid assets with reliable volume data (e.g., stocks, futures). I've shared this to gather community feedback: please test it thoroughly and point out any bugs, inefficiencies, or improvements! For example, if you spot issues with divergence detection on certain timeframes or symbols, let me know in the comments. Your input will help refine it.
Inspired by volume analysis techniques; open to collaborations or forks.
## User Manual for CVD-MACD (Research)
### Overview
The CVD-MACD indicator transforms traditional MACD by using Cumulative Volume Delta (CVD) as the base input. CVD accumulates the net delta between estimated buy and sell volume per bar, providing a volume-centric view of momentum. The indicator plots a MACD line, signal line, and histogram, while also detecting divergences on both the MACD line and histogram for potential reversal signals.
This manual covers setup, interpretation, and troubleshooting.
Note: This is a research tool—backtest and validate on your own data before using in live trading.
### Installation and Setup
1. **Add to Chart**: Search for "CVD-MACD (Research)" in TradingView's indicator library or paste the script into the Pine Editor and add it to your chart.
2. **Compatibility**: Works on any timeframe and symbol with volume data. Best on daily/intraday charts for stocks, forex, or futures. Avoid illiquid symbols where volume may be unreliable.
3. **Customization**: All inputs are configurable via the indicator's settings panel. Defaults are optimized for general use but can be tuned based on asset volatility.
### Input Parameters
The inputs are grouped for ease of use:
#### MACD Settings
- **Fast EMA (CVD)** (default: 12): Length of the fast EMA applied to CVD. Shorter values make it more responsive to recent volume changes.
- **Slow EMA (CVD)** (default: 26): Length of the slow EMA on CVD. Longer values smooth out noise for trend identification.
- **Signal EMA** (default: 9): Smoothing period for the signal line (EMA of the MACD line).
#### Divergence Logic (MACD Line)
- **Pivot Lookback (MACD Line)** (default: 5): Bars to look left/right for detecting pivots on the MACD line. Higher values detect larger swings but may miss smaller divergences.
- **Max Lookback Range (MACD Line)** (default: 50): Maximum bars between two pivots to consider a divergence valid. Prevents detecting outdated signals.
- **Enable Momentum Decay Filter (Histogram)** (default: false): When enabled, requires the histogram to show decaying momentum (absolute value decreasing) for MACD-line divergences to trigger.
#### Histogram Divergence
- **Pivot Lookback (Histogram)** (default: 5): Similar to above, but for histogram pivots.
- **Max Lookback Range (Histogram)** (default: 50): Max bars for histogram divergence detection.
- **Show Histogram Divergences in Indicator Pane** (default: true): Displays dashed lines and "H" labels for histogram divergences in the sub-window.
- **Show Histogram Divergences on Main Chart** (default: true): Overlays histogram divergences on the price chart with semi-transparent lines and labels.
- **Require Histogram to Stay on Same Side of Zero** (default: true): Filters divergences to only those where the histogram doesn't cross zero between pivots, ensuring consistent momentum direction.
#### Visuals (Dual View)
- **Show MACD-Line Divergences (Indicator Pane)** (default: true): Draws solid lines and "L" labels for MACD-line divergences in the sub-window.
- **Show MACD-Line Divergences (Main Chart)** (default: true): Overlays MACD-line divergences on the price chart.
- **Show Raw CVD Line** (default: false): Plots the underlying CVD as a faint gray line for reference.
### How to Interpret the Indicator
1. **Core Plots**:
- **MACD Line** (blue): Difference between fast and slow CVD EMAs. Above zero indicates building buy volume momentum; below zero shows sell dominance.
- **Signal Line** (orange): EMA of the MACD line. Crossovers can signal potential entries/exits (e.g., MACD above signal = bullish).
- **Histogram** (columns): MACD minus signal. Green shades for positive/expanding bars (bullish momentum); red for negative/contracting (bearish). Fading colors indicate weakening momentum.
- **Zero Line** (gray horizontal): Reference for bullish (above) vs. bearish (below) territory.
- **Raw CVD** (optional gray line): The cumulative buy-sell delta. Rising = net buying; falling = net selling.
2. **Divergences**:
- **Bullish (Green Lines/Labels)**: Occur when price makes lower lows, but MACD line or histogram makes higher lows. Suggests weakening downside momentum and potential reversal up. Look for "L" (MACD line) or "H" (histogram) labels.
- **Bearish (Red Lines/Labels)**: Price higher highs vs. MACD/histogram lower highs. Indicates fading upside and possible downturn.
- **Dual View**: Divergences appear in the indicator pane (sub-window) for clean analysis and overlaid on the main chart for price context. Histogram divergences use dashed lines to distinguish from MACD-line (solid).
- **Filters**: Momentum decay ensures only "hidden" or weakening divergences trigger. Zero-side filter prevents false signals from oscillating histograms.
3. **Alerts**:
- **Bullish Divergence (L or H)**: Triggers on either MACD-line or histogram bullish divergence. Message: "CVD-MACD Bullish Divergence detected on {{ticker}}".
- **Bearish Divergence (L or H)**: Similar for bearish. Use TradingView's alert setup to notify via email/SMS/webhook.
- Tip: Combine with price action (e.g., support/resistance) for confirmation.
### Usage Tips and Strategies
- **Trend Confirmation**: Use in uptrends for bullish divergences (pullback buys) or downtrends for bearish (short entries).
- **Timeframe Selection**: Higher timeframes (e.g., daily) for swing trading; lower (e.g., 15-min) for intraday. Adjust pivot lookbacks accordingly (shorter for faster charts).
- **Combination Ideas**: Pair with RSI for overbought/oversold confirmation or VWAP for intraday volume context.
- **Risk Management**: Divergences are probabilistic—not guarantees. Always use stop-losses based on recent swings.
- **Performance Notes**: Backtest on historical data via TradingView's Strategy Tester. CVD relies on accurate volume; test on exchanges like NYSE/NASDAQ.
### Known Limitations and Troubleshooting
- **Volume Dependency**: CVD estimation assumes linear buy/sell distribution based on bar position—may be less accurate on thin markets or during gaps.
- **Repainting**: Pivots and divergences can repaint as new data arrives (common in pivot-based indicators). Use on closed bars for reliability.
- **Resource Usage**: High max_bars_back (5000) ensures deep history; reduce if chart loads slowly.
- **No Signals on Low-Volume Bars**: If CVD flatlines, check symbol volume—some crypto/forex pairs have inconsistent data.
- **Community Feedback**: If you encounter bugs (e.g., false divergences on specific symbols/timeframes), missing alerts, or calculation errors, please comment below with details like symbol, timeframe, and screenshots. Suggestions for enhancements (e.g., more filters or visuals) are welcome!
If you have questions or find issues, drop a comment—let's improve this together!
Pre-Market Levels Monitor - CandleClub (20 Stocks)Monitor 20 stocks simultaneously with automatic breakout/breakdown alerts based on pre-market and previous day levels.
What It Does
This indicator tracks four critical price levels for up to 20 stocks in a single dashboard:
- PMH (Pre-Market High) - Highest price from 4:00 AM - 9:30 AM ET
- PML (Pre-Market Low) - Lowest price from 4:00 AM - 9:30 AM ET
- PDH (Previous Day High) - Previous trading day's high
- PDL (Previous Day Low) - Previous trading day's low
Key Features
✅ Real-time Dashboard - All 20 stocks displayed in a color-coded table
- Green cells = Price above level (bullish)
- Red cells = Price below level (bearish)
- Gray cells = Level not yet broken
✅ Smart Alerts - Automatic notifications when stocks break key levels
- Bullish Breakout: Price breaks BOTH PMH and PDH
- Bearish Breakdown: Price breaks BOTH PML and PDL
- Maximum 2 alerts per direction per stock per day (prevents spam)
✅ Zero Manual Work - Set it and forget it
- Levels auto-update daily at 4:00 AM ET
- Works during pre-market, regular hours, and displays data on weekends
- Edge detection ensures alerts fire only once per break
✅ Fully Customizable
- Choose any 20 US stocks
- Adjustable table position and size
- Sort by total alerts, bullish alerts, or bearish alerts
- Customize session times if needed
How To Use
1. IMPORTANT: Use on a 1-minute chart (required for data batching)
2. Enable "Extended Hours" in chart settings to see pre-market data
3. Configure your 20 ticker symbols in indicator settings
4. Set up TradingView alerts for notifications
Perfect For
- Pre-market traders monitoring multiple stocks
- Day traders tracking breakout opportunities
- Swing traders watching key support/resistance levels
- Anyone who wants automated multi-stock level monitoring
Technical Details
- Pine Script v6 - Latest version for optimal performance
- Optimized batching - Stays under TradingView's API call limits
- 20-stock maximum - Due to request.security() call restrictions (20 stocks × 2 calls = 40 limit)
- TradingView Standard plan or higher required
Alert Examples
"Alert: AAPL Bullish Breakout - Break #1
PMH: $183.25 (broken)
PDH: $181.50 (broken)
Current: $183.75
Time: 10:23:15"
Default Stocks Included
Technology: AAPL, MSFT, GOOGL, AMZN, META, NVDA, TSLA, NFLX, AMD, INTC
Finance: JPM, BAC, WFC, GS, MS, C
Healthcare: JNJ, UNH, PFE, ABBV, MRK, TMO
Consumer: WMT, HD, MCD
(All symbols are fully customizable)
Settings Overview
- Symbols (1-20): Configure your watchlist
- Session Times: Adjust pre-market/RTH times (Eastern Time)
- Display Options: Table position, cell size, text size, sorting
- Time Zone: All times in Eastern Time (auto-converts to your local time)
Notes
- Alerts limited to 2 per direction per stock to prevent notification spam
- Use 1-minute chart required (batching system needs consecutive bars)
- Enable Extended Hours to capture pre-market data
- Maximum 80 alerts per day possible (20 stocks × 4 alerts max)
Version
1.0 - Initial Release (January 2026)
---
Created by Gautham Kanaparthy
This indicator is for educational purposes only and does not constitute financial advice. Trading involves risk.
EMA 8 x EMA 80 Indicator Trend Filter for the 123 PatternEMA 8 x EMA 80 Indicator Trend Filter for the 123 Pattern
This indicator displays two Exponential Moving Averages EMA with 8 and 80 periods, designed to assist in trend identification and to act as a filter for trading the 123 buy and sell pattern.
General usage rules
123 Buy: recommended only when trading in an uptrend
123 Sell: recommended only when trading in a downtrend
Moving average filter
Buy setups 123 Buy tend to be more reliable when price is above the 80 period EMA
Sell setups 123 Sell tend to be more reliable when price is below the 8 period EMA
Neutral zone attention
The area between the EMA 8 and EMA 80 is considered a neutral zone
Trading the 123 pattern within this range is riskier, as it often indicates consolidation or lack of clear trend direction
Important disclaimer
This indicator does not generate buy or sell signals by itself. It should be used as a supporting tool, together with proper risk management, market context, and additional analysis.
This is not financial advice.
Session Liquidity Sweep + Trend ConfirmationThis strategy aims to capture high-probability intraday trades by combining liquidity sweeps with a trend confirmation filter. It is designed for traders who want a systematic approach to trade breakouts during specific market sessions while controlling risk with ATR-based stops.
How it Works:
Session Filter: Trades are only considered during a defined session (default 9:30 - 11:00). This helps avoid low-volume periods that can lead to false signals.
Trend Confirmation: The strategy uses a 50-period EMA to identify the market trend. Long trades are only taken in an uptrend, and short trades in a downtrend.
Liquidity Sweep Detection:
A long entry occurs when price dips below the prior N-bar low but closes back above it, indicating a potential liquidity sweep that stops being triggered before the trend continues upward.
A short entry occurs when price spikes above the prior N-bar high but closes below it, signaling a potential sweep of stops before the downward trend resumes.
ATR-Based Risk Management:
Stop loss is calculated using the Average True Range (ATR) multiplied by a configurable factor (default 1.5).
Take profit is set based on a risk-reward ratio (default 2.5x).
Position Sizing: Default position size is 5% of equity per trade, making it suitable for risk-conscious trading.
Inputs:
Session Start/End (HHMM)
Liquidity Lookback Period (number of bars to define prior high/low)
ATR Length for stop calculation
ATR Stop Multiplier
Risk-Reward Ratio
EMA Trend Filter Length
Visuals:
Prior Liquidity High (red)
Prior Liquidity Low (green)
EMA Trend (blue)
Why Use This Strategy:
Captures stop-hunt moves often triggered by larger market participants.
Only trades with trend confirmation, reducing false signals.
Provides automatic ATR-based stop loss and take profit for consistent risk management.
Easy to adjust session time, ATR, EMA length, and risk-reward to suit your trading style.
Important Notes:
Assumes 0.05% commission and 1-pip slippage. Adjust according to your broker.
Not financial advice; intended for educational, backtesting, or paper trading purposes.
Always test strategies thoroughly before applying to live accounts.
Order Blocks ScannerHighlights order blocks with inneficiencies onto the chart, while removing mitigated blocks if price has touched that supply or demand area.
Also by default changes the candle color of the order block origin candle to make it easier to see already mitigated blocks for potential breaker block zones.
All-In-One Trading Toolkit [wjdtks255]Title: All-In-One Trading Toolkit
Description: This professional toolkit integrates 5 essential indicators into one seamless interface to enhance your market analysis. It provides a comprehensive view of trend, momentum, and volatility.
Features:
Bollinger Bands: Tracks price volatility and potential reversal zones.
Ichimoku Cloud: Visualizes long-term trend support and resistance.
RSI Dashboard: Real-time momentum monitoring in the top-right corner.
MACD Signals: Direct Buy/Sell shape indicators on the chart for instant decision making.
Volume Profile: Identifies key price levels with high trading activity.
Strategy:
Entry: Follow the MACD crossover signals (Green/Red triangles) when they align with the Ichimoku Cloud direction.
Multi-Timeframe EMA-VWAP EntryTrend Following strategy. Based on Exponential moving averages and Volume weighted average price. Good for trending instruments on day trading basis
High Volume Footprint BreakoutThe High Volume Footprint Breakout indicator brings institutional-grade Order Flow analysis to your standard TradingView charts. By looking inside the candles using intrabar data, this tool identifies specific price levels where massive, aggressive buying or selling volume has occurred.
Unlike standard Volume Profiles which show volume over a long period, this indicator isolates specific moments of high-intensity participation. It draws extended support and resistance lines from these "High Volume Nodes," helping you identify where institutions have stepped in and where trapped traders might exist.
Why Use This Indicator?
Standard candlestick charts show you where price went, but they hide how it got there. A candle might look normal, but inside that candle, there could be a massive battle between buyers and sellers at a specific price level.
Reveal Hidden Liquidity : Find the exact price levels that defended a move.
Filter the Noise : Instead of showing every volume node, this script only highlights Breakout Levels —areas where the single-price volume exceeded a historical maximum (e.g., the highest volume node in the last 20 bars).
No External Tools Needed : Replicates the logic of professional Footprint/Order Flow software using native TradingView data.
How It Works (The Logic)
This script uses a strict algorithm to reconstruct a virtual "Footprint" of the market:
Intrabar Analysis : It accesses lower timeframe data (e.g., 1-minute data inside a Daily bar) to analyze price action at a granular level.
Volume Categorization : It separates volume into Buy Volume (Aggressive Buyers) and Sell Volume (Aggressive Sellers) based on price movement logic.
Volume Distribution : To ensure accuracy, it distributes the volume of intrabar candles across their High-Low range, preventing artificial volume spikes on single ticks.
Breakout Detection : It compares the highest volume node of the current bar against the highest nodes of the previous X bars. If the current volume is a new local record, a line is drawn.
How to Trade This Indicator
1. The Standard Rejection (Trend Continuation)
Green Lines (Aggressive Buyers) : These levels represent areas where buyers stepped in with massive force. In an uptrend, expect price to bounce off these lines. Treat them as Support.
Red Lines (Aggressive Sellers) : These levels represent areas where sellers unloaded heavy positions. In a downtrend, expect price to reject these lines. Treat them as Resistance.
2. The "Flip" Setup (Trapped Traders)
This is an advanced Order Flow concept. When the market disrespects a high-volume level, it creates "Trapped Traders."
Red Line Acting as Support : If price breaks above a Red (Sell) line and holds, the aggressive sellers at that level are now trapped underwater. When price returns to this line, these sellers often buy to close their positions at breakeven, fueling a bounce.
Green Line Acting as Resistance : If price breaks below a Green (Buy) line, the aggressive buyers are trapped. When price rallies back to this line, they often sell to exit, creating resistance.
Settings & Configuration
Auto-Select Intrabar Timeframe :
Enabled (Recommended) : Automatically selects the best resolution (1-min for Intraday/Daily, 60-min for Weekly/Monthly) to match the "Volume Data Source" standards.
Disabled : Allows you to manually force a specific intrabar resolution.
Breakout Lookback Period : Determines how significant a volume spike must be to trigger a line. (Default: 20). Higher values = fewer, stronger lines.
Max Visible Lines : Limits the number of lines on the chart to keep your workspace clean.
Label Offset : Adjusts how far to the right the text labels appear, allowing you to position them perfectly for your screen setup.
Who Should Use This?
Order Flow Traders : Who want footprint-style logic without complex grid charts.
Price Action Traders : Who want objective, data-driven Support & Resistance levels rather than subjective drawings.
Scalpers & Day Traders : Who need to see where the "heavy hands" are transacting in real-time.
Disclaimer & Limitations
Intrabar vs. Tick Data : This script uses TradingView's intrabar data to approximate the footprint. While highly accurate, it may differ slightly from tick-perfect software.
Volume Data Required : This indicator requires the asset to provide real volume data. It works best on Futures, Crypto, and Stocks. It may not work on FOREX pairs that do not provide tick volume.
Does it Repaint?
Short Answer:
No , it does not repaint on closed bars. Once a candle closes and a line is drawn, that line is permanent and will not move or disappear.
Long Answer (The Nuances):
There are two specific scenarios you need to be aware of regarding how TradingView handles data:
1. The "Forming Bar" (Wait for Close)
Behavior : While the current candle is still moving (open), the indicator is calculating the volume in real-time. If a massive volume spike happens right now, a line might appear. If the volume of previous bars suddenly looks smaller by comparison, the condition might change.
Solution : Like almost all indicators, you must wait for the bar to close to confirm the signal. Once the bar closes, the calculation is locked and the line is fixed forever.
2. Historical Data Limits (The "Disappearing History" Issue)
Behavior : This script relies on request.security_lower_tf (e.g., fetching 1-minute data inside a Daily bar). TradingView does not store infinite 1-minute data for every asset. They usually store a few thousand bars of lower timeframe history (more if you have a Premium account).
The Issue : If you scroll back 5 years on a Daily chart, the script will try to fetch the 1-minute data for a day in 2019. If TradingView has deleted that old 1-minute data to save space, the script will receive "empty" data.
Result : You might see lines on the recent chart (last few months/year), but if you scroll back too far, the lines will stop appearing because the underlying data doesn't exist anymore.
Is this Repainting? Technically, no. It's a Data Availability limitation. But it means that what you see on a chart from 5 years ago might look different than what you saw when you were trading it live 5 years ago.
Disclaimer
For Educational and Informational Purposes Only
This indicator is provided for educational and informational purposes only and DOES NOT constitute financial, investment, or trading advice. The "High Volume Footprint Breakout" tool is based on historical data analysis and algorithmic interpretation of market volume; it does not predict future market movements with certainty.
Risk Warning
Trading in financial markets (Stocks, Crypto, Futures, Forex, etc.) involves a high degree of risk and may not be suitable for all investors. You could lose some or all of your initial investment. Past performance of any trading system or methodology is not necessarily indicative of future results.
No Liability
The author of this script assumes no responsibility or liability for any errors or omissions in the content of this indicator, or for any trading losses or damages incurred as a result of using this tool. Users are solely responsible for their own trading decisions and should always use proper risk management. By using this script, you acknowledge and agree to these terms.
MFI-RSI Convergence Strategy거래량(Volume)과 가격 모멘텀을 동시에 고려하는 **MFI(Money Flow Index)**는 지지선에서의 '진짜 반등'을 포착하는 데 가장 강력한 도구입니다. 여기에 RSI를 결합하여 모멘텀의 강도까지 확인하는 'Hybrid Volume-Momentum Oscillator' 전략을 작성해 드립니다.
하이브리드 지표의 핵심 메커니즘
MFI(Money Flow Index)의 역할:
MFI는 단순히 가격이 낮아졌는가만 보는 것이 아니라, **'낮은 가격에서 거래량이 터졌는가'**를 계산합니다.
지지선에서 MFI가 20 이하로 떨어진다는 것은 "스마트 머니"가 매집을 준비하는 단계이거나, 투매가 정점에 달해 거래량이 실린 반등이 임박했음을 뜻합니다.
RSI와의 컨버전스(Convergence):
RSI는 가격의 속도를 측정합니다. MFI가 과매도인데 RSI가 아직 높다면, 거래량은 들어오지만 가격의 하락 관성이 여전히 강하다는 뜻입니다.
이 코드의 핵심은 mfi_val <= mfi_low와 rsi_val <= rsi_low가 동시에 만족될 때만 진입하는 것입니다. 이는 거래량 유입 + 하락 관성 둔화가 일치하는 고확률 타점입니다.
리페인팅 차단 및 현실적 시뮬레이션:
ta.mfi와 ta.rsi는 기본적으로 현재 봉의 종가를 기준으로 계산되므로 리페인팅이 발생하지 않습니다.
commission_value=0.05를 통해 거래소 수수료를 반영하여, 잦은 매매로 인한 손실 가능성을 미리 확인할 수 있게 설계했습니다.
//@version=6
strategy("MFI-RSI Convergence Strategy",
overlay=false, // 하단 지표 형태 확인을 위해 false 설정 (차트 위 신호는 별도 plotshape 사용)
initial_capital=10000,
default_qty_type=strategy.percent_of_equity,
default_qty_value=10,
commission_type=strategy.commission.percent,
commission_value=0.05,
slippage=1)
// --- ---
group_date = "1. 백테스트 기간"
start_time = input.time(timestamp("2024-01-01 00:00:00"), "시작일", group=group_date)
end_time = input.time(timestamp("2026-12-31 23:59:59"), "종료일", group=group_date)
within_window() => time >= start_time and time <= end_time
group_mfi = "2. MFI (Volume) 설정"
mfi_length = input.int(14, "MFI 기간", minval=1, group=group_mfi)
mfi_low = input.int(20, "MFI 과매도 (매수세 유입 대기)", group=group_mfi)
mfi_high = input.int(80, "MFI 과매수 (매도세 유입 대기)", group=group_mfi)
group_rsi = "3. RSI (Momentum) 설정"
rsi_length = input.int(14, "RSI 기간", minval=1, group=group_rsi)
rsi_low = input.int(30, "RSI 과매도", group=group_rsi)
rsi_high = input.int(70, "RSI 과매수", group=group_rsi)
group_risk = "4. 리스크 관리"
tp_pct = input.float(3.0, "익절 (%)", step=0.1, group=group_risk) / 100
sl_pct = input.float(1.5, "손절 (%)", step=0.1, group=group_risk) / 100
// --- ---
// MFI (가격 + 거래량 가중)
mfi_val = ta.mfi(close, mfi_length)
// RSI (가격 변동 강도)
rsi_val = ta.rsi(close, rsi_length)
// --- ---
// 매수 조건: MFI와 RSI가 모두 과매도 구간일 때 (강력한 반등 예상 지점)
long_condition = (mfi_val <= mfi_low) and (rsi_val <= rsi_low)
// 매도 조건: MFI와 RSI가 모두 과매수 구간일 때
short_condition = (mfi_val >= mfi_high) and (rsi_val >= rsi_high)
// --- ---
if within_window()
if long_condition
strategy.entry("Long", strategy.long, comment="VLM+MOM Bottom")
if short_condition
strategy.entry("Short", strategy.short, comment="VLM+MOM Top")
// 익절 및 손절 설정
strategy.exit("Ex Long", "Long", limit=strategy.position_avg_price * (1 + tp_pct), stop=strategy.position_avg_price * (1 - sl_pct))
strategy.exit("Ex Short", "Short", limit=strategy.position_avg_price * (1 - tp_pct), stop=strategy.position_avg_price * (1 + sl_pct))
// --- ---
// 배경 가이드라인
hline(mfi_high, "Upper Boundary", color=color.gray, linestyle=hline.style_dashed)
hline(50, "Middle", color=color.new(color.gray, 50))
hline(mfi_low, "Lower Boundary", color=color.gray, linestyle=hline.style_dashed)
// 지표 플롯
plot(mfi_val, "MFI (Volume Flow)", color=color.aqua, linewidth=2)
plot(rsi_val, "RSI (Momentum)", color=color.yellow, linewidth=1)
// 중첩 구간 강조 (Convergence)
fill_color = (mfi_val <= mfi_low and rsi_val <= rsi_low) ? color.new(color.green, 70) :
(mfi_val >= mfi_high and rsi_val >= rsi_high) ? color.new(color.red, 70) : na
bgcolor(fill_color)
// 신호 발생 시 하단에 아이콘 표시
plotshape(long_condition, title="Buy Signal", location=location.bottom, color=color.green, style=shape.triangleup, size=size.small)
plotshape(short_condition, title="Sell Signal", location=location.top, color=color.red, style=shape.triangledown, size=size.small)
MA 9 & MA 20 Crossover + EMA200 + CONFIRMED + RSI OB/OS (Alerts)Tesing this strategy. This will not work for all coins. this is short specific coins
Zap Super Line// Zap - Close Line Color by SMA20, MACD, RSI
// Description: Line turns green when close > SMA20 and MACD rising or above signal; red otherwise. RSI > 70 turns purple; RSI < 30 turns gray.
// Author: Ron Belson
// Email: ronbelson@gmail.com
D1 High/LowThis indicator automatically plots the previous day’s high and low (D1) as thin dashed horizontal lines on the chart.
The levels are calculated strictly from yesterday’s daily candle only.
The lines are anchored directly at the previous day’s candle and extend to the right, matching institutional-style reference levels.
Visible on Daily (D1) and all lower timeframes (H4, H1, M15, etc.).
The lines reset at the start of each new trading day to reflect the latest completed session.
Designed as a context and liquidity reference, not as a predictive indicator.
XAUUSD Bullish Continuation StrategyThis strategy is designed for trading Gold (XAUUSD) on the M15 timeframe using a bullish continuation and breakout structure.
It identifies strong uptrend conditions using EMA trend confirmation and enters buy positions on either a breakout above resistance or a retest of the breakout zone. The strategy follows a disciplined risk-management model with a fixed stop loss and multiple take-profit targets for partial profit scaling.
Core Features:
• Trend confirmation using EMA 20 & EMA 50
• Breakout and retest buy entries
• Strong momentum continuation logic
• Fixed stop-loss protection
• Multi take-profit scaling (TP1, TP2, TP3)
• Backtest-ready TradingView strategy
Best Market Conditions:
Works best during strong bullish sessions (London & New York) when gold shows high volatility and directional momentum.
Recommended Timeframe:
M15 (can be optimized for M5–M30)
Single Year Historical ProjectionBasic year projection onto chart from a previous year, good for reference previous years movements.
Enjoy






















