cc/@version=5
indicator("5 Min Forex Strategy", overlay=true, timeframe="5")
// ───────── Indicators ─────────
// EMAs
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
// RSI
rsi = ta.rsi(close, 14)
// Stochastic
k = ta.stoch(close, high, low, 14)
d = ta.sma(k, 3)
// ───────── Trend Conditions ─────────
bullTrend = ema50 > ema200
bearTrend = ema50 < ema200
// ───────── Entry Conditions ─────────
// Buy when trend is bullish + RSI > 50 + Stochastic crosses up from oversold
buySignal = bullTrend and rsi > 50 and ta.crossover(k, d) and k < 20
// Sell when trend is bearish + RSI < 50 + Stochastic crosses down from overbought
sellSignal = bearTrend and rsi < 50 and ta.crossunder(k, d) and k > 80
// ───────── Plot Indicators ─────────
plot(ema50, color=color.yellow, title="EMA 50")
plot(ema200, color=color.red, title="EMA 200")
// RSI & Stoch plot on separate pane
rsiPlot = plot(rsi, "RSI", color=color.new(color.blue, 0))
hline(70); hline(30)
// ───────── Plot Buy/Sell signals ─────────
plotshape(buySignal, title="BUY", style=shape.labelup, color=color.green, text="BUY", size=size.small, location=location.belowbar)
plotshape(sellSignal, title="SELL", style=shape.labeldown, color=color.red, text="SELL", size=size.small, location=location.abovebar)
Indicadores de Banda
Liquidity Sweep Pro [Whale Edition]Liquidity Sweep Pro is a next-generation trading tool that bridges the gap between Smart Money Concepts (SMC) and Quantitative Volume Analysis.
Traditional "Liquidity Sweep" indicators often generate false signals by marking every wick crossover as a trade setup. This indicator solves that problem by filtering setups through a Quant VSA Engine. It asks not just "Did price sweep a level?" but "Was there institutional money behind this move?"
🔬 How It Works
The indicator operates on three synchronized layers:
1. Market Structure (Liquidity Pools) It automatically identifies key pivot points where retail Stop Losses are likely clustered:
Buy Side Liquidity (BSL): Areas above swing highs.
Sell Side Liquidity (SSL): Areas below swing lows.
2. The Quant Engine (Whale Detection) Instead of using simple volume averages, we apply statistical modeling to detect anomalies:
Log-Normal Z-Score: Normalizes volume data to detect statistically significant outliers (Sigma > 2.5). This adapts to market volatility, filtering out noise.
Kaufman Efficiency Ratio (KER): Analyzes the quality of price movement to classify the "Whale" type:
❄️ Absorption (Iceberg): High Volume + Low Price Movement. Signals a potential reversal.
🚀 Propulsion (Drive): High Volume + High Price Efficiency. Signals an aggressive breakout.
3. The Trigger (Smart Entry) A trade signal is generated ONLY when:
Price sweeps a liquidity level (wicking below/above).
Price closes back within the range.
Institutional Activity is confirmed (High Z-Score Volume).
Trend (EMA 200) and Momentum (RSI) filters are aligned.
🛡️ Features
Intrabar Analysis: Uses request.security_lower_tf to analyze the internal volume delta of the candle for maximum precision.
Automated Risk Management: Plots Entry, Take Profit, and Stop Loss levels directly on the chart based on ATR (Average True Range) and your preferred Risk:Reward ratio.
Unified Alerts: Includes a single "ANY SWEEP" alert condition, allowing you to monitor both Long and Short setups with just one TradingView alert.
Visual Classification: Candles with institutional activity are marked with a 🐋 symbol, even if no sweep occurs, helping you read the narrative.
⚙️ Best Settings & Usage
Timeframes: Works best on 15m, 1h, and 4h charts.
LTF Interval (Input): This is crucial.
If trading on the 1h chart, set LTF to 1 minute.
If trading on the 4h chart, set LTF to 5 minutes.
Whale Threshold: Default is 2.5 Sigma. Increase to 3.0 for fewer, higher-confidence signals, or decrease to 2.0 for more frequency.
⚠️ Disclaimer
This tool is for educational purposes only. It identifies statistical probabilities, not certainties. Always manage your risk and do not rely solely on one indicator.
AMMOUSSA XAUUSD Professional Intraday SwingAMMOUSSA XAUUSD Professional Intraday Swing
AMMOUSSA XAUUSD Professional Intraday Swing
AMMOUSSA XAUUSD Professional Intraday Swing
AMMOUSSA XAUUSD Professional Intraday Swing
SNIPER Initial Balance V1SNIPER INITIAL BALANCE V1
### What It Does
Draws the first hour's high/low range with extensions and breakout signals.
### IB Times (Auto-Selected)
| Market Type | IB Period (ET) |
|-------------|----------------|
| Index (ES/NQ/YM) | 9:30 - 10:30 |
| Gold (GC/MGC) | 8:30 - 9:30 |
| Energy (CL) | 9:00 - 10:00 |
### Levels Drawn
| Level | Style | Purpose |
|-------|-------|---------|
| IB High | Solid | Resistance |
| IB Low | Solid | Support |
| IB Mid | Dashed | Mean reversion |
| 50% Ext | Dotted | Target 1 |
| 100% Ext | Dotted | Target 2 |
| 1SD (1.28x) | Dashed | 80% range |
| 2SD (2.0x) | Dashed | 95% range |
### Signals
| Signal | Meaning | Action |
|--------|---------|--------|
| `IB↑` | Breakout above IB High | Look for long |
| `IB↓` | Breakout below IB Low | Look for short |
| `RT↑` | Retest long entry | **BEST ENTRY** - Go long |
| `RT↓` | Retest short entry | **BEST ENTRY** - Go short |
| `FK` | Fakeout warning | **AVOID** - Don't enter |
### Entry Requirements (All Must Be True)
- ✅ Close above/below level (not just wick)
- ✅ Volume ≥ 1.3x average
- ✅ Body ≥ 60% of candle
- ✅ Minimal adverse wick
### Quick Trade Plan
```
LONG: Wait for RT↑ → SL below IB Low → TP at 50% or 100% ext
SHORT: Wait for RT↓ → SL above IB High → TP at 50% or 100% ext
```
---
False Breakdown Long Confirm (dropthoughcashin)// =============================================================================
// EN — Script Introduction
// Name: False Breakdown Long Confirm (dropthoughcashin)
// Timeframe: Designed for 5-minute charts (works on other TFs but tuned for 5m)
//
// What this script does:
// This indicator detects a “false breakdown” (liquidity sweep) below a support
// level, followed by a reclaim and a retest-hold confirmation. When confirmed,
// it prints a label and triggers the alert condition: dropthoughcashin.
//
// Core logic (3 steps):
// 1) Define the support level (Key Level):
// - Pivot mode: uses the latest confirmed pivot low as support.
// - Manual mode: uses your manually entered support level.
// 2) False breakdown + reclaim:
// - Price sweeps below support (low < support),
// - The sweep must be shallow (limited by ATR multiple or fixed points),
// - Then price reclaims: close back above the support.
// 3) Retest-hold confirmation (within N bars after reclaim):
// - Price retests near the support (low <= support + tolerance),
// - And closes at/above the support (hold),
// - If confirmed within the window, signal triggers once.
//
// Key parameters:
// - Max Penetration: filters out “deep breakdowns” you do NOT want.
// - Retest tolerance: how close price must retest the support.
// - Confirm within N bars: time limit to confirm after reclaim.
//
// Notes / Limitations:
// - Pivot support is lagging by design (pivot is confirmed after pLen bars).
// - This is a signal/alert tool, not a full trading strategy.
// =============================================================================
//
// 中文 — 脚本介绍
// 名称:False Breakdown Long Confirm(dropthoughcashin)
// 周期:主要为 5分钟K 设计(其他周期也能用,但默认参数以 5m 优化)
//
// 脚本作用:
// 本指标用于识别“假跌破(扫流动性/扫止损)”形态:价格先刺破支撑位,随后快速收回
// 并在短时间内回踩踩住,形成做多确认。确认后会在图上打标签,并触发提醒条件:
// dropthoughcashin。
//
// 核心逻辑(3步):
// 1) 定义支撑位(Key Level):
// - Pivot 模式:用最近确认的 pivot low(局部低点)作为支撑。
// - Manual 模式:用你手动输入的固定支撑价位。
// 2) 假跌破 + 收回(reclaim):
// - 价格最低点刺破支撑(low < 支撑),
// - 但下穿幅度必须“浅”(用 ATR 倍数或固定点数限制),
// - 随后收盘重新站回支撑上方(close > 支撑)。
// 3) 回踩踩住确认(retest-hold):
// - 在收回之后的 N 根K内,价格回踩到支撑附近(low <= 支撑 + 容忍),
// - 且收盘守住支撑(close >= 支撑),
// - 满足则触发一次信号与提醒。
//
// 关键参数说明:
// - Max Penetration(最大下穿深度):过滤掉“下穿太深”的破位,避免误触发。
// - Retest tolerance(回踩容忍范围):定义回踩要贴近支撑到什么程度。
// - Confirm within N bars(确认窗口):收回后限定多少根K内必须完成回踩确认。
//
// 注意事项:
// - Pivot 支撑位天然滞后(需要 pLen 根K确认后才成立),属于“稳但晚”的设计。
// - 该脚本是信号/提醒工具,不是完整的交易策略(不包含止损止盈与仓位管理)。
HTF Candles on Lower Timeframes (Manual OHLC)Hi everyone, this indicator is designed to plot higher timeframes candles on the chart. Here are the details:
The data is built directly from OHLC values at specific time intervals, instead of using request.security.
It supports 1H / 2H / 4H / 8H / 1D higher timeframes, and can be viewed on lower timeframes such as 5m / 10m / 15m / 30m.
The main idea behind this chart is to serve as a foundation for building other indicators that need to operate on higher timeframes while still being visualized on lower timeframes.
Feel free to share your feedback or ideas for improvement in the comments below.
Daily Percentage Oscillator### Daily Percentage Oscillator – Indicator Description
The **Daily Percentage Oscillator** transforms intraday price action into a clean, normalized percentage-based view, using the previous trading day's closing price as the fixed 0% baseline. Each new trading day automatically resets the axis to that prior close, allowing you to visualize true daily price oscillation without the distortion of absolute price levels or cumulative trends.
Key features:
- **Percentage-based OHLC display**: All bars or candlesticks represent percentage change from the previous day’s close, creating a consistent oscillation around the 0% line.
- **Daily reset**: The baseline updates every session, making it ideal for intraday traders focusing on relative strength, mean reversion, or daily momentum patterns.
- **Toggle between bars and candlesticks**: Choose your preferred visual style.
- **Simple Moving Average (SMA)**: Optional SMA applied directly to the percentage close values (default 20-period, fully customizable).
- **Daily-resetting VWAP**: Volume-Weighted Average Price calculated on the percentage series, resetting at the start of each trading day for precise intraday anchoring.
- **Clean presentation**: No clutter from scale labels or status line values — only the essential visuals appear in the pane.
This indicator is particularly useful for:
- Comparing intraday momentum across different assets or timeframes on equal footing.
- Identifying overbought/oversold conditions relative to the prior close.
- Enhancing mean-reversion and range-bound trading strategies.
- Overlaying percentage-based anchors (SMA, VWAP) that respect the daily session structure.
Works on any intraday timeframe (1m, 5m, 15m, etc.) and is designed to stay lightweight and responsive. Perfect for day traders and scalpers seeking a clearer, more intuitive view of daily price behavior.
MACD Backtesting IndicatorThis Pine Script v5 indicator replicates TradingView's standard MACD with full backtesting capabilities. Traders can adjust all parameters (12,26,9 defaults) through inputs and see real-time performance metrics in the table. Buy/sell signals appear as labeled arrows, matching classic MACD crossover strategy while providing visual backtest results for strategy evaluation.
SMC Single EQH / EQL (Clean)Equal High Equal Low: This chart mark equal high/ Equal low with utmost accuracy.
Nikhil TimezoneNikhil Timezone Indicator
The Nikhil Timezone indicator is a time-based visual tool designed to help traders identify and analyze key intraday price behavior using Indian Standard Time (IST).
🔶 11:30–12:30 IST Body Range Zone
Automatically highlights the candle body range formed between 11:30 AM and 12:30 PM IST.
The zone is drawn using only open and close prices (not wicks), giving a clearer representation of real buying and selling pressure.
The box dynamically expands during the session to capture the highest and lowest candle bodies within this time window.
Useful for identifying midday consolidation, support/resistance zones, and potential breakout or rejection areas later in the session.
🔴 2:30 PM IST Candle Marker
Marks the 2:30 PM IST candle with a vertical dotted red line.
Adds a label for quick visual identification.
Helpful for traders who track late-session momentum, institutional activity, or pre-close setups.
📈 Best Use Cases
Intraday trading (especially index and liquid stocks)
Breakout and range-expansion strategies
Time-based market structure analysis
IST-focused trading workflows
This indicator is lightweight, non-repainting, and works seamlessly across intraday timeframes.
Rachev Regime AnalyzerRachev Regime Analyzer ~ GForge
What It Does
Measures the ratio of extreme gains to extreme losses to identify whether markets favor bulls or bears. When your best moves are bigger than your worst moves, conditions are bullish. When the opposite is true, conditions are bearish.
Simple Interpretation:
Ratio > 1.2 → Bullish regime (tail gains exceed tail losses)
Ratio < 0.8 → Bearish regime (tail losses exceed tail gains)
Between → Neutral/transitional
Key Features
Two Modes:
Single Asset: Analyze current chart
Multi-Asset: Aggregate regime across 5 assets with custom weights (great for gauging overall crypto/market conditions)
Customizable:
Lookback period (20-200 bars)
Tail percentile (what counts as "extreme")
Bullish/bearish thresholds
6 color schemes
Optional MA smoothing
Visual Signals:
Buy/sell markers at threshold crosses
Background regime coloring
Info table with current values and confidence score
Configurable alerts
How to Use
Choose lookback period based on your timeframe (40-60 bars is a good start)
Watch for threshold crosses - these mark regime changes
Check confidence score - higher = more reliable
Use multi-asset mode to see if entire market is shifting (not just one coin)
Best combined with: Trend indicators, support/resistance, volume analysis
Parameters
Lookback: More bars = smoother, less responsive
Alpha (0.10): Defines extreme events - lower = more extreme
Thresholds: Adjust based on asset volatility
Return Type: Log returns recommended for most assets
What Makes It Useful
Unlike simple volatility measures, this shows asymmetry - whether extreme moves favor upside or downside. A ratio of 1.5 means your extreme gains are 50% larger than extreme losses - that's actionable information about risk-reward dynamics.
Multi-asset aggregation is particularly powerful for crypto traders wanting to gauge if BTC, ETH, SOL, etc. are all showing similar regime characteristics.
Disclaimer
Educational tool only. Not financial advice. Use proper risk management. No indicator works in isolation - always consider broader market context.
Developed by GForge
Comments and feedback welcome! 👍
8x EMA + Labels + Trend + Volume Arrows + Developing VAH/VALThis indicator is a comprehensive trend, structure, and momentum tool designed for intraday and swing traders.
It combines multi-timeframe EMAs, dynamic EMA labels, developing Value Area High/Low, and volume-based entry signals into a single clean overlay.
CVD Zones & Divergence [Pro]# CVD Zones & Divergence
**Complete CVD order flow toolkit** - Divergences, POC, Profile, and Supply/Demand zones all in one professional indicator.
## 🎯 What It Does
Combines **four powerful order flow tools** into a single, cohesive indicator:
1. **CVD Divergences** - Early warnings + confirmed signals
2. **Point of Control (POC)** - Fair value equilibrium line
3. **CVD Profile** - Visual distribution histogram
4. **Supply/Demand Zones** - Real absorption-based S/R levels
All based on **Cumulative Volume Delta (CVD)** - actual buying/selling pressure, not approximations.
## ✨ Key Features
### 🔄 CVD Divergences (Dual Mode)
**Confirmed Divergences** (High Accuracy)
- Solid lines (customizable colors)
- 🔻 Bear / 🔺 Bull labels
- Win rate: ~70-80%
- Best for swing traders
**Early Warning Mode** ⚡ (Fast Signals)
- Dashed lines (default purple)
- ⚠️ Early Bear / ⚠️ Early Bull labels
- Fires 6+ bars earlier
- Win rate: ~55-65%
- Best for scalpers/day traders
### 🎯 Point of Control (POC)
- **Independent lookback** (300 bars default)
- Yellow line showing fair value
- Where most CVD activity occurred
- Acts as dynamic support/resistance
- Resets and recalculates continuously
### 📊 CVD Profile Histogram
- **Visual CVD distribution** over lookback period
- **Split buy/sell** (blue/orange bars)
- **Value Area** (70% CVD zone highlighted)
- Position: Right/Left/Current (your choice)
- Shows where actual order flow happened
### 📦 Supply/Demand Zones
- **Absorption-based** detection (not guesses!)
- Green = Demand (buyers absorbed 2:1+)
- Red = Supply (sellers absorbed 2:1+)
- Shows **real** institutional levels
- Auto-sorted by strength
- Displays top 8 zones
## 📊 What You See on Chart
```
Your Chart:
├─ 🔴 Red lines (bearish divergences)
├─ 🟢 Green lines (bullish divergences)
├─ 🟣 Purple dashed (early warnings)
├─ 🟡 Yellow POC line (fair value)
├─ 📊 Blue/Orange profile (right side)
├─ 🟢 Green boxes (demand zones)
└─ 🔴 Red boxes (supply zones)
```
## ⚙️ Recommended Settings
### 15m Day Trading (Most Popular)
```
📊 Profile:
- Lookback: 150 bars
- Profile Rows: 24
- Position: Right
🎯 POC:
- POC Lookback: 300 bars
- Show POC: ON
📦 Zones:
- Min Absorption Ratio: 2.0
- HVN Threshold: 1.5
- Max Zones: 8
🔄 Divergences:
- Pivot L/R: 9
- Early Warning: ON
- Early Right Bars: 3
- Min Bars Between: 40
- Min CVD Diff: 5%
```
### 5m Scalping
```
Profile Lookback: 100
POC Lookback: 200
Pivot L/R: 7
Early Warning Right: 2
Min Bars Between: 60
```
### 1H Swing Trading
```
Profile Lookback: 200
POC Lookback: 400-500
Pivot L/R: 12-14
Early Warning Right: 4-5
Min Bars Between: 30
Min CVD Diff: 8%
```
## 💡 How to Trade
### Setup 1: Divergence at Zone ⭐ (BEST - 75%+ win rate)
**Entry:**
- Price hits demand/supply zone
- Divergence appears (early or confirmed)
- Double confluence = high probability
**Example (Long):**
```
1. Price drops into green demand zone
2. ⚠️ Early bullish divergence fires
3. Enter long with tight stop below zone
4. Target: POC or next supply zone
```
**Risk/Reward:** 1:3 to 1:5
---
### Setup 2: POC Bounce/Rejection
**Entry:**
- Price approaches POC line
- Wait for reaction (bounce or rejection)
- Enter in direction of reaction
**Long Setup:**
```
1. Price pulls back to POC from above
2. POC acts as support
3. Bullish divergence appears (confirmation)
4. Enter long, stop below POC
```
**Short Setup:**
```
1. Price rallies to POC from below
2. POC acts as resistance
3. Bearish divergence appears
4. Enter short, stop above POC
```
**Risk/Reward:** 1:2 to 1:4
---
### Setup 3: Zone + Profile Confluence
**Entry:**
- Supply/demand zone aligns with thick profile bar
- Shows high CVD activity at that level
- Triple confluence = very high probability
**Example:**
```
1. Supply zone at 26,100
2. Profile shows heavy selling at 26,100
3. Price rallies to 26,100
4. Bearish divergence appears
5. Enter short
```
**Risk/Reward:** 1:4 to 1:6
---
### Setup 4: Early Warning Scalp ⚡
**Entry (Aggressive):**
- ⚠️ Early warning fires
- Price at zone or POC
- Enter immediately
- Tight stop (1-2 ATR)
**Management:**
```
- Take 50% profit at 1:1
- Move stop to breakeven
- 🔻 Confirmed signal → Trail stop
- Exit rest at target
```
**Risk/Reward:** 1:1.5 to 1:2
**Trades/day:** 3-8
---
### Setup 5: Multi-Timeframe (Advanced)
**Confirmation Required:**
```
Higher TF (1H):
- Confirmed divergence
- At major POC or zone
Lower TF (15m):
- Early warning triggers
- Entry with better timing
```
**Benefits:**
- HTF gives direction
- LTF gives entry
- Best of both worlds
**Risk/Reward:** 1:3 to 1:5
---
## 📊 Component Details
### CVD Profile
**What the colors mean:**
- **Blue bars** = Buying CVD (demand)
- **Orange bars** = Selling CVD (supply)
- **Lighter shade** = Value Area (70% CVD)
- **Thicker bar** = More volume at that price
**How to use:**
- Thick bars = Support/Resistance
- Profile shape shows market structure
- Balanced profile = range
- Skewed profile = trend
---
### Supply/Demand Zones
**How they're detected:**
1. High Volume Node (1.5x average)
2. CVD buy/sell ratio calculated
3. Ratio ≥ 2.0 → Zone created
4. Sorted by strength (top 8 shown)
**Zone labels show:**
- Type: "Demand" or "Supply"
- Ratio: "2.8:1" = strength
**Not like other indicators:**
- ❌ Other tools use price action alone
- ✅ This uses actual CVD absorption
- Shows WHERE limit orders defended levels
---
### Point of Control (POC)
**What it shows:**
- Price with highest CVD activity
- Market's "fair value"
- Dynamic S/R level
**How to use:**
- Price above POC = bullish bias
- Price below POC = bearish bias
- POC retest = trading opportunity
- POC cross = trend change signal
**Independent lookback:**
- Profile: 150 bars (short-term)
- POC: 300 bars (longer-term context)
- Gives stable, relevant POC
---
## 🔧 Settings Explained
### 📊 Profile Settings
**Lookback Bars** (150 default)
- How many bars for profile calculation
- Lower = more recent, reactive
- Higher = more historical, stable
**Profile Rows** (24 default)
- Granularity of distribution
- Lower = coarser (faster)
- Higher = finer detail (slower)
**Profile Position**
- Right: After current price
- Left: Before lookback period
- Current: At lookback start
**Value Area** (70% default)
- Highlights main CVD concentration
- 70% is standard
- Higher % = wider zone
---
### 🎯 POC Settings
**POC Lookback** (300 default)
- Independent from profile
- Longer = more stable POC
- Shorter = more reactive POC
**Show POC Line/Label**
- Toggle visibility
- Customize color/width
---
### 📦 Zone Settings
**Min Absorption Ratio** (2.0 default)
- Buy/Sell threshold for zones
- 2.0 = 2:1 ratio minimum
- Higher = fewer, stronger zones
**HVN Threshold** (1.5 default)
- Volume must be 1.5x average
- Higher = stricter filtering
- Lower = more zones
**Max Zones** (8 default)
- Limits display clutter
- Shows strongest N zones only
---
### 🔄 Divergence Settings
**Pivot Left/Right** (9/9 default)
- Bars to confirm pivot
- Higher = slower, more confirmed
- Lower = faster, less confirmed
**Early Warning**
- ON = Show early signals
- Early Right Bars (3 default)
- 3 = 6 bars faster than confirmed
**Filters:**
- Min Bars Between (40): Prevents spam
- Min CVD Diff % (5): Filters weak signals
**Visual:**
- Line styles: Solid/Dashed/Dotted
- Colors: Customize all 4 types
- Labels: Toggle ON/OFF
---
## 🎨 Color Customization
**Divergences:**
- Bullish Confirmed: Green (default)
- Bearish Confirmed: Red (default)
- Early Bullish: Purple (default)
- Early Bearish: Purple (default)
**Zones & Profile:**
- Bull/Demand: Green
- Bear/Supply: Red
- Buy CVD Profile: Blue
- Sell CVD Profile: Orange
- Value Area Up/Down: Lighter blue/orange
**POC:**
- POC Color: Yellow (default)
All customizable to your preference!
---
## 🔔 Alerts Available
**6 Alert Types:**
1. 🔻 Bearish Divergence (confirmed)
2. 🔺 Bullish Divergence (confirmed)
3. ⚠️ Early Bearish Warning
4. ⚠️ Early Bullish Warning
5. (Manual: POC cross)
6. (Manual: Zone touch)
**Setup:**
1. Click Alert (⏰)
2. Choose "CVD Zones & Divergence"
3. Select alert type
4. Configure notification
5. Create!
---
## 💎 Pro Tips
### From Experienced Traders:
**"Use zones with divergences for best setups"**
- Zone alone: 60% win rate
- Divergence alone: 65% win rate
- Both together: 75%+ win rate
**"POC is your friend"**
- Price tends to revert to POC
- Great target for counter-trend trades
- POC cross = potential trend change
**"Profile tells the story"**
- Thick bars = institutional levels
- Balanced profile = range-bound
- Skewed high = distribution (top)
- Skewed low = accumulation (bottom)
**"Early warnings for entries, confirmed for confidence"**
- Early = better entry price
- Confirmed = validation
- Use both in scale-in strategy
**"Filter by timeframe"**
- 1m-5m: Very fast, many signals
- 15m: Sweet spot for most traders
- 1H-4H: High quality, fewer signals
---
## 🔧 Tuning Guide
### Too Cluttered?
**Simplify:**
```
✅ Show Divergences: ON
✅ Show POC: ON
❌ Show Zones: OFF (or reduce to 4-5)
❌ Show Value Area: OFF
❌ Divergence Labels: OFF
→ Clean chart with just lines + POC
```
### Missing Opportunities?
**More Signals:**
```
↓ Pivot Right: 6-7
↓ Early Warning Right: 2
↓ Min Bars Between: 25-30
↓ Min CVD Diff: 2-3%
↓ Min Absorption Ratio: 1.8
```
### Too Many False Signals?
**Stricter Filters:**
```
↑ Pivot Right: 12-15
↑ Min Bars Between: 60
↑ Min CVD Diff: 8-10%
↑ Min Absorption Ratio: 2.5
↓ Max Zones: 4-5
```
### POC Not Making Sense?
**Adjust POC Lookback:**
```
If too high: Increase to 400-500
If too low: Increase to 400-500
If jumping around: Increase to 500+
→ Longer lookback = more stable POC
```
---
## ❓ FAQ
**Q: Difference from CVD Divergence (standalone)?**
A: This is the **complete package**:
- Divergence tool = divergences only
- This = divergences + POC + profile + zones
- Use divergence tool for clean charts
- Use this for full analysis
**Q: Too slow/laggy?**
A: Reduce computational load:
```
Profile Rows: 18 (from 24)
Lookback: 100 (from 150)
Max Zones: 5 (from 8)
```
**Q: No volume data error?**
A: Symbol has no volume
- Works: Futures, stocks, crypto
- Maybe: Forex (broker-dependent)
- Doesn't work: Some forex pairs
**Q: Can I use just some features?**
A: Absolutely! Toggle what you want:
```
Zones only: Turn off divergences + POC
POC only: Turn off zones + divergences
Divergences only: Turn off zones + POC + profile
Mix and match as needed!
```
**Q: Best timeframe?**
A:
- **1m-5m**: Scalping (busy, many signals)
- **15m**: Day trading ⭐ (recommended)
- **1H-4H**: Swing trading (quality signals)
- **Daily**: Position trading (very selective)
**Q: Works on crypto/forex/stocks?**
A:
- ✅ Futures: Excellent
- ✅ Stocks: Excellent
- ✅ Crypto: Very good (major pairs)
- ⚠️ Forex: Depends on broker volume
---
## 📈 Performance Expectations
### Realistic Win Rates
| Strategy | Win Rate | Avg R/R | Trades/Week |
|----------|----------|---------|-------------|
| Early warnings only | 55-65% | 1:1.5 | 15-30 |
| Confirmed only | 70-80% | 1:2 | 8-15 |
| Divergence + Zone | 75-85% | 1:3 | 5-12 |
| Full confluence (all 4) | 80-90% | 1:4+ | 3-8 |
**Keys to success:**
- Don't trade every signal
- Wait for confluence
- Proper risk management
- Trade what you see, not what you think
---
## 🚀 Quick Start
**New User (5 minutes):**
1. ✅ Add to 15m chart
2. ✅ Default settings work well
3. ✅ Watch for 1 week (don't trade yet!)
4. ✅ Note which setups work best
5. ✅ Backtest on 50+ signals
6. ✅ Start with small size
7. ✅ Scale up slowly
**First Trade Checklist:**
- Divergence + Zone/POC = confluence
- Clear S/R level nearby
- Risk/reward minimum 1:2
- Position size = 1% risk max
- Stop loss placed
- Target identified
- Journal entry ready
---
## 📊 What Makes This Special?
**Most indicators:**
- Use RSI/MACD divergences (lagging)
- Guess at S/R zones (subjective)
- Don't show actual order flow
**This indicator:**
- Uses real CVD (actual volume delta)
- Absorption-based zones (real orders)
- Profile shows distribution (real activity)
- POC shows equilibrium (real fair value)
- All from one data source (coherent)
**Result:**
- Everything aligns
- No conflicting signals
- True order flow analysis
- Professional-grade toolkit
---
## 🎯 Trading Philosophy
**Remember:**
- Indicator shows you WHERE to look
- YOU decide whether to trade
- Quality over quantity always
- Risk management is #1
- Patience beats aggression
**Best trades have:**
- ✅ Multiple confluences
- ✅ Clear risk/reward
- ✅ Obvious invalidation point
- ✅ Aligned with trend/context
**Worst trades have:**
- ❌ Single signal only
- ❌ Poor location (middle of nowhere)
- ❌ Unclear stop placement
- ❌ Counter to all context
---
## ⚠️ Risk Disclaimer
**Important:**
- Past performance ≠ future results
- All trading involves risk
- Only risk what you can afford to lose
- This is a tool, not financial advice
- Use proper position sizing
- Keep a trading journal
- Consider professional advice
**Your responsibility:**
- Which setups to trade
- Position size
- Entry/exit timing
- Risk management
- Emotional control
**Success = Tool + Strategy + Discipline + Risk Management**
---
## 📝 Version History
**v1.0** - Current Release
- CVD divergences (confirmed + early warning)
- Point of Control (independent lookback)
- CVD profile histogram
- Supply/demand absorption zones
- Value area visualization
- 6 alert types
- Full customization
---
## 💬 Community
**Questions?** Drop a comment below
**Success story?** Share with the community
**Feature request?** Let me know
**Bug report?** Provide details in comments
---
**Happy Trading! 🚀📊**
*Professional order flow analysis in one indicator.*
**Like this?** ⭐ Follow for more quality tools!
Market Daily This is a high-accuracy intraday trading indicator designed for indices and stocks, built on trend + institutional levels + volatility control.
The script is non-repainting, rule-based, and suitable for live trading and paid subscriptions.
CAPEX//@version=6
indicator("美光 CapEx 噴發追蹤器", overlay=true)
// --- 輸入設定 ---
threshold = input.float(20.0, title="CapEx 噴發閾值 (%)", minval=1.0)
lookback = input.int(4, title="對比前幾季", minval=1)
// --- 取得財務數據 (資本支出 - 季度) ---
// 使用 request.financial 抓取美光的資本支出 (Capital Expenditures)
capex = request.financial("NASDAQ:MU", "CAPITAL_EXPENDITURES", "FQ")
// --- 計算變動率 ---
// 因為財務數據在圖表上是階梯狀的,我們取當前有效值
current_capex = nz(capex)
prev_capex = nz(capex )
// 計算增長率 (注意:capex 在財報是負數,所以我們取絕對值來計算)
capex_growth = (math.abs(current_capex) - math.abs(prev_capex)) / math.abs(prev_capex) * 100
// --- 判斷噴發條件 ---
is_surge = capex_growth >= threshold
// --- 繪製視覺效果 ---
// 當 CapEx 噴發時,背景顯示紅色 (代表擴產警訊)
bgcolor(is_surge ? color.new(color.red, 85) : na, title="CapEx 噴發區間")
// 在圖表下方標註文字
plotshape(is_surge, style=shape.labelup, location=location.bottom, color=color.red, text="CapEx 激增", textcolor=color.white, size=size.small)
// --- 儀表板 (選用) ---
var table tb = table.new(position.top_right, 2, 2, bgcolor=color.new(color.black, 70), border_width=1)
if barstate.islast
table.cell(tb, 0, 0, "本季 CapEx:", text_color=color.white)
table.cell(tb, 1, 0, str.tostring(current_capex / 1e9, "#.##") + " B", text_color=color.red)
table.cell(tb, 0, 1, "較上季增長:", text_color=color.white)
table.cell(tb, 1, 1, str.tostring(capex_growth, "#.##") + "%", text_color=is_surge ? color.red : color.green)
Dual-Timeframe ABR DashboardDual-Timeframe ABR Dashboard 是一款专为日内交易者设计的波动率参考工具,用于同时评估当前周期与日线级别的平均K线波幅(ABR)。
该指标基于 Average Bar Range(高低差的简单平均),帮助交易者快速判断:
单根K线的“正常”波动范围
当前价格相对于 ABR 的百分比位置
当日是否已接近日线级别的常规波动极限
指标不会在图表上绘制干扰性线条,而是通过状态栏与固定表格实时展示最新 ABR 数值,适合用于:
目标利润(TP)与止盈管理
趋势是否具备延续空间的判断
避免在“已走完波幅”的位置追价入场
这是一个为实盘决策服务,而非视觉美观的专业级日内交易辅助指标。
======================================================================
Dual-Timeframe ABR Dashboard is a volatility reference tool designed specifically for day traders, providing a clear view of Average Bar Range (ABR) on both the current timeframe and the daily timeframe.
By measuring the simple average of each bar’s high–low range, this indicator helps traders quickly assess:
What constitutes a “normal” bar movement on the active timeframe
Current price movement expressed as a percentage of ABR
Whether the session has already consumed most of its typical daily range
Instead of plotting lines on the chart, the indicator presents real-time ABR values via the status line and a fixed dashboard table, keeping the chart clean and execution-focused.
This tool is particularly useful for:
Profit target and trade management
Evaluating remaining trend potential during the session
Avoiding late entries after the daily range is largely exhausted
Built for practical intraday decision-making, not visual clutter.
Daily & Weekly ConfluenceDaily & Weekly Confluence is a precision momentum-alignment indicator built on Stochastic RSI, designed to highlight high-probability bullish conditions when lower-timeframe momentum aligns with higher-timeframe structure. It combines live Stoch RSI signals with a forward-shifted momentum path and a robust daily/weekly confirmation system to help traders anticipate and confirm trend transitions with clarity and discipline.
Why this indicator matters
Momentum signals are most effective when they agree across timeframes. Daily & Weekly Confluence filters noise by requiring alignment between daily and weekly Stoch RSI behavior, allowing traders to focus on setups that occur within a supportive higher-timeframe context rather than reacting to isolated signals.
What the indicator shows
1. Live Stochastic RSI (%K / %D)
The indicator plots real-time Stoch RSI values for the active chart timeframe, including standard overbought and oversold reference levels. These lines represent current momentum conditions and form the basis for all signal logic.
2. Forward-shifted Stoch RSI path
A user-defined Stoch RSI pattern window is sampled from the past and drawn forward on the chart. This path visually maps how momentum previously evolved and where similar momentum behavior may re-emerge. Optional normalization keeps the path scaled to recent conditions for consistent visual interpretation.
3. Momentum cross visualization
When %K and %D intersect within the forward-shifted path, the indicator can display:
Color-cycling vertical reference lines
Small directional arrows at the crossing point
A single highlighted label marking the next upcoming cross
These visuals are designed to keep attention on momentum inflection zones, not clutter.
Multi-timeframe signal logic
Weekly signals
The indicator independently computes weekly Stoch RSI values and detects:
Confirmed bullish crosses
Near-cross conditions based on distance and slope
Daily signals
Daily bullish crosses and near-cross conditions are detected using the same logic but on the daily timeframe.
Weekly context filter (optional)
Daily signals can be restricted so they only trigger when weekly momentum is already bullish or has recently turned bullish. This alignment filter significantly reduces counter-trend signals.
Dual confirmation
When daily and weekly bullish crosses occur together, the indicator flags a high-confidence confluence event.
Alerts built for real trading
Preconfigured alert conditions include:
Weekly bullish confirmed
Weekly bullish near-cross
Daily bullish confirmed
Daily bullish near-cross
Daily signals with weekly confirmation required
Dual daily + weekly confirmation
Alerts can be configured to trigger only on confirmed bar closes for cleaner execution timing.
How to use it effectively
Use weekly signals to define directional bias
Use daily signals for timing within that bias
Treat “near-cross” alerts as early warnings, not entries
Give the highest weight to dual confirmed alignment events
This indicator is best suited for swing traders, position traders, and systematic momentum strategies that prioritize structure, confirmation, and discipline over reactive entries.
Master Strategy: BTC W1 Mean Reversion [Institutional SOP]Overview This is an institutional-grade Mean Reversion and Range Rotation strategy designed specifically for Bitcoin (BTC/USDT) Perpetual Futures. It operates on the philosophy that liquidity resides at the extremes of the previous week's range (Previous Week High/Low). The strategy looks for false breakouts (Sweeps) followed by a confirmed return to the range (Reclaim), targeting the weekly equilibrium (EQ).
Core Logic: The Deviation Play Unlike standard breakout strategies, this indicator hunts for trapped liquidity.
Weekly Levels (Fixed): It calculates PWH (Previous Week High) and PWL (Previous Week Low) based on confirmed, closed weekly data. These levels act as the "Box" for the current week.
The Sweep: We wait for price to pierce the PWH or PWL (taking liquidity/stops). The script uses a dynamic ATR-based threshold to filter out noise (micro-pokes).
The Reclaim (4H Close): A signal is generated ONLY if a 4H candle closes back inside the weekly range shortly after the sweep. This confirms rejection of higher/lower prices.
The Entry: The script suggests a Limit Order at the retested level (PWH/PWL) to maximize R:R.
Institutional Quality Filters ("Kill Switches") To prevent trading in unfavorable conditions, the script includes strict SOP (Standard Operating Procedure) filters:
Trend Filter (ADX): Blocks mean reversion signals if the daily trend is too strong (ADX > 25).
Expansion Filter: Blocks signals if price accepted levels outside the range for too long (prevents fighting a true breakout).
Weekly Range Filter: Filters out weeks that are statistically too tight (chop) or too wide (expansion).
Time Filter: A reclaim must happen within a set number of 4H bars after the sweep (default: 3).
Key Features
Zero Repainting: Logic is based strictly on closed candles ( , , ).
State Machine Logic: Uses internal memory to track sweeps regardless of chart timeframe glitches.
Operational Dashboard: Displays current status, countdown to next decision candle (4H close), and exact parameters for the last valid signal (Entry, SL, TP).
Unified Alerting: A single "Any function call" alert handles both Long and Short scenarios dynamically.
Clean Visuals: Levels are plotted with line breaks to avoid visual clutter between weeks.
How to Use
Timeframe: Set your chart to 4H. This is crucial as the logic relies on 4H closes.
Signals: Wait for the "4H RECLAIM" label.
Execution: Place a Limit Order at the suggested Level (PWH/PWL).
Stop Loss: Use the calculated SL provided by the indicator (Swing extreme + ATR buffer).
Target: TP1 is always the EQ (Equilibrium/Mid-range).
"Ultimate Sniper & Rocket Strategy [By Dhanapal]//@version=5
// This script is a complete trading system combining Trend, Momentum, and Reversal strategies.
// Created for Nifty & BankNifty Intraday Trading.
indicator("Ultimate Sniper & Rocket Strategy", overlay=true, shorttitle="Ultimate Strategy")
// ==========================================
// 1. EMA Cloud (Trend Visualization)
// ==========================================
// 9, 21, 50, 200 EMAs to identify the trend direction quickly.
ema9 = ta.ema(close, 9)
ema21 = ta.ema(close, 21)
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
plot(ema9, color=color.new(color.red, 50), title="EMA 9")
plot(ema21, color=color.new(color.blue, 50), title="EMA 21")
plot(ema50, color=color.new(color.green, 50), title="EMA 50")
plot(ema200, color=color.new(color.black, 50), title="EMA 200", linewidth=2)
// ==========================================
// 2. VWAP (Volume Weighted Average Price)
// ==========================================
plot(ta.vwap(close), title="VWAP", color=color.purple, linewidth=2)
// ==========================================
// 3. KEY LEVELS: PDH, PDL, TODAY H/L
// ==========================================
d_high = request.security(syminfo.tickerid, "D", high , lookahead=barmerge.lookahead_on)
d_low = request.security(syminfo.tickerid, "D", low , lookahead=barmerge.lookahead_on)
// Plot Previous Day Levels (Thick Lines)
plot(d_high, title="Prev Day High (PDH)", color=color.green, linewidth=2)
plot(d_low, title="Prev Day Low (PDL)", color=color.red, linewidth=2)
// Plot Today's Live Levels (Dashed Lines)
t_high = request.security(syminfo.tickerid, "D", high, lookahead=barmerge.lookahead_on)
t_low = request.security(syminfo.tickerid, "D", low, lookahead=barmerge.lookahead_on)
plot(t_high, title="Today High", color=color.new(color.blue, 0), linewidth=1, style=plot.style_dashed)
plot(t_low, title="Today Low", color=color.new(color.blue, 0), linewidth=1, style=plot.style_dashed)
// ==========================================
// 4. RIGHT SIDE LABELS (Clear Visibility)
// ==========================================
if barstate.islast
label.new(bar_index + 3, d_high, "PDH", style=label.style_label_left, color=color.green, textcolor=color.white, size=size.small)
label.new(bar_index + 3, d_low, "PDL", style=label.style_label_left, color=color.red, textcolor=color.white, size=size.small)
label.new(bar_index + 3, t_high, "Day High", style=label.style_label_left, color=color.blue, textcolor=color.white, size=size.small)
label.new(bar_index + 3, t_low, "Day Low", style=label.style_label_left, color=color.blue, textcolor=color.white, size=size.small)
// ==========================================
// 5. STRATEGY 1: SNIPER (Reversal)
// ==========================================
// Best for catching bottoms/tops. Based on MACD Crossover + RSI Strength.
rsi = ta.rsi(close, 14)
= ta.macd(close, 12, 26, 9)
// Buy Logic: MACD Crosses Up AND RSI > 50 (Momentum Gaining)
sniper_buy = ta.crossover(macdLine, signalLine) and (rsi > 50)
// Sell Logic: MACD Crosses Down AND RSI < 50 (Momentum Losing)
sniper_sell = ta.crossunder(macdLine, signalLine) and (rsi < 50)
// ==========================================
// 6. STRATEGY 2: ROCKET (Breakout)
// ==========================================
// Best for strong trend moves. Based on Supertrend reversal.
= ta.supertrend(3, 10)
rocket_buy = ta.crossunder(direction, 0)
rocket_sell = ta.crossover(direction, 0)
// ==========================================
// 7. PLOTTING SIGNALS
// ==========================================
// Sniper Signals (Yellow/Orange Triangles)
plotshape(sniper_buy, title="Sniper Buy", location=location.belowbar, color=color.yellow, style=shape.triangleup, size=size.small, text="SNIPER", textcolor=color.black)
plotshape(sniper_sell, title="Sniper Sell", location=location.abovebar, color=color.orange, style=shape.triangledown, size=size.small, text="SNIPER", textcolor=color.white)
// Rocket Signals (Blue/Pink Labels)
plotshape(rocket_buy, title="Rocket Buy", location=location.belowbar, color=color.aqua, style=shape.labelup, size=size.small, text="ROCKET", textcolor=color.black)
plotshape(rocket_sell, title="Rocket Sell", location=location.abovebar, color=color.fuchsia, style=shape.labeldown, size=size.small, text="ROCKET", textcolor=color.white)
// ==========================================
// 8. CANDLE & BACKGROUND COLORS
// ==========================================
var color bar_c = na
// Base Trend Color (Green/Red based on Supertrend)
if direction < 0
bar_c := color.green
else
bar_c := color.red
// Override Color for Signals
if rocket_buy
bar_c := color.aqua
if rocket_sell
bar_c := color.fuchsia
if sniper_buy
bar_c := color.yellow
if sniper_sell
bar_c := color.orange
barcolor(bar_c, title="Candle Colors")
// Background Tint
bgcolor(direction < 0 ? color.new(color.green, 90) : color.new(color.red, 90), title="Trend Background")
ETH Dynamic Risk Strategy# ETH Dynamic Risk Strategy - Publication Description
## Overview
The ETH Dynamic Risk Strategy is a systematic approach to accumulating Ethereum during bear markets and distributing during bull markets. It combines multiple risk indicators into a single composite metric (0-1 scale) that identifies optimal buying and selling zones based on market conditions.
## Key Features
• **Multi-Component Risk Metric**: Combines 4 weighted indicators to assess market conditions
• **Tiered Buy/Sell System**: 3 levels of buy signals (L1, L2, L3) and 3 levels of sell signals based on risk thresholds
• **Configurable Filters**: Optional buy filters to reduce signal frequency by 30-50%
• **Visual Risk Zones**: Color-coded risk metric plot with clear threshold lines
• **Comprehensive Dashboard**: Real-time statistics including position size, P/L, and component scores
## How It Works
### Risk Components (Configurable Weights)
1. **Log Return from ATH** (Default: 35%)
- Tracks drawdown from all-time high over lookback period
- Deep drawdowns (-70% to -90%) = low risk / buying opportunity
- Near ATH (0% to -20%) = high risk / selling opportunity
2. **ETH/BTC Ratio** (Default: 25%)
- Measures ETH strength relative to Bitcoin
- Below historical average = ETH undervalued = low risk
- Above historical average = ETH overvalued = high risk
3. **Volatility Regime** (Default: 20%)
- Compares current volatility to long-term average
- Compressed volatility at lows = opportunity
- Expanded volatility at highs = danger
4. **Trend Strength** (Default: 20%)
- Uses multiple EMA alignment and slope analysis
- Strong downtrends = low risk scores
- Strong uptrends = high risk scores
### Trading Logic
**Buy Signals:**
- L1: Risk ≤ 0.30 → Buy $100 (default)
- L2: Risk ≤ 0.20 → Buy $250 total
- L3: Risk ≤ 0.10 → Buy $450 total
**Sell Signals (Sequential):**
- L1: Risk ≥ 0.75 → Sell 25% of position
- L2: Risk ≥ 0.85 → Sell 35% of remaining
- L3: Risk ≥ 0.95 → Sell 40% of remaining
**Buy Filters (Optional):**
- Minimum days between buys (prevents clustering)
- Minimum risk drop required (ensures falling risk)
- Toggle on/off to compare performance
## Settings Guide
### Risk Components
Toggle individual components on/off and adjust their weights. Total weight is automatically normalized. Experiment with different combinations to match your market view.
### Advanced Settings
- ATH Lookback: How far back to look for all-time highs (500-2000 recommended)
- Volatility Period: Window for volatility calculations (40-100 recommended)
- ETH/BTC MA Period: Moving average for ratio comparison (100-300 recommended)
- Trend Period: Base period for trend calculations (50-150 recommended)
### Trading Thresholds
Customize buy/sell trigger points and position sizes. Lower buy thresholds = more aggressive accumulation. Higher sell thresholds = holding longer into bull markets.
### Buy Filters
- Enable/disable filtering system
- Min Days Between Buys: Spacing between purchases (1-3 recommended)
- Min Risk Drop: How much risk must fall (-0.001 to -0.01 range)
## Best Practices
• **Timeframe**: Works best on daily (1D) and 3-day (3D) charts
• **Initial Capital**: Set based on your DCA budget (default $10,000)
• **Backtest First**: Test different parameter combinations on historical data
• **Position Sizing**: Adjust buy amounts to match your risk tolerance
• **Monitor Filters**: Check "Filtered Buys" stat to ensure filter isn't too strict
## Use Cases
- Long-term ETH accumulation strategy
- Systematic DCA with market-adaptive buying
- Risk-based portfolio rebalancing
- Educational tool for understanding crypto market cycles
## Disclaimer
This strategy is for educational purposes only. Past performance does not guarantee future results. Cryptocurrency trading involves substantial risk. The strategy uses historical price action and technical indicators which may not predict future movements. Always do your own research and never invest more than you can afford to lose.
## Credits
Strategy concept and development by nakphanan with assistance from Claude AI (Anthropic). Built using Pine Script v5....Mostly from Claude AI!!!
## Version History
v7.0 - Initial release with 4-component risk metric, tiered trading system, and optional buy filters
Round Level Pro Stats
Here is a professional English description of your indicator, which you can use for your own records or if you ever want to share it on the TradingView Community Scripts:
Indicator Name: Dynamic Round Levels & Historical Strength Grid
Overview
This indicator is a sophisticated technical analysis tool designed to identify and evaluate "Round Number" psychological levels (e.g., 1.17100, 1.17200, 1.17300). Unlike a static grid, this tool actively scans historical data to provide a "Strength Score" for each level, helping traders distinguish between minor price points and significant historical reaction zones.
Key Features
Automated Price Grid: Generates a clean, horizontal grid based on user-defined price intervals (Steps). Perfect for Forex (0.001 pips), Stocks, or Crypto.
Historical Strength Engine: Analyzes up to 5,000 historical bars to calculate how "respected" a price level is.
The "3-Candle Confirmation" Logic: A level's strength is only increased if the price touches the line and successfully reverses/bounces, staying on the same side for at least 3 subsequent candles.
Smart Visual Coding:
Green (High Strength): Levels with >60% historical reversal success.
Orange (Medium Strength): Levels with 35%–60% success.
Red (Low Strength): Levels frequently breached without reaction.
Pro HUD Display: Bold percentage labels are positioned at the far right of the chart (near the price scale) to keep the main trading area clutter-free.
How to Use
Set your Step: For Forex, use 0.001 to see 10-pip increments. For Bitcoin or Gold, use 10 or 100.
Lookback Period: Adjust the history scan (up to 5,000 bars) to match your trading timeframe.
Identify Support/Resistance: Look for Green % STR labels. These represent "Round Numbers" that have acted as strong barriers in the past, offering higher-probability entry or exit points.
Technical Summary for Pine Script
Language: Pine Script v5
Max Lines/Labels: 500 (Optimized for performance)
Placement: Far-right margin alignment using bar_index offsets.
PDH/PDL Breakout Pip MeasurerThe indicator tracks and measures daily breakout performance when price breaks the Previous Day's High (PDH) or Previous Day's Low (PDL). This indicator provides exact pip/point measurements of how far breakouts travel before hitting your stop-loss, with comprehensive statistics for strategy optimization.
Function
Tracks breakouts above PDH (Previous Day's High) and below PDL (Previous Day's Low)
Measures maximum distance price travels after breakout before stop-loss hit
Calculates exact pip/point gains for every breakout move
Provides statistical analysis of breakout performance over time
Identifies only first breakout of each day for clean signals
Performance Metrics
Exact pip measurement for every breakout move
Statistics table with Count, Average, Min, Max pips
Separate tracking for bullish and bearish breakouts
Historical performance accumulation over time
Active breakout monitoring in real-time
Settings
Adjustable pip multiplier - works with any instrument (Forex, indices, crypto)
Separate stop-loss settings for bull/bear breakouts
Visual control - show/hide levels, labels, table
Built-in alerts for breakout notifications






















