Volume Profile SAF
- Indicators
- Ebrah Ssali
- Version: 1.10
- Updated: 27 April 2026
- Activations: 5
VOLUME PROFILE SAF-XII
Professional Market Profile Analysis for MT5 (The Definitive Tool for Grid & Mean-Reversion Traders)
WHAT IS VOLUME PROFILE?
Volume Profile is a professional institutional tool that displays trading activity at specific price levels, unlike traditional volume indicators
that show volume over time. It reveals WHERE trading occurred, within your window of choice, helping identify:
• FAIR VALUE AREAS (VAH/VAL) - Price levels where most trading occurred
• POINT OF CONTROL (POC) - The single price level with highest volume
• LIQUIDITY IMBALANCES - Bullish vs Bearish dominance at each level
• SUPPORT/RESISTANCE - Natural price levels based on actual trading activity
THREE OPERATING MODES - TRULY "SET AND FORGET"
1. VP_MANUAL (Swing Trading & Key Level Analysis)
• User drags vertical lines to define analysis range
• VP recalculates only when lines are moved
• Perfect for: Pre-news analysis, earnings reports, specific date ranges
• Use case: Identify key levels before major economic events
2. VP_AUTO (Scalping & Momentum Trading)
• Automatically rolls forward with each new bar
• Uses user-defined lookback period (default 100 bars)
• Adapts to recent market conditions automatically
• Perfect for: Momentum strategies, breakout trading
3. VP_SESSION (Day Trading & Institutional Flows)
• Anchors to logical trading sessions (London, NY, Asian opens)
• Evolves throughout the trading day
• Mirrors institutional session-based analysis
• Perfect for: Day trading, session-based strategies
SMART VOLUME HANDLING - WORKS ON ANY ASSET
The indicator intelligently falls back from VOLUME_REAL to VOLUME_TICK:
• FOREX PAIRS: Uses tick volume (transaction count) - no real volume available
• FUTURES/STOCKS: Uses real volume when available
• INDICES/GOLD: Uses real volume on regulated markets
• RESULT: Seamless operation across ALL asset classes
INSTITUTIONAL-GRADE FEATURES
1. DELTA ANALYSIS (Bull/Bear Split)
• Shows buyer vs seller dominance at each price level
• Green bars = Bullish volume dominance
• Red bars = Bearish volume dominance
• Identifies absorption (bullish at lows) vs distribution (bearish at highs)
2. VALUE AREA DYNAMICS (69% Default - Configurable)
• VAH (Value Area High) = Resistance when price approaches from below
• VAL (Value Area Low) = Support when price approaches from above
• POC (Point of Control) = Magnetic level - price tends to return
3. EXTENSION LEVELS (VAH-X / VAL-X)
• Calculated using standard deviation of value area prices
• Configurable multiplier (1.618 Golden Ratio default)
• Acts as profit target / stop loss zones
SIGNAL GENERATION - THREE LAYERS
LAYER 1: ENTRY SIGNALS (Buffers 0 & 1 - Buy/Sell)
Triggers when price crosses ANY of these key levels (prioritized by trading context, not volume):
• VAL (for BUYS) / VAH (for SELLS) - HIGHEST PRIORITY
- Crossing above VAL = Exiting oversold zone (mean reversion)
- Crossing below VAH = Exiting overbought zone (mean reversion)
- Highest probability signals with best risk-reward
- Statistical edge: Return to fair value from extremes
• POC (for both directions) - MODERATE PRIORITY
- Highest volume node acts as magnetic level
- Crosses confirm direction but lack extreme context
- Better as confirmation than primary entry signal
- Requires additional trend filters for edge
• VAH (for BUYS) / VAL (for SELLS) - LOWER PRIORITY
- Crossing above VAH = Breakout signal (momentum)
- Crossing below VAL = Breakdown signal (momentum)
- Higher failure rate, needs strong trend confirmation
- Best for aggressive breakout strategies
Signal Rules:
• Buy Arrow (↑) = Price crosses ABOVE a level
• Sell Arrow (↓) = Price crosses BELOW a level
• Only ONE arrow per bar (highest priority level wins)
Signal Quality Guide:
┌──────────────────────────────────────────┐
│ Buy at VAL → STRONG (Mean reversion from cheap zone) │
│ Buy at POC → MODERATE (Fair value, needs confirmation) │
│ Buy at VAH → WEAK (Breakout, higher failure rate) │
│ │
│ Sell at VAH → STRONG (Mean reversion from expensive zone) │
│ Sell at POC → MODERATE (Fair value, needs confirmation) │
│ Sell at VAL → WEAK (Breakdown, higher failure rate) │
└────────────────────────────────-─────────┘
Why Extremes Matter More Than Volume:
• VAL/VAH crosses represent price returning from extreme zones
• Statistical tendency to revert to mean (POC/VAH or POC/VAL)
• Clear invalidation levels (recent lows/highs)
• Better risk-reward ratios than fair value entries
• POC works better as profit target than entry trigger
LAYER 2: EXIT SIGNALS (Buffers 2 & 3 - Exit Long/Short)
Triggers when price touches extension levels:
• Exit Long (↓) = Price touches VAH-X (profit taking zone)
• Exit Short (↑) = Price touches VAL-X (profit taking zone)
• Separate from entry signals - can occur on same bar
Extension Level Significance:
• VAH-X = Standard deviation above VAH (overextended zone)
• VAL-X = Standard deviation below VAL (overextended zone)
• Configurable multiplier (1.618 Golden Ratio default)
• Acts as natural profit targets for mean reversion trades
LAYER 3: DUPLICATE SIGNAL SUPPRESSION (Configurable)
Prevents over-trading with three modes:
a) ALLOW ALL - Every signal plots (full transparency)
• Best for: Analysis, backtesting, scalping
• Risk: Multiple signals may cause overtrading
b) SUPPRESS CONSECUTIVE - Blocks same-direction signals in a row
• BUY → (no signal) → BUY = ALLOWED (gap resets)
• BUY → BUY → BUY = BLOCKED (consecutive blocked)
• Best for: Trend following, swing trading
• Benefit: Prevents chasing, allows re-entry after pause
c) REQUIRE OPPOSITE - Requires opposite signal first
• BUY → BUY = BLOCKED (needs SELL first)
• BUY → SELL → BUY = ALLOWED (alternates)
• Best for: Mean reversion, range trading
• Benefit: Forces signal alternation, reduces whipsaws
Duplicate Mode Recommendation by Strategy:
┌──────────────────────────────────┐
│ Mean Reversion Trading → REQUIRE OPPOSITE │
│ Trend Following → SUPPRESS CONSECUTIVE │
│ Scalping → ALLOW ALL │
│ Swing Trading → SUPPRESS CONSECUTIVE │
│ Breakout Trading → ALLOW ALL │
└──────────────────────--───────────┘
KEY INSIGHT: A buy signal at VAL (extreme low) is statistically more
significant than a buy at POC (fair value), despite lower volume.
The market's return from extreme levels has a higher probability
than continuation from already-fair prices. Always consider signal
context, not just volume levels.
ALERT SYSTEM - NEVER MISS A SIGNAL
Comprehensive multi-channel alerts with smart cooldown:
• POPUP ALERTS - On-screen MT5 notifications
• EMAIL ALERTS - Send to any email address
• PUSH NOTIFICATIONS - To MetaTrader mobile app
• ALL CHANNELS - Simultaneous delivery
Smart Features:
• Per-signal-type cooldown (default 15 minutes)
• Separate toggles for Buy/Sell/Exit signals
• Prevents alert spam while ensuring delivery
• Detailed signal information (level, price, time)
PERFORMANCE OPTIMIZATIONS
• CPU-minimal design - only recalculates when needed
• New bar detection prevents redundant calculations
• Object-based rendering for smooth chart performance
• Efficient volume distribution algorithm
REAL-WORLD TRADING APPLICATIONS
SCENARIO 1: DAY TRADING SESSION
Mode: VP_SESSION
Settings: sessionTF = PERIOD_H1 (London/New York session)
Strategy:
• Buy when price crosses VAL (support zone)
• Sell when price crosses VAH (resistance zone)
• Exit at VAH-X/VAL-X extensions (place StopLoss behind these lines)
• Suppress consecutive signals to avoid overtrading
SCENARIO 2: SWING TRADING
Mode: VP_MANUAL
Range: Last 5-10 days of price action
Strategy:
• Identify POC as magnet level
• Trade bounces from VAL (support) to VAH (resistance)
• Use extension levels as profit targets
SCENARIO 3: SCALPING
Mode: VP_AUTO
Lookback: 50-100 bars for recent conditions
Strategy:
• Quick entries on POC crosses
• Small targets at value area boundaries
• Allow all signals for maximum opportunities
VISUAL CUES & INTERPRETATION
VOLUME BARS:
• Height = Volume at that price level
• Width = Relative volume (compared to POC)
• Color split = Bull/Bear dominance ratio
HORIZONTAL LINES:
• Orange = POC (Point of Control)
• Blue = VAH (Value Area High) & VAH-X (extension)
• Magenta = VAL (Value Area Low) & VAL-X (extension)
ARROWS:
• Sky Blue ↑ = Buy signal (level cross above)
• Magenta ↓ = Sell signal (level cross below)
• Crimson ↓ = Exit Long (VAH-X touch)
• Lime Green ↑ = Exit Short (VAL-X touch)
PRACTICAL TIPS
1. START WITH VP_AUTO MODE - Let the indicator adapt automatically (price decides what a level means)
2. USE EXTENSION LEVELS as final profit targets (VAH-X/VAL-X), Use VAH/VAL as initial Take Profit targets.
3. WATCH FOR BULL/BEAR SPLIT - Dominance changes signal strength
4. CONFIRM WITH PRICE ACTION - Don't trade signals in isolation (use our MTF Candle Pattern Detector)
5. ADJUST COOLDOWN based on your timeframe (5-30 minutes)
6. EMAIL/PUSH SETUP required for mobile alerts (Tools → Options)
TECHNICAL SPECIFICATIONS
Indicator Buffers:
Buffer 0: Buy signals (DRAW_ARROW, code 233)
Buffer 1: Sell signals (DRAW_ARROW, code 234)
Buffer 2: Exit Long signals (DRAW_ARROW, code 218)
Buffer 3: Exit Short signals (DRAW_ARROW, code 217)
Calculation Logic:
• Volume distributed proportionally across price levels
• Value Area = 69% of total volume (configurable)
• Extensions = Mean ± (StdDev × Multiplier)
• POC = Highest volume node in profile
The indicator democratizes institutional-grade volume profile analysis for retail traders while maintaining professional-grade accuracy and flexibility. It's truly "set-and-forget" - configure once, trade forever. The Price decides what the 3 levels (VAH, POC & VAL) mean. Grid-style traders will find the signals high utility.
