S/R HTF (D + 4H) | Clusters+Pivots | Stable | Styles+AlertsThis indicator plots higher-timeframe Support/Resistance levels based on the Daily and 4-Hour charts, and keeps them stable (not dependent on how much history is loaded or how you scroll/zoom).
What it does
Daily levels (D) are calculated from the last lenD closed daily candles (default: 120).
4H levels (240) are calculated from the last lenH4 closed 4H candles (default: 300).
Levels come from two sources:
Clusters (value areas): prices where candle closes occur frequently within a narrow range.
The range width is derived from ATR × step multiplier.
Pivots: recent pivot highs and pivot lows (with left/right pivot settings).
The script merges nearby levels (within a tolerance) to avoid duplicates.
Stability / update logic
Levels are computed with request.security() on "D" and "240", so the result is independent of the chart timeframe you’re currently viewing.
Lines are drawn using bar time anchoring and extend mode, so they remain fixed to price and do not “jump” when you zoom or scroll.
Levels are recalculated on a calendar schedule (default: every 2 days, timeframe "2D"). Between recalculations, levels remain unchanged.
Visual customization
From the settings panel you can configure:
Show/hide Daily and/or 4H levels
Show/hide Clusters and/or Pivots
Line width for clusters and pivots
Line style (Solid / Dashed / Dotted) for clusters and pivots
Colors and opacity for Daily and 4H lines
Line extension: Left / Right / Both
Alerts
The indicator can trigger alerts when price:
Touches a level (bar range crosses the level: high >= level and low <= level)
Approaches a level (distance is within a threshold)
Approach threshold can be defined as:
Ticks
ATR multiplier
Percent of price
To use dynamic alert text (level + distance):
Create an alert in TradingView using: “Any alert() function call”.
Notes / limitations
“Last N candles” depends on available symbol history; if the symbol doesn’t have enough Daily/4H history, some levels may be na.
Cluster quality depends on ATR-based bin size; adjusting the step multipliers can improve results per instrument and volatility regime.
樞軸點和水平
Commodity Pulse Matrix v3 [WavesUnchained]Overview
Multi-Timeframe Confluence Indicator for Commodities. Combines 6 scoring categories across multiple timeframes with advanced entry timing and risk management.
Key Features
6-Category Scoring System
• Flow: Money flow and volume pressure
• Momentum: RSI, CCI, Rate of Change
• Trend: ADX, EMA alignment, directional movement
• Volatility: ATR-based market conditions
• Structure: Price position relative to key MAs
• Divergence: Price/indicator divergence detection
Multi-Timeframe Analysis
• Automatic TF hierarchy based on chart timeframe
• Entry/Bias/Trend from different timeframes
• Consensus scoring across all active TFs
• HTF confirmation mode (non-repainting)
Entry Engine
• Breakout entries with momentum confirmation
• Pullback entries at support/resistance
• Continuation entries in trending markets
• Counter-trend filter (optional)
• Signal density: Few / Moderate / Many
Diamond Zones
• Pivot-based support/resistance detection
• ATR-padded zone boundaries
• Zone strength scoring
• Visual boxes on chart
Signal Quality Gate
• ATR filter: No trend signals in ranging markets
• Volume filter: No entries on low volume
• Mean-reversion allowed in range markets
Heat Score System
• Setup quality assessment (0-1 scale)
• MTF alignment component
• Signal strength component
• Confluence component
Exhaustion Detection
• RSI extreme zones
• Large range candles (ATR expansion)
• High volume spikes
• Rejection wicks
• Small body candles
Mean Reversion System
• WaveTrend-based signals
• Dynamic overbought/oversold zones
• JMA smoothing for reduced lag
• Signal cooldown management
Risk Management
• ATR-based stop-loss calculation
• Multi-target take-profit levels
• Regime-aware position sizing
• Risk quality grading
Visualization
Matrix Table
• 6 category scores per timeframe
• Total score with color coding
• Setup status and confluence
• Heat score and confidence level
• TF action recommendations
Chart Elements
• JMA gradient fill (trend visualization)
• Diamond zone boxes (S/R levels)
• Signal shapes (triangles)
• Volatility stop lines
• HTF midline
• Pivot labels (S/R markers)
Configuration
Timeframes
• Confirmed HTF bars only (prevents repainting)
• Chart TF priority weight
Entry Engine
• Enable/disable entry types (Breakout/Pullback/Continuation)
• Allow counter-trend entries
• Trend JMA settings
• Volatility stop multiplier
Signal Boost
• RSI extreme boost
• WaveTrend extreme boost
• Strength threshold
Take-Profit
• Modes: Simple / Smart / Conservative / Multi-Target
• ATR multipliers for each level
• Regime-adjusted targets
Visualization
• Matrix table position and mode
• JMA lines and gradient
• Diamond zone boxes
• Pivot labels
• Signal age display
• Bottom area indicator
Mean Reversion
• WaveTrend smoothing lengths
• Zone lookback and multiplier
• Signal cooldown
• Show zones/labels/exits
TradingView Alerts
• Entry Long/Short signals
• Strong/Moderate signal differentiation
• Webhook compatible
Recommended Usage
1. Select chart timeframe (15M-Daily recommended)
2. Watch matrix table for MTF confluence
3. Wait for signal shapes on chart
4. Confirm with Heat Score (>0.5 = quality setup)
5. Check Diamond Zones for S/R context
6. Use ATR-based SL/TP from risk management
Input Groups
• Timeframes: HTF confirmation, chart weight
• Entry Engine: Entry types, density, JMA settings
• Signal Boost: RSI/WT boost settings
• Signal Quality: ATR/Volume thresholds
• Technical: ATR length, SL multiplier
• Take-Profit: Mode, ATR multiples, regime adjustment
• Visualization: Matrix, JMA, zones, labels
• HTF Midline: Mode, resolution, color
• Mean Reversion: WaveTrend settings, zones
• Colors: Bull/bear color scheme
---
Educational purposes only. Not financial advice. Test thoroughly before live trading.
Diagonal Interest Zones ScannerThis indicator automatically scans and plots diagonal (slanted) interest zones – dynamic trend-parallel channels that identify statistically validated support/resistance levels within a trending price structure. It detects the strongest "bounce" zones where price has repeatedly respected slanted lines without breaking for a specified hold period, ideal for trending markets.
How It Works (Technical Methodology)
Trend Channel Detection
The script calculates a linear trend slope from a user-defined anchor point (start of lookback or fixed date) to the current close.
Range is determined by finding the maximum deviation above/below this trend line over the lookback period.
This creates a "channel envelope" capturing the full price oscillation around the trend.
Data can be sourced from current or higher timeframe for structural alignment.
Stable Update Mechanism
To prevent flickering on live bars:
Full recalculation (scanning + slope) occurs only after user-defined "Update Frequency" bars close (default 50).
All calculated values (slope, channel bottom, levels, scores) are "snapshotted" and frozen until next confirmed update.
Drawing uses these stable snapshots, ensuring zones remain fixed during real-time price movement.
Auto Mode Scanning
When enabled:
Scans the channel height in percentage steps (default 1.0%).
Each candidate creates a thin diagonal zone (thickness % of price, default 0.04%) parallel to the trend.
Counts valid "hits": Price touches zone and holds (no break) for user-defined bars (default 10).
Break source: "Close" (strict) or "Wick" (sensitive).
Direction assumed by close relative to zone center (support/resistance).
Level Selection and Filtering
Ranks by hit count, applies minimum distance (% of channel height) to avoid overlap.
Limits to max zones (default 9), sorted low to high.
Manual mode alternative: Directly uses input percentages (e.g., 0, 50, 100 for channel bottom/mid/top).
Diagonal Zone Construction
Zones are drawn as filled diagonal bands using two parallel lines (top/bottom) with linefill.
Thickness is volatility-adjusted (% of current price).
Optional extension far into future or limited projection.
Colors: Supply (above price, default light gray), Demand (below price, default cyan) – updates live but positions stay stable.
Dashboard and Visuals
Table shows current price at each zone (stable during bar), % level, hit count (green if high).
Update countdown displayed for transparency.
How to Use
Perfect for trending markets – identifies dynamic, parallel support/resistance zones that move with price structure.
High hit counts: Strong diagonal zones – expect bounces or acceleration on retest.
Update Frequency: Higher values (100+) for very stable long-term channels; lower for adaptive intraday.
Validation Bars: Increase for stricter zones (fewer false positives).
Multi-Timeframe: Use higher TF input for major trend channels on lower charts.
Supply Zones (Diagonal above price): Dynamic resistance – potential shorts or profit targets.
Demand Zones (Diagonal below price): Dynamic support – potential longs or trailing stops.
Manual Mode: Quick plotting of fixed % (e.g., channel median, quartiles).
Confluence: Combine with horizontal levels, volume, or order flow for entries.
Zones remain visually stable (no repainting during bar) thanks to snapshot logic – reliable for live trading decisions.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
Smart Money Fluid [JOAT]
Smart Money Fluid — Accumulation and Distribution Flow Analysis
Smart Money Fluid tracks institutional-style accumulation and distribution patterns using a sophisticated combination of Money Flow Index, Chaikin Money Flow, and VWAP-relative price analysis. It aims to reveal whether larger participants may be accumulating (buying) or distributing (selling)—information that can precede significant price moves.
What Makes This Indicator Unique
Unlike single money flow indicators, Smart Money Fluid:
Combines three different money flow methodologies into one composite signal
Detects divergences between price and money flow automatically
Identifies high-volume conditions that add conviction to signals
Provides both the composite signal and individual component values
Features a momentum histogram showing flow acceleration
What This Indicator Does
Combines multiple money flow indicators into a composite signal (0-100 scale)
Identifies accumulation zones (potential institutional buying) and distribution zones (potential selling)
Detects divergences between price and money flow
Highlights high-volume conditions for stronger signals
Tracks momentum direction within the flow
Provides comprehensive dashboard with all component values
Composite Calculation Explained
The Smart Money Flow composite combines three proven money flow methodologies:
// Component 1: Money Flow Index (MFI) - 40% weight
// Measures buying/selling pressure using price and volume
float mfi = 100 - (100 / (1 + mfRatio))
// Component 2: Chaikin Money Flow (CMF) - 30% weight
// Measures accumulation/distribution based on close position within range
float cmf = sum(mfVolume, length) / sum(volume, length) * 100
// Component 3: VWAP Price Strength - 30% weight
// Measures price position relative to volume-weighted average price
float priceVsVWAP = (close - vwap) / vwap * 100
// Final Composite (scaled to 0-100)
float rawSMF = (mfi * 0.4 + (cmf + 50) * 0.3 + (50 + priceVsVWAP * 5) * 0.3)
float smf = ta.ema(rawSMF, smoothLength)
State Classification
Accumulating (Green Zone) — SMF above accumulation threshold (default: 60). Suggests institutional buying may be occurring.
Distributing (Red Zone) — SMF below distribution threshold (default: 40). Suggests institutional selling may be occurring.
Neutral (Gray Zone) — SMF between thresholds. No clear accumulation or distribution detected.
Divergence Detection
The indicator automatically detects divergences using pivot analysis:
Bullish Divergence — Price makes a lower low while SMF makes a higher low. This suggests selling pressure is weakening despite lower prices—potential reversal signal.
Bearish Divergence — Price makes a higher high while SMF makes a lower high. This suggests buying pressure is weakening despite higher prices—potential reversal signal.
Divergences are marked with "DIV" labels on the chart.
Visual Features
SMF Line with Glow — Main composite line with gradient coloring and glow effect
Signal Line — Slower EMA of SMF for crossover signals
Flow Momentum Histogram — Shows the difference between SMF and signal line with four-color coding:
- Bright green: Positive and accelerating
- Faded green: Positive but decelerating
- Bright red: Negative and accelerating
- Faded red: Negative but decelerating
Zone Backgrounds — Green tint in accumulation zone, red tint in distribution zone
Reference Lines — Dashed lines at accumulation/distribution thresholds, dotted line at 50
Strong Signal Markers — Triangles appear when accumulation/distribution occurs with high volume
Divergence Labels — "DIV" markers when divergences are detected
Color Scheme
Accumulation Color — Default: #00E676 (bright green)
Distribution Color — Default: #FF5252 (red)
Neutral Color — Default: #9E9E9E (gray)
Gradient Coloring — SMF line transitions smoothly between colors based on value
Dashboard Information
The on-chart table (top-right corner) displays:
Current SMF value with state coloring
State classification (ACCUMULATING, DISTRIBUTING, or NEUTRAL)
Flow momentum direction (Up/Down with magnitude)
MFI component value
CMF component value with directional coloring
Volume status (High or Normal)
Active divergence detection (Bullish, Bearish, or None)
Inputs Overview
Calculation Settings:
Money Flow Length — Period for flow calculations (default: 14, range: 5-50)
Smoothing Length — EMA smoothing period (default: 5, range: 1-20)
Divergence Lookback — Bars for pivot detection in divergence analysis (default: 5, range: 2-20)
Sensitivity:
Accumulation Threshold — Level above which accumulation is detected (default: 60, range: 50-90)
Distribution Threshold — Level below which distribution is detected (default: 40, range: 10-50)
High Volume Multiplier — Multiple of average volume for "high volume" classification (default: 1.5x, range: 1.0-3.0)
Visual Settings:
Accumulation/Distribution/Neutral Colors — Customizable color scheme
Show Flow Histogram — Toggle momentum histogram
Show Divergences — Toggle divergence detection and labels
Show Dashboard — Toggle the information table
Show Zone Background — Toggle colored backgrounds in accumulation/distribution zones
Alerts:
Await Bar Confirmation — Wait for bar close before triggering (recommended)
How to Use It
For Trend Confirmation:
Accumulation during uptrends confirms buying pressure
Distribution during downtrends confirms selling pressure
Divergence between price trend and SMF warns of potential reversal
For Reversal Detection:
Bullish divergence at price lows suggests potential bottom
Bearish divergence at price highs suggests potential top
Strong signals (triangles) with high volume add conviction
For Entry Timing:
Enter longs when SMF crosses into accumulation zone
Enter shorts when SMF crosses into distribution zone
Wait for high volume confirmation for stronger signals
Use divergences as early warning for position management
Alerts Available
SMF Accumulation Started — SMF entered accumulation zone
SMF Distribution Started — SMF entered distribution zone
SMF Strong Accumulation — Accumulation with high volume
SMF Strong Distribution — Distribution with high volume
SMF Bullish Divergence — Bullish divergence detected
SMF Bearish Divergence — Bearish divergence detected
Best Practices
High volume during accumulation/distribution adds significant conviction
Divergences are early warnings—don't trade them alone
Use in conjunction with price action and support/resistance
Works best on liquid markets with reliable volume data
This indicator is provided for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management before making trading decisions.
— Made with passion by officialjackofalltrades
Interest Zones ScannerThis indicator automatically scans a user-defined price range (on current or higher timeframe) to detect and plot the strongest horizontal support/resistance zones based on validated price reactions. It intelligently identifies levels where price has repeatedly bounced without breaking for a specified number of bars, prioritizing high-probability reaction areas.
How It Works (Technical Methodology)
Range Calculation
The script determines the high/low range using a configurable method:
"Lookback Bars": User-defined number of bars (default 400) on the target timeframe.
"Fixed Start Date": Bars since a specified date (default dynamic).
Data is fetched via request.security() from a selectable timeframe (default current chart TF) for multi-timeframe alignment.
Auto Mode Scanning
When enabled:
Scans the entire range in small percentage steps (default 1.0%, adjustable down to 0.5%).
For each potential level, creates a thin volatility-adjusted zone (height % of price, default 0.07%).
Counts "valid hits": Instances where price touches the zone and holds (no break) for user-defined bars (default 10).
Break detection: Configurable "Close" (strict) or "Wick" (sensitive).
Assumes support/resistance direction based on close relative to zone center.
Level Selection and Filtering
Ranks candidates by hit count (highest first).
Applies minimum distance filter (% apart, default 8%) to avoid clustering.
Limits to user-defined max zones (default 9) for clean display.
Sorts final zones from low to high price.
Manual Mode Alternative
When auto disabled: Directly uses user-input percentages (e.g., classic Fibo levels like 23.6, 50, 61.8) applied to the range – no validation/scoring.
Zone Construction
Horizontal boxes centered on validated levels, with dynamic height (% of price).
Colored by position: Supply (above close, default light gray), Demand (below close, default cyan).
Optional full extension (both sides) or right-only.
Labeled with percentage from range low.
Dashboard and Visuals
Table (positionable) shows:
% Level, Exact Price, Hit Count (green if >3).
Header with validation details and lookback info.
Vertical line marks range start for reference.
How to Use
This scanner excels at finding statistically validated horizontal zones where price has shown respect – ideal for support/resistance, mean reversion, or breakout setups.
Auto Mode: Best for discovering hidden/non-obvious levels. Higher hit counts = stronger zones (expect reactions/retests).
Validation Bars: Increase (e.g., 20+) for stricter, higher-quality zones in trending markets; lower for more sensitive detection.
Min Distance: Higher % for fewer, separated zones; lower for denser grids.
Multi-Timeframe: Set target TF higher (e.g., Daily) for major structural levels on lower charts.
Supply Zones (Above Price): Potential resistance – shorts or take-profits.
Demand Zones (Below Price): Potential support – longs or stops below.
Confluence: Combine with volume, order blocks, or fibo for entries. Watch for multiple hits + confluence.
Manual Mode: Quick plotting of custom % (e.g., fibo retracements/extensions).
Fine-tune scan step smaller for precision (slower on large lookbacks) or larger for speed.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
NW Curved Interest ZonesThis indicator automatically scans and plots curved (non-linear) interest zones using Nadaraya-Watson kernel regression smoothing to create a dynamic, adaptive "mean" curve. It then identifies and draws the strongest parallel curved zones where price has repeatedly bounced with statistical validation – perfect for non-linear, organic trending or ranging markets.
How It Works (Technical Methodology)
Curved Mean Calculation
The core curve is generated via Nadaraya-Watson kernel regression (Gaussian weighting):
Smooths closing prices over the lookback period with user-adjustable bandwidth (default 30.0) – higher = smoother/less reactive, lower = tighter fit.
Range methods: "Lookback Bars" (default 400), "Fixed Start Date", or "Entire History".
Channel Envelope Detection
Measures maximum deviations above/below the smoothed curve across the period.
Defines full channel height and base offset for percentage-based zoning.
Stable Update & Anti-Repaint Logic
Full recalculation only after user-defined closed bars (default 50) OR on forced break (if price escapes visible zone envelope).
All data (curve points, slope for projection, levels, scores) snapshotted and frozen until next confirmed update.
Prevents flickering/live-bar repainting while allowing adaptive refresh.
Auto Mode Scanning
When enabled:
Scans channel height in % steps (default 1.0%).
Each candidate creates a thin curved zone parallel to the NW curve (thickness % of price, default 0.01%).
Counts valid "hits": Price touches zone and holds without break for user-defined bars (default 20).
Break source: "Close" (conservative) or "Wick" (sensitive).
Direction inferred from close relative to zone center.
Level Selection
Ranks by hit count, filters close clusters (min distance %), limits to max zones (default 8).
Manual mode: Directly applies user percentages (e.g., 0/50/100 for bottom/median/top).
Curved Zone Construction
Zones drawn as smooth, filled polylines (curved=true) following the kernel regression shape.
Historical section uses exact smoothed points; future projection uses last slope for realistic extension.
Optional long future extension or limited projection.
Dynamic coloring: Supply (above price), Demand (below price).
Dashboard
Table displays current price at each zone (stable during bar), % level, hit count (green when strong).
Update status with countdown or "TRIGGERED!" on force break.
How to Use
Ideal for markets with natural curvature (parabolic moves, rounded bottoms/tops, organic trends).
High hit counts: Proven curved support/resistance – expect strong reactions.
Bandwidth: Higher (50+) for major structural curves; lower (10–20) for shorter-term adaptive zones.
Hold Bars: Increase for stricter validation in noisy assets.
Force Break Update: Keeps zones relevant during strong trends/breakouts.
Supply Zones (Curved above price): Dynamic overhead resistance.
Demand Zones (Curved below price): Dynamic underlying support.
Confluence: Excellent with volume, order blocks, or divergence for entries/exits.
Manual Mode: Quickly overlay classic % (e.g., channel parallels).
Smooth, non-repainting curved zones provide superior visual alignment to real price action compared to linear channels.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
ATR-Normalized VWMA DeviationThis indicator measures how far price deviates from the Volume-Weighted Moving Average ( VWMA ), normalized by market volatility ( ATR ). It identifies significant price reversal points by combining price structure and volatility-adjusted deviation behavior.
The core idea is to use VWMA as a dynamic trend anchor, then measure how far price travels away from it relative to recent volatility . This helps highlight when price has stretched too far and may be due for a reversal or pullback.
How it works:
VWMA deviation is calculated as the difference between price and the VWMA.
That deviation is divided by ATR (Average True Range) to normalize for current volatility.
The script tracks the highest and lowest normalized deviations over the chosen lookback period.
It also tracks price structure (highest/lowest highs/lows) over the same period.
A reversal signal is generated when a historical extreme in deviation aligns with a price structure extreme, and a confirmed reversal candle forms.
You get visual signals and color highlights where these conditions occur.
Settings explained:
Lookback period defines how many bars the script uses to find recent extremes.
ATR length controls how volatility is measured.
VWMA length controls how the volume-weighted moving average is calculated.
Signal filters help refine entries based on price vs deviation behavior.
Display options let you customize how signals and levels appear on the chart.
This indicator is especially useful for spotting potential turning points where price has moved far from VWMA relative to volatility, suggesting possible exhaustion or overextension.
Tips for use:
Combine with broader trend context (higher timeframe support/resistance).
Use with risk management rules (position sizing, stops) — signals are guides, not guaranteed entries.
Adjust lookback and ATR settings based on your trading timeframe and asset volatility.
Pivot Point Zones [JOAT]Pivot Point Zones — Multi-Formula Pivot Levels with ATR Zones
Pivot Point Zones calculates and displays traditional pivot points with five formula options, enhanced with ATR-based zones around each level. This creates more practical trading zones that account for price noise around key levels—because price rarely reacts at exact mathematical levels.
What Makes This Indicator Unique
Unlike basic pivot point indicators, Pivot Point Zones:
Offers five different pivot calculation formulas in one indicator
Creates ATR-based zones around each level for realistic reaction areas
Pulls data from higher timeframes automatically
Displays clean labels with exact price values
Provides a comprehensive dashboard with all levels
What This Indicator Does
Calculates pivot points using Standard, Fibonacci, Camarilla, Woodie, and more formulas
Draws horizontal lines at Pivot, R1-R3, and S1-S3 levels
Creates ATR-based zones around each level for realistic price reaction areas
Displays labels with exact price values
Updates automatically based on higher timeframe closes
Provides fills between zone boundaries for visual clarity
Pivot Formulas Explained
// Standard Pivot - Classic (H+L+C)/3 calculation
pp := (pivotHigh + pivotLow + pivotClose) / 3
r1 := 2 * pp - pivotLow
s1 := 2 * pp - pivotHigh
r2 := pp + pivotRange
s2 := pp - pivotRange
// Fibonacci Pivot - Uses Fib ratios for level spacing
r1 := pp + 0.382 * pivotRange
r2 := pp + 0.618 * pivotRange
r3 := pp + 1.0 * pivotRange
// Camarilla Pivot - Tighter levels for intraday
r1 := pivotClose + pivotRange * 1.1 / 12
r2 := pivotClose + pivotRange * 1.1 / 6
r3 := pivotClose + pivotRange * 1.1 / 4
// Woodie Pivot - Weights current close more heavily
pp := (pivotHigh + pivotLow + 2 * close) / 4
// TD Pivot - Conditional based on open/close relationship
x = pivotClose < pivotOpen ? pivotHigh + 2*pivotLow + pivotClose :
pivotClose > pivotOpen ? 2*pivotHigh + pivotLow + pivotClose :
pivotHigh + pivotLow + 2*pivotClose
pp := x / 4
Formula Characteristics
Standard — Classic pivot calculation. Balanced levels, good for swing trading.
Fibonacci — Uses 0.382, 0.618, and 1.0 ratios. Popular with Fibonacci traders.
Camarilla — Tighter levels derived from range. Excellent for intraday mean-reversion.
Woodie — Weights current close more heavily. More responsive to recent price action.
TD — Conditional calculation based on open/close relationship. Adapts to bar type.
Zone System
Each pivot level includes an ATR-based zone that provides a more realistic area for potential price reactions:
// ATR-based zone width calculation
float atr = ta.atr(atrLength)
float zoneHalf = atr * zoneWidth / 2
// Zone boundaries around each level
zoneUpper = level + zoneHalf
zoneLower = level - zoneHalf
This accounts for market noise and helps avoid false breakout signals at exact level prices.
Visual Features
Pivot Lines — Horizontal lines at each calculated level
Zone Fills — Transparent fills between zone boundaries
Level Labels — Labels showing level name and exact price (e.g., "PP 45123.50")
Color Coding :
- Yellow: Pivot Point (PP)
- Red gradient: Resistance levels (R1, R2, R3) - darker = further from PP
- Green gradient: Support levels (S1, S2, S3) - darker = further from PP
Color Scheme
Pivot Color — Default: #FFEB3B (yellow) — Central pivot point
Resistance Color — Default: #FF5252 (red) — R1, R2, R3 levels
Support Color — Default: #4CAF50 (green) — S1, S2, S3 levels
Zone Transparency — 85-90% transparent fills around levels
Dashboard Information
The on-chart table (bottom-right corner) displays:
Selected pivot type (Standard, Fibonacci, etc.)
R3, R2, R1 resistance levels with exact prices
PP (Pivot Point) highlighted
S1, S2, S3 support levels with exact prices
Inputs Overview
Pivot Settings:
Pivot Type — Formula selection (Standard, Fibonacci, Camarilla, Woodie, TD)
Pivot Timeframe — Higher timeframe for OHLC data (default: D = Daily)
ATR Length — Period for zone width calculation (default: 14)
Zone Width — ATR multiplier for zone size (default: 0.5)
Level Display:
Show Pivot (P) — Toggle central pivot line
Show R1/S1 — Toggle first resistance/support levels
Show R2/S2 — Toggle second resistance/support levels
Show R3/S3 — Toggle third resistance/support levels
Show Zones — Toggle ATR-based zone fills
Show Labels — Toggle price labels at each level
Visual Settings:
Pivot/Resistance/Support Colors — Customizable color scheme
Line Width — Thickness of level lines (default: 2)
Extend Lines Right — Project lines forward on chart
Show Dashboard — Toggle the information table
How to Use It
For Intraday Trading:
Use Daily pivots on intraday charts (15m, 1H)
Pivot point often acts as the day's "fair value" reference
Camarilla levels work well for intraday mean-reversion
R1/S1 are the most commonly tested levels
For Swing Trading:
Use Weekly pivots on daily charts
Standard or Fibonacci formulas work well
R2/S2 and R3/S3 become more relevant
Zone boundaries provide realistic entry/exit areas
For Support/Resistance:
R levels above price act as resistance targets
S levels below price act as support targets
Zone boundaries are more realistic than exact lines
Multiple formula confluence adds significance
Alerts Available
DPZ Cross Above Pivot — Price crosses above central pivot
DPZ Cross Below Pivot — Price crosses below central pivot
DPZ Cross Above R1/R2 — Price breaks resistance levels
DPZ Cross Below S1/S2 — Price breaks support levels
Best Practices
Match pivot timeframe to your trading style (Daily for intraday, Weekly for swing)
Use zones instead of exact levels for more realistic expectations
Camarilla is best for mean-reversion; Standard/Fibonacci for breakouts
Combine with other indicators for confirmation
— Made with passion by officialjackofalltrades
Custom Psych Levels V1.0 Theo SignalDesigned for Index Traders (US30, NAS100, SPX, etc.)
This script is especially effective on indices such as US30, where price reacts strongly to round numbers and psychological zones. By default, levels adapt to index volatility and scale, making them ideal for:
intraday bias
pullback reactions
breakout continuation
mean reversion back to balance
Key Features
Rolling 5-Level Structure: Always centered on current price, no chart clutter.
Market- Aware Magnitude: Automatically adjusts spacing for indices, forex, and crypto.
Higher- Timeframe Anchoring: Optionally anchor levels to 1H, 4H, or Daily closes while trading lower timeframes like 5m.
Session & Daily Resets: Re-anchor levels at New York session open or new trading day.
Center Line Emphasis: Highlight the equilibrium level with custom color, thickness, and style for balance or decision-making.
Clean Professional Display: Only relevant levels near price are shown.
Trading Use Cases
This indicator is best used as a framework, not a signal generator. It excels when combined with:
momentum confirmation
liquidity sweeps
volume expansion
break-and-retest structures
session highs/lows
Traders can use the center line as balance, outer levels as reaction or target zones, and band shifts as confirmation of expanding price acceptance.
Camarilla + CPR + PDH/PDL (Visual Optimized)Camarilla + CPR + PDH/PDL (Visual Optimized)
This indicator is visually optimized and used same open-source camarilla pivot formulae.
// Camarilla
H3 = pc + rng * 1.1 / 4
H4 = pc + rng * 1.1 / 2
H5 = H4 + (H4 - H3)
H6 = H5 + (H5 - H4)
L3 = pc - rng * 1.1 / 4
L4 = pc - rng * 1.1 / 2
L5 = L4 - (L3 - L4)
L6 = L5 - (L4 - L5)
// CPR
pivot = (ph + pl + pc) / 3
bc = (ph + pl) / 2
tc = pivot * 2 - bc
Liquidity Sweeps [Kodexius]Liquidity Sweeps is a price action indicator built to visualize and react to common “stop run” behavior around recent swing highs and swing lows. It continuously detects pivot-based liquidity levels (recent resistance and support), extends them forward in time, and then classifies the interaction when price probes beyond a level but fails to hold through it.
The script focuses on two outcomes:
Buy-Side Liquidity Sweep (BSL): price takes liquidity above a recent swing high (high breaks above the level) but closes back at or below the level.
Sell-Side Liquidity Sweep (SSL): price takes liquidity below a recent swing low (low breaks below the level) but closes back at or above the level.
To support real trading workflows, it keeps charts readable by limiting active levels, offers clean styling options, and optionally filters sweep signals using relative volume (RVOL) so you can require participation before a sweep is considered valid.
🔹 Features
🔸 Pivot-Based Liquidity Level Detection (Swing Highs and Swing Lows)
The indicator uses a user-defined Pivot Length to identify confirmed swing points:
Pivot Highs become resistance liquidity levels (buy-side liquidity above highs).
Pivot Lows become support liquidity levels (sell-side liquidity below lows).
Each detected level is drawn as a horizontal line and automatically extended to the current bar until it is swept or broken.
🔸 Automatic Level Management (De-Cluttering)
To prevent chart overload, the script stores levels in internal arrays and enforces Maximum Active Levels:
When new levels are added and the limit is exceeded, the oldest level is removed.
This keeps only the most relevant, recent liquidity zones visible.
🔸 Clear Sweep Classification (BSL and SSL)
The sweep logic is intentionally strict and practical:
- BSL Sweep triggers when the bar’s high is above resistance but the close is back below or at resistance.
- SSL Sweep triggers when the bar’s low is below support but the close is back above or at support.
This models the “probe and reject” behavior typical of liquidity grabs.
🔸 Optional Volume Confirmation Using RVOL
When Enable Volume Filter is turned on, sweeps are only valid if the current bar’s volume is strong relative to the last 20 bars:
The script computes a 20-period volume average.
You can require volume to exceed the average by a chosen Volume Multiplier (example: 1.5 means 150% of the average).
If the filter is disabled, sweeps are evaluated purely on price conditions.
🔸 Sweep Labels and Level Highlighting
On a valid sweep:
A label is printed on the sweep bar:
- ▼ BSL for buy-side liquidity sweeps (yellow)
- ▲ SSL for sell-side liquidity sweeps (blue)
The swept level is highlighted by drawing an additional colored line over the swept range.
The script also prints the bar’s RVOL percentage near the midpoint of the swept line segment:
- BSL volume text is placed above the line midpoint
- SSL volume text is placed below the line midpoint
This makes it easy to see whether a sweep was low-effort or supported by strong participation.
🔸 Styling Controls
You can fully tailor the visual output:
Resistance and support line colors
Line style selection: Solid, Dotted, Dashed
Toggle sweep labels on or off
🔸 Alerts
The indicator exposes alert conditions for both sweep types and also fires explicit alert messages once per bar close when a sweep is confirmed:
- Buy Liquidity Sweep (BSL)
- Sell Liquidity Sweep (SSL)
🔹 Calculations
1) Pivot High / Pivot Low Detection
float ph = ta.pivothigh(high, pivotPeriodInput, pivotPeriodInput)
float pl = ta.pivotlow(low, pivotPeriodInput, pivotPeriodInput)
Interpretation:
A pivot is only confirmed after pivotPeriodInput bars have passed.
Once confirmed, the level is anchored at the pivot bar and then extended forward.
2) Creating and Storing Liquidity Levels
New Resistance (Pivot High):
if not na(ph)
line newL = line.new(bar_index , ph, bar_index, ph,
color = resistanceColorInput, width = 1, style = getLineStyle(lineStyleInput))
resistanceLevels.push(LiquidityLevel.new(ph, bar_index , newL))
if resistanceLevels.size() > maxLinesInput
(resistanceLevels.shift()).delete()
New Support (Pivot Low):
if not na(pl)
line newL = line.new(bar_index , pl, bar_index, pl,
color = supportColorInput, width = 1, style = getLineStyle(lineStyleInput))
supportLevels.push(LiquidityLevel.new(pl, bar_index , newL))
if supportLevels.size() > maxLinesInput
(supportLevels.shift()).delete()
This enforces the “Maximum Active Levels” limit by deleting the oldest stored level when the cap is exceeded.
3) Relative Volume (RVOL) and Volume Filter
float volAvg = ta.sma(volume, 20)
float volRelative = (volume / volAvg) * 100
bool isVolStrong = not useVolFilterInput or (volume > volAvg * volMultiplierInput)
volRelative expresses the sweep bar’s volume as a percentage of the last 20-bar average.
If the filter is enabled, a sweep is valid only when isVolStrong is true.
4) Sweep Conditions (Core Logic)
Buy-Side Liquidity Sweep (Resistance Sweep)
A resistance level is considered swept when price trades above it but closes back at or below it.
bool priceSwept = high > lvl.price and close <= lvl.price
bool broken = close > lvl.price
priceSwept captures the “probe and reject” behavior.
broken invalidates the level if price closes above it.
The confirmation and cleanup flow:
if priceSwept and isVolStrong
buySweepOccurred := true
if showLabelsInput
label.new(bar_index, high, "▼ BSL",
style = label.style_label_down, color = #00000000,
textcolor = C_SWEEP_BUY, size = size.small)
line.new(lvl.startBar, lvl.price, bar_index, lvl.price, color = C_SWEEP_BUY, width = 1)
int midX = math.round((lvl.startBar + bar_index) / 2)
label.new(midX, lvl.price, str.tostring(volRelative, "#") + "% VOL",
color = #00000000, textcolor = color.new(C_SWEEP_BUY, 20),
style = label.style_label_down, size = size.tiny)
resistanceLevels.remove(i).delete()
else if broken
resistanceLevels.remove(i).delete()
Sell-Side Liquidity Sweep (Support Sweep)
A support level is considered swept when price trades below it but closes back at or above it.
bool priceSwept = low < lvl.price and close >= lvl.price
bool broken = close < lvl.price
The confirmation and cleanup flow:
if priceSwept and isVolStrong
sellSweepOccurred := true
if showLabelsInput
label.new(bar_index, low, "▲ SSL",
style = label.style_label_up, color = #00000000,
textcolor = C_SWEEP_SELL, size = size.small)
line.new(lvl.startBar, lvl.price, bar_index, lvl.price, color = C_SWEEP_SELL, width = 1)
int midX = math.round((lvl.startBar + bar_index) / 2)
label.new(midX, lvl.price, str.tostring(volRelative, "#") + "% VOL",
color = #00000000, textcolor = color.new(C_SWEEP_SELL, 20),
style = label.style_label_up, size = size.tiny)
supportLevels.remove(i).delete()
else if broken
supportLevels.remove(i).delete()
5) Level Extension to Current Bar
method update(LiquidityLevel this) =>
line.set_x2(this.lineObj, bar_index)
This keeps each active liquidity level extended to the current candle until it is swept or decisively broken.
6) Alerts
alertcondition(buySweepOccurred, "Buy Liquidity Sweep", "BSL Swept!")
alertcondition(sellSweepOccurred, "Sell Liquidity Sweep", "SSL Swept!")
if buySweepOccurred
alert("Kodexius BSL Sweep: " + str.tostring(close), alert.freq_once_per_bar_close)
if sellSweepOccurred
alert("Kodexius SSL Sweep: " + str.tostring(close), alert.freq_once_per_bar_close)
Complete G4 | CG4 (DTD)This script was built with the intention of improving day trading capabilities for the Futures market, namely for NQ.
The novelty of the script are the Ghetto Fibonacci Opening Range Retracement (G4) levels themselves and HOW they are calculated, providing Fibonacci pivot projections after the first 1-minute candle of the day. It is believed and understood that some major algorithms establish their positions within the first 30 seconds, defining a traded range for the day. With the help of some familiar Fibonacci levels and some custom ones, we can identify strong potential areas of support and resistance throughout the session. This process is repeated at New York and Globex open to obtain the projected full daily candle range for a futures instrument.
To support trade location context, signal alerts are provided for candles that interact with the lines given certain criteria. Some of the criteria deals with previous data such as high, low, open, and close, relative to the last N candles. An ATR gate is included and adjustable to filter for candle significance as well. The intention is to turn the indicator into a strategy that is used for algorithmic trading.
To make this indicator more of a one-stop-shop, I've also added some other public scripts as optionable toggles, but extremely helpful to build context for trade bias. Both SHLFE ( ) and Order Block ( ) indicators were added, with the Order Block indicator getting a buff that allows users to pick a second timeframe to display recent order blocks.
I do recommend starting with just the G4 lines in the beginning to learn how to read price action around the lines, then adding in the context from the other two indicators:
There will be many updates to come that improves functionality and reliability of the trade signals with improved logic.
Access will be temporary until the end of Q1 2026.
'Then Jesus said, “Come to me, all of you who are weary and carry heavy burdens, and I will give you rest. Take my yoke upon you. Let me teach you, because I am humble and gentle at heart, and you will find rest for your souls. For my yoke is easy to bear, and the burden I give you is light.”'
Matthew 11:28-30
Gap Level Plotter (4H)# Gap Level Plotter (4H) - User Guide
## Overview
This indicator automatically detects and plots 4-hour gap zones on any chart timeframe. Gaps are price discontinuities where one 4H candle's low is above the previous 4H candle's high (gap up) or where one 4H candle's high is below the previous 4H candle's low (gap down). These levels often act as key support/resistance zones.
## Key Features
- **Works on any timeframe**: View 4-hour gaps on 1-minute, 5-minute, 15-minute, daily charts, etc.
- **Visual gap zones**: Displays translucent purple zones (customizable) that extend into the future
- **Configurable lookback**: Choose how many days of history to scan (30, 45, 60, or 90 days)
- **Gap filtering**: Filter out noise by setting minimum gap sizes in points or percentage
- **Clean and simple**: Gaps remain plotted even after being filled, providing historical context
## Settings
### Lookback Days (Default: 45)
Controls how far back in time to search for gaps.
- **Options**: 30, 45, 60, 90 days
- **Use case**: Increase for long-term analysis, decrease for short-term trading
### Zone Color (Default: Purple)
Customize the color of gap zones to match your chart theme or personal preference.
### Filter Method (Default: Points)
Choose how to filter out small/insignificant gaps:
- **None**: Show all gaps regardless of size
- **Points**: Filter by absolute price points (recommended for futures like NQ/ES)
- **Percentage**: Filter by percentage of price (recommended for stocks)
### Minimum Gap Size (Default: 5.0)
The threshold for filtering gaps based on your selected filter method.
**Recommended settings:**
- **NQ futures**: 5-10 points
- **ES futures**: 2-5 points
- **Stocks (percentage)**: 0.25-0.5%
Adjust based on the instrument's volatility and your trading style.
## Best Practices
1. **For futures (NQ/ES)**: Use "Points" filter with 5-10 point minimum
2. **For stocks**: Use "Percentage" filter with 0.25-0.5% minimum
3. **Clean charts**: If too many gaps clutter your view, increase the minimum gap size or reduce lookback days
4. **Multiple timeframes**: The same gaps appear on all chart timeframes - use this to identify key levels across your analysis
## How to Use
1. Add the indicator to your chart
2. Adjust settings based on your instrument and preferences
3. Gap zones automatically update as new 4H candles form
4. Use zones as potential support/resistance levels for entries, exits, or targets
## Notes
- Gaps are plotted when detected and remain visible even after being filled
- The indicator focuses on 4-hour timeframe gaps specifically, as these tend to be significant levels for intraday and swing trading
- Purple zones extend infinitely to the right to show where price might return to fill or test the gap
---
**Enjoy trading with cleaner gap visualization! 📊**
KVS-Trend & Secret Line-SMC-Auto ModDescription: This is a comprehensive all-in-one trading toolkit that combines Smart Money Concepts (SMC), Automated Trend Analysis, and Optimized "Secret" Support/Resistance Levels into a single indicator.
Key Features:
SMC & Price Action: Automatically detects Order Blocks (Bullish/Bearish), BOS (Break of Structure), CHoCH, and Swing Highs/Lows.
Optimized Secret Levels: A sophisticated grid system based on Gann and Fibonacci numbers that plots key fixed price levels and dynamic intra-day zones (with precise ...06 ending logic).
Multi-Timeframe Trends: Draws dynamic trend lines from Monthly down to Micro timeframes.
Extras: Includes Moving Averages, ATH/ATL tracking, and a "Quick Menu" for easy visibility control.
GC Futures on XAU_MJCalculate basis of reference GC plot on XAU. Using first candle of the day as reference and compare to XAU/USD chart, and then plot to current chart.
V-Max L2B: SMC Terrain Map (Institutional Order Flow)🛡️ 【V-Max】L2B: SMC Terrain Map & Institutional Order Flow Engine
Overview V-Max L2B Terrain Map is a professional-grade structural analysis tool based on Smart Money Concepts (SMC). It automatically identifies and projects institutional Supply/Demand zones, Fair Value Gaps (FVG), and Order Blocks (OB), providing traders with a high-fidelity "topographical" view of market liquidity and structural shifts.
Technical Methodology & Originality L2B goes beyond simple price marking by employing a sophisticated object management and tactical filtering engine:
Dynamic Mitigation & Sweeping Engine: The script utilizes a custom SMCBox data structure to track institutional zones in real-time. It features a "Physical Mitigation Detection" system that automatically invalidates zones (marked with ✘) when price action effectively sweeps the liquidity, ensuring traders only focus on fresh, unmitigated levels.
Auto-Gap Space Filter (R:R Safeguard): This original logic ensures trade quality by calculating the struct_gap between local highs and lows. It requires a minimum gap of at least 1.5x ATR before validating "War God" tactical signals, preventing entries into low-probability "Choke Zones".
Tactical "War God" Decision Logic: Unlike static indicators, L2B integrates a decision-making layer based on EMA10 proximity and structural buffers. It identifies "Tactical Entry Points" only when price action resonance occurs at optimized structural coordinates.
Institutional Flow Visualization: The engine renders BoS (Break of Structure) and CHoCH (Change of Character) markers with precision timing, allowing traders to visualize the transition between bearish and bullish market environments instantly.
How to Use
Zone Confluence: Identify high-probability setups when the "War God" tactical labels align with unmitigated Order Blocks (OB).
Trend Transitions: Monitor "🛡️ Retreat" labels for early warnings of structural failure and trend reversal.
產品概述 V-Max L2B SMC 撐阻地形圖是一款基於聰明錢概念 (SMC) 的專業級結構分析工具。它自動識別並投影機構級的供應/需求區、失衡缺口 (FVG) 與訂單塊 (OB),為交易者提供市場流動性與結構轉變的高清晰度「地形」視野。
技術邏輯與原創性 L2B 的核心價值在於其精密的物件管理與戰術過濾引擎:
動態失效與清掃引擎:採用自定義 SMCBox 數據結構,具備「物理失效檢測」系統。當價格有效清掃流動性時,系統會自動標註失效 (✘),確保交易者僅關注最新且未被觸碰的有效區間。
自動空間過濾器 (盈虧比防護):內建原創邏輯,計算局部高低點間的 struct_gap。只有當空間超過 1.5 倍 ATR 時,系統才會允許發射戰神指令,有效避開無利潤空間的「窒息區」。
戰神決策邏輯:整合基於 EMA10 趨向與結構緩衝區的決策層,僅在價格行為與結構座標產生共振時標註「戰術進場點」。
This is an Invite-only indicator for V-Max professional members. To obtain authorization, please provide your TradingView ID to: 👉 Telegram: @VMax_Helper_bot
Disclaimer: This script is for technical analysis reference only. Always practice strict risk management.
LForex_UAE Gold levels digital levels were gold usually reacts by breakinging the levels highlighted in the charet
ORB + ADR Reversal ZonesThe purpose of this indicator is to use ranges as a trading system for analyzing intraday price action. The Opening Range and Average Daily Range can be used in tandem to identify breakout and reversal opportunities.
The Opening Range is the range of prices that the stock trades in during the first 15 to 30 minutes or hour of the trading day. Once the Opening Range is established, the following scenarios are to be considered:
If the price breaks above the range= a potential long position.
If the price breaks below the range= a potential short position.
If the price trades without breaking neither the high nor low, this can mean intraday consolidation.
ADR Zones are calculated as the difference between daily highs and lows averaged over some period, typically 5 or 10 days. ADR Zones can be used for entries and exits, whether price breaks through them or reverses after testing them. On this indicator, the ADR is calculated from the Opening Range.
Use cases:
A break above or below both the ORB and ADR very early in a trading day signifies a "high momentum breakout" in which asset price moves beyond average trading magnitudes.
A test of ADR Zones can signal reversal points intraday (typically after the Opening Range has been established).
This indicator plots only the Average Daily Range of the current day.
ORB Profit Targets
Static dashed profit targets are plotted as multiples of the Opening Range:
Target 1: 0.5 × OR range
Target 2: 1.0 × OR range
Target 3: 1.25 × OR range
Targets extend cleanly through the NY session and reset daily.
This indicator is provided for educational purposes only and does not constitute financial advice.
Always manage risk appropriately and confirm setups with your own trading plan.
Volume Smart Support & Resistance Levels Indicator Overview
Volume Stronghold Finder is a next-generation volume-based support and resistance indicator that moves beyond simple price-level plotting. It intelligently identifies high-density volume clusters and evaluates their strength to pinpoint the most significant support and resistance zones in any market. By combining multi-timeframe volume analysis with adaptive market state detection, it provides dynamic, context-aware key levels that evolve with market conditions.
Core Innovation: From Static Lines to Dynamic Zones
Traditional support/resistance tools draw fixed lines based on price extremes or moving averages. Volume Stronghold Finder revolutionizes this approach by:
Volume-Based Zone Identification:
Detects Points of Control (POC), Value Area High (VAH), and Value Area Low (VAL) from higher timeframe volume profiles
Automatically clusters nearby POCs into cohesive “stronghold” zones using adaptive thresholds
Differentiates between random price touches and genuine volume-backed levels
Intelligent Stronghold Scoring System:
Cluster Density: How many POCs form the zone (scale 0–50)
Volume Concentration: Relative volume accumulation within the zone (scale 0–50)
Time Relevance: Recency and persistence of the zone (scale 0–15)
Market State Adjustment: Zones are re-evaluated in real-time based on current volatility (Low/Ranging/High)
Adaptive Market-State Logic:
Low Volatility Markets: Uses tighter clustering thresholds to identify precise, narrow zones
High Volatility Markets: Employs wider thresholds and ATR-adjusted buffers to filter out noise
Trending vs. Ranging: Adjusts confirmation logic between trend-following (SMA) and mean-reversion (ATR) approaches
Key Features
🎯 Smart Zone Detection: Automatically groups nearby volume peaks into meaningful support/resistance zones instead of scattered lines
📊 Strength Scoring: Each zone is scored 0–100—focus only on high-score “strongholds” (e.g., >70)
📈 Market-State Adaptive: Zone significance and width adjust dynamically to current volatility
📍 Nearest-Zone Tracking: Continuously monitors the closest stronghold above and below price for potential reactions
⚡ Breakout/Breakdown Alerts: Flags when price moves beyond the highest or lowest historical stronghold
🎨 Visual Clarity: High-score zones are highlighted with bold backgrounds; lower-score zones are subtle
How It Works – A Practical Example
The indicator analyzes volume distribution from a higher timeframe (e.g., 1-hour) to find POC/VAH/VAL levels
It clusters nearby levels (within an adaptive threshold) into a single “Volume Stronghold”
Each stronghold receives a score—e.g., a zone with 3 POCs, high relative volume, and recent formation may score 85/100
As price approaches a stronghold, the indicator calculates:
Distance to the zone in ATR terms
Whether the zone has been tested recently
Likelihood of reaction based on zone score and market state
Strategic Applications
Support/Resistance Trading: Enter near high-score strongholds with confirming price action
Breakout Confirmation: A break above a 90+ score stronghold signals a stronger trend shift
Risk Management: Place stops beyond high-score zones—they’re more likely to hold or repel price
Market Context: Understand whether price is inside a congestion zone (between strongholds) or in a clean trend
Parameter Groups
Volume Profile Settings: Pivot length, profile rows, value area percentage
Stronghold Detection: Clustering sensitivity, history length, minimum score display
Market State Settings: ATR, Bollinger Band, momentum parameters for regime detection
Visual Controls: Zone colors, line styles, score-based filtering
Volume Profile Lite [JOAT]
Volume Profile Lite — Simplified Volume-at-Price Analysis
Volume Profile Lite creates a histogram showing volume distribution across price levels using a proprietary lightweight calculation method. It identifies the Point of Control (POC), Value Area High, and Value Area Low—key concepts from auction market theory—in an optimized, easy-to-read format that won't slow down your charts.
Why This Script is Protected
This script is published as closed-source to protect the proprietary volume distribution algorithm and the optimized Value Area calculation methodology from unauthorized republishing. The specific implementation of volume allocation across price rows, the buy/sell volume separation logic, and the efficient POC detection system represents original work that provides a unique lightweight alternative to standard volume profile implementations.
What Makes This Indicator Unique
Unlike heavy volume profile indicators that can slow down charts, Volume Profile Lite:
Uses an optimized algorithm designed for performance
Separates buying and selling volume for additional insight
Provides clean visual presentation without chart clutter
Includes extending reference lines for key levels
Features a dashboard with price position relative to POC
What This Indicator Does
Distributes volume across price rows to create a visual profile histogram
Identifies the Point of Control (highest volume price level)
Calculates Value Area (where specified percentage of volume traded)
Separates buying and selling volume for each price level
Extends key levels as reference lines on the chart
Highlights the POC row with a distinct border
Core Methodology
The indicator uses a proprietary approach to volume-at-price analysis:
Price Row Division — The lookback range is divided into configurable price rows (default: 24 rows)
Volume Distribution — Each bar's volume is allocated to the price rows it touches. If a bar spans multiple rows, volume is distributed proportionally.
Buy/Sell Separation — Volume is classified based on bar direction (close >= open = buying volume, close < open = selling volume)
POC Detection — The row with maximum accumulated volume is identified as the Point of Control
Value Area Calculation — Starting from POC, expands outward (alternating up and down) until target volume percentage is captured
Key Concepts Explained
Point of Control (POC) — The price level with the highest volume concentration. Often acts as a magnet for price and represents "fair value" for the analyzed period. Price tends to return to POC.
Value Area High (VAH) — Upper boundary of the value area zone. Acts as resistance when price is below, support when price is above.
Value Area Low (VAL) — Lower boundary of the value area zone. Acts as support when price is above, resistance when price is below.
Value Area — Price range containing specified percentage (default 70%) of total volume. This is where most trading activity occurred.
Visual Features
Volume Histogram — Horizontal bars showing volume at each price level
Buy/Sell Coloring — Green portions show buying volume, red shows selling volume
POC Highlight — The POC row has a distinct orange border and fill
POC Line — Horizontal line extending from POC (optional extension to right)
Value Area Lines — Dashed blue lines at VAH and VAL
Value Area Fill — Subtle blue fill between VAH and VAL
Color Scheme
Up Volume Color — Default: #26A69A (teal) — Buying volume
Down Volume Color — Default: #EF5350 (red) — Selling volume
POC Color — Default: #FF9800 (orange) — Point of Control
Value Area Color — Default: #2196F3 (blue) — VAH/VAL lines and fill
Dashboard Information
The on-chart table (bottom-right corner) displays:
POC price level
Value Area High price level
Value Area Low price level
Current price position relative to POC (ABOVE POC, BELOW POC, or AT POC)
Distance from current price to POC as percentage
Inputs Overview
Calculation Settings:
Lookback Period — Number of bars to analyze (default: 100, range: 20-500)
Number of Rows — Price level divisions for the profile (default: 24, range: 10-50)
Value Area % — Percentage of volume for value area calculation (default: 70%, range: 50-90%)
Visual Settings:
Up/Down Volume Colors — Customizable buy/sell colors
POC Color — Point of Control highlighting
Value Area Color — VAH/VAL line and fill color
Profile Width — Visual width of histogram in bars (default: 30, range: 10-100)
Show POC Line — Toggle POC horizontal line
Show Value Area — Toggle VAH/VAL lines and fill
Show Dashboard — Toggle the information table
Extend Lines — Project POC and VA lines further right
How to Use It
For Support/Resistance:
Use POC as a potential support/resistance reference point
Price often gravitates back to POC (mean reversion)
VAH acts as resistance when approaching from below
VAL acts as support when approaching from above
For Trend Analysis:
Price above POC suggests bullish control
Price below POC suggests bearish control
Breaking out of Value Area often leads to trending moves
Returning to Value Area suggests failed breakout
For Entry/Exit:
Enter longs near VAL with stops below
Enter shorts near VAH with stops above
Target POC for mean-reversion trades
Use POC as a trailing stop reference in trends
Alerts Available
VPL Cross Above POC — Price crosses above Point of Control
VPL Cross Below POC — Price crosses below Point of Control
VPL Cross Above VAH — Price breaks above Value Area High
VPL Cross Below VAL — Price breaks below Value Area Low
Best Practices
Use longer lookback periods for more significant levels
Increase row count for more precise level identification
POC from higher timeframes is more significant
Combine with other indicators for confirmation
This indicator is provided for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management before making trading decisions.
— Made with passion by officialjackofalltrades
Price Action ICT SMC - Crypto Lidya (Lite)Price Action • ICT • SMC — Crypto Lidya (Lite)
Short title: PA Lite — Crypto Lidya
ONE CHART. ONE FLOW. TEXTBOOK PA + ICT + SMC.
This is not “more drawings”. It’s a structured, rule-based framework that merges:
Market Structure + Liquidity + Confirmation → into a single decision flow.
Core textbook sequence:
Liquidity → (IDM) → Displacement → CHoCH / BOS → Return to PD / OB / FVG / BPR
Built for traders who want clean context, multi-timeframe discipline, and professional-grade confluence
without turning the chart into a mess.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT YOU GET (HIGHLIGHTS)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Market Structure engine: CHoCH + BOS with configurable confirmation logic
- Liquidity context: EQH/EQL sweeps + deterministic “linking” to structure breaks
- HTF Bias (Regime Filter): optional direction gating for cleaner, textbook alignment
- TF Bias Table (Multi-TF dashboard): “at-a-glance” bias stacking with reasons
- PD Range (Premium/Discount): dealing-range alignment filter (OB / FVG or both)
- Displacement filter: impulse-quality confirmation (Body% / ATR / Close-position)
- Killzones / Sessions: time-window validation (London / NY AM / NY PM)
- FVG + BPR: imbalance mapping + balanced range overlap logic
- OB / BB engine: source models, refinement, quality filters, strength scoring, overlap pruning
- Alerts + Webhook-ready output: Human / JSON format, HTF gate, cooldown controls
“Structure + Liquidity + Confirmation in one workflow (no clutter).”
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
QUICK START (RECOMMENDED FLOW)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1) Performance
- Set Lookback Window (bars) to match your chart speed/history needs.
- View when “Lookback Window (bars)” is increased (with “Limit to Nearest” OFF / all zones visible).
- View when “Lookback Window (bars)” is decreased (with “Limit to Nearest” OFF / all zones visible).
2) Regime & Multi-TF Context (ICT)
- Enable HTF Bias if you want direction filtering.
- Use TF Bias Table to verify alignment across your chosen timeframes.
3) Timing Filter (Optional)
- Enable Killzones / Sessions to focus on high-liquidity delivery windows.
4) Confirmation Quality
- Enable Displacement filter to reduce range noise / weak breaks.
5) Structure Execution (SMC)
- Use CHoCH / BOS for the “break confirmation” layer.
- Use Buffers / Confirm Modes for stricter or faster validation.
6) Zones & Returns
- Use PD Range to validate where setups “should” form (Premium/Discount).
- Map FVG / BPR and OB / BB for return-to-zone models.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MODULES (TEXTBOOK EXPLANATION)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1) HTF BIAS (REGIME FILTER)
HTF Bias acts as your directional framework (macro context).
When enabled, signals can be suppressed if they conflict with the HTF direction.
Two professional ways to define bias (you choose via Trend Mode):
A) Swing Structure Bias (HH/HL – LH/LL) — “stable”
- Uptrend requires HH + HL confirmation
- Downtrend requires LL + LH confirmation
- Best when you want fewer, higher-quality flips
B) Legacy / Break of Extreme — “faster”
- Bias can flip as soon as a new pivot breaks the last major extreme
- Best for aggressive / fast markets (but can be noisier)
2) TF BIAS TABLE (MULTI-TIMEFRAME DASHBOARD)
The TF Bias Table is built for disciplined multi-timeframe execution:
- Answers “Are higher TFs aligned?” in seconds
- Helps you avoid taking LTF triggers against HTF context
- Can show reasoning text (optional) to keep the logic transparent
Bias calculation options (Table Bias Mode):
- Swing Structure Bias (HH/HL – LH/LL): more stable, flips later
- Structure-Scope Bias (msStructScope aligned): follows your chosen structure scope and flips faster
Hybrid rule is deterministic:
External dominates; if External is not ready, fallback to Internal.
Provisional Bias (UI only, optional):
- If pivots are not fully confirmed, the table can display a provisional bias based on HTF candle direction
- UI only (does not change signals)
3) PD RANGE (PREMIUM / DISCOUNT)
PD Range defines where price is “dealing” relative to its midpoint (50%):
- Bullish context → Discount is preferred
- Bearish context → Premium is preferred
You can apply PD filtering to:
- OB + FVG (default), OB only, or FVG only
Optional strict mode:
- Require the level/zone to remain fully inside the dealing range (more textbook)
“Discount buys / Premium sells with a clear dealing range reference.”
4) DISPLACEMENT (IMPULSE CONFIRMATION)
Displacement filter keeps breaks “honest”.
CHoCH/BOS confirms only if the break candle shows real intent:
- Body dominance (Body% rule)
- Volatility expansion (ATR multiple rule)
- Close position in break direction (optional strictness)
This is designed to reduce fake breaks in ranges and thin-liquidity periods.
“Impulse-quality break passes; weak range poke fails.”
5) KILLZONES / SESSIONS (TIME-WINDOW VALIDATION)
Session gating is a professional timing filter:
- Validate structure breaks/sweeps only inside enabled windows
- Focus execution during high-liquidity delivery hours (London / NY AM / NY PM)
“Cleaner signals when you trade only the active delivery windows.”
- Normal vs Killzone:
6) MARKET STRUCTURE (CHoCH / BOS)
CHoCH (Change of Character):
- Signals a character shift by breaking a key protected point (optionally)
BOS (Break of Structure):
- Confirms continuation breaks in the current structure direction
Confirmation controls:
- Close / Wick / Body / combined modes
- Optional buffers (Ticks or Percent) to reduce micro-noise
Optional Protected Swing Mode:
- Uses protected HL/LH as reference (closer to classic SMC)
7) LIQUIDITY (EQH/EQL SWEEPS + LINKING)
Liquidity sweeps identify stop-runs / grabs around equal highs/lows:
- Wick Only: faster tagging
- Wick + Close Back: more textbook (grab + rejection)
Link Window (bars) ties a sweep to the next CHoCH/BOS:
- Smaller window = stricter context
- Larger window = more permissive linking
8) FVG + BPR (IMBALANCE & REBALANCE)
FVG (Fair Value Gap):
- Shows active imbalances and mitigation behavior
- Optional size filter (Percent / ATR / Ticks / Absolute)
BPR (Balanced Price Range):
- Overlap zone formed by Bull FVG + Bear FVG
- Used as a confluence zone for rebalance and continuation models
9) OB / BB (ZONES)
Order Blocks (OB):
- Anchored to BOS/CHoCH breaks or derived from displacement candles (source mode)
- Refinement modes: Body / Wick / Mean Threshold
- Optional quality filter (Balanced / Strict, etc.)
- Strength scoring + confluence bonuses (FVG overlap, liquidity context)
- Overlap pruning keeps the chart clean and relevant
Breaker Blocks (BB):
- Derived from invalidated OBs
- Can show inherited strength % (optional)
- Cleanup options preserve performance without deleting open zones
10) ALERTS (REALTIME / WEBHOOK)
- Enable Alerts: master switch
- Choose Human or JSON message format
- Optional gates: HTF Bias alignment, cooldown (anti-spam)
TradingView setup tip:
Use alert condition = “Any alert() function call” for full detail messages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LITE / COMMUNITY ROADMAP (IMPORTANT)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is the free Lite / Community release.
To keep this project sustainable and continue improving it for the community:
- This Lite edition is planned to become limited to 3 symbols in a future update (e.g., BTC / ETH / SOL).
- The full, unrestricted version (all symbols + advanced upgrades) will be released separately as the PRO edition.
You’ll always see clear release notes before major changes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Educational / analytical tool only. Not financial advice.
- No guarantees. Always manage risk.
- “ICT / SMC” terminology is used as a category reference to commonly known concepts.
This script is not affiliated with any third-party educator or brand.
Adaptive Scaled LevelsThis indicator allows users to manually define a list of price levels (e.g., round or psychological numbers) and automatically scales them to fit any asset's current price range using an intelligent anchor point. It then plots dynamic horizontal zones ideal for identifying potential supply/demand or reaction areas.
How It Works (Technical Methodology)
Manual Price List Input
Users enter a comma-separated list of price levels via a text area input (default example: 50,100,...,1400). These act as a "template" grid – often round numbers, psychological levels, or custom targets.
Auto-Scaling Logic (Core Innovation)
When enabled:
Calculates the average of the input list.
Determines a smart anchor price:
Default (Lock = 0): Close price of the highest-volume bar in the last user-defined lookback period (default 200 bars), fetched from a selectable timeframe (default Daily) via request.security().
Override: User can manually lock the anchor to any fixed price.
Computes a scale factor = Anchor / List Average.
Multiplies every input level by this factor to adapt the entire grid to the current market (e.g., scales low-price templates to BTC's 60k+ range).
Zone Construction
For each scaled level:
Creates a horizontal box centered on the level.
Height = Level × user-defined percentage (default 0.5%) for volatility-adjusted thickness.
Zones extend infinitely to the right for continuous reference.
Supply/Demand Coloring
Levels above current close: Supply color (default light gray) – potential resistance/overhead supply.
Levels below current close: Demand color (default cyan) – potential support/underlying demand.
Visual Elements
Transparent filled boxes with borders.
Optional labels showing "S" (Supply) or "D" (Demand) plus exact price.
Clean, non-cluttering design – redraws only on last bar for performance.
How to Use
This tool is perfect for plotting adaptive psychological/round number grids across any asset without manual adjustment.
Common Template: Use evenly spaced round numbers (e.g., 100 increments) as input – the script handles scaling.
BTC/ETH/Crypto: Enable auto-scaling with Daily timeframe anchor for high-volume alignment (often near fair value).
Forex/Stocks: Lower zone height % for tighter zones; use shorter lookback or lock anchor for stability.
Trading Applications:
Anticipate reactions/bounces at scaled levels (confluence with price action, volume, or order blocks).
Supply zones (above price): Potential short entries or take-profit targets.
Demand zones (below price): Potential long entries or stop-loss placement below.
Override anchor for specific analysis (e.g., lock to all-time high).
Best Practices: Combine with trend direction, higher-timeframe structure, or liquidity concepts for higher-probability setups.
Highly versatile – works on any timeframe/asset, especially volatile ones like cryptocurrencies where fixed levels quickly become irrelevant.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.






















