Candle End Tracker
This indicator identifies the exact location where a candlestick formation ends. It allows for more precise tracking of asset trends and also helps monitor price trend reversals. Its purpose is to provide the user with a tool that allows visual monitoring of price action. It was created especially for those who trade using scalping techniques. Its use is enhanced when the candlestick color is removed.
Candlestick analysis
Patterns and AlertsPatterns and Alerts — TradingView Indicator Documentation
© 2026 Arup Sarkar
Indicator Name: Patterns and Alerts
Version: 1.0
About Me:
Spent 32+ years in the software industry and now a full time trader. I did not find an indicator that keeps the chart clean, addresses candle and chart patters combined and provide alerts. This is my first release and by Feb end, I will include all chart/candle patterns, trend line & most vital, Smart Money intent behind patterns (candle and chart).
Description
The Indicator: Patterns and Alerts is a comprehensive indicator that detects candlestick and classical chart patterns, provides real-time alerts, and keeps charts clean with minimalist visuals. It helps traders identify actionable price patterns across all timeframes and asset classes.
Key Features
- Detects Bullish/Bearish Pin Bars
- Detects Double Top, Head & Shoulders, Rising Wedges, and Falling Wedges
- Generates alerts once per confirmed pattern
- Uses thin lines and optional pivot labels for clean visuals
- Works on all timeframes (1-minute to Daily)
Alerts
- Pattern type
- Pivot prices (if applicable)
- Symbol
- Timeframe
Pro Tips
- For aggressive detection, decrease Pivot Length & Pin Bar Wick Ratio
- For conservative detection, increase Pivot Length & Pin Bar Wick Ratio
- Disable labels on lower timeframes to reduce clutter
- Combine alerts with trend indicators, volume, or higher timeframe analysis for confirmation
- Can integrate alerts via webhooks for automated trading
Author / Credit
Arup Sarkar
Daily Open Gap Zones This indicator highlights Daily Opening Gaps by drawing a zone between the previous regular session close and the next regular session open (RTH). Each gap is displayed as a light white filled box with a dotted, transparent white border and is extended forward in time until it is considered filled.
How it works
Gap Definition:
A gap is created when today’s regular-session open is different from yesterday’s regular-session close.
Zone Range:
The gap zone is the price range between those two values.
Unfilled Gaps Only:
The box stays on the chart until the gap is filled, then it is removed.
Fill Mode Options:
Full fill: gap is removed only when price reaches the far edge of the gap zone.
Touch (enter zone): gap is removed as soon as price trades into the gap zone.
Min Gap Size (ticks):
Filters out tiny gaps. A gap is plotted only if
abs(open - prior close) >= minGapTicks × syminfo.mintick.
Best use case
Designed for intraday traders (e.g., 10-minute charts) who want to quickly see open/unfilled daily gaps that may act as support/resistance or mean-reversion targets.
TuxTune - PDH PDL PDCJust a simple indicator simply to show the previous day High, Low, and Close levels.
Line color, type, width are modifiable
Each line can be turned on/off
Dow-Granville Sync SuiteEnglish Description (English Section)
Name: Dow-Granville Sync Suite
The Dow-Granville Sync Suite is an analysis tool that integrates trend determination based on Dow Theory with price positioning relative to the 20SMA (Simple Moving Average) across multiple timeframes (MTF).
It is designed to organize information across various timeframes, allowing users to understand the status from higher to lower timeframes without switching charts.
Multi-Timeframe Dow Analysis Analyzes highs and lows for each timeframe to determine the current trend state (Bullish, Bearish, or Consolidation).
SMA Position Analysis Determines whether the price is above or below the 20SMA for all timeframes. This is used to identify price positioning based on Granville's Law.
Synchronization Signals Displays ★ icons on the chart when the Dow direction and SMA position align across 4 or 5 consecutive timeframes.
Status Dashboard Displays a summary table on the right side of the screen showing the trend status for each timeframe.
Squeeze Detection Detects low volatility periods caused by the convergence of highs and lows, indicating them with specific markers on the chart.
Check the trend direction of higher timeframes, such as Daily or 4-Hour charts, on the right-hand dashboard.
Use the synchronization signals (★) on lower timeframes, when they align with the higher timeframe trend, as a reference for decision-making.
This tool is intended as an analytical aid and does not constitute investment advice.
Results based on historical data do not guarantee future performance.
日本語説明文 (Japanese Section)
名称:Dow-Granville Sync Suite
【概要】 Dow-Granville Sync Suiteは、ダウ理論によるトレンド判定と、20SMA(単純移動平均線)に対する価格の位置関係を、複数の時間軸(MTF)で統合して表示する解析ツールです。
各時間軸の情報を整理し、チャートを切り替えることなく上位足から下位足までの状態を把握することを目的としています。
【主な機能】
マルチタイムフレーム・ダウ分析 各時間軸の高値・安値を参照し、現在のトレンド(上昇・下降・保合い)を自動で判定します。
SMA位置解析 価格が20SMAの上にあるか下にあるかを全時間軸で判定します。これはグランビルの法則における価格の偏りを把握するために利用します。
同調シグナル 4つ、または5つの連続した時間軸において、ダウの方向とSMAに対する位置関係がすべて一致した際に、チャート上に★印を表示します。
ステータス・ダッシュボード 画面右側に、各時間軸のトレンド状況を一覧表で表示します。
スクイーズ検知 高値・安値の収束によるボラティリティの低下を検知し、チャート上にマークを表示します。
【使い方】
右側のダッシュボードで、日足や4時間足などの上位足のトレンド方向を確認します。
下位足において、上位足と同方向の同調シグナル(★)が発生した際の状態を、判断の材料として利用します。
【免責事項】
本ツールは分析の補助を目的としたものであり、投資助言ではありません。
過去のデータによる結果は、将来の利益を保証するものではありません。
REBOTE PRO EMA
//@version=5
indicator(title="REBOTE PRO EMA", overlay=true)
// === CONFIGURACIÓN ===
emaRapida = input.int(20, "EMA Rápida")
emaLenta = input.int(50, "EMA Lenta (Tendencia)")
rsiPeriodo = input.int(14, "RSI Periodo")
// === CÁLCULOS ===
emaFast = ta.ema(close, emaRapida)
emaSlow = ta.ema(close, emaLenta)
rsiVal = ta.rsi(close, rsiPeriodo)
// === CONDICIONES DE TENDENCIA ===
tendenciaAlcista = emaFast > emaSlow
tendenciaBajista = emaFast < emaSlow
// === CONDICIONES DE REBOTE ===
reboteBuy = tendenciaAlcista and low <= emaFast and close > emaFast and rsiVal > 40
reboteSell = tendenciaBajista and high >= emaFast and close < emaFast and rsiVal < 60
// === GRÁFICOS ===
plot(emaFast, color=color.orange, linewidth=2)
plot(emaSlow, color=color.red, linewidth=2)
// === SEÑALES ===
plotshape(reboteBuy,
title="BUY",
style=shape.triangleup,
location=location.belowbar,
color=color.lime,
size=size.small)
plotshape(reboteSell,
title="SELL",
style=shape.triangledown,
location=location.abovebar,
color=color.red,
size=size.small)
Condicion2Indicates with shading Strength at the beginning of wave 3, in the form of a blue candle + strong green (below)
Consolidation zones + BreakoutThis Pine Script v6 indicator is designed to detect consolidation zones and mark breakout entries (long or short) when price exits those zones.
Indicator purpose
Identify periods where price moves in a tight range for several consecutive bars (consolidation).
Highlight those zones on the chart with a yellow shaded area between the local high and low.
Mark potential LONG and SHORT entries when price breaks out of a consolidation zone.
Core consolidation logic
The indicator measures whether the market is “compressed” by comparing the price range of recent bars with volatility measured via ATR:
It computes the highest high and lowest low of the last lookback bars:
rangeHigh = ta.highest(high, lookback)
rangeLow = ta.lowest(low, lookback)
It calculates the current range:
rng = rangeHigh - rangeLow
It calculates ATR over atrLen bars as a volatility benchmark:
atrVal = ta.atr(atrLen)
It defines a compressed range (base consolidation) when the range is smaller than a multiple of ATR:
baseConso = rng < atrVal * atrMult
Here, atrMult controls how tight the range must be. Lower values (0.8–1.0) require strong compression; higher values (1.5–2.0) are more permissive.
Minimum bars in consolidation
To avoid calling a very short pause a consolidation, the script enforces a minimum duration:
It uses ta.barssince(not baseConso) to count how many bars have passed since the last time the consolidation condition was false.
If that count is greater than or equal to minBars, the market is considered to be in consolidation:
text
isConsolidating = ta.barssince(not baseConso) >= minBars
This prevents 2–3 sideways bars from being treated as a full consolidation zone. The minBars input lets you adapt the duration to your timeframe and trading style.
Plotting the consolidation zone
When isConsolidating is true, the script shades the consolidation area:
It plots two invisible series for the zone’s high and low:
text
pHigh = plot(rangeHigh, display = display.none)
pLow = plot(rangeLow, display = display.none)
It creates a yellow semi‑transparent fill between those lines only while in consolidation:
text
fillColor = isConsolidating ? color.new(#ffeb3b, 80) : color.new(#ffeb3b, 100)
fill(pHigh, pLow, color = fillColor, title = "Consolidation Zone")
Outside consolidation, the color becomes almost fully transparent so the shaded zone disappears. This keeps the chart clean and focuses attention on the actual ranges.
Breakout detection (LONG / SHORT)
The script then looks for breakouts when price leaves a consolidation zone:
It checks if the previous bar was inside consolidation:
wasConso = isConsolidating
A bullish breakout (LONG) occurs when:
The current bar is no longer in consolidation (not isConsolidating).
The previous bar was in consolidation (wasConso).
The close breaks above the previous consolidation high (close > rangeHigh ):
text
breakLong = not isConsolidating and wasConso and close > rangeHigh
A bearish breakout (SHORT) occurs when:
The current bar is no longer in consolidation.
The previous bar was in consolidation.
The close breaks below the previous consolidation low (close < rangeLow ):
text
breakShort = not isConsolidating and wasConso and close < rangeLow
On each breakout, a label is drawn at the breakout bar:
text
if breakLong
label.new(bar_index, low, "LONG",
style = label.style_label_up,
textcolor = color.white,
color = color.new(color.teal, 0),
size = size.tiny)
if breakShort
label.new(bar_index, high, "SHORT",
style = label.style_label_down,
textcolor = color.white,
color = color.new(color.red, 0),
size = size.tiny)
These labels highlight where price transitions from sideways action to a potential directional move.
User inputs and tuning
lookback (Bars for range)
Number of bars used to compute the consolidation high/low. Higher values produce wider, less frequent zones; lower values detect shorter consolidations.
minBars (Minimum bars in consolidation)
Minimum number of consecutive bars that must meet the compression condition. On 15‑minute charts, values between 6 and 12 often work, but this depends on the asset.
atrLen and atrMult
Control how strict the compression rule is.
atrLen: ATR period.
atrMult: maximum allowed range as a multiple of ATR.
Increasing atrMult finds more zones; decreasing it makes the filter stricter.
showText
Optional helper label with a short description, useful when sharing the script with other users on the TradingView community.
Practical usage
Apply the indicator to your preferred timeframe (for example, 15‑minute crypto charts).
Tweak lookback, minBars, and atrMult until the yellow zones match the consolidations you would mark manually.
Use the LONG and SHORT labels as areas of interest for studying range breakouts and building your own entry/exit rules, always combining them with risk management and a complete trading strategy.
This way, the script turns a visual concept—sideways consolidation followed by breakout—into a systematic, testable signal in Pine Script v6.
Sequential 9(Setup Count)- KoRCThis indicator is a simplified Sequential 9-count (Setup 9) tool inspired by widely known “sequential counting” concepts. It detects potential exhaustion points by counting consecutive closes relative to the close 4 bars earlier:
Buy Setup (DIP): close < close for 9 consecutive bars (optional strict mode: <=)
Sell Setup (TOP): close > close for 9 consecutive bars (optional strict mode: >=)
Enhancements / Filters (optional):
Trend filter (default ON): uses EMA(200) as a macro trend filter and EMA(20) as a fast context filter.
Volatility filter (optional): ignores signals in low-volatility regimes using ATR% threshold.
Dedupe (default ON): prevents repeated signals within a short window (one-shot per swing concept).
Perfected highlight:
Signals are visually emphasized when a simple “perfected” condition is met (bar 8 or 9 extends beyond recent reference highs/lows), displayed with brighter colors.
How to use:
Use DIP/TOP labels as potential exhaustion alerts, not standalone trade signals. Combine with your own risk management and confirmation tools.
Disclaimer:
Not affiliated with or endorsed by any third-party. This script is provided for educational/visualization purposes only and does not constitute financial advice.
Pradip's MACD Divergence ProThis is where the "magic" happens, Pradip. MACD Divergence is one of the most powerful concepts because it acts like an early-warning system. It tells you when the market is "lying"—when the price is moving up or down, but the energy (momentum) behind it is dying.
My Candle (HTF Overlay)
This indicator overlays Higher Timeframe (HTF) candles, such as Daily or Weekly, onto your current chart background. It allows you to grasp the larger trend while trading on lower timeframes.
- Accurate Historical Data: By utilizing "lookahead", this script ensures that the High and Low of the HTF candles align perfectly with the price action on historical charts.
- Gap Filling: Includes an option to fill data gaps for a smoother visual experience.
- Customization: You can easily change the timeframe and adjust the transparency of colors to suit your chart theme.
1. Add to the chart.
2. Open settings to select your target timeframe (e.g., "1 Day" or "1 Week").
3. Adjust the "Gap" and "Transparency" settings as needed.
Weekday open ConnectorIndicator connecting open candles between 2 days of the week. For example if you want to see weekend price action, in setting you select Saturday and Monday. Connected lines are red if Saturday opened higher than Monday, green in opposite case.
HTF Flip Close Levels, Daily Weekly Monthly TASHTF Flip Close Levels (D/W/M) — Support & Resistance Tool
This indicator automatically plots Daily, Weekly, and Monthly support & resistance levels based on higher-timeframe candle close behaviour.
🔹 What this tool does
The script detects HTF momentum flips using closed candles only:
Support is created when:
A red candle is followed by a green candle
The level is drawn at the close of the red candle
Resistance is created when:
A green candle is followed by a red candle
The level is drawn at the close of the green candle
This creates objective, rule-based horizontal levels derived purely from price behavior, not indicators.
🔹 Features
✅ Plots Daily, Weekly, and Monthly levels simultaneously
✅ Works on any timeframe (1m, 5m, 1H, Daily, Weekly, etc.)
✅ Keeps full historical levels, not just the most recent ones
✅ Optional auto-hide tapped levels (when price touches them)
✅ Tap detection:
Wick touch
or Close cross/touch
✅ Levels are always based on HTF candle closes, never wicks
✅ Designed to stay consistent across timeframe changes
🔹 How to use it (IMPORTANT)
This indicator:
❌ Does NOT predict market direction
❌ Does NOT generate buy/sell signals
❌ Does NOT tell you when to enter or exit
It is a context & confluence tool.
You should use these levels together with:
Market structure
Trend analysis
Volume / orderflow / CVD
Your own entry model
Your own risk management
Think of these levels as areas of interest, not automatic trade signals.
🔹 Best use cases
Confluence with:
Local support/resistance
VWAP / Anchored VWAP
Range highs/lows
Liquidity zones
Reversal or continuation patterns
Identifying:
HTF reaction zones
Decision points
Areas where other traders are likely watching
⚠️ Disclaimer
This indicator is a technical analysis tool only.
It is NOT financial advice.
It does NOT guarantee profits.
All trading decisions and risk are your responsibility.
Use it as part of a complete trading system, not as a standalone strategy.
UTC+7 Time Highlight// // Input
// session1 = input.session("0600-0601", "Time Slot 1 (UTC+7)")
// session2 = input.session("0800-0801", "Time Slot 2 (UTC+7)")
eBacktesting Learning: HTF CandleseBacktesting - Learning: HTF Candles brings higher-timeframe candles directly onto your current chart, so you can keep your bigger-picture context while executing on the lower timeframe.
Pick up to 4 timeframes (for example 15m / 30m / 1H / 4H) and the indicator will draw their candles neatly to the right of price. For each one you can choose to show the Current HTF candle (still forming) or the previously closed HTF candle, so you can train both “live context” and “closed-candle confirmation” workflows.
You can also enable an optional flip alert per timeframe. A “flip” happens when that HTF candle changes from bullish to bearish (or the other way around). This is great for spotting shifts in bias without staring at multiple charts.
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
Reversal Detection v3.0 - Real-Time Pro (Non-Repainting)Here is a **professional, public-friendly description** you can use for TradingView or any indicator marketplace:
---
### 🔁 Reversal Detection v3.0 – Real-Time Pro (Non-Repainting)
**Reversal Detection v3.0 – Real-Time Pro** is an advanced price-action–based indicator designed to identify **high-probability market reversals in real time**. Built with a **100% non-repainting logic**, this tool delivers reliable signals that remain fixed once printed, making it suitable for both **live trading and back-testing**.
This indicator continuously analyzes **market structure, momentum behavior, and exhaustion zones** to detect potential trend changes at key price levels. It helps traders catch **early reversals** while avoiding late entries and false breakouts.
---
### 🚀 Key Features
✔ **Real-Time Reversal Signals**
Signals are generated instantly as market conditions form — no delay, no future repainting.
✔ **Non-Repainting Technology**
Once a signal appears, it will never disappear or change, ensuring full transparency and trust.
✔ **Trend Exhaustion Detection**
Identifies weakening trends and potential turning points before major reversals occur.
✔ **Works on All Timeframes**
Scalping, intraday, swing, or positional trading — fully compatible with **all markets and timeframes**.
✔ **Multi-Market Support**
Suitable for **Forex, Crypto, Stocks, Indices, and Commodities**.
✔ **Clean & Easy-to-Read Signals**
Minimal chart clutter with clear visual markers for bullish and bearish reversals.
---
### 📈 Best Use Cases
• Trend reversal entries
• Market top and bottom identification
• Confluence with support & resistance
• Confirmation tool with RSI, MACD, or moving averages
• High-accuracy entries near key zones
---
### ⚠ Disclaimer
This indicator is a **technical analysis tool**, not financial advice. Always apply proper **risk management** and confirm signals with market structure and volume.
---
If you want, I can also:
* Shorten this for **TradingView public script**
* Rewrite in **simple Hinglish**
* Create **promo text**, **tooltips**, or **user instructions**
Just tell me 👍
FX SessionsForex Sessions Indicator
FX Sessions Indicator
This indicator is designed for high-precision Forex trading, focusing on the core liquidity windows of the global currency markets.
-Core Purpose: Tracks and visualizes the three major global trading sessions—Asia, London, and New York.
-Visual Style: Uses a clean, non-intrusive dotted-line box to define the high and low range of each session.
-Key Metric: Automatically calculates and displays the total Pip Range for each session, allowing for a quick assessment of volatility.
C-ustomization: Features a streamlined settings menu where you can toggle sessions on/off, adjust names, and modify time zones (defaulting to GMT-5).
-Lookback Logic: Optimized to maintain chart clarity by cleaning up historical data based on a user-defined lookback period.
EMA + VWAP + Williams FractalsEMA 9, EMA 21, 55 and 200 and VWAP. For a bullish bias, EMA 9 is above EMA 21 and the VWAP; for a bearish bias, EMA 9 is below EMA 21 and the VWAP.
Previous Day/Week/Month Open & ClosePrevious Day / Week / Month Open & Close Levels
Plots horizontal lines for the **previous** completed:
• Day open/close
• Week open/close
• Month open/close
These key reference levels are widely used for:
- Support/resistance zones
- Mean reversion setups
- Breakout confirmation
- Session/period bias analysis
Features:
• Auto-refreshes lines when new day/week/month begins (old lines deleted, clean chart)
• Non-repainting (uses confirmed higher-timeframe values)
• Toggle each timeframe independently (Day / Week / Month)
• Custom colors, line styles (solid/dashed/dotted), and width
• Small right-side labels for quick identification
How to use:
1. Add to any chart (best on intraday or daily timeframes)
2. Adjust toggles and colors in settings as needed
3. Watch price interaction with previous period opens/closes
Great for forex, stocks, futures, crypto....
Enjoy your trading!
Canon's Futures Opening Prices Futures Opening Prices
Daily Open 6p.m
Midnight Open 12a.m
9:30a.m Equity Open
10a.m Open Candle
Cumulative Buy/Sell Volume Ratio[MIT]Cumulative Volume Ratio
Description:
This dedicated indicator calculates and displays the ratio of cumulative buy volume to cumulative sell volume over the past n bars (Ratio = Cumulative Buy Volume / Cumulative Sell Volume).
Volume is split based on price movement:
Up bars (close > open) → All volume assigned to Buy
Down bars (close < open) → All volume assigned to Sell
Flat bars (close == open) → Configurable handling (Split 50/50, Ignore, All to Buy, or All to Sell)
Key Features:
Supports two display modes: Bars (柱状图) or Line (折线图)
Ratio > 1 shown in orange (strong buy pressure), Ratio < 1 shown in teal (strong sell pressure)
Built-in reference lines: 1:1 Equilibrium, Strong Buy (>1.5), Strong Sell (<0.67)
Optional debug label on the last bar showing current ratio value + raw buy/sell cumulative volumes
Inputs:
Lookback Period n: Number of bars for rolling cumulative calculation (default: 20)
Flat Bar Volume Handling: How to treat doji/flat bars (default: Split 50/50)
Display Ratio as Bars: true = Bars style, false = Line style
Show Current Ratio Value Label: Toggle debug label on last bar
Usage Tips:
Ratio > 1 indicates dominant buy pressure in recent volume → potential bullish momentum
Ratio < 1 indicates dominant sell pressure → potential bearish pressure
Best used in conjunction with price chart to spot divergences or confirmations
Performs best on stocks/instruments with active volume
累计成交量比率(Cumulative Volume Ratio)
本指标专门计算并显示过去 n 根 K 线的累计买入成交量与卖出成交量的比率(Ratio = 累计买入量 / 累计卖出量)。
根据 K 线价格走势对成交量进行拆分:
阳线(收盘 > 开盘)→ 全部成交量计入买入
阴线(收盘 < 开盘)→ 全部成交量计入卖出
平盘(收盘 = 开盘)→ 支持多种处理方式(50/50 平分、忽略、全部计买入、全部计卖出)
核心功能:
支持柱状图(Bars)或折线图(Line)两种显示方式
比率 > 1 时显示橙色(买方强势),比率 < 1 时显示青色(卖方强势)
内置关键参考线:1:1 均衡线、买方强势 (>1.5)、卖方强势 (<0.67)
可选在最后一根 K 线上显示调试标签,实时显示当前比率值及累计买/卖量数值
参数说明:
回看周期 n:累计计算的 K 线根数(默认 20)
平盘处理:如何处理收盘=开盘的 K 线(默认 50/50 平分)
比率显示为柱状图:开启为柱状图,关闭为折线图
显示当前比率数值标签:是否显示最后一根 K 线的数值标签(调试用)
使用建议:
比率 > 1 表示近期买入力量占优,适合关注潜在上涨动能
比率 < 1 表示卖出力量占优,可作为短线压力参考
建议与价格主图结合使用,观察比率与价格走势的背离或确认信号
在成交量活跃的个股上效果更明显
Cumulative Buy/Sell Volume[MIT]Cumulative Buy/Sell Volume - Stacked/Separate Mode
Description:
This indicator calculates and displays the cumulative buy and sell volume over the past N bars (lookback period). It splits volume based on price movement:
Up bars (close > open) → All volume assigned to Buy
Down bars (close < open) → All volume assigned to Sell
Flat bars (close == open) → Configurable handling (split 50/50, ignore, all to buy, or all to sell)
Key Features:
Two display modes:
Separate Display: Buy bars upward (green), Sell bars downward (red) — classic side-by-side comparison
Stacked Display: Both bars upward — visually stacked to show total volume and buy/sell dominance
Fully customizable colors for Buy and Sell bars (with high transparency for better stacking visibility)
Rolling window calculation (default 20 bars)
Optional debug label on the last bar showing exact Buy/Sell cumulative values
Inputs:
Lookback Period n: Number of bars to look back for cumulative volume (default: 20)
Flat Bar Volume Handling: How to handle doji/flat bars (Split 50/50, Ignore, All to Buy, All to Sell)
Display Mode: Separate Display or Stacked Display
Show Buy Volume / Show Sell Volume: Toggle visibility
Buy Bar Color / Sell Bar Color: Custom color picker
Usage Tips:
Use "Stacked Display" to quickly see which side (buy or sell) dominates the recent volume.
Use "Separate Display" for clear absolute strength comparison.
Higher transparency ensures overlapping bars in stacked mode remain distinguishable.
Best used on active stocks with sufficient volume.
Note: This is a non-overlay indicator (shows in a separate pane). Combine with price chart for better context.
指标名称: 累计买/卖成交量 - 叠加/分开模式
短标题: Cum BuySell Vol Custom
指标描述:
本指标计算并显示过去 N 根 K 线的累计买入量和卖出量。根据价格走势对成交量进行拆分:
阳线(收盘 > 开盘)→ 全部成交量计入买入
阴线(收盘 < 开盘)→ 全部成交量计入卖出
平盘(收盘 = 开盘)→ 可配置处理方式(50/50 平分、忽略、全部计买入、全部计卖出)
主要功能:
两种显示模式:
分开展示(Separate Display):买入柱向上(绿色),卖出柱向下(红色)——经典对比模式
叠加展示(Stacked Display):买入和卖出柱都向上绘制——视觉上堆叠,快速看出买/卖谁占主导
支持自定义买入柱和卖出柱颜色(内置高透明度,确保叠加时两种颜色都能看清)
滚动窗口计算(默认 20 根 K 线)
可选在最后一根 K 线上显示调试标签(显示精确的累计买入/卖出数值)
参数说明:
回看周期 n:累计计算的 K 线根数(默认 20)
平盘处理方式:如何处理收盘=开盘的 K 线(50/50 平分、忽略、全部计买入、全部计卖出)
显示模式:分开展示 或 叠加展示
显示买入量 / 显示卖出量:开关控制是否显示对应柱子
Buy Bar Color / Sell Bar Color:自定义柱子颜色(支持透明度调整)
使用建议:
叠加模式适合快速判断近期成交量中买方或卖方更强势(柱子谁高谁占优)。
分开模式适合清晰对比买/卖绝对力量差异。
高透明度设置确保叠加时两种颜色都能透出,不会完全覆盖。
建议用在成交活跃的个股上,效果更明显。






















