OPEN-SOURCE SCRIPT

Raindrop Candles (Zeiierman)

999
Overview

Raindrop Candles (Zeiierman) reimagines a classic “raindrop” chart by plotting each bar as a mini volume profile with left/right volume-weighted centroids. Instead of a single OHLC candle, you see how volume was distributed inside the bar and whether the first half or second half of activity dominated. Curved, depth-like profiles make balance vs. imbalance pop at a glance.
snapshot

Highlights
  • Intrabar volume profiles (per bar) built from lower-timeframe data.
  • Left vs. Right centroids show where volume concentrated in the first half vs. second half of the bar.
  • Optional mid-line for quick balance read.
  • Flexible bucket resolution and full bull/neutral/bear coloring for instant bias cues.

snapshot
This is a precision tool for reading where and when volume stacked within each bar, perfect for timing around balance shifts, POC drifts, and micro LVNs.

How It Works
Data Sourcing & Split
For each visible bar, the script pulls lower-timeframe series (minute or second, depending on your chart) to reconstruct intrabar action:
  • It splits the bar’s sub-candles into first half and second half windows.
  • It computes volume-weighted prices (VWAP-like centroids) for each half:

Pine Script®
left = Σ(close_i * volume_i) over first half / Σ(volume_i) over first half right = Σ(close_i * volume_i) over second half / Σ(volume_i) over second half

These become the left and right anchor points plotted as short guide lines and used to determine bull/neutral/bear state:
  • right > left → bullish skew
  • right < left → bearish skew
  • right ≈ left → neutral/balanced


Bullish Raindrop
snapshot
Bearish Raindrop
snapshot

Per-Bar Micro Profile (Buckets)
Each bar’s full price range (low → high) is divided into N buckets (levels). Every sub-candle is assigned to a bucket by its close, and its volume is added to that bucket. This yields a mini profile for the left window and another for the right window.
Pine Script®
step = (high - low) / buckets bucket(price) = floor((price - low) / step) bucketVol[j] += volume_i when close_i ∈ bucket j

snapshot

Shape Generation & Curving
For each bucket:
  • The script scales the profile’s horizontal extent by the bucket’s relative volume (vs. the bar’s min/max bucket volume).
  • Buckets are then converted to ordered points and drawn as filled polylines on both sides of the bar (left and right).
  • When Curved Profile is ON, polylines are smoothed for a fluid, depth-like aesthetic (purely visual—stats don’t change).

█ How to Use

Traders can use Raindrop Candles to spot where trading activity truly occurred within each candle, not just where price moved.

Traders can easily see where the volume was executed within each bar, which helps to understand whether buyers or sellers are in control at different price levels.

This makes it easy to spot imbalances, situations where one side (buyers or sellers) dominates the traded volume, revealing hidden pressure zones that may lead to breakouts, reversals, or consolidations.
Raindrops help reveal the intent behind price moves, whether the move had real volume support or was mostly noise.

snapshot

Tips
Split your TradingView layout into two synchronized charts:
  • On the right, display your regular candlestick or bar chart.
  • On the left, add the Raindrop Chart view.

This setup makes it easy to track the live price while simultaneously seeing how the intrabar volume is distributed in real time.

You’ll immediately notice when price moves are backed by real volume and when they’re not.
snapshot

Settings
  • Candles (Lookback) – How many recent bars to render. More bars = more shapes. If performance slows, reduce this.
  • Buckets (Price Levels) – Vertical resolution of each bar’s micro-profile. Higher = more detail; lower = smoother.
  • Curved Profile – Smooths profile edges for a 3D-style look (visual only).
  • Mid Line – Draws a short guide at the average of left/right centroids.
  • Volume Profile – Show/hide the filled left/right micro-profiles (edge lines can remain visible).
  • Bull / Neutral / Bear Fill Colors – Fills used based on left↔right skew.
  • Bull / Neutral / Bear Line Colors – Edge/guide line colors matching the skew.



-----------------
Disclaimer

The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.

All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.