Unmitigated Cave Diving MTF High Low - BookMap Style Chart
Unmitigated Cave Diving MTF High Low - BookMap Style Chart
Introduction
This Pine Script indicator tracks unmitigated higher timeframe highs and lows with a session-aware approach, inspired by KinetiCapital's X D HL Targets.
Built for precision trading on instruments like NQ during extended trading hours (ETH), it visualizes support and resistance levels that have not yet been breached, helping traders identify key price zones for potential reversals or breakouts.
Core Features
The indicator monitors multi-timeframe levels (default 15-minute) and applies intelligent styling based on recency and survival duration:
Most Recent Levels: The 1st and 2nd most recent unmitigated highs and lows are highlighted with distinct colors and widths for quick visual identification
Session Age Tracking: Levels are categorized by how many full trading sessions (1800-1700 NQ ETH) they've survived unmitigated, with "old" levels receiving special highlighting once they exceed your defined threshold
BookMap-Style Visualization: Clean horizontal lines with optional price labels positioned above highs and below lows for minimal chart clutter
Real-Time Summary Table: Displays the four most recent levels with their prices, distance in points from current price, and session age
Mitigation Logic
Levels automatically update when price touches them - high levels are mitigated when price reaches or exceeds them, while low levels are mitigated when price touches or breaks below. Mitigated levels change to a neutral gray color and can optionally be deleted at session end to preserve chart memory.
This tool is particularly valuable for intraday traders who trade around key structural levels and need to understand which unmitigated zones represent the freshest or most significant price memory in the market.
Indikatoren und Strategien
alplerThe 4H Engulf Indicator is a rule-based price action tool designed to identify high-probability trading opportunities on the 4-hour timeframe. Its core logic is built around bullish and bearish engulfing candles, which are widely accepted as strong reversal or continuation signals in technical analysis.
This indicator focuses only on confirmed engulfing patterns, meaning the signal is generated after the candle is fully closed, not while it is forming. This helps eliminate false signals and emotional, premature entries. When a bullish engulfing candle appears, the indicator marks a bullish signal, suggesting potential upward momentum. Conversely, when a bearish engulfing candle forms, a bearish signal is displayed, indicating possible downward pressure.
One of the key strengths of the 4H Engulf Indicator is its clarity and simplicity. Signals are shown directly on the chart using visually clear arrows and labels, allowing the trader to quickly assess market direction without clutter. The indicator does not predict the market; instead, it reacts to confirmed price behavior, which aligns well with disciplined and systematic trading.
The 4-hour timeframe provides a balance between noise reduction and timely opportunities, making this indicator suitable for swing traders and position traders. When combined with trend filters, risk management rules, or higher-timeframe analysis, the 4H Engulf Indicator becomes a powerful component of a professional trading system.
PDH(RTH)+PMH / PDL(RTH)+PML First Break + 3m EMA RetestIncludes retest notification for passed or failed on 3min 9EMA.
Gold Sniper MGC1! - M30 Precision vPOCThis Pine Script, titled "Gold Sniper MGC1! - M30 Precision vPOC," is a high-precision intraday trading tool designed specifically for Micro Gold (MGC1!) futures. It integrates Market Profile and Volume Profile logic to identify key institutional levels across various trading sessions.
Core Functionality
The script identifies and plots the Volume Point of Control (vPOC)—the price level with the highest traded volume—for specific time windows:
P.vPOC (Previous vPOC): Calculated using a Daily VWAP sync to align perfectly with institutional data from the previous day.
vPOC Today: Tracks the developing Point of Control for the current global session (18:00 - 17:00).
Killzone vPOCs: Specifically isolates the highest volume price levels for the Asia (02h-08h), London (08h-14h), and New York (14h-17h) sessions.
Key Technical Features
Institutional Alignment: By utilizing request.security and hl2 median price calculations on a 30-minute basis, the script filters out market noise and aligns with the structural levels used by "Smart Money".
Dynamic Labels (Vignettes): Each level is projected to the right of the price action with a color-coded label. These labels dynamically display both the Level Name and the Exact Price (to two decimal places), facilitating rapid order entry.
Visual Hierarchy:
Black (Solid): Previous Day's Value (P.vPOC).
White (Dotted): Current Day's Developing Value.
Gold/Cyan/Orange: Specific Killzone session values.
Strategic Application
This script serves as the "Map" for the Gold Sniper MGC1! strategy. Traders use these levels to identify Liquidity Sweeps or Market Structure Shifts (MSS). When the price interacts with these vPOCs, it often signals institutional rejection or acceptance, providing high-probability entry points for intraday "Sniper" setups.
Apex Trend & Liquidity Master V2.1The Apex Trend & Liquidity Master is a hybrid trading system designed to align traders with the dominant market trend while identifying key structural price levels. Unlike simple moving average crossovers or standalone support/resistance tools, this script integrates a volatility-adaptive "Trend Cloud" with a "Smart Liquidity" engine.
This integration allows the script to offer unique filtering capabilities, such as hiding counter-trend liquidity zones to reduce chart noise and focus on high-probability continuations.
How It Works
Adaptive Trend Cloud The backbone of the system is the Trend Cloud, calculated using a Hull Moving Average (HMA) base with ATR bands. The cloud expands and contracts based on market volatility.
Green Cloud: Bullish Regime. The market is trending up; look for long opportunities.
Red Cloud: Bearish Regime. The market is trending down; look for short opportunities.
Smart Liquidity Zones (with Integration) The script automatically detects Pivot Highs and Lows to draw Supply (Resistance) and Demand (Support) zones. These zones persist until price breaks through them (mitigation).
Integration Feature: A "Filter Zones by Trend" option is included in the settings. When enabled, this feature connects the Trend Cloud to the Liquidity Engine:
It will only display Demand zones when the Trend Cloud is Bullish.
It will only display Supply zones when the Trend Cloud is Bearish.
Note on Lag: Zones are based on pivots (default lookback: 10). A zone appears on the chart 10 bars after the pivot forms. These are historical structural levels.
Signal Filters Buy and Sell labels are generated when the Trend Cloud changes color, but they are filtered to ensure quality:
Volume Filter: Signals only appear if the current volume is higher than the 20-period average.
RSI Filter: Prevents buying when RSI is overbought (>70) or selling when oversold (<30).
Live HUD An on-chart dashboard provides real-time data on:
Trend Bias: Direction of the cloud.
Momentum: RSI strength (Weak/Neutral/Strong).
Volume: High vs. Low activity.
Usage Guide
Identify the Trend: Use the background fill color to determine if you should be looking for longs (Green) or shorts (Red).
Wait for Structure: Look for price to pull back into a "Smart Liquidity" zone. For example, in a Green Trend, wait for price to touch a Green Demand box.
Confirm with Momentum: Check the Dashboard. Ideally, you want to see "Strong" momentum aligning with your trade direction.
Settings: If the chart is too cluttered, enable "Filter Zones by Trend" in the settings menu to hide counter-trend boxes.
Credits & Attribution This script combines original integration logic with adapted open-source concepts:
Smart Liquidity Logic: The method for generating Supply/Demand boxes via Pivot Highs/Lows and array management is adapted from open-source logic commonly used in Smart Money Concepts (SMC) indicators, notably popularized by LuxAlgo and the broader Pine community.
Trend Logic: The volatility cloud utilizes standard Hull Moving Average (HMA) and ATR formulas.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Past performance of pivot levels or trend signals does not guarantee future results.
ATR Daily & Weekly With Stop Buffer this script shows Daily & Weekly ATR and also add 10% Stop buffer calculation so you can add stop loss.
Liquidity Sweep Guardian (Universal % or point based)
Liquidity Sweep Guardian - Complete User Guide
## Overview
The **Liquidity Sweep Guardian** is a visual warning system designed to prevent premature counter-trend trades (fades) near Previous Day High (PDH) and Previous Day Low (PDL) levels. This indicator helps you avoid one of the most common trading mistakes: fading too early before liquidity sweeps complete.
---
## 🎯 Core Trading Principle
### **THE GOLDEN RULE: Don't Fade Until It's Unlocked**
Price often **accelerates into key levels** to sweep liquidity before reversing. Trading against this momentum is extremely dangerous.
**The Process:**
1. **Danger Zone** (Red/White Box) = ⚠️ **DO NOT FADE** - Sweep likely incoming
2. **Sweep Occurs** (Triangle marker appears) = Price penetrates the level
3. **Reclaim Happens** (Price returns above/below level) = Level is tested
4. **🔓 UNLOCKED** (Gold border, green label) = **NOW you may CONSIDER a fade**
> **Important:** "UNLOCKED" means you may now *consider* a fade setup. It is NOT a trade signal itself. You still need your entry confirmation, risk management, and trade plan.
---
## 📊 Visual Elements Explained
### 1. **Danger Zone Boxes (Red Border by Default)**
**Two types of zones around PDH/PDL:**
- **Outer Danger Zone** (White fill): ±75pts (or 0.30%) around the level
- Indicates proximity to a key level where sweeps commonly occur
- Yellow/cautious trading zone
- **Inner Critical Zone** (Black fill): ±25pts (or 0.10%) around the level
- Highest probability area for liquidity sweep traps
- Avoid fading here at all costs
**What to do:**
- When price enters these zones, **wait and watch**
- Do not initiate counter-trend positions
- Allow the sweep to play out
### 2. **Unlocked Zones (Gold Border #ffeb3b)**
When a zone turns **gold/yellow** with green fill:
- The level has been swept AND reclaimed
- The liquidity grab is complete
- You may now look for fade opportunities with proper confirmation
### 3. **PDH/PDL Lines**
- **PDH Line** (Red): Previous Day High with price label
- **PDL Line** (Green): Previous Day Low with price label
- These are your key reference levels for the session
### 4. **Sweep Labels**
**Triangle Markers (SWEEP):**
- **Green Triangle** = Clean sweep (10-25pts penetration)
- **Orange Triangle** = Extended sweep (25-50pts penetration)
- **Red Triangle** = Deep penetration (50+ pts) - likely continuation, not reversal
**Warning Labels:**
- **⚠️ DEEP CONTINUATION?** = Penetration too deep, probably NOT a reversal setup
**Unlock Labels:**
- **🔓 LONG UNLOCKED** = PDL swept and reclaimed, may consider long fades
- **🔓 SHORT UNLOCKED** = PDH swept and reclaimed, may consider short fades
---
## ⚙️ Settings Guide
### **Calculation Mode**
**Use Percentage Mode (Default: ON)**
- ✅ **Enabled**: Universal mode - works on NQ, ES, RTY, stocks, crypto, forex
- ❌ **Disabled**: Fixed points mode - for specific instruments only
**When to use each:**
- **Percentage Mode**: Trading multiple instruments, or instruments with varying price levels
- **Fixed Points Mode**: Single instrument focus (e.g., only trading NQ at current levels)
### **Danger Zone Settings**
**Percentage Mode (Default for Universal Use):**
- **Danger Zone**: 0.30% each side (≈75pts on NQ@25,000)
- **Critical Zone**: 0.10% each side (≈25pts on NQ@25,000)
**Fixed Points Mode (For NQ Specifically):**
- **Danger Zone**: 75 points each side
- **Critical Zone**: 25 points each side
**Adjustment Tips:**
- For more volatile instruments: Increase percentages/points
- For less volatile instruments: Decrease percentages/points
- For higher timeframes: Use wider zones
- For lower timeframes: Use tighter zones
### **Sweep Classification**
**What defines a "real" sweep:**
- **Minimum**: 10pts / 0.04% - Shallow penetration may not grab enough liquidity
- **Optimal**: 10-25pts / 0.04-0.10% - "Goldilocks zone" for reversal setups
- **Extended**: 25-50pts / 0.10-0.20% - Deeper sweep, less reliable
- **Continuation**: 50+pts / 0.20%+ - Too deep, likely NOT reversing
**Max Bars for Reclaim**: 5 bars (default)
- Price should reclaim the level relatively quickly
- If it takes too long, the sweep may have failed
### **Visual Customization**
**Box Settings:**
- **Left Extension**: 60 bars (how far back the box extends)
- **Right Extension**: 50 bars (how far forward the box extends)
**Toggle Options:**
- Show/Hide Danger Zone Boxes
- Show/Hide PDH/PDL Lines
- Show/Hide Price Labels on lines
- Show/Hide Sweep Labels
- Show/Hide Unlock Labels
### **Color Customization**
All colors are fully customizable:
- Danger Zone Fill & Border
- Critical Zone Fill & Border
- Unlocked Zone Fill & Border
- PDH/PDL Line Colors
- PDH/PDL Label Colors
- Border Widths (1-5 pixels)
- Line Widths (1-5 pixels)
---
## 🎓 Trading Strategy Examples
### **Example 1: Long Setup at PDL**
1. **Morning**: Price approaches PDL (danger zone appears)
2. **Don't Fade Yet**: Price enters critical zone - resist urge to buy
3. **Sweep**: Price drops 15pts below PDL (green triangle appears)
4. **Reclaim**: Price closes back above PDL within 3 bars
5. **🔓 UNLOCKED**: Gold border + "LONG UNLOCKED" label appears
6. **Trade Setup**: Now look for bullish confirmation (order flow, structure, etc.)
### **Example 2: Avoiding a Trap at PDH**
1. **Afternoon**: Price rallies into PDH danger zone
2. **Temptation**: You want to short here (it "looks toppy")
3. **Sweep**: Price breaks 50pts above PDH (red triangle + ⚠️ warning)
4. **Continuation**: Deep penetration suggests continuation, not reversal
5. **Result**: No unlock occurs, price keeps running higher - trap avoided!
### **Example 3: Failed Unlock (No Trade)**
1. Price sweeps PDL by 12pts (green triangle)
2. Price struggles to reclaim PDL, stays below for 10+ bars
3. No "UNLOCKED" label appears
4. **Correct Action**: Do not fade - sweep failed to reclaim
---
## 📱 Alerts
The indicator includes built-in alerts for:
- **Entering Danger Zones**: Get warned when price approaches PDH/PDL
- **Sweep Detection**: Know immediately when a level is swept
- **Unlock Signals**: Get notified when fade setups become available
- **Continuation Warnings**: Alert when penetration suggests continuation
**To Set Alerts:**
1. Right-click indicator → "Add Alert"
2. Select desired alert condition
3. Configure notification preferences
---
## ⚠️ Important Disclaimers
### **What This Indicator IS:**
✅ A visual warning system to prevent premature fades
✅ A tool to identify when liquidity sweeps have completed
✅ A framework for counter-trend trade timing
### **What This Indicator IS NOT:**
❌ A complete trading system
❌ An entry signal generator
❌ A guarantee of trade success
❌ A substitute for proper risk management
### **Always Remember:**
- "UNLOCKED" = You may CONSIDER a fade (not a signal to trade)
- You still need your own entry confirmation
- You still need proper stop placement
- You still need position sizing and risk management
- Not every unlock leads to a successful trade
- Market context and order flow still matter
---
## 🔧 Recommended Settings by Instrument
### **NQ (Nasdaq-100 E-mini Futures)**
- Mode: Percentage or Fixed Points
- Percentage: 0.30% / 0.10% (default)
- Fixed Points: 75pts / 25pts (default)
### **ES (S&P 500 E-mini Futures)**
- Mode: Percentage
- Danger: 0.25% / Critical: 0.08%
- Or Fixed Points: 15pts / 5pts
### **RTY (Russell 2000 E-mini Futures)**
- Mode: Percentage
- Danger: 0.35% / Critical: 0.12%
- Or Fixed Points: 8pts / 3pts
### **Stocks (High Volume Large Caps)**
- Mode: Percentage (recommended)
- Danger: 0.20-0.40% / Critical: 0.08-0.15%
- Adjust based on ATR and volatility
### **Crypto (BTC, ETH)**
- Mode: Percentage (essential)
- Danger: 0.40-0.60% / Critical: 0.15-0.20%
- Higher volatility requires wider zones
---
## 💡 Pro Tips
1. **Use on Higher Timeframes**: Works best on 5min, 15min, 1hr charts
2. **Combine with Order Flow**: Use with footprint/delta for confirmation
3. **Watch Volume**: Strong volume on sweep = better reversal potential
4. **Consider Time of Day**: Sweeps during RTH often more reliable
5. **Multiple Timeframes**: Check if higher TF also shows unlock
6. **Don't Force Trades**: Not every session produces clean setups
7. **Journal Results**: Track which unlock types work best for you
8. **Respect Continuation Signals**: When indicator says "too deep," listen
---
## 🆘 Troubleshooting
**Q: Box isn't showing up**
A: Check that "Show Danger Zone Boxes" is enabled in Visual Settings
**Q: No price on labels**
A: Enable "Show Price Labels on Lines" in Visual Settings
**Q: Zones seem too tight/wide**
A: Adjust Danger Zone % or points based on current volatility
**Q: Getting too many/too few unlocks**
A: Adjust sweep classification thresholds (min/max penetration)
**Q: Want thicker/thinner lines**
A: Adjust line widths in "PDH/PDL Line Colors" section
**Q: Colors not matching my chart theme**
A: Fully customize all colors in the color settings groups
---
## 📚 Additional Resources
- Study price action around PDH/PDL on your instruments
- Learn about liquidity sweeps and stop hunts
- Understand market structure and order flow
- Practice identifying setups on replay/historical data
- Keep a trading journal of unlock scenarios
---
*Remember: The best trade is often the one you don't take. This indicator helps you avoid the trades you shouldn't take, so you can focus on the ones you should.*
GME Warrant Tracker [theUltimator5]The GME Warrant Tracker was designed to be used for GME warrants tracking. The theory behind this indicator is that warrants are priced similarly to options and generally follow the same Greeks. With that assumption, we can break down the price of the warrants by using known Greeks to estimate either the theoretical price, or even estimate Implied Volatility (IV).
The base settings for this indicator plot the calculated IV, the theoretical price (there are multiple methods of calculation which I will discuss later) and the current warrant price.
You can toggle on or off all of these plots to display only what you want to track.
For example, you can simply track the difference between the theoretical price and the current price to see if warrants are trading at a premium or a discount vs what the indicator calculates it to be.
Calculating implied volatility is extremely difficult and must be approximated.
The theoretical warrant price produced by this indicator depends primarily on the volatility input (σ) used in the Black–Scholes pricing model.
This script supports five distinct methods for approximating σ, each extracting different information from the market.
1) Close-to-Close Historical Volatility
Close-to-Close computes the standard deviation of daily close-to-close returns and uses a lookback window scaled to time-to-expiry. As the expiration approaches, the lookback window tightens, giving a more responsive volatility approximation relative to time-to-expiry.
This option produces conservative approximations for volatility, and may lag actual volatility intraday.
2) Parkinson High-Low Volatility
Parkinson High-Low volatility uses daily high and low prices to calculate intraday trading range for a more responsive estimation to volatility. It ignores opening and close gaps, so overnight volatility is not accounted for.
This option produces higher theoretical volatility during choppy price action and can over estimate actual volatility.
3) Garman–Klass Volatility
Garman–Klass volatility is a way to estimate how much price is fluctuating by using the open, high, low, and close for each period. Because it draws on multiple intraperiod price points (not just the range or close-to-close moves), it typically produces a tighter, more informative volatility estimate than simpler approaches. It’s often most helpful when gaps occur and when the open and close carry meaningful information about the session’s trading.
4)Yang–Zhang Volatility
The Yang–Zhang volatility estimator is designed to account for both opening jumps and price drift. It estimates volatility by combining overnight (close-to-open) variance, intraday (open-to-close) variance, and a weighted Rogers–Satchell component using OHLC data, often yielding a more robust measure than simpler close-to-close style estimators.
5) Option price
By default, the indicator uses the call option strike dated closest to the warrant expiration date. Since the Greeks for both the warrants and the
options are assumed to be equivalent with a minor difference in theta (time-to-expiry), the theoretical price of the warrants closely matches the trade price of the call strike chosen.
There is a table that can be enabled (off by default because it is large and fills entire screen on mobile) which shows all the configuration settings and Greeks.
You can also manually adjust the "dilution" factor for the warrants, which shifts the number of active warrants and moves the count into the shares outstanding for the underlying (GME). The reason for this is that as warrants get exercised, the total quantity of warrants in circulation decreases and the the total quantity of shares outstanding increases.
Since this indicator was built around the single warrant, ticker NYSE: GME/W, it is only meant to be used with NYSE:GME. Any other ticker will not work properly with this indicator.
ORB M15 Fibo din ORB EMA200 MTFTesting a new idea based on ORB m15. Still on testing, not worth it to translate it into English
Razzere Cloned! V.8.1The foreign exchange market (forex, FX, or currency market) is a global decentralized or over-the-counter (OTC) market for the trading of currencies. This market determines foreign exchange rates for every currency. By trading volume, it is by far the largest market in the world, followed by the credit market.
The main participants are the larger international banks. Financial centres function as anchors of trading between a range of multiple types of buyers and sellers around the clock, with the exception of weekends. As currencies are always traded in pairs, the market does not set a currency's absolute value, but rather determines its relative value by setting the market price of one currency if paid for with another. Example: 1 USD is worth 1.1 Euros or 1.2 Swiss Francs etc. The market works through financial institutions and operates on several levels. Behind the scenes, banks turn to a smaller number of financial firms known as "dealers", who are involved in large quantities of trading. Most foreign exchange dealers are banks, so this behind-the-scenes market is sometimes called the "interbank market". Trades between dealers can be very large, involving hundreds of millions of dollars. Because of the sovereignty issue when involving two currencies, Forex has little supervisory entity regulating its actions. In a typical foreign exchange transaction, a party purchases some quantity of one currency by paying with some quantity of another currency.
Markov: Transition Matrix [Daily Timeframe]Description
This indicator computes a 3-state Markov chain from price action and visualizes the transition probabilities between daily states:
• Up: daily % change > threshold
• Down: daily % change < -threshold
• Sideways: |daily % change| ≤ threshold
From those states, it builds transition matrices:
• Today → Tomorrow (1 day ahead)
• Today → In 2 days
• Today → In 3 days
Each matrix cell shows:
P(next state | current state)
Rows are the current state (today), columns are the future state (tomorrow / +2 / +3).
Each row sums to 100% (when there is sufficient sample size).
________________________________________
How to read it (trader workflow)
1. Identify the current regime (the most recent confirmed daily state).
2. Look at the row matching that regime:
• The ★ marks the highest probability outcome for that row (most likely next state).
• Heatmap intensity increases as probability increases.
• Each row shows its own sample size (n=...) so you can judge statistical support.
3. Use Quick-read:
• “Now” = current regime
• “Best” = top conditional outcome + probability
• “2nd” = second-best outcome + probability
4. Use Universe (N):
• Shows the marginal distribution: how often days are Up/Down/Sideways across the whole dataset.
________________________________________
Settings
Core logic
• Sideways threshold: controls how strict “Sideways” is.
Example: 0.001 = ±0.10% daily move is considered Sideways.
Display
• Toggle 1D / 2D / 3D matrices.
• Highlight best probability per row (★).
• Show n per row (row transition count).
• Focus: current state row only to reduce noise and speed decision-making.
• Quick-read row for the current regime.
Theme (fully customizable)
All colors can be customized:
• Up / Down / Sideways base colors
• Header background + header text
• Values text
• Quick-read neutral background
This makes it suitable for both light and dark chart themes.
________________________________________
Notes / Limitations
• The indicator is designed for daily sessions. It uses daily close-to-close returns to classify states and update the Markov chain once per day.
• On very volatile assets, a very small threshold can make Sideways rare. If you want a more frequent Sideways regime, increase the threshold.
• This is a statistical visualization tool, not a trading system.
________________________________________
Disclaimer (TradingView-friendly)
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Past probabilities do not guarantee future results. Use at your own discretion and always apply proper risk management.
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.*
Stationary Notes (Paragraph Box)This indicator helps you journal and notate any analysis’s you’ve made and display them while remaining stationary.
SMT Divergence [Kodexius]SMT Divergence is a correlation-based divergence detector built around the Smart Money Technique concept: when two normally correlated instruments should be making similar swing progress, but one prints a new extreme while the other fails to confirm it. This “disagreement” can be a valuable contextual signal around liquidity runs, distribution phases, and potential reversal or continuation points.
The script compares the chart symbol (primary) with a user-selected comparison symbol (for example BTC vs ETH, ES vs NQ, EUR/USD vs GBP/USD) and automatically scans both instruments for confirmed swing highs and swing lows using pivot logic. Once swings are established, it checks for classic SMT conditions:
Primary makes a new swing extreme while the comparison symbol forms a non-confirming swing .
To support a wider range of markets, the indicator includes an Inverse Correlation option for pairs that typically move opposite to each other (for example DXY vs EUR/USD). With this enabled, the divergence rules are logically flipped so that the script still detects “non-confirmation” in a way that is consistent with the pair’s relationship.
The indicator is designed to be readable and actionable. It can draw divergence labels directly on the main chart, connect the relevant swing points with lines, show a compact information table with the last signal and settings, and optionally render the comparison symbol as a mini candle chart in the indicator pane for quick visual validation.
🔹 Features
🔸 Two-Symbol SMT Analysis (Primary vs Compare)
Select any comparison symbol to evaluate correlation structure and divergence. The script fetches the comparison OHLC data using the current chart timeframe to keep both series aligned for analysis.
🔸 Inverse Correlation Mode
For inversely correlated pairs, enable “Inverse Correlation” so the script interprets confirmation appropriately (for example, a higher low on the comparison instrument might be expected to correspond to a lower low on the primary, depending on the relationship). This helps avoid false conclusions when the pair naturally moves opposite.
🔸 Pivot-Based Swing with Adjustable Sensitivity
Swings are detected using confirmed pivots (left bars and right bars). This provides cleaner structural swing points compared with raw candle-to-candle comparisons, and it lets you control sensitivity for different market conditions and timeframes. The script also limits stored swing history to keep performance stable.
🔸 Flexible Detection Mode: Time Matched or Independent Swings
You can choose how swings are paired across instruments:
Time Matched searches for a comparison swing that occurred at the same pivot time as the primary swing.
Independent Swings compares each symbol’s own last two swings without requiring an exact time match.
🔸 Range Control and Noise Filtering
To reduce weak or irrelevant signals:
“Max Bars Between Swings” ensures the two swings being compared are close enough in structure to be meaningful.
“Min Price Diff (%)” can require a minimum percentage change between the primary’s last two swing prices to confirm the move is significant.
🔸 Clear Visual Output with Tooltips
When a divergence is detected, the script can print a label (“SMT”) with bullish or bearish styling and a tooltip that includes the symbol pair and the primary swing price for quick context.
🔸 Divergence Lines for Context
Optional lines connect the relevant swing points, making it easier to see the exact structure that triggered the signal. One line can be drawn on the main chart and another in the indicator pane for the comparison series.
🔸 Info Table (At a Glance)
A compact table can display the active symbols, correlation mode, total divergences stored, and the most recent signal type.
🔸 Alerts Included
Built-in alert conditions are provided for bullish SMT, bearish SMT, and any SMT event so you can automate notifications without editing the code.
🔸 Optional Comparison Candle Panel
If enabled, the indicator can plot the comparison symbol as candles in the indicator pane. This is useful for confirming whether the divergence is happening around major levels, consolidations, or impulsive legs on the secondary instrument.
🔹 Calculations
This section summarizes the core logic used by the script.
1. Data Synchronization (Comparison Symbol)
The comparison instrument is requested on the chart’s current timeframe so swing calculations are performed consistently:
=
request.security(compareSymbolInput, timeframe.period, )
This ensures pivots and swing times are derived from the same bar cadence as the primary chart.
2. Swing Detection via Confirmed Pivots
Swings are detected using pivot logic with user-defined left and right bars:
primaryPivotHigh = ta.pivothigh(high, pivotLeftBars, pivotRightBars)
primaryPivotLow = ta.pivotlow(low, pivotLeftBars, pivotRightBars)
Because pivots are confirmed only after the “right bars” have closed, the script stores each swing using an offset so the swing’s bar index and time reflect where the pivot actually occurred, not where it was confirmed.
3. Swing Storage and Retrieval
Both symbols maintain arrays of SwingPoint objects. Each new swing is pushed into the array, and older swings are dropped once the array exceeds the configured maximum. This makes the divergence engine predictable and prevents uncontrolled memory growth.
The script then retrieves the last and previous swing highs and lows (per symbol) to evaluate structure.
4. Matching Logic (Time Matched vs Independent)
When “Time Matched” is selected, the script searches the comparison swing array for a pivot that occurred at the exact same timestamp as the primary swing. When “Independent Swings” is selected, it simply uses the comparison symbol’s last two swings of the same type.
5. Bullish SMT Condition (LL vs HL)
A bullish SMT event is defined as:
Primary forms a lower low (last low < previous low)
Comparison forms a higher low (last low > previous low)
If inverse correlation is enabled, the comparison condition flips to maintain logical confirmation rules
The two primary swings must be within the configured bar distance window
Optional minimum percentage difference must be satisfied
A simple anti duplication rule prevents repeated triggers on the same structure
These checks are implemented directly in the bullish detection block.
6. Bearish SMT Condition (HH vs LH)
A bearish SMT event is defined as:
Primary forms a higher high (last high > previous high)
Comparison forms a lower high (last high < previous high)
Inverse correlation flips the comparison rule
Range checks, minimum difference filtering, and duplicate protection apply similarly
These checks are implemented in the bearish detection block.
7. Percentage Difference Filter
The optional “Min Price Diff (%)” filter measures the relative distance between the last two primary swing prices. This prevents very small structural changes from being treated as valid SMT signals.
priceDiffPerc = math.abs(lastSwing.price - prevSwing.price) / prevSwing.price * 100.0
The divergence condition is only allowed to trigger if this value exceeds the user defined threshold.
priceOk = priceDiffPerc >= minPriceDiff
This filter is especially useful on higher timeframes or during low volatility conditions, where micro structure noise can otherwise produce misleading signals.
8. Visualization and Output
When a divergence is confirmed, the script:
Stores the event in a divergence array (limited by “Max Divergences to Display”)
Draws a directional SMT label with a tooltip (optional)
Draws connecting lines using time based coordinates for clean alignment (optional)
It also updates an information table on the last bar only, and exposes alertconditions for automation workflows.
Composite Fear & Greed IndexComposite Fear & Greed Index
This is an advanced, professional-grade sentiment analysis engine designed to quantify market psychology. Unlike standard oscillators that rely on a single metric, this script uses a weighted composite of four distinct technical components to generate a holistic "Fear & Greed" score.
It includes Multi-Timeframe (MTF) capabilities, proprietary FOMO/Panic detection logic, and Zero-Lag trend analysis.
1. Unique Mathematical Methodology
This script is not a simple overlay of existing indicators. It uses a Composite Normalization Engine to blend four distinct metrics into a single, bounded 0-100 oscillator.
The "Mashup" Problem Solved: Standard indicators like MACD are "unbounded" (they can go to infinity), while RSI is "bounded" (0-100). You cannot simply average them.
Our Solution: This script calculates the Z-Score of the MACD histogram relative to its historical deviation and normalizes it into a 0-100 percentile. This allows for a mathematically valid combination with RSI and Bollinger Bands.
The Component Logic:
Momentum (RSI): (Weight: 30%) Pure price velocity.
Volatility (Bollinger %B): (Weight: 25%) Relative position within volatility bands.
Trend Strength (Normalized MACD): (Weight: 25%) Uses the custom Z-Score logic described above.
Trend Integrity (ZLEMA): (Weight: 20%) We replaced the standard SMA with a custom Zero-Lag Exponential Moving Average (ZLEMA) algorithm. This removes the "lag" associated with traditional sentiment analysis, allowing the index to react to crypto volatility in real-time.
The Calculation: These raw values are weighted and smoothed to produce the final Index Value.
Greater than 80: Extreme Greed (High risk of reversal)
Less than 20: Extreme Fear (Potential accumulation zone)
2. Unique Features
A. FOMO & Panic Event Detection The script does not just track price; it tracks behavior.
FOMO (Fear Of Missing Out): Triggered when Price breaks the Upper Bollinger Band + RSI is Overbought + Volume spikes > 2.5x the average. This often marks local tops.
PANIC: Triggered when Price drops significantly in one bar + Volume spikes > 3.0x the average + RSI is Oversold. This often marks capitulation bottoms.
B. Divergence Detection The script automatically detects and plots Regular Bullish and Bearish divergences between Price and the Sentiment Index.
Bullish Divergence: Price makes a Lower Low, but Sentiment makes a Higher Low (indicating waning selling pressure).
Bearish Divergence: Price makes a Higher High, but Sentiment makes a Lower High (indicating waning buying pressure). Note: The script plots these signals precisely on the indicator line corresponding to the pivot point.
C. Multi-Timeframe (MTF) Engine Users can view the "Daily" sentiment score while trading on a 5-minute or 15-minute chart. This allows scalpers to align their trades with the higher-timeframe market psychology.
3. Usage Guide
Step 1: Trend Alignment Look at the dashboard or the main line color. Green indicates Greed/Uptrend, Red indicates Fear/Downtrend.
Step 2: Extremes
Sell/Take Profit: When the Index crosses 80 (Extreme Greed) or a "FOMO" triangle appears.
Buy/Long: When the Index crosses 20 (Extreme Fear) or a "PANIC" triangle appears.
Step 3: Confirmation Use the Divergence Dots as confirmation. A "Panic" signal followed by a "Bullish Divergence" dot is a high-probability reversal setup.
Settings
Timeframe: Select the MTF resolution (default is Chart).
Weights: You can adjust the influence of RSI, MACD, BB, or Trend to fit your specific asset class.
Visuals: Fully customizable colors, table position, and toggle switches for shapes/backgrounds.
Disclaimer: This script is for informational purposes only and does not constitute financial advice.
BTC - Metcalfes Law (Deviation)Title: BTC – Metcalfe's Law (Deviation) | RM
Overview & Philosophy
The BTC – Metcalfe's Law (Deviation) is a fundamental valuation oscillator that answers one of the most important questions in network economics: "Is the current price justified by the number of active users?" Metcalfe's Law states that the value of a network is proportional to the square of the number of its connected users (Value = Users squared). In the context of Bitcoin, this means that as the number of active addresses grows linearly, the network's fair value should grow exponentially.This script identifies periods where Bitcoin’s market capitalization has become "overextended" or "undervalued" relative to its actual network activity.
Methodology
The indicator performs a rolling log-log regression (Ordinary Least Squares) between Bitcoin's Market Cap and its Active Address count over a 730-day (2-year) window.
1. The Regression: The script calculates the statistical relationship: ln(Market Cap) = alpha + beta * ln(Active Addresses)
2. Pure Metcalfe vs. Generalized Metcalfe:
• Pure Metcalfe (Beta=2): By default, the script enforces a slope of 2.0, adhering to the classic mathematical law.
• Dynamic Fit: Users can disable the "Enforce Metcalfe" setting to let the model find the best historical fit (often resulting in a Beta between 1.5 and 1.8).
3. The Deviation (The Signal):
The resulting line represents the Log-Deviation from Fair Value.
• A value of 0.0 means Bitcoin is priced exactly according to its network utility.
• Positive values indicate a "valuation premium".
• Negative values indicate a "valuation discount".
How to Read the Chart
🔴 The Red Zone (Overvaluation > 1.0)
Meaning: The Market Cap has outpaced the growth of active users. Historically, these peaks represent speculative bubbles or cycle tops where price is driven by hype rather than utility.
🟢 The Green Zone (Undervaluation < -0.25)
Meaning: The network is being utilized, but the price has crashed below its fundamental support. Historically, these "Utility Floors" have marked the most profitable accumulation zones in Bitcoin’s history.
🟠 The Orange Line (Fair Value Transition)
Meaning: The market is in a healthy growth phase, moving in lockstep with user adoption.
Strategy & Interpretation
This tool is a Macro Compass . It is designed to help investors stay objective during periods of extreme market emotion.
• In a Bull Market: Watch for the deviation to hit the Red Zone. This is your signal that the "Network Utility" can no longer support the price, and a major correction is likely imminent.
• In a Bear Market: Look for the "Green Floor." When the price stays below the -0.25 level despite stable user activity, it suggests a massive mismatch between value and price—a classic buy signal.
Settings
• Regression Window (Default: 730 Days): Chosen to capture mid-to-long term cycle trends. Adjust to shorter timeframes for more dynamic behavior or longer timeframes (like 1460 Days) to catch longer cycles.
• Enforce Metcalfe: Toggle between the classic law (Beta=2) and a dynamic fit.
• Smoothing: A 30-day SMA is applied to active addresses to filter out daily "jitter."
Credits
• Robert Metcalfe: For the original law of network utility.
• Willy Woo & Greg Wheatley: For their pioneering work in applying Metcalfe's Law specifically to Bitcoin's valuation.
Important Data Requirement
To function, this indicator requires a data feed for Active Addresses . By default, it is set to GLASSNODE:BTC_ACTIVEADDRESSES . Please Note: On-chain data usually requires a premium vendor subscription on TradingView (e.g., Glassnode, IntoTheBlock, or CryptoQuant). If you do not have a subscription, the indicator will display a "Missing Data" warning.
⚠️ Note: This indicator is optimized for the Daily (1D) Timeframe. Please switch your chart to 1D for accurate signal reading.
Disclaimer
This script is for research and educational purposes only. It relies on third-party on-chain data. Fundamental valuation is only one piece of the puzzle; market dynamics can remain irrational longer than metrics can predict.
Tags
bitcoin, btc, on-chain, metcalfe, adoption, fundamental, valuation, active addresses, cycle, Rob Maths
CVD & Big Trade Detector By HKOverview The CVD & Big Trade Detector By HK offers a unique perspective on Cumulative Volume Delta (CVD). This indicator utilizes Floating Bars (Candles) to visualize the cumulative buying and selling pressure. This design allows you to clearly see the net delta of each specific candle relative to the cumulative trend.
Additionally, it integrates the "Big Trade" algorithm to highlight statistically significant volume anomalies (Whale activity) directly on the CVD bars.
How it Works Since standard volume data does not always provide buy/sell splitting, this script estimates intrabar pressure using price action logic:
Buying Pressure: Calculated based on the push from the Low to the Close.
Selling Pressure: Calculated based on the push from the High to the Close.
The indicator then calculates the Delta (Buy Vol - Sell Vol) and accumulates it.
Floating Bars: Instead of plotting from the zero-line, each bar opens at the previous CVD value and closes at the new cumulative value.
Teal/Green Bar: Net buying in the current period (CVD increased).
Maroon/Red Bar: Net selling in the current period (CVD decreased).
Key Features
Floating CVD Structure: Prevents the "barcode effect" common in histogram CVDs. It provides a clean, candle-like view of momentum accumulation.
Whale Detection:
The script calculates the moving average and standard deviation (Sigma) of the buying/selling volume.
Green Dots: Appear when buying volume exceeds the statistical threshold (Signifying a "Big Buy").
Red Dots: Appear when selling volume exceeds the statistical threshold (Signifying a "Big Sell").
Precise Positioning: Whale markers are plotted exactly at the closing value of the CVD bar, showing you exactly where the volume spike impacted the delta.
How to Use
Divergences: Look for situations where Price makes a Higher High, but the CVD Bars fail to make a new high (bearish divergence).
Absorption: If you see a Large Whale Dot on a very small CVD bar (doji-like), it indicates massive volume fighting for direction with little net result—often a sign of absorption or a pending reversal.
Trend Confirmation: Strong floating bars in the direction of the trend, accompanied by Whale Dots, confirm smart money participation.
Settings
Lookback Period: Defines the baseline for the statistical volume calculation (default: 50).
Sensitivity (Sigma): Adjusts how strict the "Whale" detection is (default: 3.0). Higher values = fewer, more significant signals.
Colors: Fully customizable colors for Up/Down bars and Buy/Sell markers.
Built with Pine Script™ v6
CandelaCharts - Composite Pressure Index 📝 Overview
The CandelaCharts – Composite Pressure Index (CPI) is a multi-factor oscillator that blends RSI , Money Flow Index (MFI) , and Chaikin Money Flow (CMF) into a single, stretchable “pressure” line. Instead of looking at three separate indicators, CPI compresses price momentum and volume flow into one normalized curve around 0 , then amplifies extremes using a rolling z-score .
The result is a dynamic gauge of buying vs. selling pressure that can travel beyond ±1 during strong regime shifts, helping you spot exhaustion, climaxes, and trend-strength phases more intuitively.
📦 Features
Composite pressure engine – Combines RSI, MFI, and CMF into a single normalized oscillator around 0, giving you a unified view of market pressure.
Custom weighting of components – Independently weight RSI, MFI, and CMF to prioritize pure price momentum or volume-driven signals.
Rolling z-score stretch – Uses a configurable z-score window to “stretch” the composite values, letting the line exceed ±1 during extremes instead of staying capped.
Adaptive amplitude control – An amplitude (gain) factor lets you scale how aggressive or subtle the CPI swings appear.
EMA smoothing – Optional smoothing removes noise while preserving the timing of swings and reversals.
Visual pressure band – Zero, +1, and -1 reference lines with a shaded band make it easy to see when pressure is “normal” vs. extended.
Dynamic color gradients – Warm/orange tones above 0 for bullish pressure and cool/blue tones below 0 for bearish pressure, with saturation increasing as pressure intensifies.
NA-safe statistics – Custom mean and standard deviation routines ensure stable behavior from the start of the chart and during partial history.
⚙️ Settings
RSI Length : Lookback length for RSI . Higher values smooth the RSI component; lower values make it more reactive to short-term price momentum.
MFI Length : Lookback length for the manual Money Flow Index . Adjust this to control how sensitive CPI is to price–volume interaction.
CMF Length : Lookback length for Chaikin Money Flow . This defines the window used to assess accumulation/distribution through volume flow.
RSI Weight : Relative importance of RSI within the composite. Increasing this emphasizes pure price momentum in the CPI.
MFI Weight : Relative importance of MFI. Higher values strengthen the influence of volume-weighted price moves.
CMF Weight : Relative importance of CMF. Raising this highlights accumulation/distribution as a driver of the pressure index.
Smoothing : EMA length applied to the stretched CPI line. A value of 1 effectively disables smoothing, while higher values reduce noise at the cost of a slight lag.
Z-score Window : Rolling window used to compute the mean and standard deviation of the raw composite. This defines the statistical context for what counts as “extreme”. Shorter windows adapt faster; longer windows give a more stable regime.
Amplitude : Gain factor applied to the z-scored composite. Values above 1.0 exaggerate swings and make extremes more visually pronounced; values below 1.0 compress them.
⚡️ Showcase
Composite Pressure Index
Mean Line
Divergences
📒 Usage
1. Identify directional pressure regimes
Use 0 as the key balance line:
CPI > 0 → Net bullish pressure (buyers in control).
CPI < 0 → Net bearish pressure (sellers in control).
You can treat prolonged stays above or below 0 as confirmations of trend direction, especially when price structure agrees.
2. Read statistical extremes instead of fixed levels
Because CPI is stretched via a z-score , values beyond ±1 typically represent statistically meaningful extremes within your chosen window:
CPI > +1 → Overextended bullish pressure / potential euphoria.
CPI < -1 → Overextended bearish pressure / potential capitulation.
These zones are not automatic reversal signals, but they highlight areas where monitoring for exhaustion, blow-offs, or risk-reward shifts can be beneficial.
3. Spot divergences with price
Classic divergence logic applies particularly well when pressure is composite:
Bearish divergence – Price makes higher highs, but CPI makes lower highs or fails to confirm.
Bullish divergence – Price makes lower lows, but CPI makes higher lows or shows less downside extension.
These patterns can be integrated with support/resistance, liquidity levels, and other CandelaCharts tools.
4. Tune the weights to your strategy
Adjust the three weights to match your focus:
Higher RSI weight → More sensitivity to pure price momentum (good for breakout or trend-following systems).
Higher MFI weight → Greater emphasis on price–volume interaction (ideal for spotting volume-confirmed moves).
Higher CMF weight → Stronger focus on accumulation/distribution (helpful for swing and position traders).
5. Integrate with existing setups
The CPI is designed to sit comfortably below price:
Use it as a “context” oscillator underneath your main price-action and liquidity models.
Combine CPI extremes and divergences with key levels, range models, or order flow signals for higher-confluence entries.
🚨 Alerts
The indicator does not provide any alerts!
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
Time & Price Confirmation (TPC)This one i am in the midst of trying to make better but for now its actually making money.
Core Concept:
Uses SuperTrend on two timeframes: Higher Timeframe (HTF) for trend direction and Lower Timeframe (LTF) for entry timing
Only signals trades when BOTH timeframes align
Key Components:
HTF Time (Higher Timeframe) - Checks if the main trend is strong:
🟢 Healthy = Strong trend, good momentum
🟠 Slowing = Trend weakening but still valid
🔴 Tired = Trend exhausted, avoid trading
LTF Confirm (Lower Timeframe) - Waits for price confirmation via:
SuperTrend flip (trend reversal)
Displacement candle (large range breakout)
Strong momentum move
Action Signals:
🚀 ENTER = Both HTF healthy + LTF confirmed (best setup)
⏳ HOLD = HTF still good but waiting for LTF confirmation
⏹️ NO TRADE = HTF tired or conditions not met
MTF Bollinger Bands (2SD & 3SD)
개요
1분봉이나 5분봉 등 하위 타임프레임에서 스캘핑을 할 때, 차트를 변경하지 않고 상위 타임프레임(기본 4시간)의 볼린저 밴드 위치를 확인하기 위해 제작했습니다.
주요 기능
MTF (Multi-Timeframe): 현재 보고 있는 차트와 상관없이 설정한 타임프레임의 볼린저 밴드를 표시합니다. (기본값: 4시간)
듀얼 밴드 시각화 (Dual Zone): 표준편차 2(2SD)와 표준편차 3(3SD)을 동시에 계산합니다.
2SD 영역: 2SD와 3SD의 배경색이 겹치도록 설계하여, 중심부(2SD)가 시각적으로 더 진하게 보입니다. 이는 주요 지지/저항 구간을 직관적으로 보여줍니다.
3SD 영역: 외곽은 연하게 표시되어 과매수/과매도 구간을 식별하기 좋습니다.
끊김 없는 라인: gaps_off 처리를 통해 타임프레임 변경 시 선이 끊기지 않고 부드럽게 연결됩니다.
설정 가이드
Timeframe: 기준이 될 상위 시간대를 선택하세요. (기본: 240분/4시간)
Multiplier: 표준편차 배수를 변경할 수 있습니다. (기본: 2.0 / 3.0)
Transparency: 배경 투명도를 조절해 밴드의 진하기를 변경하세요.
==========================================
Overview
Designed for traders who need to monitor Higher Timeframe (HTF) volatility while scalping on Lower Timeframes (LTF). This indicator overlays HTF Bollinger Bands on your current chart without the need to switch tabs.
Key Features
MTF Capability: Displays Bollinger Bands from any user-defined timeframe. (Default: 4 Hours).
Dual Zone Visualization: Plots both 2 Standard Deviations (2SD) and 3 Standard Deviations (3SD).
Visual Depth: The script utilizes an overlapping fill method. The inner 2SD band appears darker as it layers on top of the 3SD background, clearly highlighting the primary support/resistance zone.
Extreme Zones: The outer 3SD band remains lighter, indicating extreme overbought/oversold conditions.
Seamless Plotting: Uses gaps_off to ensure lines remain continuous across different timeframes.
Settings
Timeframe: Select the target HTF. (Default: 240 / 4H)
Multiplier: Adjust the standard deviation multipliers. (Default: 2.0 & 3.0)
Style: Customize colors and transparency to fit your chart theme.
30-Point Price RaysThis indicator plots 2 lines 30 points away from the current price.
This indicates where to place your limit orders pre news.
A simple tool just to help and not something to be used outside of evaluations.






















