Smart Money Concepts - Absorption Smart Money Concepts - Absorption (SMC-ABS)
Absorption event detector using split-volume VWMA ribbons, entropy filtering, and elasticity validation
Overview
This indicator highlights potential absorption/defense events: moments where price touches a volume-weighted band and then rejects, while additional filters confirm that market conditions are not random/noisy.
What it plots
• Energy ribbons (bands): two split-volume VWMA ribbon sets - Buy-weighted (cyan) and Sell-weighted (magma).
• ABS markers: printed when touch + rejection + validation conditions are met (see Logic section).
• Dashboard (HUD): real-time metrics such as price/volume z-scores, delta, entropy state, and resonance momentum states.
Core logic
1) Volume engine
The script builds Buy Volume and Sell Volume series using one of two modes:
• Geometry (candle-range split): estimates buy/sell participation from the close position within the candle range.
• Intrabar (precise): uses lower-timeframe up/down volume to derive buy/sell flows when data is available.
2) Split-VWMA resonance score
For multiple periods (5, 10, 20, 30, 40, 50), the script computes:
• A standard SMA of price.
• A Buy-weighted VWMA of price (weighted by Buy Volume).
• A Sell-weighted VWMA of price (weighted by Sell Volume).
Resonance is derived from the normalized divergence between the SMA and the split VWMAs, aggregated across the available periods.
3) Validation filters
Signals can be filtered by the following components (each toggleable):
• Volume-weighted entropy: a fractal-efficiency style disorder metric (TR-sum vs range) adjusted by relative volume; high entropy blocks signals.
• Momentum alignment (resonance velocity) : direction filter requiring positive velocity for buy events and negative velocity for sell events.
• Elasticity (recoil vs penetration): rejection quality check based on the bounce-back strength relative to the penetration depth into the fast band.
Absorption event conditions (ABS markers)
ABS markers are generated using the fastest ribbon band (length 5) for the touch/rejection logic:
• Buy absorption: low touches/penetrates the Buy band and the candle closes back above it, with filters passing.
• Sell absorption: high touches/penetrates the Sell band and the candle closes back below it, with filters passing.
Note: acceleration/deceleration is displayed in the HUD as a state; the primary directional filter is the resonance velocity.
Settings
• Volume Model: choose Geometry or Intrabar.
• Intrabar LTF: lower timeframe used by the Intrabar model (only applies when Intrabar is selected).
• Global Lookback: lookback window used for z-score statistics and related calculations.
• Quantum Filters: toggles and thresholds for entropy, momentum alignment, and elasticity validation.
• Dashboard Settings :/ Energy Ribbons / Absorption Events: controls for visuals and filtering behavior.
Usage notes and limitations
• Signals are most reliable after candle close. On the forming candle, conditions can change until the bar closes.
• Results depend on the availability and quality of volume data for the selected symbol and exchange.
• The Geometry mode is an estimate based on candle structure; it is not tick-accurate order flow.
• Terms such as “quantum” and “physics” are metaphorical labels for statistical filters and validation heuristics.
Disclaimer
This tool is provided for analytical and educational use only. It does not constitute investment advice. Trading involves risk.
Important note about Intrabar data and TradingView plan limits
This indicator is volume-dependent. When using the Intrabar model, the best results typically come from very low intrabar timeframes such as 1 tick or 1 second (if your symbol and data feed support it). Please check your TradingView subscription plan and data entitlements - access to 1-second/1-tick lower timeframes is commonly restricted to higher-tier plans (often referred to as Premium/Ultra tiers). If intrabar data is not available, the script falls back to relative buy/sell volume estimation (Geometry mode), and results may be less precise.
볼륨
Auto-Anchored Fibonacci Volume Profile [Custom Array Engine]Description:
1. The Theoretical Foundation: Structure vs. Participation In professional technical analysis, traders often struggle to reconcile two distinct datasets: Price Geometry (where price should go) and Market Participation (where money actually went).
Why Fibonacci? (The Structure) Fibonacci Retracements map the mathematical structure of a trend. They identify psychological and algorithmic "interest zones" (0.382, 0.5, 0.618) where a correction is statistically likely to terminate. However, Fibonacci levels are theoretical—they are "lines in the sand" that do not guarantee liquidity or reaction.
Why Volume Profile? (The Verification) Volume Profile maps the historical exchange of shares at specific price levels. It reveals "fair value" (High Volume Nodes) and "market imbalance" (Low Volume Nodes). It is the only tool that verifies if a specific price level was actually accepted by institutional participants.
2. Underlying Calculations (The Custom Engine) This script operates on a custom-built calculation engine that bypasses standard built-in functions entirely. It uses Pine Script Arrays to build a Volume Profile from scratch. Here is the breakdown of the proprietary code logic:
A. The "Smart-Fill" Distribution Algorithm (Solves Gapping)
The Problem: Standard volume scripts often assign a candle's entire volume to a single price row. In volatile markets or steep trends, this creates visual "gaps" or a "barcode" effect because price moved too fast to register on every row.
My Solution: I wrote a custom loop that calculates the vertical overlap of every candle against the profile grid.
The Math: Volume Per Bin = Total Candle Volume / Bins Touched.
The Result: If a single volatile candle spans 10 price rows (bins), the script mathematically divides that volume and distributes it equally into all 10 array indices. This generates a solid, continuous distribution curve that accurately reflects price action through the entire candle range, not just the close.
B. Dynamic Arrays & Split-Volume Logic The script initializes two separate floating-point arrays (buyVolArray and sellVolArray) sized to the user's resolution (up to 300 rows). It iterates through the specific time-window of the swing:
If Close >= Open, the calculated volume slice is injected into the Buy Array.
If Close < Open, it is injected into the Sell Array.
These arrays are then visually stacked to render the dual-color profile, allowing traders to see the "Delta" (Buyer vs. Seller aggression) at key structural levels.
C. Custom Garbage Collection (Performance) To enable the "Auto-Anchoring" feature without causing chart lag or visual artifacts ("ghosting"), the script includes a Garbage Collection System. Before drawing a new profile, the script iterates through a tracking array of all existing objects (box.delete, line.delete) and clears them from memory. This ensures the indicator remains lightweight and responsive even when dragging chart margins or switching timeframes.
3. The Synthesis: Why Combine Them? The core philosophy of this script is Confluence . A Fibonacci level without volume is merely a suggestion; a Fibonacci level backed by volume is a defensive wall. By algorithmically anchoring a Volume Profile to the exact coordinates of a Fibonacci swing, this tool allows traders to instantly answer critical questions:
"Is the Golden Pocket (0.618) supported by a High Volume Node (HVN), or is it a Low Volume Node (LVN) that price might slice through?"
"Is the Shallow Retracement (0.382) holding because of structural support, or just a lack of selling pressure?"
4. How to Read the Indicator
The Geometry: The script automatically detects the trend and draws standard Fib levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0).
The Confluence Check: Look for the Point of Control (Red Line). If this High Volume Node aligns with a key Fib level (e.g., the 0.618), the probability of a reversal increases significantly.
The Imbalance Check: Look for "Valleys" in the profile (Low Volume Nodes). These gaps often act as "slippage zones" where price travels quickly between structural levels.
Buy/Sell Splits: The dual-color bars (Teal/Red) reveal the composition of the volume. A 0.618 level held up by dominant Buy Volume is a stronger bullish signal than one with mixed volume.
5. Settings & Customization
Lookback Length: Sensitivity of the swing detection (Default: 200 bars).
Resolution: Granularity of the profile rows (Default: 100). Higher values provide smoother definition.
Width (%): Responsive sizing that scales the profile relative to the trend's duration.
Extend Lines: Option to project structural levels infinitely to the right.
Disclaimer This script is an analytical tool for visualizing historical market data. It does not provide trade signals or financial advice.
Algorithmic Volume Rejection Zones [AVRZ]Hello traders,
I am pleased to release the Algorithmic Volume Rejection Zones (AVRZ). This is a specialized decision-support system designed to identify high-probability reversal points by synthesizing candle geometry, market structure, and statistical volume anomalies.
Trading reversals often presents a dilemma: wait for confirmation and miss the move, or enter early and get stopped out by noise. AVRZ solves this by quantifying "Institutional Absorption." It filters out weak price probes and highlights only the specific moments where significant volume has stepped in to defend a price level.
🛡️ The Concept: Attacking The Zonesl
You will often see price aggressively "attack" a support or resistance level with speed and high volume. To the untrained eye, this looks like a breakout. However, professional analysis reveals that this is often an Efficiency Event—liquidity is being absorbed by passive limit orders.
The AVRZ indicator is specifically engineered to detect this phenomenon. When price strikes a level and volume spikes (>2.0 Sigma), it signals that the auction is becoming efficient and a reversal is imminent. The script captures this "Attack" via the Climax Bypass logic, plotting a fresh zone immediately to mark where the liquidity was defended.
Session Relative VolumeSession Relative Volume is an advanced intraday futures volume indicator that analyzes volume separately for Asia, London, and New York sessions - something standard relative volume tools can’t do.
Instead of aggregating the entire day’s volume, the indicator compares current volume to historical averages for the same session and time of day, allowing you to spot true volume strength and meaningful spikes, especially around session opens.
Background
Relative volume helps traders spot unusual activity: high volume often signals institutional participation and trending days, while low volume suggests weak commitment and possible mean reversion. In futures markets, sessions ( Asia, London, New York ) must be analyzed separately, but TradingView’s Relative Volume in Time aggregates the entire day, masking session-specific behavior - especially during the New York open. Since volume can vary by more than 20× between sessions, standard averages struggle to identify meaningful volume spikes when trader conviction matters most.
Indicator Description
The “Session Relative Volume” indicator solves these problems by calculating historical average volume specific to each session and time of day, and comparing current volume against those benchmarks. It offers four display modes and fully customizable session times
Altogether, it provides traders with a powerful tool for analyzing intraday futures volume, helping to better assess market participation, trader conviction, and overall market conditions - ultimately supporting improved trading decisions.
Parameters
Mode – display mode:
R-VOL: Relative cumulative session-specific volume at time
VOL CUM: Cumulative session volume at time compared to historical average cumulative session-specific volume
VOL AVG: Average session intrabar volume at time compared to historical average session-specific intrabar volume
VOL: Individual bars volume, highlighting (solid color) unusual spikes
Lookback period – number of days used for calculating historical average session volume at time
MA Len – length of the moving average, representing average bar volume within a session based on previous periods (different from historical cumulative volume!). Used only in VOL and VOL AVG modes
MA Thresh – deviation from moving average, used to detect bar volume spikes (bar volume > K × moving average)
Start Time – End Time and Time Zone parameters for each session. The time zone must be set using TradingView’s format (e.g., GMT+1).
Effort-Result Divergence [Interakktive]The Effort-Result Divergence (ERD) measures whether volume effort is producing proportional price result. It quantifies the classic Wyckoff principle: when price moves easily, momentum is real; when price struggles despite heavy volume, absorption is occurring.
Think of ERD as "energy efficiency" for price movement — green means price is gliding, red means price is grinding.
█ WHAT IT DOES
• Measures volume EFFORT relative to average volume
• Measures price RESULT relative to ATR-normalized movement
• Computes ERD = Result minus Effort (each scaled 0-100)
• Flags statistical divergences via Z-score analysis
• Absorption events: high effort, low result (negative ERD)
• Vacuum events: low effort, high result (positive ERD)
█ WHAT IT DOES NOT DO
• NO buy/sell signals
• NO entry/exit recommendations
• NO alerts (v1 is educational only)
• NO performance claims or guarantees
This is a context tool for understanding market participation quality.
█ HOW IT WORKS
The ERD analyzes two dimensions of market activity and compares them.
EFFORT (Volume Intensity)
Compares current volume to a moving average baseline:
Effort Ratio = Volume ÷ SMA(Volume, Length)
Effort Score = clamp(100 × Effort Ratio ÷ Effort Cap)
High effort means above-average volume participation.
Low effort means below-average volume participation.
RESULT (Price Efficiency)
Measures how much price moved relative to expected volatility:
Result Ratio = |Close − Previous Close| ÷ ATR
Result Score = clamp(100 × Result Ratio ÷ Result Cap)
High result means price moved significantly for the volatility regime.
Low result means price barely moved despite market activity.
ERD SCORE
ERD = Result − Effort
• Positive ERD: Result exceeds effort → price moved easily (vacuum/thin liquidity)
• Negative ERD: Effort exceeds result → price struggled (absorption/accumulation)
• Near zero: Balanced effort-to-result relationship
STATISTICAL DIVERGENCE DETECTION
Z-score analysis identifies statistically significant extremes:
Z = (ERD − Mean) ÷ StdDev
• Absorption Event: Z ≤ −threshold (extreme negative ERD)
• Vacuum Event: Z ≥ +threshold (extreme positive ERD)
█ INTERPRETATION
GREEN BARS (Positive ERD)
Price moved with relatively little volume effort. This suggests:
• Thin liquidity / low resistance
• Strong directional interest
• Momentum is "real" — not forced
RED BARS (Negative ERD)
Heavy volume was used but price barely moved. This suggests:
• Absorption / accumulation occurring
• Large players opposing the move
• Inefficiency — someone is working hard for little result
THE KEY INSIGHT
When you see:
• Down moves = high effort (red spikes)
• Up moves = low effort (green bars)
This means: It's easier for price to go up than down.
That is asymmetric strength — classic bullish pressure.
The reverse (red on up moves, green on down moves) signals bearish pressure.
PRACTICAL RULES
Without any other indicators:
• Avoid shorting when ERD is mostly green and red spikes appear only on down candles
• Be cautious buying when ERD turns red on up candles (signals absorption of buying pressure)
• Vacuum events (extreme green) often precede continuation or pause — not violent reversal
• Absorption events (extreme red) often precede reversals or range formation
█ VOLUME DATA NOTE
This indicator uses the volume variable which represents:
• Exchange volume on stocks and futures
• Tick volume on Forex and CFD instruments
Tick volume is a proxy for activity, not actual exchange volume. The indicator remains useful on Forex as relative volume comparisons are still meaningful, but interpretation should account for this limitation.
█ INPUTS
Core Settings
• Volume Average Length: Baseline period for effort calculation (default: 20)
• ATR Length: Volatility normalization period (default: 14)
• Effort Cap: Volume ratio that maps to 100% effort (default: 3.0)
• Result Cap: ATR multiple that maps to 100% result (default: 1.0)
Divergence Detection
• Z-Score Lookback: Statistical analysis window (default: 100)
• Z-Score Threshold: Standard deviations for event flags (default: 2.0)
Visual Settings
• Show ERD Histogram: Toggle main display
• Show Zero Line: Toggle reference line
• Show Divergence Markers: Toggle event circles
• Show Effort/Result Lines: Display component breakdown
█ ORIGINALITY
While Wyckoff's effort-versus-result principle is well-established, existing implementations are typically:
• Purely visual with no quantification
• Pattern-based requiring subjective interpretation
• Not statistically normalized for comparison across instruments
ERD is original because it:
1. Normalizes both effort and result to 0-100 scales for direct comparison
2. Uses ATR for result normalization (adapts to volatility regime)
3. Applies statistical Z-score for objective divergence detection
4. Provides quantified output suitable for systematic analysis
█ DATA WINDOW EXPORTS
When enabled, the following values are exported:
• Effort (0-100)
• Result (0-100)
• ERD Score
• Z-Score
• Absorption Event (1/0)
• Vacuum Event (1/0)
█ SUITABLE MARKETS
Works on: Stocks, Futures, Forex, Crypto
Best on: Instruments with reliable volume data (stocks, futures, crypto)
Timeframes: All timeframes — interpretation adapts accordingly
█ RELATED
• Market Efficiency Ratio — measures price path efficiency
• Wyckoff Volume Spread Analysis — conceptual foundation
█ DISCLAIMER
This indicator is for educational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis before making trading decisions.
Candle Strength Analyzer by The Ultimate Bull Run# Candle Strength Analyzer
## 📊 Complete Beginner's Guide
---
### 🎯 What This Indicator Does
The **Candle Strength Analyzer** measures how "strong" or "weak" each candlestick is and displays a **score from 0 to 100** above or below every candle.
- **Green numbers** = Bullish (price went UP)
- **Red numbers** = Bearish (price went DOWN)
- **Gray numbers** = Doji (price barely moved)
**Higher score = Stronger candle = More reliable signal**
---
### 🕯️ Understanding Candlesticks (The Basics)
If you're new to trading, here's what a candlestick shows:
```
│ ← Upper Wick (prices that were rejected)
│
┌───┐
│ │ ← Body (the "real" price movement)
│ │ • Green/White body = Price went UP (Bullish)
│ │ • Red/Black body = Price went DOWN (Bearish)
└───┘
│
│ ← Lower Wick (prices that were rejected)
```
**Key Terms:**
- **Open**: The price when the candle started
- **Close**: The price when the candle ended
- **High**: The highest price during the candle
- **Low**: The lowest price during the candle
- **Body**: The rectangle between Open and Close
- **Wick/Shadow**: The thin lines above and below the body
---
## 📐 The 4 Components of Candle Strength
This indicator combines **4 measurements** to calculate the final strength score. Let's understand each one:
---
### 1️⃣ Body Ratio (30% of score)
**What it is:**
The percentage of the candle that is "body" versus "wicks."
**Formula:**
```
Body Ratio = Size of Body ÷ Total Candle Size × 100
```
**What it tells you:**
- **High Body Ratio (70-100%)**: Bulls or bears were in FULL control. The price moved in one direction and STAYED there. This is strong.
- **Low Body Ratio (0-30%)**: There was a fight. Price moved up AND down but ended up roughly where it started. This is weak/indecisive.
**Visual Example:**
```
Strong Candle (90% body): Weak Candle (20% body):
│ │
┌───┐ │
│ │ ┌─┴─┐
│ │ ← Mostly body │ │ ← Tiny body
│ │ └─┬─┘
└───┘ │
│ │
```
**How to interpret:**
| Body Ratio | Meaning |
|------------|---------|
| 90-100% | **Marubozu** - Extremely strong, full commitment |
| 70-90% | **Strong** - Clear winner (bulls or bears) |
| 40-70% | **Normal** - Typical market activity |
| 10-40% | **Weak** - Significant indecision |
| 0-10% | **Doji** - Complete indecision, no winner |
---
### 2️⃣ Close Position Score (25% of score)
**What it is:**
WHERE the candle closed within its range (high to low).
**What it tells you:**
- For a **bullish (green) candle**: Closing near the HIGH means buyers were still eager at the end = STRONG
- For a **bearish (red) candle**: Closing near the LOW means sellers were still eager at the end = STRONG
**Visual Example:**
```
Strong Bullish: Weak Bullish:
(closes near high) (closes near middle)
┌───┐ ← Close here │
│ │ ┌─┴─┐ ← Close here
│ │ │ │
│ │ │ │
└───┘ └───┘
│ │
```
**Why it matters:**
If price went UP but then sellers pushed it back down before the candle closed, that's a sign of weakness. The bulls couldn't hold their ground.
**How to interpret:**
| Close Position | For Bullish Candle | For Bearish Candle |
|----------------|-------------------|-------------------|
| 80-100% | Strong (near high) | Weak (near high) |
| 50-80% | Moderate | Moderate |
| 20-50% | Weak | Moderate |
| 0-20% | Very Weak (near low) | Strong (near low) |
---
### 3️⃣ Relative Volume - RVOL (25% of score)
**What is Volume?**
Volume is the NUMBER of shares/contracts traded during that candle. Think of it as "how many people participated."
**What is RVOL?**
RVOL compares TODAY'S volume to the AVERAGE volume.
**Formula:**
```
RVOL = Current Volume ÷ Average Volume (last 20 candles)
```
**What it tells you:**
- **RVOL = 1.0**: Normal activity (same as average)
- **RVOL = 2.0**: DOUBLE the normal activity (2x more traders involved)
- **RVOL = 0.5**: HALF the normal activity (fewer traders involved)
**Why it matters:**
A big price move with LOW volume is suspicious - it might not last.
A big price move with HIGH volume is confirmed - many traders agree.
**Think of it like voting:**
- High volume = Many people voted for this direction
- Low volume = Only a few people voted, decision might change
**How to interpret:**
| RVOL | Meaning | Signal Quality |
|------|---------|----------------|
| 2.0+ | Very High - Institutional activity likely | ⭐⭐⭐ Excellent |
| 1.5-2.0 | High - Significant interest | ⭐⭐ Good |
| 1.0-1.5 | Above Average | ⭐ Acceptable |
| 0.7-1.0 | Below Average | ⚠️ Caution |
| < 0.7 | Low - Lack of interest | ❌ Unreliable |
---
### 4️⃣ Size vs ATR (20% of score)
**What is ATR?**
ATR stands for "Average True Range." It measures how much the price TYPICALLY moves.
**What this component measures:**
How big is THIS candle compared to how big candles USUALLY are?
**Formula:**
```
ATR Ratio = This Candle's Size ÷ Average Candle Size (ATR)
```
**What it tells you:**
- **ATR Ratio = 2.0**: This candle is TWICE as big as normal = Significant move
- **ATR Ratio = 1.0**: This candle is normal sized
- **ATR Ratio = 0.5**: This candle is HALF the normal size = Minor move
**Why it matters:**
A 50-point move in a stock that normally moves 100 points is small.
A 50-point move in a stock that normally moves 20 points is HUGE.
Context matters!
**How to interpret:**
| ATR Ratio | Meaning |
|-----------|---------|
| 2.0+ | **Expansion** - Unusually large move, potential breakout |
| 1.5-2.0 | **Large** - Significant momentum |
| 1.0-1.5 | **Above Average** - Notable move |
| 0.5-1.0 | **Normal** - Typical movement |
| < 0.5 | **Small** - Insignificant, might be noise |
---
## 🧮 How the Final Score is Calculated
The indicator combines all 4 components with these weights:
```
Final Score = (Body Ratio × 30%) +
(Close Position × 25%) +
(RVOL Score × 25%) +
(Size Score × 20%)
```
**Result: A score from 0 to 100**
---
## 📊 Understanding the Strength Score
| Score | Classification | What It Means | Should You Trade It? |
|-------|---------------|---------------|---------------------|
| **70-100** | 🟢 STRONG | High conviction move, reliable signal | ✅ Yes - Good setup |
| **40-70** | 🟡 MODERATE | Average move, needs confirmation | ⚠️ Maybe - Add other indicators |
| **0-40** | 🔴 WEAK | Low conviction, unreliable | ❌ No - Wait for better setup |
---
## 🏷️ Special Pattern Markers
The indicator also detects special candlestick patterns:
### ⚡ Power Candle
**Requirements:**
- Body Ratio > 70% (strong body)
- RVOL > 1.5 (high volume)
- Close Position > 80% (closes near the extreme)
**What it means:** The BEST possible signal. Everything aligns perfectly.
### Ⓜ️ Marubozu
**Requirements:**
- Body Ratio > 90% (almost no wicks)
**What it means:** Complete dominance by bulls or bears. Very strong continuation signal.
### ◆ High Volume Doji
**Requirements:**
- Doji candle (tiny body)
- High volume
**What it means:** Many traders are fighting, but no one won. Often signals a REVERSAL is coming.
---
## ⚙️ Settings Explained
### Volume Settings
| Setting | Default | What It Does |
|---------|---------|--------------|
| Volume Lookback Period | 20 | How many candles to average for "normal" volume |
| RVOL Threshold | 1.5 | What counts as "high" volume (1.5 = 50% above average) |
### ATR Settings
| Setting | Default | What It Does |
|---------|---------|--------------|
| ATR Period | 14 | How many candles to calculate average movement |
| ATR Multiplier | 1.5 | What counts as a "large" candle |
### Strength Thresholds
| Setting | Default | What It Does |
|---------|---------|--------------|
| Strong Candle Threshold | 70 | Score needed to be "strong" |
| Weak Candle Threshold | 30 | Score below this is "weak" |
### Label Filter (Important!)
TradingView limits indicators to **500 labels maximum**. Use filters to see more history:
| Filter Mode | Shows | Best For |
|-------------|-------|----------|
| All Candles | Every single candle | Short-term charts (5min, 15min) |
| Strong Only (70+) | Only strong candles | Longer history, key signals only |
| Moderate+ (40+) | Moderate and strong | Balance of detail and history |
| Custom Minimum | Your choice | Full control |
**Tip:** On daily charts, use "Strong Only" to see months of history instead of just a few weeks.
### Label Settings
| Setting | What It Does |
|---------|--------------|
| Label Size | tiny / small / normal / large |
| Show Decimal Places | Show "72.5" instead of "73" |
| Label Style | With background bubble OR just text |
---
## 📖 How to Read the Info Table
The table in the corner shows details for the CURRENT (most recent) candle:
| Row | Meaning |
|-----|---------|
| **Candle Strength** | The final score (0-100) |
| **Direction** | BULLISH / BEARISH / DOJI |
| **Body Ratio** | Percentage of candle that is body |
| **Close Position** | Where it closed (0-100) |
| **Upper Wick** | Size of upper wick as % |
| **Lower Wick** | Size of lower wick as % |
| **RVOL** | Current volume vs average (1.5x = 50% above average) |
| **Size/ATR** | Candle size vs average size |
| **Classification** | STRONG / MODERATE / WEAK |
| **Vol Confirmed** | Is volume above threshold? |
| **Pattern** | Special pattern detected |
---
## 🎓 How to Use This Indicator
### Step 1: Add to Chart
1. Open Pine Editor in TradingView
2. Paste the code
3. Click "Add to Chart"
### Step 2: Adjust Filter (if needed)
- If you see "max labels reached," change filter to "Strong Only (70+)"
- This lets you see more candles in history
### Step 3: Look for Strong Signals
Focus on candles with:
- ✅ Score **70+** (bright green or red)
- ✅ **RVOL > 1.5** (confirmed by volume)
- ✅ Special markers (⚡, M, ◆)
### Step 4: Avoid Weak Signals
Be careful with candles that have:
- ❌ Score **below 40** (muted colors)
- ❌ **RVOL < 1.0** (no volume confirmation)
- ❌ Large wicks (rejection happened)
---
## 💡 Trading Tips for Beginners
### ✅ DO:
1. **Wait for strong candles (70+)** before entering trades
2. **Confirm with volume** - Look for RVOL > 1.5
3. **Use at support/resistance levels** - Strong candles at key levels are more meaningful
4. **Combine with other indicators** - RSI, MACD, or moving averages
5. **Practice on demo first** - Learn to recognize strong vs weak candles
### ❌ DON'T:
1. **Trade every candle** - Not all candles are worth trading
2. **Ignore volume** - A strong candle with low volume is suspicious
3. **Fight the trend** - Strong bearish candles in an uptrend might just be pullbacks
4. **Over-leverage** - Even strong signals can fail
---
## 📝 Quick Reference Cheat Sheet
```
STRONG CANDLE CHECKLIST:
□ Score 70+
□ RVOL > 1.5
□ Body Ratio > 60%
□ Close Position > 75% (bullish) or < 25% (bearish)
□ At key support/resistance level
WEAK CANDLE WARNING SIGNS:
□ Score < 40
□ RVOL < 0.7
□ Large wicks (> 30%)
□ Doji pattern
□ Small candle (ATR Ratio < 0.5)
```
---
## ⚠️ Important Disclaimers
1. **No indicator is 100% accurate** - Always use stop losses
2. **Past performance ≠ future results** - Markets change
3. **This is a tool, not a strategy** - Combine with other analysis
4. **Practice first** - Use paper trading before real money
---
## 🔔 Alerts Available
Set alerts for:
- Strong Bullish Candle (with volume confirmation)
- Strong Bearish Candle (with volume confirmation)
- Power Candle detected
- Marubozu detected
- High Volume Doji detected
---
## ❓ FAQ
**Q: Why are some candles missing labels?**
A: TradingView limits indicators to 500 labels. Use filters to see more history.
**Q: The label colors are hard to see. Can I change them?**
A: Yes! Go to Settings → Colors and customize all colors.
**Q: Should I only trade strong candles?**
A: Strong candles are MORE reliable, but not guaranteed. Always use proper risk management.
**Q: What timeframe works best?**
A: Works on all timeframes. Higher timeframes (4H, Daily) tend to have more reliable signals.
**Q: Can I use this for crypto/forex/stocks?**
A: Yes! This indicator works on any market with candlestick data and volume.
---
## 📚 Glossary
| Term | Definition |
|------|------------|
| **Bullish** | Price is going UP / Buyers are winning |
| **Bearish** | Price is going DOWN / Sellers are winning |
| **Doji** | Candle where open and close are nearly equal (indecision) |
| **Marubozu** | Candle with no wicks (full body) |
| **RVOL** | Relative Volume - current volume vs average |
| **ATR** | Average True Range - typical price movement |
| **Wick/Shadow** | The thin lines above/below the candle body |
| **Support** | Price level where buyers tend to step in |
| **Resistance** | Price level where sellers tend to step in |
| **Breakout** | When price moves beyond support/resistance |
---
**Happy Trading! 📈**
*Remember: The best traders are patient traders. Wait for strong setups.*
BK AK-IED💥 Introducing BK AK-IED — Volatility Ignition / Expansion / Detonation 💥
A pressure-to-release weapon system for traders who want timing, not noise.
Markets don’t move clean because they “feel like it.” They load, they ignite, and then they detonate into expansion. BK AK-IED is built to expose that sequence in real time—so you stop trading randomness and start trading regime shifts.
⚔️ What BK AK-IED is
BK AK-IED is a 3-speed VWMA energy oscillator that blends price movement + volume into a single pressure readout:
Fast (5) = ignition energy (range-driven)
Medium (21) = core pressure engine
Slow (55) = structural volatility backdrop
It’s not a “direction oracle.” It’s an energy meter that tells you when the market is coiling, when it’s waking up, and when it’s breaking out with force.
🧠 Core Weapon Systems
✅ Dynamic Scaling
Keeps the oscillator readable across symbols (no ridiculous y-axis blowouts).
✅ Volatility State Bar (Bottom Strip) — Your War Room
🟨 CONTRACTION = VWMA convergence / coil / pressure loading
🟩 EXPANSION = energy spike begins
🟥 BREAKOUT = expansion without contraction (release phase)
⬜ NEUTRAL = dead zone, don’t force it
✅ Breakout Peak Icons (Crown markers)
Crowns print only when there’s true breakout energy and the move hits major peak territory versus recent extremes. Translation:
tighten risk, scale-out, stop getting greedy. These are exhaustion warnings—not automatic reversals.
Timeframe-adaptive peak filtering is built in:
< 1H: stricter peak requirement
≥ 1H: more realistic swing threshold
🧭 How to use it (execution, not opinions)
1) 🟨 Contraction = don’t bleed.
This is the chop factory. You wait. You map levels. You stalk.
2) 🟩 Expansion = prepare.
Start aligning with structure: trend framework, VWAP, key levels, HTF bias.
3) 🟥 Breakout = engage.
This is where moves pay. Trade the direction your structure supports and manage risk like a professional.
4) 👑 Peak during breakout = harvest / protect.
Scale. Tighten stops. Don’t turn winners into donations.
🧱 Inputs that matter (what you’re actually tuning)
Amplitude Multiplier = how aggressive the energy read is
VWMA Spread Contraction Threshold = how tight “coil” must be to count
Scale Lookback = how far back the dynamic scaling references
Peak Thresholds = how selective peaks are (auto-switches based on timeframe)
The “AK” in the name is an acknowledgment of my mentor A.K. His standards (patience, precision, clarity, and emotional control) are a major reason I build tools with structure instead of hype.
And above all: all praise to Gd — the true source of wisdom, restraint, and right timing.
👑 King Solomon Lens — ZENITH Discipline
Solomon didn’t build greatness by impulse. He built it by measure, order, and restraint.
When the Temple was built, the stones were prepared away from the site—so the structure went up with precision, not chaos. That is the market lesson: the decisive moment is loud, but the preparation is silent. If you only show up for the noise, you will always arrive late.
BK AK-IED is that Solomon blueprint on a chart:
🟨 Contraction is the quarry.
The market is cutting the stones in silence. This is where the undisciplined burn money “doing something.” The wise do the opposite: they reduce noise, define levels, and wait.
🟩 Expansion is the line being set.
Pressure starts to move. This is where you bring structure online—bias, levels, risk plan. Not excitement.
🟥 Breakout is the placement.
The stone drops into position. This is the only phase where aggression is righteous—because it’s backed by a real shift, not hope.
👑 Peak icons are ZENITH—crown-of-the-move logic.
Zenith is where force and momentum reach their highest point before decay begins. The crown is not “celebrate and add.” The crown is govern yourself: harvest, tighten, protect. Solomon’s edge wasn’t prediction—it was rule over the self. That’s what separates profit from punishment.
This is what wisdom looks like in trading: not guessing the future—governing your exposure when the present is telling you the truth. And may Gd bless your restraint as much as your entries, because restraint is where survival becomes power.
✅ Final
BK AK-IED is your volatility weapon for market warfare:
Load → Ignite → Detonate.
Use it with structure. Use it with discipline. And give praise to Gd for every protected loss, every clean entry, and every moment you didn’t force a trade. 🙏
Refined Liquidity Flow IndicatorRefined Liquidity Flow Indicator - How It Works
The Refined Liquidity Flow Indicator is designed to help traders identify the flow of liquidity into and out of the market based on multiple technical factors. It combines price movement, market sentiment, volatility, and volume to give a comprehensive view of market conditions. The indicator gives buy and sell signals by calculating the flow of liquidity based on these factors.
Key Components of the Indicator:
Liquidity Flow Calculation:
The core of the indicator is the liquidity flow calculation, which is based on several factors:
Liquidity Flow=(V×ΔP)+(α×ATR)+(β×RSI)+(γ×ΔP)
Where:
𝑉 is the volume (the amount of trading activity).
ΔP is the price change (the difference between the current and previous closing price).
ATR (Average True Range) is used to measure market volatility.
RSI (Relative Strength Index) reflects market sentiment.
𝛼 𝛽 𝛾
are adjustable weights (parameters) that allow you to control how much influence each factor has on the liquidity flow calculation.
Key Indicators:
Volume (V): The amount of trades occurring in the market. A high volume indicates more activity, which is essential for confirming liquidity flow.
Price Change (ΔP): The difference between the current price and the previous price, which helps assess the strength and direction of the market move.
ATR (Average True Range): A measure of market volatility, indicating how much the price fluctuates over a specified period. A higher ATR suggests greater volatility, which often corresponds with a greater flow of liquidity.
RSI (Relative Strength Index): A momentum oscillator that measures whether a market is overbought or oversold. The RSI can help determine whether the market sentiment is bullish or bearish.
How to Use the Indicator:
Set Up: After adding the Refined Liquidity Flow Indicator to your chart, you can adjust the following settings directly from the indicator's settings panel:
α: Weight for volatility (ATR).
β: Weight for market sentiment (RSI).
γ: Weight for price change.
ATR Length: Customize the period for the ATR.
RSI Length: Customize the period for the RSI.
SMA Length: Customize the period for the Simple Moving Average.
Interpreting Signals:
Green Signal (Liquidity In): Indicates that liquidity is entering the market. This often signals a potential buy opportunity when the price is moving upwards with strong volume and market sentiment.
Red Signal (Liquidity Out): Indicates that liquidity is leaving the market. This typically signals a potential sell opportunity when the price is moving downwards with strong volume and market sentiment.
Fine-Tuning for Your Strategy:
By adjusting the weights and the lengths of the indicators, you can fine-tune the indicator to match your trading style. For example, if you want to give more weight to price movements, you can increase γ. If you want to focus more on market sentiment, adjust β.
QuantLabs Multi Asset Similarity Matrix [V3 Final]The Market is a graph. See the flows:
The QuantLabs MASM is not a standard correlation table. It is an Alpha-Grade Scanner architected to reveal the hidden "hydraulic" relationships between global macro assets in real-time.
Rebuilt from the ground up for Version 3, this engine pushes the absolute limits of the Pine Script™ runtime. It utilizes a proprietary Logarithmic Math Engine, Symmetric Compute Optimization, and a futuristic "Ghost Mode" interface to deliver a 15x15 real-time correlation matrix with zero lag.
Under the Hood: The Quant Architecture
We stripped away standard libraries to build a lean, high-performance engine designed for institutional-grade accuracy.
1. Alpha Math Engine (Logarithmic Returns) Most tools calculate correlation based on Price, which generates spurious signals (e.g., "Everything is correlated in a bull run").
The Solution: Our engine computes Logarithmic Returns (log(close /close )) by default. This measures the correlation of change (Velocity & Vector), not price levels.
The Result: A mathematically rigorous view of statistical relationships that filters out the noise of general market drift.
Dual-Core: Toggle seamlessly between "Alpha Mode" (Log Returns) for verified stats and "Visual Mode" (Price) for trend alignment.
Calculation Modes: Pearson (Standard), Euclidean (Distance), Cosine (Vector), Manhattan (Grid).
2. Symmetric Compute Optimization Calculating a 15x15 matrix requires evaluating 225 unique relationships per bar, which often crashes memory limits.
The Fix: The V3 Engine utilizes Symmetric Logic, recognizing that Correlation(A, B) == Correlation(B, A).
The Gain: By computing only the lower triangle of the matrix and mirroring pointers to the upper triangle, we reduced computational load by 50%, ensuring a lightning-fast data feed even on lower timeframes.
3. Context-Aware "Ghost Mode" The UI is designed for professional traders who need focus, not clutter.
Smart Detection: The matrix automatically detects your current chart's Ticker ID. If you are trading QQQ, the matrix will visually highlight the Nas100 row and column, making them opaque and bright while dimming the rest.
Dynamic Transparency: Irrelevant data ("Noise" < 0.3 correlation) fades into the background. Only significant "Alpha Signals" (> 0.7) glow with full Neon Saturation.
Key Features
Dominant Flow Scanner: The matrix scans all 105 unique pairs every tick and prints the #1 Strongest Correlation at the bottom of the pane (e.g., DOMINANT FLOW: Bitcoin ↔ Nas100 ).
Streak Counter: A "Stubbornness" metric that tracks how many consecutive days a strong correlation has persisted. Instantly identify if a move is a "flash event" or a "structural trend."
Neon Palette: Proprietary color mapping using Electric Blue (+1.0) for lockstep correlation and Deep Red (-1.0) for inverse hedging.
Usage Guide
Placement: Best viewed in a bottom pane (Footer).
Assets: Pre-loaded with the Essential 15 Macro Drivers (Indices, BTC, Gold, Oil, Rates, FX, Key Sectors). Fully editable via settings (Ticker|Name).
Reading the Grid:
🔵 Bright Blue: Assets moving in lockstep (Risk-On).
🔴 Bright Red: Assets moving perfectly opposite (Hedge/Risk-Off).
⚫ Faded/Black: No statistical relationship (Decoupled).
Key Improvements Made:
Formatting: Added clear bullet points and bolding to make it scannable.
Clarity: Clarified the "Logarithmic Returns" section to explain why it matters (Velocity vs. Price Levels).
Tone: Maintained the "high-tech/quant" vibe but removed slightly clunky phrases like "spurious signals" (unless you prefer that academic tone, in which case I left it in as it fits the persona).
Structure: Grouped the "Modes" under the Math Engine for better logic.
Created and designed with love by David James @QuantLabs : )
Volume Weighted Average Price @Marx_CapitalSimple VWAP indicator edited to not connect the lines between sessions for a cleaner look without vertical lines at session ends.
Session end and start times are customizable.
AKILLI ANALIZ TERMINALI (V20-REVIZE)SMART ANALYSIS TERMINAL (V20-ULTIMATE)
This indicator is a professional-grade analysis terminal designed for both strategic daily analysis (Swing Trade) and real-time intraday trading (Scalp/Day Trade). It allows you to perform a complete technical X-ray of the market on a single dashboard.
CORE FEATURES:
- Dual-Mode Hybrid Engine: Choose between "NIGHT (ANALYSIS)" or "IN-DAY (AGGRESSIVE)" modes in settings. Mathematical periods and target levels update automatically.
- Smart Scoring System: Blends RSI, MACD, EMA, ADX, and Volume data to produce 5 distinct signals from "VERY POSITIVE" to "VERY NEGATIVE."
- Symmetrical Visual Panel: Left panel displays Live Signal, Pivot Balance, Money Flow, and Target/Support; right panel focuses on RSI, Trend, Momentum, and Volume confirmation.
- Money Flow Algorithm: Detects institutional accumulation (Entry) or distribution (Exit) by analyzing price-volume correlation.
USER GUIDE:
1. NIGHT MODE: Use for evening analysis to plan for the next day. Based on EMA 20/50 and standard MACD values.
2. IN-DAY MODE: Use during live sessions on 5m and 15m charts. Catch instant momentum shifts with EMA 9/21 and aggressive settings.
Momentum & Breakout Confirmationwatch momentum build in real time on the current candle so you can confirm weather a breakout is indeed a breakout or will be a fake out. This is what it does
This is a Momentum & Breakout Confirmation (MBC) indicator that analyzes the current candle in real-time to determine if it's a strong continuation move or possible reversal. Here's the breakdown:
What It Measures:
Momentum Strength - How much % the candle moved:
STRONG = >0.5% move
MEDIUM = 0.2-0.5%
WEAK = <0.2%
Direction - Simply bullish (green candle) or bearish (red candle)
Four Confirmation Factors:
Volume Surge - Is volume 1.5x above the 20-period average?
Move Size - Is the candle body larger than 0.5x ATR (significant)?
Body Strength - Is the body >60% of total candle range (strong conviction, minimal wicks)?
Trend Aligned - Does it align with 9/21 MA trend direction?
The Scoring System:
Adds 1 point for each confirmation factor met (max 4 points)
3-4 points = "STRONG CONTINUATION" 🚀
2 points = "LIKELY CONTINUATION"
1 point = "WEAK SIGNAL"
0 points = "POSSIBLE REVERSAL" ⚠️
Key Difference from TPC:
TPC uses multi-timeframe SuperTrend for strategic entries
MBC focuses on the current candle only - it's asking "Is THIS candle showing real momentum or is it weak/fake?"
Practical Use:
Great for confirming if a breakout or move is "real" with strong conviction behind it, or if it's low-volume/weak-bodied and likely to fail. The table updates live so you can watch momentum build during the candle formation.
Hope it helps. if you guys have any ideas for any indicators you want made please feel free to dm me as i like a good challenge lol ill sit here and try to code anything now im not saying i will be 100 percent successful but i will try for you, thanks for all the support from all you guys i def do appreciate it.
High Volume Breakout DetectorThis indicator is a dedicated volume analysis tool displayed in a separate pane below the price chart. It visually highlights significant volume surges (spikes) by comparing the current bar's volume to a dynamic threshold based on a Simple Moving Average (SMA) of volume.
Key Concepts and Methodology:
- The core calculation uses a user-configurable Simple Moving Average (default: 20 periods) of historical volume to establish a baseline of "normal" trading activity.
- A customizable multiplier (default: 1.50, meaning 150% of the SMA) defines the threshold for a volume spike. When the current bar's volume meets or exceeds this threshold, it is classified as a spike—indicating unusually high participation that often accompanies breakouts, reversals, climaxes, or institutional activity.
- Volume bars are plotted as columns and colored based on two factors:
- Candle direction: Green shades for bullish candles (close ≥ open), red shades for bearish candles (close < open).
- Spike status: Brighter/solid colors for confirmed spikes, muted/translucent colors for normal volume. This candle-matched coloring helps traders quickly assess whether the surge supports buying pressure (green spike on up candle) or selling/distribution (red spike on down candle).
- Optional overlays include the volume SMA line (blue) and the dynamic threshold line (orange, plotted as circles for easy distinction).
Features and Customization:
- Fully adjustable inputs: SMA length, multiplier threshold, colors for up/down/normal/spike bars, and toggles for showing the SMA line, threshold line, or background highlighting on spikes.
- Built-in alert condition triggers reliably on volume spikes (≥ selected multiplier of SMA), with a constant message string including ticker, timeframe, volume value, and threshold reference.
How to Use:
- Add to any chart in a separate pane (overlay=false).
- Look for brighter colored volume bars as potential signals of conviction in price moves. For example:
- Green spikes on up candles may signal strong accumulation or breakout confirmation.
- Red spikes on down candles may indicate distribution or exhaustion selling.
- Combine with price action, support/resistance, or trend indicators for confluence.
- Ideal for day trading, swing trading, or spotting volume climaxes on stocks, forex, crypto, or futures across any timeframe.
The unique combination of candle-direction-matched coloring for spikes, visual threshold plotting, and focused spike highlighting provides clearer, more actionable insight into directional volume pressure compared to standard volume displays.
Tradegrill: Dollar Value TradedTraditional volume shows the number of shares/contracts traded, but it doesn't account for price differences. A $100 stock trading 1 million shares represents far more capital commitment than a $10 stock trading the same amount.
QUANT TRADING ENGINE [PointAlgo]Quant Trading Engine is a quantitative market-analysis indicator that combines multiple statistical factors to study trend behavior, mean reversion, volatility, execution efficiency, and market stability.
The indicator converts raw price behavior into standardized signals to help evaluate directional bias and risk conditions in a systematic way.
This script focuses on factor alignment and regime awareness, not prediction certainty.
Design Philosophy
Markets move through different regimes such as trending, ranging, volatile expansion, and instability.
This indicator attempts to model these regimes by blending:
Momentum strength
Mean-reversion pressure
Volatility risk
Trend filtering
Execution context (VWAP)
Correlation structure
Each component is normalized and combined into a single Quant Alpha framework.
Factor Construction
1. Momentum Factor
Measures directional strength using percentage price change over a rolling window.
Standardized using mean and standard deviation.
Represents trend continuation pressure.
2. Mean Reversion Factor
Measures deviation from a longer moving average.
Standardized to identify stretched conditions.
Designed to capture counter-trend behavior.
Directional Clamping
Mean-reversion signals are dynamically restricted:
No counter-trend buying during downtrends.
No counter-trend selling during uptrends.
Allows both sides only in neutral regimes.
This prevents conflicting signals in strong trends.
3. Volatility Factor
Uses realized volatility derived from price changes.
Penalizes environments where volatility deviates significantly from its norm.
Acts as a risk adjustment rather than a directional driver.
4. Composite Quant Alpha
The final Quant Alpha is a weighted blend of:
Momentum
Mean reversion (trend-clamped)
Volatility risk
The composite is standardized into a Z-score, allowing consistent interpretation across instruments and timeframes.
Signal Logic
Buy signal occurs when Quant Alpha crosses above zero.
Sell signal occurs when Quant Alpha crosses below zero.
Zero-cross logic is used to represent shifts from negative to positive statistical bias and vice versa.
Signals reflect statistical regime change, not trade instructions.
Volatility Smile Context
Measures price deviation from its statistical distribution.
Identifies skewed conditions where upside or downside volatility becomes dominant.
Highlights extreme deviations that may imply elevated derivative risk.
Exotic Risk Conditions
Detects sudden price expansion combined with volatility spikes.
Highlights environments where execution and risk become unstable.
Visual background cues are used for awareness only.
Execution Context (VWAP)
Measures price distance from VWAP.
Used to assess execution efficiency rather than direction.
Helps identify stretched conditions relative to average traded price.
Correlation Structure
Evaluates short-term return correlations.
Detects when price behavior becomes less predictable.
Flags structural instability rather than trend direction.
Visualization
The indicator plots:
Quant Alpha (scaled) with directional coloring
Volatility smile deviation
Price vs VWAP distance
Correlation structure
Signal markers indicate Quant Alpha zero-cross events and risk conditions.
Dashboard
A compact dashboard summarizes:
Trend filter state
Quant Alpha polarity and value
Individual factor readings
Current action state (Buy / Sell / Wait / Risk)
The dashboard provides a real-time snapshot of internal model conditions.
Usage Notes
Designed for analytical interpretation and research.
Best used alongside price action and risk management tools.
Factor behavior depends on instrument liquidity and volatility.
Not optimized for illiquid or irregular markets.
Disclaimer
This script is provided for educational and analytical purposes only.
It does not provide financial, investment, or trading advice.
All outputs should be independently validated before making any trading decisions.
BTC ETF Average Inflow Cost BasisConcept
Since the historic launch of Bitcoin Spot ETFs on January 11, 2024, institutional flows have become a major driver of price action. This indicator aims to visualize the aggregate Cost Basis (average entry price) of the major Bitcoin ETFs relative to the underlying asset.
It serves as an on-chain proxy for institutional positioning, helping traders identify critical support levels where ETF inflows have historically concentrated.
How it Works
The script aggregates daily volume data from the top Bitcoin ETFs (IBIT, FBTC, ARKB, GBTC, BITB) and compares it against the Bitcoin price (BTCUSDT).
ETF Cost Basis (Pink Line):
This is calculated as a Cumulative Volume-Weighted Average Price (VWAP), anchored specifically to the ETF launch date (Jan 11, 2024).
Formula: It accumulates (BTC Price * Total ETF Volume) and divides it by the Cumulative Total ETF Volume.
This creates a dynamic level representing the "breakeven" price for the aggregate volume traded through these funds.
True Market Mean (Gray Line):
This represents the simple cumulative average of the Bitcoin price since the ETF launch date. It acts as a neutral baseline for the post-ETF market era.
How to Use
Institutional Support: The Cost Basis line often acts as a strong dynamic support level during corrections. When price revisits this level, it suggests the market is returning to the average institutional entry price.
Trend Filter:
Price > Cost Basis: The market is in a net profit state relative to ETF flows (Bullish/Trend continuation).
Price < Cost Basis: The market is in a net loss state (Bearish/Capitulation risk).
Confluence: The intersection of the Cost Basis and the True Market Mean can signal pivotal moments of trend reset.
Features
Data Aggregation: Pulls data from 5 major ETFs via request.security without repainting (using closed bars).
Dashboard: Includes a table in the top-right corner displaying real-time values for Price, Cost Basis, and Market Mean.
Customization: You can toggle individual ETF Moving Averages in the settings (disabled by default due to price scale differences between BTC and ETF shares).
Disclaimer
This tool is for educational purposes only and attempts to estimate institutional cost basis using volume proxies. It does not represent financial advice.
Ultimate Institutional Order Flow Pro [Pointalgo]Ultimate Institutional Order Flow (UIOF Pro)
Ultimate Institutional Order Flow (UIOF Pro) is a multi-component market analysis indicator designed to study order flow behavior, liquidity interaction, volatility structure, and session-based participation.
It integrates several commonly used market structure and order-flow concepts into a single visual framework.
This script focuses on context and alignment, not on isolated signals.
Core Objective
The indicator aims to identify areas where price, volume, liquidity, and structure appear aligned in the same direction.
It does this by combining:
VWAP behavior
Volume participation
Cumulative delta analysis
Liquidity pool interaction
Order blocks and fair value gaps
Market structure shifts
Session and higher-timeframe confirmation
VWAP & Volatility Framework
Calculates VWAP using session, weekly, or monthly anchors.
Optional VWAP standard-deviation bands visualize price dispersion.
VWAP slope and price position are used to classify directional bias.
VWAP is treated as a dynamic equilibrium reference rather than a signal.
Cumulative Volume Delta (CVD)
Estimates buy and sell pressure based on intrabar price movement.
Tracks cumulative delta and a smoothed delta average.
Uses delta change normalization to highlight abnormal activity.
Detects potential delta divergences when price and participation differ.
CVD is used to assess whether participation supports or contradicts price movement.
Liquidity Zones & Sweeps
Identifies recent swing highs and lows as potential liquidity pools.
Tracks buy-side and sell-side liquidity areas.
Flags conditions where price sweeps liquidity beyond recent extremes.
Liquidity interaction is treated as context, not prediction.
Order Blocks
1. Detects potential bullish and bearish order blocks using:
Candle structure
Volatility thresholds
Volume confirmation
2.Highlights areas where strong participation followed opposing price movement.
Order blocks are visual reference zones and do not imply guaranteed reactions.
Fair Value Gaps (FVG)
Identifies imbalance zones where price moves without overlapping structure.
Filters gaps using ATR-based size conditions.
Visual shading is used to highlight imbalance areas.
These zones may represent inefficient price movement requiring further interaction.
Volume Profile & Point of Control (POC)
Builds a simplified volume profile over a configurable lookback window.
Determines the price level with the highest traded volume (POC).
POC is used as a reference for acceptance or rejection behavior.
Market Structure
Evaluates recent highs and lows to identify structure breaks.
Classifies directional structure as bullish, bearish, or neutral.
Structure is used as a directional filter rather than a trigger.
Multi-Timeframe Confirmation
Optional higher-timeframe confirmation aligns lower-timeframe behavior with broader context.
Prevents analysis from relying on isolated timeframe conditions.
Session Filtering
1. Allows analysis to be limited to specific trading sessions.
2. Helps reduce signals during low-participation periods.
3. Session logic affects signal eligibility, not calculations.
Signal Logic
Signals are generated only when multiple independent conditions align, including:
Liquidity interaction
Order block presence
VWAP bias
Delta confirmation
Structure alignment
Volume participation
Optional higher-timeframe confirmation
Active trading session
Strong continuation conditions are also highlighted when price, volume, and participation remain aligned.
Signals represent confluence states, not trade instructions.
Dashboard Summary
A real-time dashboard summarizes:
VWAP bias and slope
CVD strength and direction
Delta behavior
Market structure state
Higher-timeframe context
Volume conditions
Liquidity pool counts
Session activity
This provides a high-level snapshot of market conditions without manual calculation.
Alerts are available for:
Institutional alignment conditions
Strong continuation pressure
Liquidity sweeps
Delta divergences
Alerts are informational and reflect internal indicator states only.
Usage Notes
Designed for analytical interpretation and market study.
Best used alongside price action and risk management methods.
Performance depends on instrument liquidity and volume quality.
All visual elements can be individually enabled or disabled.
Disclaimer
This script is provided for educational and analytical purposes only.
It does not provide financial, investment, or trading advice.
All outputs should be independently verified before making trading decisions.
Amihud Illiquidity Ratio [MarkitTick]💡This indicator implements the Amihud Illiquidity Ratio, a financial metric designed to measure the price impact of trading volume. It assesses the relationship between absolute price returns and the volume required to generate that return, providing traders with insight into the "stress" levels of the market liquidity.
Concept and Originality
Standard volume indicators often look at volume in isolation. This script differentiates itself by contextualizing volume against price movement. It answers the question: "How much did the price move per unit of volume?" Furthermore, unlike static indicators, this implementation utilizes dynamic percentile zones (Linear Interpolation) to adapt to the changing volatility profile of the specific asset you are viewing.
Methodology
The calculation proceeds in three distinct steps:
1. Daily Return: The script calculates the absolute percentage change of the closing price relative to the previous close.
2. Raw Ratio: The absolute return is divided by the volume. I have introduced a standard scaling factor (1,000,000) to the calculation. This resolves the issue of the values being astronomically small (displayed as roughly 0) without altering the fundamental logic of the Amihud ratio (Absolute Return / Volume).
- High Ratio: Indicates that price is moving significantly on low volume (Illiquid/Thin Order Book).
- Low Ratio: Indicates that price requires massive volume to move (Liquid/Deep Order Book).
3. Dynamic Regimes: The script calculates the 75th and 25th percentiles of the ratio over a lookback period. This creates adaptive bands that define "High Stress" and "Liquid" zones relative to recent history.
How to Use
Traders can use this tool to identify market fragility:
- High Stress Zone (Red Background): When the indicator crosses above the 75th percentile, the market is in a High Illiquidity Regime. Price is slipping easily. This is often observed during panic selling or volatile tops where the order book is thin.
- Liquid Zone (Green Background): When the indicator drops below the 25th percentile, the market is in a Liquid Regime. The market is absorbing volume well, which is often characteristic of stable trends or accumulation phases.
- Dashboard: A visual table on the chart displays the current Amihud Ratio and the active Market Regime (High Stress, Normal, or Liquid).
Inputs
- Calculation Period: The lookback length for the average illiquidity (Default: 20).
- Smoothing Period: The length of the additional moving average to smooth out noise (Default: 5).
- Show Quant Dashboard: Toggles the visibility of the on-screen information table.
● How to read this chart
• Spike in Illiquidity (Red Zones)
Price is moving on "thin air." Expect high volatility or potential reversals.
• Low Illiquidity (Green/Stable Zones)
The market is deep and liquid. Trends here are more sustainable and reliable.
• Divergence
Watch for price making new highs while liquidity is drying up—a classic sign of an exhausted trend.
Example:
● Chart Overview
The chart displays the Amihud Illiquidity indicator applied to a Gold (XAUUSD) 4-hour timeframe.
Top Pane: Price action with manual text annotations highlighting market reversals relative to liquidity zones.
Bottom Pane: The specific technical indicator defined in the logic. It features a Blue Line (Raw Illiquidity), a Red Line (Signal/Smoothed), and dynamic background coloring (Red and Green vertical strips).
● Deep Visual Analysis
• High Stress Regime (Red Zones)
Visual Event: In the bottom pane, the background periodically shifts to a translucent red.
Technical Logic: This event is triggered when the amihudAvg (the smoothed illiquidity ratio) exceeds the 75th percentile ( hZone ) of the lookback period.
Forensic Interpretation: The logic calculates the absolute price change relative to volume. A spike into the red zone indicates that price is moving significantly on relatively lower volume (high price impact). Visually, the chart shows these red zones aligning with local price peaks (volatility expansion), leading to the bearish reversal marked by the red box in the top pane.
• Liquid Regime (Green Zones)
Visual Event: The background shifts to a translucent green in the bottom pane.
Technical Logic: This triggers when the amihudAvg falls below the 25th percentile ( lZone ).
Forensic Interpretation: This state represents a period where large volumes are absorbed with minimal price impact (efficiency). On the chart, this green zone corresponds to the consolidation trough (green box, top pane), validating the annotated accumulation phase before the bullish breakout.
• Indicator Lines
Blue Line: This is the illiquidityRaw value. It represents the raw daily return divided by volume.
Red Line: This is the smoothedVal , a Simple Moving Average (SMA) of the raw data, used to filter out noise and define the trend of liquidity stress.
● Anomalies & Critical Data
• The Reversal Pivot
The transition from the "High Stress" (Red) background to the "Liquid" (Green) background serves as a visual proxy for market regime change. The chart shows that as the Red zones dissipate (volatility contraction), the market enters a Green zone (efficient liquidity), which acted as the precursor to the sustained upward trend on the right side of the chart.
● About Yakov Amihud
Yakov Amihud is a leading researcher in market liquidity and asset pricing.
• Brief Background
Professor of Finance, affiliated with New York University (NYU).
Specializes in market microstructure, liquidity, and quantitative finance.
His work has had a major impact on both academic research and practical investment models.
● The Amihud (2002) Paper
In 2002, he published his influential paper: “Illiquidity and Stock Returns: Cross-Section and Time-Series Effects” .
• Key Contributions
Introduced the Amihud Illiquidity Measure, a simple yet powerful proxy for market liquidity.
Demonstrated that less liquid stocks tend to earn higher expected returns as compensation for liquidity risk.
The measure became one of the most widely used liquidity metrics in finance research.
● Why It Matters in Practice
Used in quantitative trading models.
Applied in portfolio construction and risk management.
Helpful as a liquidity filter to avoid assets with excessive price impact.
In short: Yakov Amihud established a practical and robust link between liquidity and returns, making his 2002 work a cornerstone in modern financial economics.
Disclaimer: All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Market StateIdentifies market regime (Expansion, Crawl, Compression, Reversion, Chop) using VWAP-based auction theory and volatility analysis.
Full Description:
This indicator combines Auction Market Theory with Volatility Regime Detection to classify the current market state and highlight key auction events.
🎯 Market States (Background Colors)
EXPANSION (lime) — Strong directional move, price outside value zone
CRAWL (green) — Trending move with price acceptance
REVERSION (orange) — Mean reversion back to value after deviation
COMPRESSION (blue) — Tight range, accumulation/distribution phase
CHOP (red) — Choppy, directionless price action
📍 Event Markers
ACC↑ / ACC↓ — Price acceptance above/below VWAP (A of B bars closed on one side)
REJ — Rejection at extreme (breakout + long wick)
RCLM — Value reclaim (price returns to value zone)
LOSS — Value loss (price breaks out of value zone)
📊 Key Components
VWAP — Dynamic fair value reference
Value Zone — VWAP ± k×ATR band (configurable)
Range/ATR Ratio — Volatility regime detection
EMA Slope — Trend direction proxy
💡 Trading Logic
COMPRESSION → Wait for breakout
EXPANSION → Follow the trend
REVERSION/REJ → Look for mean reversion trades
CHOP → Avoid or scalp range boundaries
⚙️ Settings
All parameters are fully customizable: ATR length, acceptance window, rejection thresholds, compression/expansion levels, and visual toggles.
GC1 Participation Regime - sudoThis indicator analyzes COMEX GC1! futures activity and maps it directly onto your XAU price chart, allowing you to see when gold futures participation meaningfully increases or fades - without cluttering your workflow.
Here is the TLDR version of the description (below):
The "regime" is calculated by measuring how active GC1! futures are, compared to their own recent history. On each bar, the indicator looks at two things - volume (how much trading occurred) and true range (how much price actually moved). Each of these is compared to its recent average using a normalized score, which simply answers whether today’s activity is higher, normal, or lower than usual. Those two normalized values are then combined into a single participation score , optionally smoothed to reduce noise. That score is compared against user-defined thresholds and classified into one of four regimes - Low, Normal, High, or Extreme participation . In short, the regime shows whether current GC1! futures activity is unusually quiet or unusually active relative to its own recent behavior , without making any directional assumptions.
What this indicator does
-Measures GC1! futures volume and true range relative to their own historical behavior using z-scores
-Combines those metrics into a single participation score
-Classifies the market into four participation regimes
Low
Normal
High
Extreme
Projects those regimes directly onto the XAU price chart
Visual elements
Background shading
-Gray - Low participation
-Blue - Normal participation
-Green - High participation
-Orange - Extreme participation
Regime shift markers
-Upward triangle below price when participation increases
-Downward triangle above price when participation decreases
Volume-informed candle coloring (optional)
-High GC volume + bullish candle
-High GC volume + bearish candle
-Low GC volume + bullish candle
-Low GC volume + bearish candle
These visuals help you instantly identify whether price movement is occurring with real futures participation or during thinner conditions.
How to use it
-Identify high-quality environments for execution when participation is elevated
-Filter breakouts, trends, and reversals based on whether GC futures are involved
-Avoid overconfidence during low-participation regimes, where price moves are more prone to failure
-Use regime transitions as context , not signals!!
-This indicator is designed to be contextual , not predictive .
Customization
-Adjustable lookback lengths for volume and range
-Fully tunable regime thresholds
-Optional background shading
-Optional regime shift markers
-Optional candle recoloring based on GC volume behavior
Everything can be dialed up or down depending on how visually minimal you want your chart to be.
Notes
-Built specifically around COMEX GC1! futures
-Designed to disappear if GC data is unavailable
-Works on all intraday and higher timeframes
SMH_DualMomentum (ROC + Volume Trend)SMH Dual Momentum (ROC + Volume Confirmation)
This indicator identifies high-quality bullish trends by combining price momentum (Rate of Change) with volume confirmation, and exits when momentum structurally fails.
Core Logic
BUY signal
Rate of Change (ROC) over N periods is above a positive threshold (strong upside momentum)
Current volume is above its moving average (rising market participation)
SELL signal
ROC crosses below zero, indicating loss of bullish momentum
Why It Works
ROC measures the speed and strength of price movement, filtering out weak or drifting trends
Volume confirmation ensures momentum is supported by real capital flow, reducing false breakouts
Momentum-based exit avoids prolonged drawdowns and capital stagnation
Key Advantages
Focuses on trend continuation, not prediction
Filters out low-quality price moves and range-bound markets
Captures long, high-conviction trends with relatively few trades
Simple, robust rules using only price and volume
Best Use Cases
Designed for trend-driven ETFs such as SMH (Semiconductors)
Suitable for swing to position trading on daily charts
Works best in markets with strong sector rotation and institutional participation
Notes
This is a trend-following momentum tool, not a mean-reversion indicator
No stop-loss is built in; risk management should be handled externally if required
Parameters can be adjusted to match different timeframes or assets
SMH DualMomentum Signals (ROC + Volume)SMH Dual Momentum (ROC + Volume Confirmation)
This indicator identifies high-quality bullish trends by combining price momentum (Rate of Change) with volume confirmation, and exits when momentum structurally fails.
Core Logic
BUY signal
Rate of Change (ROC) over N periods is above a positive threshold (strong upside momentum)
Current volume is above its moving average (rising market participation)
SELL signal
ROC crosses below zero, indicating loss of bullish momentum
Why It Works
ROC measures the speed and strength of price movement, filtering out weak or drifting trends
Volume confirmation ensures momentum is supported by real capital flow, reducing false breakouts
Momentum-based exit avoids prolonged drawdowns and capital stagnation
Key Advantages
Focuses on trend continuation, not prediction
Filters out low-quality price moves and range-bound markets
Captures long, high-conviction trends with relatively few trades
Simple, robust rules using only price and volume
Best Use Cases
Designed for trend-driven ETFs such as SMH (Semiconductors)
Suitable for swing to position trading on daily charts
Works best in markets with strong sector rotation and institutional participation
Notes
This is a trend-following momentum tool, not a mean-reversion indicator
No stop-loss is built in; risk management should be handled externally if required
Parameters can be adjusted to match different timeframes or assets






















