Intraday Session Ranges (Asian-London-NY) - JonathanJD86This script is a technical utility designed to automatically track and visualize the high and low price levels of the three major trading sessions (Asian, London, and New York).
How it works: The script uses the time() function with the America/New_York timezone anchor to ensure accuracy regardless of the user's local time. It tracks the maximum and minimum price values during specific user-defined intervals.
Key Methodology:
Vertical Tick Offset: Unlike standard session boxes, this tool allows users to set a vertical gap (in ticks) so that the labels do not overlap the candle wicks, providing a clearer view of the actual price action.
Session Intervals: Defaulted to high-activity windows: Asian (20:00-00:00), London (02:00-05:00), and New York (08:30-16:00).
Dynamic Visibility: The script includes a logical check to automatically hide levels on timeframes higher than 1H, preventing chart clutter during macro analysis.
Analisis Tren
IVQ - Valuation | Supply & DemandIVQ – Val | Supply & Demand
Identifies supply and demand zones to highlight potential reaction areas in the market. Combines structural S&D analysis with a quantitative valuation filter to visualize over- and undervaluation, helping to contextualize price action and highlight higher-quality setups directly in TradingView.
invoriaquant.onepage.me
Big Trades [Volume Anomalies] (Enhanced)The script is a **volume-anomaly “big trades” detector** for futures that tries to (1) split each candle’s volume into a **buy-pressure** and **sell-pressure** estimate, (2) flag **statistically extreme** candles (tiers), and (3) optionally label those extremes as **initiative (follow-through)** vs **absorbed (no follow-through)** using a forward-style confirmation window.
Here’s what it does, piece by piece.
---
## 1) What it’s trying to detect
It’s not true “whale prints” or real bid/ask delta. It detects:
* **unusually large participation** (volume anomaly)
* with a **directional guess** (buy-ish vs sell-ish)
* and then checks whether price **continued** after that anomaly
So it’s: **“big participation + did it work?”**
---
## 2) The “buy vs sell volume” estimate
For each candle, it builds a **weight** for buy and sell pressure:
* **close location within the candle**
* close near high → more buy weight
* close near low → more sell weight
* **body direction (close–open)**
* bullish body adds buy boost
* bearish body adds sell boost
Then it computes:
* `raw_buy = volume * buy_weight`
* `raw_sell = volume * sell_weight`
This is an **OHLC-based proxy** for pressure, not real aggressor volume.
---
## 3) Normalization (makes it behave across sessions)
If enabled, it divides by ATR:
* `norm_buy = raw_buy / ATR`
* `norm_sell = raw_sell / ATR`
This helps a lot on futures because volume/volatility regimes differ between Asia/London/NY.
---
## 4) Statistical anomaly detection (z-score logic)
It calculates “what’s normal” using the last `lookback` bars, but **uses ` `** so the current bar doesn’t contaminate the stats (reduces flicker):
* `avg_buy = sma(norm_buy, lookback) `
* `std_buy = stdev(norm_buy, lookback) `
(and same for sell)
Then it computes **z-scores**:
* `z_buy = (norm_buy - avg_buy) / std_buy`
* `z_sell = (norm_sell - avg_sell) / std_sell`
If z-score crosses thresholds, it triggers tiers:
* Tier 1: `sigma`
* Tier 2: `sigma + tier_step1`
* Tier 3: `sigma + tier_step2`
So **Tier 3 = “big bubble”**.
---
## 5) Optional VWAP bias filter
It computes VWAP correctly as:
* `vwapv = ta.vwap(hlc3)`
If enabled:
* buys only when `close >= vwap`
* sells only when `close <= vwap`
This is just a **trend/bias filter** to reduce counter-trend bubbles.
---
## 6) Plotting (how bubbles appear)
It places markers at:
* buys around `(close+low)/2` (lower-ish)
* sells around `(close+high)/2` (upper-ish)
And draws:
* small/medium/large circles (depending on tier)
* with optional INIT/ABS overlays (explained next)
---
## 7) “Initiative vs Absorbed” classification (the smart part)
Because Pine can’t see the future on the same bar, your script does a **delayed evaluation**:
* It waits `N = confirm_bars`
* Looks at what happened from the signal bar to the current bar
* Decides if price moved far enough in the intended direction
It uses:
* `hh_window = highest(high, N+1)`
* `ll_window = lowest(low, N+1)`
(these cover the last N+1 bars: from signal bar to now)
Then it measures follow-through:
* For a buy signal N bars ago:
`buy_move = hh_window - high `
* For a sell signal N bars ago:
`sell_move = low - ll_window`
It compares to an ATR-based threshold anchored to the signal bar:
* `thr_move_sig = ATR * move_mult_atr`
If move > threshold → **INIT**
Else → **ABS**
Then it **plots back onto the original signal bar** using `offset=-N` so it visually marks the candle that caused it.
To make it obvious:
* **INIT** = circle
* **ABS** = X
This part is “accurate” in the sense that it’s purely **price-outcome based**.
---
## 8) Labels (optional)
If enabled, it prints labels on those large signals with:
* INIT/ABS
* the z-score at the signal bar
* and a “delta proxy” (`norm_buy - norm_sell`), not true delta
---
## In one sentence
The script flags **statistically extreme volume-pressure candles** (buy/sell proxy), and then classifies those extremes as **worked (initiative)** or **failed (absorbed)** based on **subsequent price movement** within `confirm_bars`.
Simple Trend Context [Wall_Journey]Simple Trend Context MA: Dynamic Market Bias Visualizer
Overview The Simple Trend Context MA is a visual-oriented trading tool designed to identify the prevailing market trend at a glance. By utilizing two Simple Moving Averages (Fast and Slow), this script provides a clear "Context" for your trades, helping you avoid trading against the primary momentum.
How it Works The indicator calculates two key SMA periods:
Fast MA (Default: 20) : Captures short-term momentum.
Slow MA (Default: 50) : Represents the broader trend direction.
Key Features
Dynamic Background Shading: The chart background automatically changes color based on the trend. A Green background indicates a Bullish trend (Fast MA > Slow MA), while a Red background indicates a Bearish trend (Fast MA < Slow MA).
Real-time Trend Label: A dynamic label appears on the most recent bar, explicitly stating the current market context (Bullish, Bearish, or Neutral).
Highly Customizable: You can easily adjust the MA lengths to suit your specific strategy, whether you are scalping or swing trading.
Why use this? Many traders fail because they lose sight of the "Big Picture." This script ensures that the trend context is always visible, serving as a powerful filter for your entry signals.
NKD:-SMOOTHED HEIKEN ASHI TRADING INDICATORTRADING SYSTEM OVERVIEW
1. TWO TYPES OF SIGNALS:
MAJOR TREND SIGNALS (MG):
Green Triangle Below = MAJOR BUY
Red Triangle Above = MAJOR SELL
REVERSAL/RETRACEMENT SIGNALS (R):
Blue Circle Below = REVERSAL BUY
Purple Diamond Above = REVERSAL SELL
STEP 1: MARKET CONTEXT CHECK
1. BACKGROUND COLOR → Green = Bullish, Red = Bearish
2. EMA ALIGNMENT → Should match your trade direction
3. DIVERGENCES → Look for BULLISH/BEARISH confirmation
4. SIGNAL READINESS → Must show "✓ READY"
STEP 2: SIGNAL CONFIRMATION
For BUY Trades:
Look for Green Triangle (MG) or Blue Circle (R) BELOW candle
Verify in Dashboard: Signal shows "✓ READY"
Check if all conditions in the dashboard align
For SELL Trades:
Look for Red Triangle (MG) or Purple Diamond (R) ABOVE candle
Verify in Dashboard: Signal shows "✓ READY"
Check if all conditions in the dashboard aligN
STEP 3: ENTRY TIMING
Best Entry Conditions:
✓ Signal appears on candle close
✓ Next candle opens in your direction
✓ Volume is increasing (check Volume Analysis in dashboard)
✓ No conflicting signals on same bar
Entry Options:
Market Order: Enter at next candle open
Limit Order: Enter 1-2 pips better than signal candle close
Stop Order: Enter on breakout above/below signal candle
STEP 4: STOP LOSS PLACEMENT
MG SIGNALS (Stronger Trend):
BUY: Place below recent swing low OR below EMA9
SELL: Place above recent swing high OR above EMA9
R SIGNALS (Reversals):
BUY: Place below signal candle low OR below EMA3
SELL: Place above signal candle high OR above EMA3
Alternative Stops:
Bollinger Band (21, 2.5) as dynamic stop
ATR-based stop (2 x ATR from entry)
STEP 5: TAKE PROFIT TARGETS
Primary Targets:
Specific Targets:
Bollinger Bands: Upper band for buys, Lower band for sells
EMA Levels: EMA100 as major target, EMA55 as first target
Previous Support/Resistance: Use recent price levels
Fibonacci Extensions: 127.2% or 161.8% for MG signals
STEP 6: POSITION SIZING
Risk Management Formula:
Position Size = (Account Risk %) / (Entry - Stop Loss)
Example: $10,000 account, 1% risk = $100 risk
If Stop Loss is 50 pips away = 2 micro lots
Risk Levels:
Conservative: 0.5-1% per trade
Moderate: 1-2% per trade
Aggressive: 2-3% per trade (only with strong confluence)
)
📊 SIGNAL PRIORITY SYSTEM
HIGHEST PROBABILITY SETUPS:
TIER 1 (Strongest):
MG Signal + Same Direction Divergence + Volume Climax
Example: MG BUY + BULLISH Divergence + Volume CLIMAX
TIER 2 (Strong):
R Signal + Divergence + EMA Alignment
Example: R BUY + BULLISH Divergence + EMA9>34>55
⚡ CONFLUENCE FACTORS
ADD STRENGTH TO SIGNALS:
BUY CONFLUENCE:
Green Dots below candle (EMA5>15>50)
Multiple BULLISH divergences
Price above all EMAs (9, 34, 55, 100)
Williams %R moving from oversold (-80) upward
SELL CONFLUENCE:
Red Dots above candle (EMA5<15<50)
Multiple BEARISH divergences
Price below all EMAs (9, 34, 55, 100)
Williams %R moving from overbought (-20) downward
🚨 RISK MANAGEMENT RULES
DO NOT TRADE WHEN:
Dashboard Shows:
"✗ WAITING" for your signal type
All divergences = "NONE"
Volume = "CLIMAX" (wait for next candle)
EMA Alignment = "MIXED"
Market Conditions:
Major news events within 30 minutes
Low liquidity periods (overnight)
Extreme volatility (check ATR)
Conflicting Signals:
Both MG BUY and MG SELL signals appear close together
Background color changes immediately after signal
Price stuck between Bollinger Bands
TRADING CHECKLIST
BEFORE ENTERING:
□ 1. Move Stop Loss to breakeven at 1:1 risk-reward
□ 2. Take partial profits at first target
□ 3. Trail remaining position with EMA9
□ 4. Watch for opposite signals to exit
□ 5. Monitor Dashboard for changing conditions
💡 TRADING STYLES
SCALPING (5-15 minutes):
Use R Signals for quick entries
Target: 10-20 pips
Use 5-minute chart
Exit at first sign of reversal
DAY TRADING (1-4 hours):
Use MG Signals for main direction
Target: 30-80 pips
Use 15-minute or 1-hour chart
Use Bollinger Bands as targets
SWING TRADING (1-5 days):
Use MG Signals on higher timeframes
Target: 100+ pips
Use 4-hour or daily chart
Hold until opposite signal appears
🔄 SIGNAL COMBINATIONS
BEST COMBINATIONS:
TREND FOLLOWING:
MG Signal + Same Direction EMA Dots + Volume Confirmation
Hold until background color changes
REVERSAL TRADING:
R Signal + Divergence + Extreme Williams %R
Quick in-and-out trade
📱 QUICK DECISION MATRIX
ENTER LONG WHEN:
Green Triangle/Blue Circle appears
Dashboard shows "✓ READY" for MG/R Buy
Background is Green (for MG) or OBV above SMA55 (for R)
EMA alignment supports upward move
ENTER SHORT WHEN:
Red Triangle/Purple Diamond appears
Dashboard shows "✓ READY" for MG/R Sell
Background is Red (for MG) or OBV below SMA55 (for R)
EMA alignment supports downward move
EXIT WHEN:
Opposite signal appears
Background color changes
Williams %R reaches opposite extreme
Price hits your target zone
PRACTICAL EXAMPLES
Example 1: MG BUY Trade
1. Green Triangle appears below candle
2. Dashboard: Background = GREEN, MG Buy = ✓ READY
3. EMA Alignment = 9>34>55 ▲
4. Divergence = BULLISH (RSI/OBV/MACD/WR%)
5. Entry: Next candle open at 1.2000
6. Stop Loss: 1.1950 (below EMA9)
7. Take Profit: 1.2100 (2:1 risk-reward)
8. Position Size: 1% risk of account
Example 2: R SELL Trade
1. Purple Diamond appears above candle
2. Dashboard: R Sell = ✓ READY, OBV < SMA55
3. EMA3 < EMA9, Price above EMA9
4. Williams %R crossing below -20
5. Entry: Next candle open at 1.2050
6. Stop Loss: 1.2100 (above signal candle high)
7. Take Profit: 1.1950 (1.5:1 risk-reward)
8. Position Size: 1% risk of account
COMMON MISTAKES TO AVOID
Overtrading: Taking every signal (wait for quality setups)
Ignoring Dashboard: Trading when conditions aren't "✓ READY"
Wrong Position Size: Risking too much per trade
Moving Stops Too Early: Let trades breathe
Not Taking Profits: Greed kills profits
Trading Against Background Color: Don't fight the trend
Ignoring Divergences: They provide early warnings
PERFORMANCE TRACKING
Track These Metrics:
- Win Rate: Aim for 60%+
- Risk-Reward Ratio: Minimum 1:1.5
- Maximum Drawdown: Keep below 20%
- Average Win vs Average Loss
- Signal Accuracy by type (MG vs R)
Volume Buy/Sell Pressure with Hot PercentFULL DESCRIPTION (Condensed Version)
Volume Buy/Sell Pressure with Hot Percent
Professional volume analysis indicator revealing real-time buying and selling pressure with hot volume detection and customizable alerts.
Key Features:
Three-Layer Histogram - Visual breakdown: total volume (gray), buying pressure (bright green), selling pressure (bright red)
Flexible Display - Toggle between percentage view or actual volume counts for buying/selling pressure
Real-Time Metrics - Live buying/selling data, current bar volume, daily totals, 30-bar/30-day averages with comma formatting
Hot Volume Detection - Automatic alerts with white triangle markers when volume exceeds threshold
Customizable Labels - 4 sizes (Small/Normal/Large/Huge), 9 positions (all corners/centers/middles), toggle any metric on/off
Smart Color Coding - Green (high volume/buying dominant), Red (selling dominant), Orange (equal pressure), Gray (low volume). Black text on bright backgrounds for maximum contrast.
Alert Conditions:
Hot Volume: Triggers when volume exceeds moving average by specified percentage
Unusual 30-Bar Volume: Current bar significantly above 30-bar average
Unusual 30-Day Volume: Daily volume significantly above 30-day average
Settings:
Display - Toggle metrics, choose percentage/count display, select size and position
Volume - Set unusual volume threshold (default 200%), adjust average length (default 21)
Hot Volume - Choose SMA/EMA, set lookback period (default 20), define threshold (default 100%)
Perfect For:
Day traders scalping futures (MNQ, MES, MYM, MGC, MCL)
Swing traders identifying accumulation/distribution
Breakout traders needing volume confirmation
All timeframes - tick charts to daily/weekly
Use Cases:
Confirm trend strength with pressure alignment
Spot reversals when pressure diverges from price
Validate breakouts with hot volume alerts
Identify smart money through unusual volume
Track institutional activity at key levels
What Makes This Different:
Shows buying vs selling pressure WITHIN each bar using price range methodology. Most indicators only show total volume or simple up/down. This reveals actual pressure distribution regardless of bar direction. Three-layer design makes order flow instantly visible.
Pro Tips:
Use "Large" labels at 100% zoom
Enable volume count display for position sizing
Position labels in corners to avoid price overlap
Enable alerts during pre-market and news events
Watch for divergences: price up + selling pressure up = potential reversal
Compare to both 30-bar and 30-day for full context
Technical:
Pine Script v6
All timeframes and instruments
No repainting
Efficient code, minimal CPU
Three alert conditions
Works on futures, stocks, forex, crypto
Clean, professional presentation. Essential for volume analysis and order flow tracking.
HTF Long/Short 1hr This is one of my latest algo it helps with your long and short bias for GC on the 1HR HTF
Market State Data Box Multi TF Trend Reversion BreakoutsThe Market State Data Box (v6) is a visual dashboard overlay that provides a real-time snapshot of market structure across multiple timeframes. It helps traders quickly assess trend direction, mean reversion conditions, and breakout volatility all without cluttering the chart.
For each selected timeframe (Monthly to 2-minute), the box displays:
Trend Alignment
Detects whether EMAs are in bullish, bearish, or neutral alignment:
Green = Bullish trend (stacked EMAs)
Red = Bearish trend (inverted EMAs)
Black = Neutral/mixed
Mean Reversion Zone
Highlights if the price is currently between EMA1 and EMA3, suggesting a potential mean-reversion environment (sideways, balanced).
BB Breakout Detection
Triggers if price breaks outside a 2 standard deviation range around the EMA (like a Bollinger Band breakout), useful for spotting explosive moves or fakeouts.
Customizable Inputs
Enable or disable any timeframe (Monthly, Weekly, Daily, etc.)
Set custom EMA values per timeframe (default: 20, 50, 200)
Use 2-EMA logic by setting the 3rd EMA to 0
Adjust box transparency and position
Use Case Examples
Use higher TFs (D, W, M) for trend bias
Use lower TFs (2m, 5m, 15m) for execution
Confirm breakouts or range setups using BB Break & MR zones
5MA + TrendMagic + Disparity Scalping + Volume Spikes5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.5MA + Trend Magic + Disparity Scalping + Volume Spikes
This indicator is a multi-layer scalping and intraday framework designed to combine trend context, volatility expansion, mean-reversion opportunities, and volume-based turning points into a single chart.
It is especially effective for fast markets such as GOLD (XAUUSD) and lower timeframes.
Key Components
1. 5 Moving Average Structure
EMA 9 / 20 / 50 / 100 / 200
Provides instant trend direction, compression, and dynamic support/resistance
Useful for filtering scalp signals in trend vs range conditions
2. Trend Magic (CCI + ATR Based)
Modified Trend Magic line using CCI direction and ATR trailing logic
Clearly defines bullish / bearish bias
Acts as a trend filter to avoid counter-trend scalps during strong moves
3. Ultra Fast Disparity Scalper
Detects short-term overextension from EMA9 and EMA20
Uses:
Price–EMA disparity
RSI overbought / oversold
RVI momentum prediction
Designed for quick mean-reversion scalps, not trend entries
Includes a simple overheating filter that grays out signals during extreme conditions
4. GOLD Volatility Expansion Detector
Specialized logic for explosive moves using:
ATR expansion
Bollinger Band breakouts
Historical Volatility vs Realized Volatility divergence
Generates signals only when volatility regime shifts, not during noise
Ideal for catching impulsive breakout phases
5. Volume Spike Reversal Signals
Detects abnormal volume spikes relative to volume SMA
Optional filters:
Valid swing high / low only
Hammer / Shooting Star candles
Same candle color confirmation
Session-based filtering
Designed to highlight potential exhaustion and reaction points
Signals are plotted on the previous bar for accuracy
How to Use
Use EMA structure + Trend Magic to define market context
Take Disparity Scalping signals only when price is stretched and momentum weakens
Use Volume Spikes to confirm exhaustion or reaction zones
Use GOLD volatility signals to stay with expansion moves, not fade them
This indicator is not a single-entry system, but a decision-support tool that helps align trend, momentum, volatility, and volume for high-probability intraday trading.
FranPL - Psychological LevelsIt automatically draws horizontal lines fixed to the right-hand price scale at every price level ending in 00, 20, 50, and 80. These levels are commonly watched by traders as areas where price often reacts, pauses, or reverses.
The lines remain anchored to price, updating dynamically as the market moves, and stay aligned with the price scale rather than drifting with time. The indicator works across all markets and timeframes.
FranPL is fully customizable through the settings, allowing the user to adjust the line color, thickness, and length, making it easy to match personal chart preferences while keeping the chart clean and uncluttered.
Overall, FranPL provides a clear, consistent visual framework for identifying important psychological levels to support entries, exits, and risk management.
XAUUSD Trend Sweep invite-only [buy sell signal]The Strategy: Riding the Institutional Momentum 🚀
The Trend Sweep is a high-probability strategy designed to find entries during a strong, established trend. Unlike standard reversals, this script looks for "shallow" liquidity sweeps within a trend. It catches the moment the market "breathes" (pulls back) to grab retail stop losses before continuing in the direction of the Big Money.
🛡️ How the Signals Work (Double Confirmation)
This script uses a two-stage process to ensure you aren't caught in a "falling knife":
Stage 1: The "Get Ready" Pre-Alert (Real-Time) ⚠️
The script monitors the live 3-minute candle.
When the H1 Higher Timeframe trend is aligned and a liquidity sweep is detected in real-time, it triggers a "Get Ready" alert.
This gives you time to open your chart and prepare for the trade.
Stage 2: The "Confirmed" Signal (Bar Close) ✅
The BUY or SELL label only appears once the candle has closed.
The script verifies that the candle has a strong body (ATR Momentum Filter) and lacks long, indecisive wicks (Dual Wick Filter).
NO REPAINT: Once the label is printed on the bar close, it is locked forever. It will never move or disappear.
🚀 Recommended Settings for XAUUSD
For the best results, use these tested settings:
Timeframe: 3-Minute (M3).
Trend Filter (HTF): Always set to H1 (60) to stay with the major flow.
Session Filter: Enable the ( Time) blocks to avoid "fake moves" during low-volume hours.
ATR Filter: 0.8 (Ensures entry candles are strong impulse moves).
💰 Take Profit & Risk Management
7-Stage TP: The script automatically calculates 7 profit targets (TP1–TP7), ranging from 20 pips to 200 pips.
Automatic SL: Your stop loss is anchored to the 15-Minute Swing low/high but is hard-capped at 150 pips for maximum protection.
🧭 How to Request Access
This is an Invite-Only script. To get access:
Visit our official Whop store: whop.com
Send me a Private Message (PM) on TradingView with your receipt/username.
Access is typically granted within 12-24 hours.
XAUUSD invite-only [choch signals]My " Entry Sniper" doesn't just print random arrows. It follows a strict institutional logic to ensure every signal has high-probability backing:
Trend Alignment (H1/M15): Signals only appear if the Higher Timeframe trend matches the entry. We don't trade against the Big Banks.
Liquidity Sweep Verification: The script identifies "Retail Traps" where price briefly breaks a level to trigger stops. The signal only fires if price successfully "reclaims" that level.
Momentum Confirmation (ATR): We use an Average True Range (ATR) filter to ensure the signal candle has enough "Institutional Impulse". This helps you avoid small, choppy candles that lead to drawdowns.
7-Stage Profit Tracking: As soon as a signal is confirmed, the script immediately plots 7 Take-Profit (TP) levels. These targets are sent as automated alerts to your Telegram, helping you scale out of your position professionally.
Timeframe Tip: For the best results, use this on the 3-Minute (M3) timeframe. This allows the script to catch reversals faster than the M5 while staying more stable than the M1.
Why This is Better Than Standard Indicators
Most basic indicators trigger in real-time and then "disappear" if the price moves back. By using the alert.freq_once_per_bar_close function for the final signal, your indicator ensures that what you see in backtesting is exactly what you get in live trading.
Liquidity Sweep Buy & Sell SignalsOverview 🧠 This script is a professional Smart Money Concepts (SMC) tool specifically optimized for XAUUSD (Gold). It identifies institutional "Liquidity Sweeps" where big players trigger retail stop losses before reversing the price.
How the Strategy Works 🛠️ The script uses a Multi-Timeframe (MTF) approach to ensure high-probability entries:
Trend Filter (H1): The script scans the 1-Hour Trend EMA. We only take Buys in an uptrend and Sells in a downtrend to stay on the side of "Smart Money."
Liquidity Sweep Detection: It identifies when price spikes below/above key support or resistance levels (Liquidity Pools) and then reclaims that level.
M3 Precision Entry: While the trend is analyzed on the H1, the entries are confirmed on the 3-Minute (M3) timeframe using Engulfing candle logic.
Key Features ✨
Dual Wick Filter: Automatically filters out "messy" or indecisive candles to ensure clean reversals.
ATR Momentum Filter: Ensures that the signal candle has enough volatility and body size to confirm a real move.
7-Stage TP System: Automatically alerts you as price hits targets from +20 pips to +200 pips.
Hard-Capped Risk: Stop Loss is anchored to 15M Swing points but is hard-capped at 150 pips for account protection.
No Repaint Policy 🚫 This script is 100% Non-Repainting. Signals are only confirmed and displayed once the M3 candle has closed.
The "Settings" Section
In this part of the form, explain what the users can change:
Settings: Adjust the Liquidity Lookback and the ATR multiplier for candle size.
Time Filters: Set your specific trading sessions (optimized for Malaysia Time/MYT) and block out high-impact news times.
Risk Settings: Adjust your Risk:Reward ratio and set your Maximum Stop Loss limit.
How to use it (Instructions for Users) 🧭
Add the script to your XAUUSD 3-Minute (M3) chart.
Wait for the "Get Ready" alert to fire on your Telegram.
Once the BUY/SELL label is confirmed on the candle close, enter the trade.
Follow the automated TP alerts to scale out of your position.
Institutional Order Flow Zones [JOAT]Institutional Order Flow Zones – Smart Money Structure & Liquidity Engine
IMPORTANT NOTES (READ FIRST)
This is an indicator (not a strategy). It does not place trades. It provides a structural map of institutional activity.
This script is written in Pine Script v6 and is intended to be used on standard candlestick charts .
Source code visibility: This script is published as Protected Source (closed-source) . The purpose is to protect the work from unauthorized re-uploads/copies and to maintain a stable versioning path. This description is intentionally detailed so you can understand what the indicator does and how to use each feature without needing access to the implementation.
Protected Source / Closed-Source Clarification
Protected source does not mean "trust me blindly". It means the internal implementation is not publicly viewable.
The operational behavior is documented here: what is plotted, what each dashboard cell means, what each input controls, and how to interpret the output.
If you see re-uploads or near-identical copies elsewhere, treat them with caution and rely on the official publication.
Overview
Institutional Order Flow Zones (IOFZ) is a Smart Money Concepts (SMC) overlay that reveals institutional activity through:
Supply & Demand Zones – automatically detected order blocks based on swing structure + order flow confirmation
Fair Value Gaps (FVGs) – three-candle displacement inefficiencies that act as magnets or continuation footprints
Break of Structure (BOS) – confirmed structural shifts when price closes beyond key swing levels
Liquidity Detection – high-volume interactions at swing highs/lows where stops are likely harvested
Order Flow Imbalance – buy vs sell volume pressure approximation over a rolling window
The goal is to provide a clean, information-dense overlay that highlights where institutions are likely accumulating, distributing, or harvesting liquidity.
What Makes It Original (Originality & Usefulness)
This script is not a simple mashup of SMC concepts. It is a coordinated workflow:
Swing-Based Structure Engine caches recent pivots so the script always knows the last confirmed high/low and the ones they replaced
Order Flow Imbalance splits candles into buying/selling volume to produce a directional pressure score
Zone Creation Logic requires both swing structure AND order flow confirmation (demand = swing low + buy pressure; supply = swing high + sell pressure)
FVG Detection uses minimum size filtering and auto-deletion when gaps are filled
BOS Detection requires price to close through levels (not just wick) with bar-spacing cooldown to prevent spam
Lifecycle Management automatically retires old zones and limits active objects to keep charts clean
The combination creates a structural map that adapts to market conditions rather than flooding the chart with every possible level.
1) Chart Visuals – What You See on the Chart
A) Demand & Supply Zones (Order Blocks)
Demand Zones – created when a swing low forms under strong net buy pressure (OFI > 30%)
Drawn as extended rectangles projecting forward in time
Soft gradient fill tuned to theme (default: teal/cyan tones)
Internal label shows "DEMAND" with price range
Supply Zones – created when a swing high forms under strong net sell pressure (OFI < -30%)
Drawn as extended rectangles projecting forward in time
Soft gradient fill tuned to theme (default: orange/amber tones)
Internal label shows "SUPPLY" with price range
On Lower TF Forex:
How to use:
In uptrends, prioritize demand zones for long entries
In downtrends, prioritize supply zones for short entries
Fresh, untested zones carry more information than heavily traded ones
B) Fair Value Gaps (FVGs)
Three-candle displacement legs where price leaves an inefficiency:
Bullish FVG – low of current bar sits above high from two bars ago (upside gap in impulsive move)
Bearish FVG – high of current bar sits below low from two bars ago (downside gap)
Visual elements:
Extended rectangles stretching forward in time
Centered label ("Bull FVG" or "Bear FVG") with dark text for readability
Dotted guide line connecting label to gap
Auto-delete when price fully trades back through the gap (filled)
C) Break of Structure (BOS)
Detected when price convincingly closes beyond the last key swing high or swing low:
Tracks the previous confirmed swing , not just any local wick
Requires price to close through the level (filters shallow wicks)
Uses 10-bar minimum cooldown between signals (prevents spam)
Visual elements:
Horizontal level drawn from original break point, extending into future
Compact label ("Bull BOS" or "Bear BOS") positioned with offset
Dotted guide line dropping into the level
D) Liquidity Sweeps
High-volume interactions around prior swing highs/lows:
Dashed horizontal line at the sweep level
Small label reading "Liquidity Sweep" above (swing highs) or below (swing lows)
Highlights where stops are likely cleaned out before reversals or continuations
E) Order Flow Background Tint
Subtle background coloring based on order flow imbalance:
Strong buy pressure (OFI > 30%) = faint demand color tint
Strong sell pressure (OFI < -30%) = faint supply color tint
Neutral = no tint
Bear FVG, and Bear BOS:
2) IOFZ Analysis Dashboard – Full Glossary
A compact table in the top-right corner displays:
Row 1 – Order Flow
Shows NEUTRAL, BUYING, or SELLING with signed percentage
Calculated by splitting recent candles into buy/sell volume based on close vs open
Rolling 20-period window
Strong thresholds: +/-30%
Row 2 – Demand Zones
Count of active demand boxes currently on chart
Maximum 10 active zones (older ones auto-retire)
Row 3 – Supply Zones
Count of active supply boxes currently on chart
Maximum 10 active zones (older ones auto-retire)
Row 4 – Structure
BULLISH : Most recent BOS was bullish (within 50 bars)
BEARISH : Most recent BOS was bearish (within 50 bars)
RANGING : No recent BOS or mixed signals
Row 5 – Fair Value Gaps
Count of active, unfilled FVGs on chart
Maximum 15 active FVGs (older ones auto-retire)
Shows "NONE" if no active gaps
Row 6 – Liquidity
HIGH VOLUME : Current volume > average x liquidity threshold
NORMAL : Volume within normal range
Demand Zone:
3) How the Detection Engines Work (High-Level)
Swing Detection:
Uses configurable pivot length (default: 10 bars)
Swing high = highest bar in lookback window on both sides
Swing low = lowest bar in lookback window on both sides
Caches last swing and previous swing for BOS detection
Order Flow Imbalance Calculation:
For each of the last 20 candles: if close > open, add volume to buyVolume; else add to sellVolume
OFI = (buyVolume - sellVolume) / totalVolume
Result ranges from -1.0 (100% sell) to +1.0 (100% buy)
Zone Creation Logic:
Demand: swing low detected AND OFI > 0.3 (strong buy pressure)
Supply: swing high detected AND OFI < -0.3 (strong sell pressure)
Zone boundaries = high and low of the swing candle
FVG Detection Logic:
Bullish: low > high AND close > close AND gap size >= minimum %
Bearish: high < low AND close < close AND gap size >= minimum %
Filled when price trades through the gap (bullish: low <= gap bottom; bearish: high >= gap top)
BOS Detection Logic:
Bullish: close > previous swing high AND close <= previous swing high AND 10+ bars since last bullish BOS
Bearish: close < previous swing low AND close >= previous swing low AND 10+ bars since last bearish BOS
4) Inputs & Settings – Full Reference
Order Flow Zones
Swing Detection Length (default: 10): Sensitivity of swing highs/lows. Shorter = more local structure; longer = major turning points.
Minimum Zone Strength (default: 3): Conceptual threshold for zone robustness.
Show Demand Zones : Toggle demand zone visibility.
Show Supply Zones : Toggle supply zone visibility.
Liquidity Detection
Show Liquidity Levels : Toggle liquidity sweep markers.
Liquidity Lookback (default: 50): Period for volume baseline calculation.
Liquidity Threshold (default: 1.5): Multiplier defining "high volume" (current volume > average x threshold).
Fair Value Gaps
Show Fair Value Gaps : Toggle FVG visibility.
Minimum FVG Size % (default: 0.5%): Filter out very small gaps.
Market Structure
Show Break of Structure : Toggle BOS annotations.
Visual Settings
Color Theme : Classic, Deep Purple, Sweden, Ocean, or Monokai.
Zone Transparency (default: 80): Controls fill opacity for zones.
5) Recommended Workflow (Practical Use)
For Scalping:
Swing Length: 5
Zone Strength: 2
Liquidity Lookback: 30
For Day Trading:
Swing Length: 10 (default)
Zone Strength: 3 (default)
Liquidity Lookback: 50 (default)
For Swing Trading:
Swing Length: 20
Zone Strength: 4
Liquidity Lookback: 100
Step-by-Step Usage:
Step 1 – Identify dominant structure using BOS levels and Structure readout
Step 2 – In uptrends, prioritize demand zones and bullish liquidity sweeps
Step 3 – In downtrends, prioritize supply zones and bearish sweeps
Step 4 – Look for confluence: price sweeping into zone + order flow confirmation
Step 5 – Use FVGs as context (magnets/continuation footprints), not standalone signals
Step 6 – Manage risk externally (IOFZ is a structural map, not a risk engine)
6) Alerts
IOFZ ships with alert conditions for:
IOFZ Bullish BOS : Bullish break of structure detected
IOFZ Bearish BOS : Bearish break of structure detected
IOFZ Bullish FVG : Bullish fair value gap detected
IOFZ Bearish FVG : Bearish fair value gap detected
Recommended: Attach alerts to "Once Per Bar Close" to avoid intra-bar noise.
7) Limitations & Best-Use Guidance
IOFZ is a structural map, not an auto-trader. It highlights context; execution and risk management remain your responsibility.
Zone, BOS, and FVG definitions follow one specific institutional interpretation. Other methodologies will differ.
Real-time signals may update on the forming bar. When in doubt, make decisions on closed candles.
Low-liquidity or highly erratic markets can produce weaker levels and more noise.
Volume-based logic depends on the quality of volume data for the symbol/exchange.
Always validate on your own symbols and timeframes before committing capital.
Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Trading involves risk, and you are responsible for your own decisions, sizing, and risk controls. Always test settings and workflows in a simulated environment before using them in live markets.
-Made with passion by officialjackofalltrades
Institutional Scanner FixHere is a professional Pine Script (Version 5) for TradingView. It is optimized to precisely identify the "Absorption" and "Reversal" signals.
What this script does for you:
Auto-Fibonacci: It automatically calculates the 0.618 Golden Ratio of the last 50 candles.
Volume Delta Check: It calculates the delta (buy volume minus sell volume) per candle.
Signal: It marks a "Buy Absorption" when the price touches the 0.618 level but the delta turns positive (green arrow).
The Volume Multiplier is your scanner's "sensitivity knob." It determines how much more volume compared to the average must flow for a signal to be classified as institutionally relevant. Here is the bank standard for calibration, based on your trading strategy and the asset's liquidity:
The rule-of-thumb values for the multiplier
Strategy Type | Recommended Value | Logic
Conservative (High Conviction) | 2.0 to 2.5 | Only extreme volume spikes are marked. Good for swing trades on a daily basis.
Standard (Day Trading) | 1.5 to 1.8 | The "sweet spot." Marks volume that is approximately 50-80% above average.
Aggressive (Scalping) | 1.2 to 1.3 | Reacts very quickly to small order flow changes but produces more "noise" (false signals).
Phantom Fibonacci Engine [PT-ENG- Fibo .001]Phantom Fibonacci Engine is a clean, research-grade Fibonacci tool that combines Price Retracements + Price Extensions + Time Fibonacci projections in one structured layout — with a clear Golden Zone highlight and a compact HUD panel to keep your workflow fast and consistent.
It does not generate buy/sell signals.
It helps you map pullback zones, projection targets, and timing windows so you can align entries, targets, and risk planning with a single swing.
Key Features
1) Auto Swing Detection (Core Engine)
Automatically identifies the most relevant swing using your Swing Lookback Bars.
Optional SMA trend filter to keep swings aligned with market bias.
2) Price Fibonacci (Retracement)
Plots core retracement levels:
0% / 23.6% / 38.2% / 50% / 61.8% / 78.6% / 100%
Highlights the Price Golden Zone (default 0.50 – 0.618) as a clean pullback area.
3) Price Extensions (Targets)
Projects extension targets from the swing (commonly used as take-profit zones):
Default: 1.272 / 1.618 / 2.0 / 2.618
Works perfectly for:
trend continuation targets
breakout target mapping
scaling out plans
4) Time Fibonacci (Classic + Projected) + UTC Dates
Adds Time Fib projections using ratios such as:
0.382 / 0.5 / 0.618 / 1.0 / 1.272 / 1.618
Draws time projections as vertical lines (not just labels).
Shows the projected dates in real UTC for consistency across all users.
5) Time Golden Window
Highlights a Time Golden Window (default 0.50 – 0.618) to mark the most important timing range for a reaction, continuation, or acceleration.
6) Clean HUD Panel (Bottom-Right)
A stacked HUD shows:
Price Fib values + current swing direction
Price Golden Zone status (IN / OUT)
Time Fib swing length (bars)
Time Golden Window UTC range
Time Window status (IN / OUT)
Overall status (Confluence / —)
7) Full Visual Customization
Toggle Price Labels and Time Labels
Custom colors for:
fib levels
extensions
time lines (classic/projected)
golden zone boxes
How to Use (Practical Workflow)
A) Price Golden Zone Pullbacks
In an uptrend: watch pullbacks into 0.50–0.618
In a downtrend: watch rallies into the same zone (in reverse swing context)
Confirm using your own tools (structure, liquidity, volume, order blocks…)
B) Extension Targets
Use Ext 1.272 / 1.618 as realistic continuation targets
Use 2.0 / 2.618 for strong momentum phases
Great for planning partial take-profits and trailing logic
C) Time Fib for Timing
Time projections are not prediction — they highlight when the market is statistically more likely to react.
If price reaches a key level inside the Time Golden Window, it’s a stronger context for:
reversal attempts
continuation impulses
volatility expansion
D) Golden Confluence (Price + Time)
The strongest scenario is when:
price is inside Price Golden Zone
and current bar is inside Time Golden Window
That’s your best “context layer” to execute your own setup with higher confidence.
Best Settings (Recommended)
For Swing Accuracy (Core)
Swing Lookback Bars
Intraday (5m–30m): 120–300
1H–4H: 200–400
Daily: 30–120 (depends on how long you want the swing)
Use SMA Trend Filter: ON (recommended)
SMA Short / Long: default (20/55) works well as a general filter
For Time Fib Visibility
Max Future Bars to Draw: 450–2000 (increase if you want projections far right)
Shift Time Projections Forward: ON (recommended)
Ensures time levels always appear on the right side.
Default Zones (Most Common)
Price Golden Zone: 0.50–0.618
Time Golden Window: 0.50–0.618
Important Notes
This is a mapping tool, not a signal generator
Fibonacci levels work best when combined with:
structure (BOS/CHoCH)
liquidity zones & stop hunts
volume confirmation
Use this engine as part of your risk management plan.
// ─────────────────────────────
// Phantom Trader
// Indicator : Phantom Fibonacci Engine
// Product ID: PT-ENG- Fibo .001
// Version : v1
// ─────────────────────────────
ICT Algo: Sweep + MSS + High Prob FVG/IFVGThis script is a comprehensive execution tool based on Inner Circle Trader (ICT) concepts, specifically designed to identify high-probability entries by combining Liquidity Sweeps, Market Structure Shifts (MSS), and Fair Value Gaps (FVG/IFVG).
Unlike standard FVG indicators that highlight every gap on the chart, this "Algo" version filters for gaps that occur specifically after a liquidity purge and a shift in structure, ensuring you are only looking at setups with institutional backing.
How It Works
The script follows a strict 3-step validation process before plotting a signal:
Liquidity Sweep (The Context): The script tracks Higher Timeframe (HTF) levels including Previous Day High/Low, Weekly High/Low, and Monthly High/Low. A setup is only considered valid if price has recently "swept" one of these levels, indicating a hunt for liquidity.
Market Structure Shift (The Confirmation): Once a sweep occurs, the script looks for a displacement in the opposite direction. It identifies a "Pivot High/Low" (customizable length) and waits for a candle body to close beyond it (MSS).
Filtered Entry (The Trigger): * FVG: Plots a standard Fair Value Gap if it forms within a "Deep Value" zone (Discount for longs, Premium for shorts).
IFVG (Inversion FVG): Highlights failed FVGs that have been reclaimed by price to act as support or resistance.
Key Features
Multi-Timeframe Liquidity Filters: Automatically plots PDH/L, PWH/L, PMH/L, and PYH/L. You can toggle which levels act as your sweep triggers.
Deep Value Logic: The script uses built-in logic to ensure Bullish FVGs are only highlighted when price is below a key liquidity level (Discount), and Bearish FVGs when price is above (Premium).
Dynamic Box Management: To keep your chart clean, boxes for FVGs and IFVGs are automatically shortened ("cut") once they are mitigated by price.
Inversion Logic: Includes a specialized toggle for Inversion Fair Value Gaps, allowing you to trade "failed" gaps that flip their polarity.
Settings & Customization
Entry Setup Bias: Choose to see only Bullish, only Bearish, or Both setups.
MSS Pivot Length: Adjust how "sensitive" the Market Structure Shift detection is. A higher number requires a more significant swing to be broken.
Sweep Lookback: Defines how many bars back the script looks for a liquidity sweep to remain "active" for a setup.
Include Opens: Optional toggle to include Previous Day/Week/Month Opens as liquidity points.
Usage Tips
The Golden Setup: Look for a sweep of a Previous Day High, followed by a Bearish MSS, and an entry at the Red FVG box.
Risk Management: This indicator is designed for entry identification. Always use stop losses (usually placed above/below the candle that created the FVG or the MSS swing point).
Timeframes: Best used on execution timeframes (1m, 5m, 15m) while the script handles the HTF levels automatically.
Disclaimer: This script is an educational tool and does not constitute financial advice. Trading involves significant risk. Past performance of a strategy does not guarantee future results.
Credits: Concepts based on the teachings of Michael J. Huddleston (ICT).
Smart Wedge Pattern [The_lurker]🔺 Smart Wedge Pattern نموذج الوتد الذكي
Advanced & Intelligent Wedge Detection Engine
This is not a traditional indicator that simply draws wedge lines — it is a comprehensive intelligent engine (system) for detecting and analyzing wedge patterns (Rising & Falling Wedge) based on price geometry, market context, and statistical quality of the pattern.
This indicator was designed to address the biggest problems in common wedge indicators:
❌ Too many false patterns
❌ Ignoring prior trend
❌ No real quality assessment for patterns
A comprehensive intelligent system that combines:
Adaptive algorithm that self-calibrates automatically according to market conditions
7 strict validation layers that filter out weak patterns and keep only the highest quality
Quality scoring system that evaluates each pattern from 0 to 100
3D visualization that makes patterns visually clear in an exceptional way
Smart targets based on Fibonacci ratios with real-time achievement tracking
The Result:
➡️ Fewer patterns
➡️ Cleaner, more accurate and reliable signals
➡️ Higher quality
➡️ Real practical use
═════════════════════════════════════════════════════════════
🎯 What Are Wedge Patterns?
1- Falling Wedge — Bullish Reversal Pattern
The falling wedge forms when price moves in a converging downward channel — meaning both the upper resistance line and the lower support line are declining, but the support line declines at a less steep angle, gradually narrowing the channel.
Why does the bullish breakout occur?
Declining highs show continuous selling pressure
But rising lows (P2 < P4) reveal that buyers are entering at higher levels
Convergence indicates decreasing bearish momentum
At a certain point, buying pressure overcomes and the breakout occurs
2- Rising Wedge — Bearish Reversal Pattern
The rising wedge is the exact opposite of the falling wedge — a converging upward channel where both lines rise, but the resistance line rises at a less steep angle.
Why does the bearish breakout occur?
Rising lows show continuous buying pressure
But declining highs (P2 > P4) reveal that sellers are entering at lower levels
Convergence indicates decreasing bullish momentum
At a certain point, selling pressure overcomes and the breakout occurs
═════════════════════════════════════════════════════════════
🧠 Adaptive Pivot System — The Heart of the Smart Indicator
The Problem with Traditional Indicators
Traditional indicators use a fixed value for pivot detection (like 5 bars left and 5 bars right). This means:
In quiet markets → Many delayed signals
In volatile markets → Few missed signals
No adaptation to the nature of each market or timeframe
The Solution: Smart Adaptation Algorithm
The indicator calculates optimal pivot sensitivity on each bar using 5 weighted factors:
Final Score = (Volatility_Score × 0.30) + (Trend_Score × 0.25) +
(Stability_Score × 0.20) + (Percentile_Context × 0.15) +
(Range_Score × 0.10)
Factor Weight How It's Calculated Why It's Important
Volatility Score 30% ATR(10) / ATR(50) Detects sudden changes in volatility
Trend Score 25% ADX(14) / 50 Trending markets need different sensitivity
Stability Score 20% StdDev(ATR) / Mean(ATR) Measures volatility consistency
Percentile Context 15% ATR / Percentile(ATR, 50) Places volatility in historical context
Range Score 10% Current_Range / Average_Range Detects unusual bars
The Result: The indicator uses low sensitivity (fewer, more important pivots) in quiet markets, and high sensitivity (more pivots, faster response) in volatile markets (more accurate pivots = correct geometric patterns).
═════════════════════════════════════════════════════════════
✅ Seven Validation Layers — Why This Indicator Is Different
Every detected pattern passes through 7 strict tests before being displayed:
1- Geometric Structure Validation
Validates:
P1 precedes P2 precedes P3 precedes P4 chronologically
Distance between each two points ≥ minimum threshold
Pattern width (P1→P4) within allowed range
Highs and lows order is correct for the wedge type
2- True Convergence Check
A true wedge must show convergence:
├── Gap at P4 < Gap at P1
├── Convergence ratio = End_Gap / Start_Gap
└── Ratio must be < defined convergence threshold (default 75%)
3- Slope Validation
For Falling Wedge:
├── Resistance line slope < 0 (declining)
├── Support line slope < 0 (declining)
└── Resistance slope < Support slope (convergence)
For Rising Wedge:
├── Resistance line slope > 0 (rising)
├── Support line slope > 0 (rising)
└── Support slope > Resistance slope (convergence)
4- Prior Trend Filter
Reversal patterns need a prior trend to reverse from:
├── Measures price movement during a defined period before P1
├── Normalizes movement using ATR for fair comparison
├── Falling wedge requires prior downtrend
└── Rising wedge requires prior uptrend
5- Channel Respect
Normal mode (close check):
└── Every close between P1 and P4 must be within wedge boundaries
Strict mode (high/low check):
├── Every high must be below resistance line (+ tolerance)
└── Every low must be above support line (- tolerance)
6- Post-P4 Validation
After the fourth point forms:
├── For falling wedge: Price doesn't break support or drop below P4
└── For rising wedge: Price doesn't break resistance or rise above P4
7- Quality Scoring System
Quality = (Convergence_Score × 0.30) + (Slope_Score × 0.25) +
(Width_Score × 0.20) + (Trend_Score × 0.15) +
(Height_Score × 0.10)
├── Convergence Score: More convergence = higher quality
├── Slope Score: Consistency of upper and lower line slopes
├── Width Score: Patterns with 40-100 bar width are ideal
├── Trend Score: Prior trend strength
└── Height Score: Pattern height relative to ATR
═════════════════════════════════════════════════════════════
✅ Pattern Lifecycle Management
The indicator doesn't just draw and disappear — it follows the complete pattern:
Pattern detection
Post-fourth point monitoring
Breakout confirmation
Target calculation
Target achievement tracking
Success or cancellation marking
❌ Pattern is automatically cancelled if:
Breakout fails
Channel is broken in reverse direction
Waiting period exceeded
═════════════════════════════════════════════════════════════
✅ Smart Targets + Success Level
After breakout:
Target is calculated based on pattern height
3 target modes:
Conservative (0.618)
Balanced (1.0)
Aggressive (1.618)
Independent Success level to measure move strength before target
═════════════════════════════════════════════════════════════
🎨 Advanced Visual Display (3D Visualization)
Three-dimensional pattern representation
Visual depth reflecting pattern size
3D target zone
Dynamic colors upon target achievement
🎨 The purpose of 3D is not decoration
But reading the pattern visually with speed and clarity
═════════════════════════════════════════════════════════════
⚙️ Key Features
✅ Automatic wedge detection
✅ Smart filtering reduces false signals
✅ Real quality assessment for each pattern
✅ Realistic and customizable targets
✅ Full support for Rising & Falling Wedge
✅ Works on all markets and timeframes
✅ Professional design and high performance
═════════════════════════════════════════════════════════════
📊 Usage Scenarios
🟢 Scalping
Timeframes: 1–15 minutes
Quality ≥ 60
Conservative targets
🔵 Day Trading
Timeframes: 15m–1h
Quality ≥ 50
Balanced targets
🟣 Swing Trading
Timeframes: 4h–Daily
Quality ≥ 40
Strict channel
Aggressive targets
🟠 Cryptocurrencies
Strict convergence
Strict channel
Quality ≥ 65
═════════════════════════════════════════════════════════════
🔔 Alerts
Falling wedge breakout ⇒ Buy
Rising wedge breakout ⇒ Sell
Any wedge breakout
═════════════════════════════════════════════════════════════
⚠️ Disclaimer
This indicator is for educational and analytical purposes only. It does not represent financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is responsible for any financial decisions or losses.
═════════════════════════════════════════════════════════════
🔺 Smart Wedge Pattern نموذج الوتد الذكي
Advanced & Intelligent Wedge Detection Engine
ليس مؤشرًا تقليديًا يرسم خطوط وتد فقط ، بل هو محرك (نظام) ذكي متكامل لاكتشاف وتحليل نماذج الوتد (Rising & Falling Wedge) اعتمادًا على الهندسة السعرية ، السياق السوقي ، والجودة الإحصائية للنموذج.
تم تصميم هذا المؤشر لمعالجة أكبر مشكلة في مؤشرات الوتد الشائعة:
❌ كثرة النماذج الوهمية
❌ تجاهل الاتجاه السابق
❌ عدم وجود تقييم حقيقي لجودة النموذج
نظام ذكي متكامل يجمع بين:
خوارزمية تكيفية تُعاير نفسها تلقائياً حسب ظروف السوق
7 طبقات تحقق صارمة تُصفّي الأنماط الضعيفة وتُبقي فقط الأعلى جودة
نظام تسجيل جودة يُقيّم كل نموذج من 0 إلى 100
تصور ثلاثي الأبعاد يجعل الأنماط واضحة بصرياً بشكل استثنائي
أهداف ذكية مبنية على نسب فيبوناتشي مع تتبع التحقق الآني
النتيجة:
➡️ نماذج أقل
➡️ إشارات أنظف أكثر دقة وموثوقية
➡️ جودة أعلى
➡️ استخدام عملي حقيقي
═════════════════════════════════════════════════════════════
🎯 ما هي نماذج الأوتاد؟
1- الوتد الهابط (Falling Wedge) — نموذج انعكاسي صعودي
الوتد الهابط يتشكل عندما يتحرك السعر في قناة هابطة متقاربة — أي أن خط المقاومة العلوي وخط الدعم السفلي كلاهما يهبطان، لكن خط الدعم يهبط بزاوية أقل حدة، مما يُضيّق القناة تدريجياً.
لماذا يحدث الكسر الصعودي؟
القمم الهابطة تُظهر ضغطاً بيعياً مستمراً
لكن القيعان الصاعدة (P2 < P4) تكشف أن المشترين يدخلون عند مستويات أعلى
التقارب يُشير إلى تناقص الزخم الهبوطي
عند نقطة معينة، يتغلب ضغط الشراء ويحدث الكسر
2- الوتد الصاعد (Rising Wedge) — نموذج انعكاسي هبوطي
الوتد الصاعد هو عكس الهابط تماماً — قناة صاعدة متقاربة حيث يصعد كلا الخطين، لكن خط المقاومة يصعد بزاوية أقل حدة.
لماذا يحدث الكسر الهبوطي؟
القيعان الصاعدة تُظهر ضغطاً شرائياً مستمراً
لكن القمم الهابطة (P2 > P4) تكشف أن البائعين يدخلون عند مستويات أدنى
التقارب يُشير إلى تناقص الزخم الصعودي
عند نقطة معينة، يتغلب ضغط البيع ويحدث الكسر
═════════════════════════════════════════════════════════════
🧠 نظام المحاور التكيفي — قلب المؤشر الذكي
المشكلة مع المؤشرات التقليدية
المؤشرات التقليدية تستخدم قيمة ثابتة لاكتشاف المحاور (مثل 5 شموع يسار و5 شموع يمين). هذا يعني:
في الأسواق الهادئة → إشارات كثيرة ومتأخرة
في الأسواق المتقلبة → إشارات قليلة وضائعة
لا تكيف مع طبيعة كل سوق أو إطار زمني
الحل: خوارزمية التكيف الذكي
المؤشر يحسب حساسية المحور المثلى في كل شمعة باستخدام 5 عوامل مرجحة:
النتيجة النهائية = (درجة_التقلب × 0.30) + (درجة_الاتجاه × 0.25) +
(درجة_الاستقرار × 0.20) + (السياق_المئوي × 0.15) +
(درجة_النطاق × 0.10)
العامل الوزن كيف يُحسب لماذا مهم
درجة التقلب 30% ATR(10) / ATR(50) يكشف التغير المفاجئ في التقلب
درجة الاتجاه 25% ADX(14) / 50 الأسواق الاتجاهية تحتاج حساسية مختلفة
درجة الاستقرار 20% StdDev(ATR) / Mean(ATR) يقيس ثبات التقلب
السياق المئوي 15% ATR / Percentile(ATR, 50) يضع التقلب في سياقه التاريخي
درجة النطاق 10% النطاق_الحالي / متوسط_النطاق يكشف الشموع غير العادية
النتيجة: المؤشر يستخدم حساسية منخفضة (محاور أقل، أكثر أهمية) في الأسواق الهادئة، وحساسية عالية (محاور أكثر، استجابة أسرع) في الأسواق المتقلبة (محاور أدق = نماذج هندسية صحيحة).
═════════════════════════════════════════════════════════════
✅ طبقات التحقق السبع — لماذا هذا المؤشر مختلف
كل نموذج مُكتشف يمر عبر 7 اختبارات صارمة قبل عرضه:
1- التحقق من البنية الهندسية
يتحقق من:
P1 يسبق P2 يسبق P3 يسبق P4 زمنياً
المسافة بين كل نقطتين ≥ الحد الأدنى المحدد
عرض النموذج (P1→P4) ضمن النطاق المسموح
ترتيب القمم والقيعان صحيح حسب نوع الوتد
2- فحص التقارب الحقيقي
الوتد الحقيقي يجب أن يُظهر تقارباً:
├── الفجوة عند P4 < الفجوة عند P1
├── نسبة التقارب = الفجوة_النهائية / الفجوة_الابتدائية
└── النسبة يجب أن تكون < عتبة التقارب المحددة (افتراضي 75%)
3- التحقق من الميل
للوتد الهابط:
├── ميل خط المقاومة < 0 (هابط)
├── ميل خط الدعم < 0 (هابط)
└── ميل المقاومة < ميل الدعم (تقارب)
للوتد الصاعد:
├── ميل خط المقاومة > 0 (صاعد)
├── ميل خط الدعم > 0 (صاعد)
└── ميل الدعم > ميل المقاومة (تقارب)
4- فلتر الاتجاه السابق
النماذج الانعكاسية تحتاج اتجاهاً سابقاً لتنعكس منه:
├── يقيس حركة السعر خلال فترة محددة قبل P1
├── يُطبّع الحركة باستخدام ATR لمقارنة عادلة
├── الوتد الهابط يحتاج اتجاهاً هابطاً سابقاً
└── الوتد الصاعد يحتاج اتجاهاً صاعداً سابقاً
5- احترام القناة
وضع عادي (فحص الإغلاق):
└── كل إغلاق بين P1 و P4 يجب أن يكون داخل حدود الوتد
وضع صارم (فحص القمة/القاع):
├── كل قمة يجب أن تكون تحت خط المقاومة (+ نسبة تسامح)
└── كل قاع يجب أن يكون فوق خط الدعم (- نسبة تسامح)
6- التحقق بعد P4
بعد تشكل النقطة الرابعة:
├── للوتد الهابط: السعر لا يكسر خط الدعم أو ينزل تحت P4
└── للوتد الصاعد: السعر لا يكسر خط المقاومة أو يصعد فوق P4
7- نظام تسجيل الجودة
الجودة = (درجة_التقارب × 0.30) + (درجة_الميل × 0.25) +
(درجة_العرض × 0.20) + (درجة_الاتجاه × 0.15) +
(درجة_الارتفاع × 0.10)
├── درجة التقارب: كلما زاد التقارب، زادت الجودة
├── درجة الميل: تناسق ميل الخطين العلوي والسفلي
├── درجة العرض: الأنماط بعرض 40-100 شمعة مثالية
├── درجة الاتجاه: قوة الاتجاه السابق
└── درجة الارتفاع: ارتفاع النموذج نسبة لـ ATR
═════════════════════════════════════════════════════════════
✅ إدارة دورة حياة النموذج (Pattern Lifecycle)
المؤشر لا يرسم ثم يختفي، بل يتابع النموذج كاملًا:
اكتشاف النموذج
مراقبة ما بعد النقطة الرابعة
تأكيد الاختراق
حساب الهدف
تتبع الوصول للهدف
تمييز النجاح أو الإلغاء
❌ يتم إلغاء النموذج تلقائيًا إذا:
فشل في الاختراق
كُسرت القناة عكسيًا
تجاوز مدة الانتظار المحددة
═════════════════════════════════════════════════════════════
✅ أهداف ذكية + Success Level
بعد الاختراق:
يتم حساب الهدف بناءً على ارتفاع النموذج
3 أوضاع للأهداف:
Conservative (0.618)
Balanced (1.0)
Aggressive (1.618)
مستوى Success مستقل لقياس قوة الحركة قبل الهدف
═════════════════════════════════════════════════════════════
🎨 عرض بصري متقدم (3D Visualization)
تمثيل ثلاثي الأبعاد للنموذج
عمق بصري يعكس حجم النموذج
منطقة هدف ثلاثية الأبعاد
ألوان ديناميكية عند تحقق الهدف
🎨 الهدف من 3D ليس الزينة
بل قراءة النموذج بصريًا بسرعة ووضوح
═════════════════════════════════════════════════════════════
⚙️ أهم المميزات
✅ اكتشاف تلقائي للأوتاد
✅ فلترة ذكية تقلل الإشارات الوهمية
✅ تقييم جودة حقيقي لكل نموذج
✅ أهداف واقعية وقابلة للتخصيص
✅ دعم كامل لـ Rising & Falling Wedge
✅ يعمل على جميع الأسواق والفريمات
✅ تصميم احترافي وأداء عالي
═════════════════════════════════════════════════════════════
📊 سيناريوهات الاستخدام
🟢 المضاربة السريعة
أطر: 1–15 دقيقة
جودة ≥ 60
أهداف محافظة
🔵 التداول اليومي
أطر: 15د–1س
جودة ≥ 50
أهداف متوازنة
🟣 التداول المتأرجح
أطر: 4س–يومي
جودة ≥ 40
قناة صارمة
أهداف عدوانية
🟠 العملات الرقمية
تقارب صارم
قناة صارمة
جودة ≥ 65
═════════════════════════════════════════════════════════════
🔔 التنبيهات
كسر وتد هابط ⇒ شراء
كسر وتد صاعد ⇒ بيع
أي كسر وتد
═════════════════════════════════════════════════════════════
⚠️ إخلاء المسؤولية
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل TradingView ولا المطور مسؤولية أي قرارات مالية أو خسائر.
Supertrend Nova Cloud [Pineify]Supertrend Nova Cloud
Overview
The Supertrend Nova Cloud is a sophisticated trend-following system designed to filter market noise and provide clear, actionable insights into market direction and volatility. By combining two distinct Supertrend calculations—the fast-acting "Nova" and the slower, more robust "Nebula"—this indicator creates a dynamic "Cloud" that visualizes the strength and stability of the current trend. It is engineered to help traders identify strong trending periods, potential pullbacks, and major reversals with greater confidence than a single Supertrend indicator.
Key Features
Dual-Trend Architecture: Utilizes a two-layer approach with a Fast (Nova) and Slow (Nebula) Supertrend to define market structure.
Dynamic Nova Cloud: A visual gradient fill between the two trendlines that adjusts its intensity ("Glow") based on the spread between the trends, representing market volatility.
Smart Candle Coloring: Candles are colored based on the consensus between the two trends, clearly distinguishing between strong trends, pullbacks, and recovery phases.
High-Quality Signals: Buy and Sell signals are filtered and only generated when the major (Slow) trend reverses, reducing false signals during chop.
Real-time Dashboard: An on-chart dashboard displays the current state of both the Nova and Nebula trends for instant analysis.
How It Works
The Supertrend Nova Cloud operates on the principles of Average True Range (ATR) volatility to determine trend direction.
Nova (Fast Trend): Calculated using a shorter ATR length (default 10) and a lower multiplier (default 2.0). This line reacts quickly to price changes, serving as an early warning system or trailing stop for aggressive entries.
Nebula (Slow Trend): Calculated using a longer ATR length (default 20) and a higher multiplier (default 4.0). This line defines the overall market bias and acts as significant support/resistance.
Cloud Gradient Logic: The script calculates the absolute difference (delta) between the Nova and Nebula lines. It compares this delta to its recent historical maximum to determine the opacity of the fill color. A wider spread (higher volatility) results in a brighter, more opaque cloud, while a narrow spread (consolidation) results in a more transparent cloud.
How multiple indicators work together
In trading, a single trend indicator often faces a dilemma: if it's too fast, it gives false signals; if it's too slow, it lags significantly. The Supertrend Nova Cloud solves this by combining both:
The Fast Supertrend captures immediate momentum and provides potential re-entry points during strong trends.
The Slow Supertrend acts as a filter. The script logic enforces that major reversal signals ("NOVA BUY/SELL") are only triggered when this slower, dominant trend changes direction.
By requiring the Slow trend to confirm the reversal, the indicator filters out the "noise" that would typically whip-saw a standard Supertrend.
Trading Ideas and Insights
Trend Riding: When the Cloud is fully Green (Strong Bull) or Red (Strong Bear), and the candles match this color, the trend is established. These are ideal conditions for holding positions.
Pullback Opportunities: If the candles turn a lighter shade (e.g., light red during an uptrend), it indicates the price has broken the Fast trend but holds above the Slow trend. This "Mixed" state often represents a buying opportunity in an uptrend (or selling in a downtrend).
Volatility Expansion: A widening cloud (brighter glow) indicates expanding volatility and often accompanies a strong breakout or trend acceleration.
Unique Aspects
Visual Volatility Feedback: Unlike standard fills, the "Nova Cloud" uses a custom algorithm to adjust transparency based on the relative distance between the two trendlines. This gives traders an intuitive sense of market expansion and contraction.
Nuanced State Detection: The script doesn't just show Up or Down. It identifies four states: Strong Bull, Strong Bear, Fast Bull/Slow Bear (Recovery), and Fast Bear/Slow Bull (Pullback), coding the candles accordingly.
How to Use
Entry: Look for "NOVA BUY" or "NOVA SELL" labels. These appear when the major trend (Nebula) flips, confirming a significant shift in market structure.
Stop Loss: The Nebula (thick) line serves as a robust trailing stop loss. As long as price holds beyond this line, the macro trend remains intact.
Re-Entry/Pyramiding: During a strong trend, if price dips into the cloud (changing candle color to mixed/neutral) and then resumes the trend color, it can be a valid re-entry signal.
Customization
Users can fully customize the indicator via the settings menu:
Nova & Nebula Settings: Adjust the ATR Length and Factor for both the Fast and Slow trends to tune sensitivity for different timeframes or assets.
Visuals: Toggle the Dashboard, Candle Coloring, and customize the colors for Bullish, Bearish, and Neutral states.
Conclusion
The Supertrend Nova Cloud offers a comprehensive visual interface for trend traders. By harmonizing two time horizons of volatility analysis into a single, cohesive display, it simplifies decision-making and helps traders stay on the right side of the major trend while identifying granular opportunities within it.
Smart Fixed Volume Profile [MarkitTick]💡 This comprehensive analysis suite integrates Auction Market Theory, structural gap analysis, and statistical liquidity strain modeling into a single, cohesive toolkit. Designed for traders who require a granular view of institutional order flow, this indicator overlays a Fixed Range Volume Profile with intelligent price gap classification and a volatility-adjusted exhaustion detector. By combining these three distinct analytical dimensions, it allows users to identify value consensus, structural breakouts, and potential market turns driven by liquidity shortages.
✨ Originality and Utility
While standard Volume Profiles display where trading occurred, this script advances the concept by contextually analyzing *how* price arrived at those levels. It solves the problem of isolated analysis by fusing three disparate methodologies:
Contextual Integration: It does not merely show support and resistance; it qualifies moves using "Smart Gaps" (classifying gaps based on market structure) and "Liquidity Strain" (identifying unsustainable price velocity).
Institutional Footprint: The inclusion of an "Unusual Volume" highlighter within the profile bars helps traders spot hidden institutional accumulation or distribution blocks that standard profiles miss.
Hybrid Logic: By combining a fixed-time profile (anchored to specific dates) with dynamic, developing gap analysis, it provides both a static roadmap of the past and a dynamic interpretation of current price action.
🔬 Methodology and Concepts
• Fixed Volume Profile Engine
The core of the indicator constructs a volume distribution histogram over a user-defined time window. It utilizes a custom aggregation engine that:
Fetches higher-timeframe volume and price data to ensure accuracy.
Segments the price range into specific "bins" or rows.
Allocates volume to these bins based on price action within the bar, separating Buying Volume (Up bars) from Selling Volume (Down bars).
Calculates the Point of Control (POC) —the price level with the highest traded volume—and the Value Area , which contains 70% (customizable) of the total volume centered around the POC.
• Smart Gap Logic
The script systematically identifies price gaps and classifies them based on their location relative to market pivots (Highs/Lows):
Breakaway Gaps: Occur when price gaps beyond a significant structural pivot (Lookback High/Low), signaling a potential trend initiation.
Runaway Gaps: Occur within an existing trend without breaking structure, indicating trend continuation.
Exhaustion Gaps: Identified when a gap occurs late in a mature trend (measured by bar count since the last pivot) accompanied by a volume spike, suggesting the trend is overextended.
• Liquidity Strain Detector
This module utilizes a statistical approach to measure market stress. It calculates "Illiquidity" by analyzing the ratio of True Range to Volume (Price Impact).
It applies a Logarithmic transformation to normalize the data.
It calculates a Z-Score (Standard Deviation from the mean) of this impact.
If the Z-Score exceeds a threshold (e.g., 2.0 Sigma) while the trend opposes the price move, it triggers an exhaustion signal, indicating that price is moving too easily on too little volume (thin liquidity).
🎨 Visual Guide
• Volume Profile Elements
Histogram Bars: Horizontal bars representing volume at price. Cyan indicates bullish volume; Red indicates bearish volume.
Unusual Volume Highlight: Bars with volume exceeding the average by a set factor (default 2x) are highlighted with brighter, distinct overlays to denote institutional interest.
POC Line: A solid Yellow line marking the price level with the highest volume.
VAH / VAL Lines: Dashed Blue lines marking the Value Area High and Value Area Low.
Background Box: A grey shaded area encapsulating the entire time and price range of the profile.
• Smart Gap Boxes
Blue Box (Breakaway): Marks the start of a new structural move.
Orange Box (Runaway): Marks continuation gaps in the middle of a trend.
Red Box (Exhaustion): Marks potential trend termination points.
Dotted Lines: Extend from the center of gap boxes to serve as future support/resistance levels. These boxes are automatically deleted if price "fills" or violates the gap level.
Note: This tool incorporates core components from [ Smart Gap Concepts ], optimized for this specific strategy.
• Liquidity Signals
Green Label (SE): "Seller Exhaustion" – Appears below bars in a downtrend when selling pressure is statistically overextended.
Red Label (BE): "Buyer Exhaustion" – Appears above bars in an uptrend when buying pressure is statistically overextended.
Note: This tool incorporates core components from [ Liquidity Strain Detector ], optimized for this specific strategy.
📖 How to Use
• Interactive Range Selection: This indicator features a flexible, interactive input system. Upon adding the script to your chart, execution is paused until the analysis range is defined. You will be prompted to click on the chart twice: first to establish the Start Date and second to establish the End Date. Once these anchor points are confirmed, the indicator will automatically load the data and generate the profile for the selected specific period.
● Strategies for Optimal Anchoring
the optimal starting and ending points for high-probability setups:
Swing Highs and Lows (Trend Analysis):
Anchor the Start Date at a major structural swing high or low and the End Date at the current price using the Extend to Present feature. This identifies the "Fair Value" for the entire price move .
Consolidation/Range Anchoring:
Set the Start Date at the first bar of a sideways range and the End Date at the breakout candle. This reveals the high-node volume clusters that will act as future support or resistance.
Session-Based Anchoring (Intraday):
Align the Start Date with the session open (e.g., London or New York open) to track institutional flow for that specific day .
Event-Driven Anchoring:
Place the Start Date on a significant news event or a Breakaway Gap identified by the script's Gap Engine. This helps determine if the new volume supports the direction of the gap.
Correction Cycles:
During a pullback, anchor the Start Date at the start of the correction to find the Value Area Low (VAL), which often serves as a tactical entry point for a trend continuation.
• Identifying Value:
Use the Value Area to gauge market consensus. Acceptance of price within the VA indicates balance. A breakout above VAH or below VAL suggests the market is searching for new value. The POC often acts as a magnet for price correction.
• Trading Breakouts:
Watch for Breakaway Gaps (Blue) that align with a move out of the Volume Profile's Value Area. This confluence increases the probability of a sustained trend.
• Spotting Reversals:
Combine Exhaustion Gaps (Red) with Liquidity Strain Signals (SE/BE) . If price gaps up into a low-volume node on the profile and prints a "Buyer Exhaustion" signal, it suggests the move is unsupported by liquidity and liable to reverse.
• Support and Resistance:
The extended dotted lines from the Smart Gap boxes act as dynamic support/resistance. A retest of a "Runaway Gap" is often a viable entry point for trend continuation.
⚙️ Inputs and Settings
• Global Profile:
Start/End Date: Define the exact window for the volume profile calculation.
Extend to Present: If checked, the profile updates with live data beyond the end date.
• Profile Settings:
Number of Rows: Determines the vertical resolution (granularity) of the histogram.
Value Area %: Default is 70%, representing one standard deviation of volume distribution.
Placement: Position the profile on the Left or Right of the defined range.
• Liquidity & Gaps:
Unusual Threshold: Multiplier of average volume to highlight institutional bars (default 2.0x).
Structure Lookback: Adjusts the sensitivity of pivot detection for gap classification.
Stress Threshold (Sigma): The Z-Score limit for triggering Liquidity Strain signals (default 2.0).
🔍 Deconstruction of the Underlying Scientific and Academic Framework
• Auction Market Theory (AMT):
The script is grounded in AMT, which posits that the market's primary function is to facilitate trade. The Volume Profile visualizes this by displaying a bell curve of price distribution. The Value Area (typically 70%) corresponds to the First Standard Deviation in a normal Gaussian distribution, representing the area of "Fair Value" where buyers and sellers agree.
• Market Microstructure & Kyle’s Lambda:
The Liquidity Strain module draws conceptually from Kyle’s Lambda, a metric in market microstructure that measures market depth and price impact (Illiquidity). By calculating the ratio of price change (True Range) to Volume, the script approximates the "cost" of moving the market.
• Statistical Z-Score Normalization:
To make the liquidity data actionable, the script applies Z-Score normalization: Z = (X - μ) / σ . This converts raw illiquidity values into standard deviations from the mean. A Z-Score above +2.0 signifies a statistically significant anomaly—an outlier event where price moved excessively relative to the volume traded, often preceding a mean-reversion event.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Trend Matrix: Market Momentum Screener & FilterQuickly visualize market momentum, portfolio positioning, and regime context with Trend Matrix. This multi-timeframe screener combines ranked asset analysis, flexible data modes, and a visual dashboard to help traders and investors make disciplined, informed allocation decisions—without relying on individual trade signals.
TREND MATRIX — MARKET MOMENTUM SCREENER & FILTER
Portfolio Allocation Framework & Market Regime Context
OVERVIEW
Trend Matrix is a momentum-based market screening and portfolio analysis tool designed to help users evaluate asset selection, relative weighting, and market conditions within a structured, rules-driven framework.
Designed for position traders and portfolio-focused momentum investors, Trend Matrix emphasizes disciplined review, capital allocation context, and regime-aware decision support rather than short-term trade execution.
Rather than presenting individual trade signals, the script focuses on portfolio-level context by combining multi-timeframe momentum analysis, relative ranking, and regime classification into a single visual interface. The output highlights qualified assets, comparative positioning, and market participation, allowing users to make informed decisions using their own execution and risk rules.
KEY FEATURES / HIGHLIGHTS
- Multi-Timeframe Momentum Analysis – Evaluate trends across 4H and Daily timeframes for portfolio-level insight
- Portfolio-Level Focus – Emphasizes relative asset strength, allocation context, and regime-aware decision-making
- Ranked Universe Panel – Quickly identify qualified assets and compare momentum across multiple horizons
- Portfolio View Panel – Visualize relative weights, allocation metrics, and portfolio-level aggregates
- Market Monitor Panel – Assess market participation, breadth, and leadership conditions
- Dual Analytical Universes – Quality Growth (NASDAQ) and Precious Metals equities, or use a custom watchlist
- Flexible Data Mode – Live mode for dynamic analysis, Locked mode for historical review and journaling
- Multiple Ranking Methodologies – Composite, Velocity-Focused, and Relative Performance perspectives
- Regime-Aware Insights – Labels market phases like broad participation, narrow leadership, or risk-averse conditions
- Designed for Traders & Investors – Helps position traders and portfolio-focused momentum investors make disciplined, informed decisions
DESIGN PHILOSOPHY
Trend Matrix is built for environments where capital rotation and momentum persistence play a significant role in asset performance. The script emphasizes relative strength, trend alignment, and participation breadth, helping users understand where momentum is expanding, narrowing, or deteriorating across a defined universe.
The internal logic is intentionally abstracted. Users interact with ranked results and portfolio views, not raw formulas or intermediate calculations.
DATA MODE: LIVE VS LOCKED
- Live Data Mode – All calculations update dynamically with incoming price data. Intended for real-time monitoring and ongoing analysis
- Locked Data Mode – Calculations are frozen at the close of the last completed bar. Intended for review, journaling, or preventing intrabar fluctuations from influencing interpretation
> The Data Mode toggle affects display and evaluation only. It does not place trades or alter historical data
DUAL-UNIVERSE FRAMEWORK
- Quality Growth (NASDAQ) – Large-cap and growth-oriented equities for expansionary or risk-on phases
- Precious Metals Equities – Gold-related producers and royalty companies, often associated with defensive or alternative allocation regimes
Users may also substitute or extend these universes using a custom watchlist. The script does not attempt to forecast which universe will outperform; instead, it provides tools to observe relative momentum and capital concentration across environments.
INTERFACE OVERVIEW
Ranked Universe Panel
- Assets sorted by the selected ranking methodology
- Visual status markers indicating qualification state
- Multi-horizon performance matrix showing short- to long-term momentum alignment
Portfolio View Panel
- Displays only assets meeting current qualification criteria
- Shows relative allocation weights and comparative metrics
- Includes portfolio-level aggregates to assess overall exposure
Market Monitor Panel
- Market participation and breadth context
- Visual indicators highlighting expansion, contraction, or narrow leadership
- Rebalance timer to support systematic review cycles
USER WORKFLOW
1. Select Universe – Choose a predefined universe or apply a custom watchlist
2. Configure Inputs – Set capital reference, position limits, and evaluation frequency
3. Review Rankings – Observe how assets compare within the active universe
4. Interpret Portfolio View – Use displayed weights and metrics as an analytical reference
5. Re-evaluate on Schedule – Review changes at the selected rebalance interval
> Best used on 4-hour (4H) and Daily (1D) timeframes. Lower timeframes may introduce noise that reduces effectiveness
RANKING METHODOLOGIES
- Composite Ranking – Balances trend persistence and momentum strength
- Velocity-Focused Ranking – Emphasizes short-term acceleration
- Relative Performance Ranking – Highlights assets outperforming benchmark or peer group
MARKET REGIME CONTEXT
Trend Matrix evaluates how many assets in the universe exhibit positive momentum characteristics. This provides contextual regime labeling such as:
- Broad participation environments
- Narrow leadership conditions
- Weak or risk-averse phases
> These classifications are descriptive only and do not constitute trade instructions
INTENDED USE & DISCLAIMER
- This script is a market analysis and portfolio-context tool
- It does **not** generate buy/sell signals or execute trades
- All calculations and classifications are for informational purposes only
- Users are responsible for their own risk management, execution, and validation
Arbitrage Matrix [LuxAlgo]The Arbitrage Matrix is a follow-up to our Arbitrage Detector that compares the spreads in price and volume between all the major crypto exchanges and forex brokers for any given asset.
It provides traders with a comprehensive view of the entire marketplace, revealing hidden relationships among different exchanges for the same asset and offering easy, visual comparisons.
🔶 USAGE
Arbitrage is the practice of taking advantage of price differences for the same asset across different markets. Arbitrage traders look for these discrepancies to profit from buying where it’s cheaper and selling where it’s more expensive to capture the spread.
For begginers this tool is a clear snapshot of how different markets value the same asset, making global price dynamics easy to grasp.
For advanced traders it is a powerful scanner for arbitrage setups, helping you identify where the biggest opportunities lie in real time.
Arbitrage opportunities are often short‑lived, but they can be highly profitable. By showing you where spreads exist, this tool helps traders:
Understand market inefficiencies
Avoid trading at unfavorable prices
Identify potential profit opportunities across exchanges
By default, the tool searches all the enabled sources for the asset in the chart. It uses crypto exchanges as sources for crypto assets and forex brokers for all other assets.
The data is displayed on a dashboard, which is the tool's only visual element.
Traders can enable or disable any exchange or broker from the settings panel. All are enabled by default.
🔹 Displayable Data
Traders can choose from four types of data to display: last price, last volume, average price, and average volume.
Note that price and volume data may not be available for all assets at all sources, and sources without data will not be displayed.
As the image shows, each chart displays a different type of data for the same asset. In this case, the asset is ETHUSDT.
🔹 Reading the Matrix
Traders must read the data in a row-by-column format, as shown in the following example.
Assume that we are charting BTCUSDT Daily. In the row, we have Exchange A; in the column, we have Exchange B. The data is the average price, and the value is 100. The default length for the average is 20.
It reads like this: The average BTCUSDT price over the last 20 days is $100 higher on Exchange A than on Exchange B.
If the value were -100, it would mean that the average price is $100 lower in Exchange A than in Exchange B.
🔹 Matrix Style
Traders can change the colors and disable the background gradient, which is enabled by default.
They can also fine-tune the location and dashboard size from the settings panel.
🔶 SETTINGS
Sources: Choose between crypto exchanges, forex brokers, or automatic selection based on the asset in the chart.
Average Length: Select the length for the price and volume averages.
Crypto Exchanges: Enable or disable any available exchange.
Forex Brokers: Enable or disable any available broker.
🔹 Dashboard
Data: Select the data to display.
Position: Select the dashboard location.
Size: Select the dashboard size.
🔹 Style
Bullish: Select bullish color.
Bearish: Select bearish color.
Background Gradient: Enable background gradient color.






















