OPEN-SOURCE SCRIPT

Ripster: DTR/ATR + SMA Div + RVOL

90
🧭 Overview

The indicator combines three major analytical tools into one TradingView Pine v6 script — designed for clean, at-a-glance insight into range, divergence, and volume activity.

It shows:

DTR vs ATR Table – current Daily True Range compared to Average True Range.

SMA Price Divergence + EMA Signal – a histogram with color-coded momentum bands.

RVOL Table + Candle Coloring + Change Labels – relative-volume analysis with visual cues on the chart.

Short title: ripcombo
Runs on chart overlay (no separate pane).

📊 1. DTR vs ATR Table

Compares today’s price range (High-Low) to the average true range over a selectable length.

Supports multiple smoothing methods: EMA, RMA, SMA, WMA.

Table position and text size are configurable.

Color logic:

🟢 ≤ 70 % of ATR → low volatility

🟡 70–90 % → average

🔴 ≥ 90 % → expanded range

📈 2. SMA Divergence + EMA Signal

Computes fast (14 SMA) and slow (30 SMA) divergences of price.

Plots two histograms plus an EMA signal line of the slow divergence.

Visuals:

Columns shaded by transparency for clarity.

Rising EMA → lime line (up momentum).

Falling EMA → red line (down momentum).

Optional upper/lower bands and zero line provide quick overbought/oversold zones.

🔥 3. RVOL (Relative Volume)

Adds powerful volume-based context:

a. Table Display

Shows:

Candle Volume

RVOL (Now)

RVOL (Prev)

Δ RVOL (change Now − Prev)

Colors:

🔴 > 200 % (very high volume)

🟠 100–200 % (high volume)

🟡 < 100 % (normal/low volume)

Δ column is green ▲ for increase, red ▼ for decrease.

b. Candle Coloring (optional)

Colors price candles themselves by current RVOL threshold so high-volume candles visually stand out.

c. Last-Bar Label (optional)

Prints a compact label on the latest candle showing:
RVOL: ### % Δ: ▲/▼## %
so you can instantly see the current volume strength and how it changed from the previous bar.

⚙️ User Settings

All major elements are toggle-controlled:

Enable/disable ATR, Divergence, or RVOL sections.

Choose table positions (top/middle/bottom × left/center/right).

Select text sizes, smoothing types, color modes, and visual transparency.

Candle coloring + label visibility are optional.

🧠 At a Glance
Component Purpose Key Visuals
DTR vs ATR Measures volatility expansion One-cell colored table
SMA Divergence Detects price momentum shifts Columns + EMA line + bands
RVOL Analysis Highlights unusual trading volume Colored table + Δ column + candle colors + label
✅ Result

You get a single on-chart tool that:

Quantifies volatility, momentum, and volume context together.

Highlights strong activity days (ATR & RVOL) in color.

Shows whether current candle’s volume is rising or falling vs the previous.

Perfect for spotting breakouts, reversals, or exhaustion moves without switching indicators.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.