Automatic Trendline [Metrify]Metrify Automatic Trendlines is an auto-drawing support/resistance channel built around pivot clustering + scoring, not “connect two perfect points”. The script continuously collects swing pivots (high/low) over a configurable lookback window, then searches for the best single support line and the best single resistance line that behave like a human-drawn trendline: multiple interactions, controlled slope, limited break-throughs, and (most importantly) still relevant to the current price. (configurable in "Max Relevance Distance" input)
The fundamental problem with algorithmic trendlines is subjectivity. To solve this mathematically, we treat trendlines as a statistical regression problem with specific constraints. We do not use linear regression on all candles, instead, we use a brute-force iterative approach on specific "Pivot Points."
The logic operates on a simple premise: Generate every possible line between past swing points, validate them against price history, score them based on fit, and render only the winner.
The Calculation Engine (f_find_best_line)
This function contains the primary computational load. It performs a nested loop operation:
Outer Loop (newer): Iterates through recent pivots.
Inner Loop (older): Iterates through older pivots to form a candidate line segment.
For every pair of pivots (P1,P2), we calculate the slope (m) and the y-intercept concept. This gives us a tentative trendline equation:
y=mx+c
The Scoring Matrix
We assign a score to each candidate line based on weighted heuristics:
Touch Count (touches * 2.8): The primary driver. More touches = higher statistical significance.
Recency (recency * 1.2): Lines originating closer to the current price action are weighted higher.
Tightness (avgErr): We calculate the average distance of all touches from the line. A "tighter" fit (lower error) increases the score.
Penalties:
violations * 2.2: False breaks heavily penalize the score.
barBreakRatio * 2.0: If the line cuts through candle bodies (even if pivots are fine).
The line with the highest localBest score is returned as the dominant trendline.
What you can use it for?
This is a structure visualizer that tries to keep a clean, current S/R channel on screen with volatility-aware rules. It’s not a signal generator, it doesn’t predict breakouts, and it won’t always draw something, if the market is messy and no line survives the filters, it will show none instead of hallucinating geometry. If you need more lines (multiple concurrent channels), that’s a different design tradeoff (and usually becomes clutter + false confidence fast). Indicator

Volume Profile S/R Zones (Peaks)Volume Profile S/R Zones (Peaks) is a volume-profile based support/resistance tool that converts significant volume nodes into tradable zones, then ranks them by how consistently price respected them over the selected lookback.
The script builds a rolling Volume Profile over a user-defined window (default 81 days) using a fixed number of price bins (default 33 rows). For each price bin it accumulates:
Total volume traded inside that price region
Bullish volume (lower-timeframe bars that close above open)
Bearish volume (implied as total − bullish)
The profile is plotted on the left side of the chart. All profile elements and zones are intentionally forced to a single clean style: white at 20% opacity (labels keep the chart’s default text color styling).
What it detects
1) High Volume Nodes (Peaks)
The script scans the profile rows and detects local maxima (HVNs). To prevent noisy “micro peaks,” a peak must pass two quality filters:
Relative-to-Max filter: peak volume must be at least a % of the largest node’s volume
Prominence filter: peak volume must exceed the average of nearby nodes by a minimum ratio
These filters remove weak nodes and keep only meaningful price areas where the market traded heavily.
2) Optional Low Volume Nodes (Troughs / LVNs)
When enabled, the script also detects local minima (LVNs). LVNs can behave like “barrier” areas where price rejects or moves quickly through.
Zones instead of lines
Each detected node becomes a zone, not a single price line.
Zone center = middle of the profile row
Zone thickness is adaptive:
Zone Half-Width = max(price bin size, ATR × fraction)
This makes zones robust to volatility and reduces “false breaks” caused by small wicks.
Zone merging (reduces clutter)
Nodes close to each other are merged into a single zone if their centers are within:
Merge Distance = ATR × fraction
The merged zone center becomes volume-weighted, so stronger nodes dominate.
Reliability scoring (the core feature)
Every zone is scored by replaying price interaction over the lookback window:
Events
Touch: candle range intersects the zone
Valid rejection: touch + close exits the zone in the expected direction
Confirmed break: close outside the zone, confirmed by:
distance beyond the zone (ATR-based), or
a minimum number of consecutive closes outside
Scoring
Touch adds points
Rejection adds more points
Confirmed break subtracts points
A decay factor is applied each bar so older interactions matter less than recent ones
This produces a practical ranking: zones that get repeatedly respected score high; zones that fail score low.
What you see on the chart
Left-side Volume Profile (white 20% opacity)
Top N strongest zones (ranked by score), drawn as horizontal bands across the chart
Right-side price labels showing each zone’s center price
Label tooltip includes:
zone center price
reliability score
current “role” (support-side vs resistance-side)
polarity bias (bull/bear/neutral based on volume delta)
Inputs and how to tune
Volume Profile
Profile Lookback (Days): defines market memory (short = tactical, long = structural)
Rows: resolution of price bins (higher = more detailed, lower = smoother)
Profile Width: visual width of the profile histogram
POC mode: optional regular or developing POC line
Zones
Top N Zones: limits clutter by plotting only the strongest zones
ATR Length / Zone Half-Width: controls how wide zones are
Prominence / Relative-to-Max: controls strictness of peak detection
Merge Distance: merges nearby zones into one
Scoring
Touch / Rejection / Break points
Decay factor (higher = longer memory)
Break confirmation settings (ATR distance + consecutive closes)
How to use (practical framework)
This indicator is designed to treat volume nodes as acceptance/rejection areas, not perfect lines:
Focus on high-score zones (they have the most recent evidence of being respected)
Use zones as:
potential accumulation/defense areas (support-side)
potential supply/ceiling areas (resistance-side)
Break confirmation is ATR-based to reduce false breakdowns/breakouts
For investing, many users run two instances:
long lookback (e.g., 252 days) for macro zones
shorter lookback (e.g., 81 days) for tactical entries
Notes / Limitations
The script is a historical structure tool, not a predictor.
Zones can shift gradually as the rolling lookback window updates.
Different assets (high volatility vs low volatility) may require different row counts and filter strictness.
License / Credits
Based on LuxAlgo’s Volume Profile foundation and heavily modified to add zone construction, merging, and reliability scoring.
Licensed under CC BY-NC-SA 4.0 (Attribution–NonCommercial–ShareAlike). Indicator

HTF Candle Projections [LuxAlgo]The HTF Candle Projections indicator projects recent and current higher timeframe candles onto the right side of the chart, providing a clear visualization of macro trends and internal candle composition.
🔶 USAGE
The tool is designed to bridge the gap between lower timeframe execution and higher timeframe context. By projecting HTF candles into the future space (right of the current bar), traders can maintain a clear perspective on the larger trend without constantly switching tabs.
🔹 HTF Trend Alignment
Traders can use the projected candles to ensure their lower timeframe (LTF) entries align with the broader market direction. For instance, a scalp trader might only look for long setups if the current projected Daily candle is bullish. This "Top-Down" filter helps traders avoid "fighting the trend" by providing a constant visual reminder of the HTF candle's polarity and momentum.
🔹 Anticipating Reversals & Level Origins
The indicator includes connection lines that trace back from the projected HTF wicks to the exact LTF bars that established the High and Low of that period. This allows traders to pinpoint the specific price action or "order block" responsible for the HTF extrema. If price returns to the origin of an HTF wick, traders can watch for a reaction, as these levels often represent areas of significant supply or demand.
🔹 Internal Sentiment Divergence
A unique feature of this script is the "Internal Sentiment Bars." These small bars inside the HTF candle body show the ratio of bullish vs. bearish LTF bars that make up that specific HTF candle.
If a bullish HTF candle has a high bearish sentiment bar, it suggests a "weak" or "grinding" trend where sellers are actively fighting the move, potentially signaling exhaustion.
Conversely, if the sentiment bars align strongly with the HTF candle direction (e.g., a bullish candle with almost entirely bullish sentiment), it indicates a high-conviction "power move" with little resistance.
🔹 Range Play & Breakouts
The indicator highlights the absolute highest high and lowest low of the entire projected sequence with solid connection lines. These lines define the current HTF trading range. Traders can use these boundaries to identify mean reversion opportunities within the range or to prepare for high-probability breakout trades once price moves beyond these absolute levels.
🔹 Visualizing Wick Development
By observing the live development of the current HTF candle, traders can see "wicking" behavior as it happens. If the current price is far from the HTF high but the connection line remains anchored there, it visually confirms a rejection from that level. This real-time feedback is crucial for identifying if an HTF candle is closing as a "Pin Bar" or "Shooting Star" before the timeframe actually expires.
🔶 DETAILS
The script uses a custom data structure to track the Open, High, Low, and Close of the selected timeframe. It also tracks the specific bar index of the highs and lows to draw the connection lines accurately. The absolute high and low of the entire projected sequence are highlighted with solid lines to identify the "Range High" and "Range Low" of the projected window.
🔶 SETTINGS
HTF Timeframe: Sets the higher timeframe to be projected (e.g., Daily, Weekly, Monthly).
Candle Width (Bars): Determines how many bars wide each projected candle appears on the right side of the chart.
Gap Between Candles: Sets the horizontal spacing between the projected HTF candles.
Number of HTF Candles: The total number of candles to project (previous completed candles + current live candle).
Show Internal Sentiment Bars: Toggles the visibility of the internal bull/bear composition bars.
🔹 Colors
HTF Bull/Bear Body: Adjusts the colors and transparency of the main projected candle bodies.
Sentiment Bull/Bear: Sets the color for the internal composition bars (ratio of LTF closes).
Wick Color: Customizes the color of the projected candle wicks.
Connection Line: Sets the color for the dotted lines connecting HTF wicks to their LTF origins.
Absolute High/Low Connection: Sets the color for the solid lines marking the highest and lowest points of the projected set.
Indicator

TDL Adaptive Session Zones Pro🔷 What This Indicator Does
TDL Adaptive Session Zones Pro maps high-probability reaction areas where price is statistically more likely to pause, reverse, or accelerate — based on real historical session data, not arbitrary levels.
Unlike static support and resistance tools, these zones automatically adapt to changing market volatility every session. When volatility contracts, zones tighten. When it expands, zones widen. The result is a dynamic framework that reflects how the market is actually behaving right now.
This indicator is built for intraday traders who want structure and context — not signals.
🔷 Core Components
1️⃣ Adaptive Percentile Zones (Session-Based S/R)
The engine of this indicator. It works by:
• Collecting historical intraday session ranges over a configurable lookback period (default 20 sessions)
• Calculating percentile distances (25th, 50th, 75th, 100th by default) from that data
• Projecting those distances symmetrically above and below the current session open
• Resetting and recalculating every session automatically
🟩 Lower zones → Statistically derived support reaction areas
🟥 Upper zones → Statistically derived resistance reaction areas
Outer zones (higher percentile) represent more extreme price extensions and carry greater significance when tested. Inner zones represent typical intraday range behavior.
The key insight: instead of drawing arbitrary lines, these zones tell you where price has historically found the edges of its range — adjusted for current conditions.
2️⃣ Strike / Round Number Levels (Liquidity Reference)
Plots round-number price levels at configurable intervals (50, 100, etc.) from the session open. These levels frequently act as liquidity concentration areas in index futures and options markets.
• Configurable interval spacing
• Min/Max distance controls
• Optional mid-strike gap levels (dotted)
• Session-bounded display
Useful for NQ, ES, and index derivatives where options strike prices create natural liquidity clusters.
3️⃣ Previous Day OHLC Reference
Plots Previous Day Open, High, Low, and Close as intraday reference levels — widely observed by both retail and institutional participants.
• All four levels with distinct color coding
• Configurable line style (solid, dashed, dotted)
• Clean labels for quick identification
4️⃣ Opening Range Breakout (ORB)
Captures the high and low of the first N minutes of the session (configurable: 5 to 60 minutes). The opening range provides useful context when combined with the adaptive percentile zones.
• Configurable time window
• Filled range visualization
• Session-bounded display
🔷 Optional Validation Filters
All filters are off by default and designed to help observe cleaner price behavior near important zones.
🔹 Candle Structure Validation
Filters out candles with excessive range (ATR multiple), small bodies (body/range %), or extreme wick imbalance. Helps isolate price action reflecting healthy market participation near key levels.
🔹 Rejection Wick Detection
Identifies candles with significant wick-to-body ratios (hammer-type structure), independent of candle color. Useful for spotting potential rejection behavior when price interacts with zone boundaries.
🔹 Volume Participation Filter
Highlights periods where volume exceeds the average by a configurable multiplier. Includes a confirmation window (number of bars following the spike) to allow for delayed reaction observation.
🔹 Daily Pivot
Classic pivot point (H+L+C)/3 plotted as a session-fixed reference level for additional market structure context.
🔹 Higher Timeframe Trend
Background color overlay based on a configurable HTF moving average. Supports SMA, EMA, WMA, and VWMA. Provides directional context without enforcing bias on the intraday analysis.
🔷 Confluence Highlight System
When price arrives near any key zone (percentile, strike, OHLC, ORB, or pivot) AND all enabled validation filters align on the same candle, that candle is highlighted in yellow.
⚠️ The yellow highlight is NOT a buy or sell signal. It indicates that price behavior appears structurally meaningful at an important market location based on your selected filter combination.
Three alertcondition() calls are included: Bullish confluence, Bearish confluence, and Any confluence — ready for PulseWire alerts.
🔷 Session Volatility Gauge
Real-time dashboard (table overlay) showing what percentage of the median daily range has been consumed in the current session.
States:
• LOW (< 40%) — Session range is compressed relative to history
• BUILDING (40-70%) — Range is developing, room for expansion
• HEALTHY (70-100%) — Normal range consumption
• EXTENDED (> 100%) — Session exceeds typical range, potential exhaustion
This helps gauge whether the session still has room to move or is approaching statistical limits.
🔷 Zone Touch Tracker
Counts fresh touches on each percentile zone during the current session. A "touch" is registered when price enters a zone's proximity after being outside it. More touches on a zone suggest greater significance.
Displayed as a table overlay with per-zone counts for both resistance and support zones. Resets automatically each session.
🔷 Recommended Settings
NQ / ES Futures (5m–15m):
• Session: 0930-1600, Timezone: America/New_York
• Percentiles: 25 / 50 / 75 / 100 (default)
• Strike Interval: 100
• ORB: 15 minutes
Stocks (5m–15m):
• Strike Interval: 5 or 10
• Consider tightening percentiles (20 / 45 / 65 / 85) for lower-volatility names
Gold Futures (5m):
• Strike Interval: 10 or 25
• Adjust session window to your active trading hours
🔷 How To Use
1. Apply to an intraday chart (1m to 15m recommended)
2. Observe where price interacts with the adaptive percentile zones
3. Optionally enable one or more validation filters to highlight structurally clean candles at key zones
4. Use the Session Volatility Gauge to assess how much range has been consumed
5. Enable the Zone Touch Tracker to identify high-significance levels
6. Apply your own analysis, execution method, and risk management
This is a context and structure tool. It shows you WHERE you are within the session's statistical range — the trading decisions are yours.
🔷 Technical Notes
• Works on any intraday timeframe; designed for 1m to 15m
• Requires sufficient historical data for percentile calculations (minimum ~5 sessions)
• Session detection works correctly with extended hours both on and off
• All zone levels are session-bounded and reset automatically
• Open source — inspect, learn from, or adapt the code as you see fit
⚠️ Disclaimer
This script is provided for educational and informational purposes only. It does not generate buy or sell signals and does not constitute financial advice. Past performance of any trading methodology is not indicative of future results. Always apply independent analysis and proper risk management.
Indicator

Std Dev Zones MTFStd Dev Zones MTF Key Features Overview
• ⭐ Built using ADR10 (Average Daily Range) logic to measure volatility-based standard deviation zones from timeframe open.
• ⚙️ ADR10 STD DEV Zones Pine v6 — MTF support for Daily, H4, H8, H12 timeframes for multi-timeframe volatility analysis.
• 📦 Dynamic zones calculated from period open (Daily/H4/H8/H12) using average range = clean, objective volatility structure.
• 📊 ±0.5 SD zones = neutral territory — price within normal range from open.
• 📈 +0.75 SD & +1.0 SD = OVERBOUGHT zones — price extended above normal range, potential exhaustion or reversal area.
• 📉 -0.75 SD & -1.0 SD = OVERSOLD zones — price extended below normal range, potential exhaustion or reversal area.
• 🔥 +1.25 SD = MAX OVERBOUGHT — extreme extension above open, highest volatility threshold for exits/profit-taking.
• 🧊 -1.25 SD = MAX OVERSOLD — extreme extension below open, highest volatility threshold for exits/profit-taking.
• 🧠 Adjustable zone thickness (% of ADR10) so zones scale with market volatility — perfect for Gold, Forex, Crypto swings.
• 🎨 Color-coded zones with large labels inside each zone for instant visual clarity — no interpretation lag.
• 🧭 Zones extend throughout the trading period so you can track price behavior relative to volatility bands.
• 🟩🟪 Dual color system for upper/lower zones + descriptive labels - zero confusion on market extension.
• 🧼 Clean overlay display: zones + open line = actionable, minimal, fast volatility assessment.
• ⭐ Apply to your M15/M30/H1/H4 PulseWire chart — your volatility roadmap for Gold, FX, Crypto, Indices.
• 🚀 Use for exit planning & take-profit levels at overbought/oversold extremes — NOT for standalone entry signals.
• 📦 Enable/Disable individual zone levels (±0.5, ±0.75, ±1.0, ±1.25) to customize your chart view.
• 📦 Too cluttered? Adjust "Periods to Show" or increase zone thickness % from settings.
• 🎯 How to use this? Monitor price behavior at overbought/oversold zones for potential reversals or continuations. Use Max Overbought/Oversold levels for aggressive profit-taking. Combine with your entry system for complete trade management.
• ⚠️ IMPORTANT NOTICE: This indicator is designed to measure market volatility and identify potential exit/take-profit zones. It should NOT be used as a standalone signal for entering trades. Use it in conjunction with your trading strategy to assess overbought/oversold conditions and plan exits.
NQ
GBPUSD
BTCUSD
Indicator

Indicator

BTC Liquidation Heatmap | Multi-ExchangeBTC Liquidation Heatmap | Multi-Exchange
🔍 This heatmap pulls volume data from Binance, Coinbase, and Bitstamp simultaneously to show you where the real liquidation clusters are sitting. Instead of guessing where stops might get hit, you get actual volume-weighted zones with a strength score that tells you which levels matter.
The zones change color based on how much volume is stacked at each level. Bright colors mean heavy liquidation potential, faded colors mean weak spots. Each label shows the volume size, a strength rating out of 10, and how far away it is from current price in percentage terms.
Works best on 4H/D1 timeframes for Bitcoin. The default settings are tuned for day trading but you can dial them up or down depending on your style.
⚙️Drop it on your BTCUSD chart and you'll see colored boxes above and below price. Purple zones are short liquidations (above price), teal zones are long liquidations (below price). The thermometer on the right shows you the intensity scale.
Labels show three things: volume amount, strength ranking, and distance from current price. A level showing "1.45B ||| Strength 8/10 ||| 2.34%" means there's 1.45 billion in volume weight, it's an 8 out of 10 in terms of strength, and it's 2.34% away from where you are now.
The strength ranking is calculated using a proprietary algorithm that weighs multiple factors. Higher numbers mean more likely to cause a reaction when price gets there.
Settings You Actually Need to Know
📊 Lookback Bars: How far back to scan for levels. Default is 1000 bars which gives you plenty of context without cluttering the chart.
Pivot Width: Higher numbers = fewer but stronger levels. Start with 5, bump it to 8-10 if you're getting too much noise.
Min Level Weight: Filter out weak levels by raising this number. If your chart looks messy, start increasing it by 100M increments until it cleans up.
Label Size: Set to Normal by default. Switch to Large if you're on a big monitor or Small if you want a cleaner look.
How to Use It
🎯 Look for clusters of high-strength levels (8-10 rating) near current price. Those are your magnets. Price tends to get pulled toward them because that's where the liquidity is sitting. When you see a 10/10 level a few percent away, that's your target or your invalidation point depending on which side you're trading.
If price breaks through a strong level with momentum, it usually means the liquidations got triggered and you're looking at a real move. Weak levels (1-4 rating) are more likely to get ignored.
The distance percentage helps you figure out if a level is even worth watching. A 10/10 level that's 15% away might not matter for your intraday trade, but a 6/10 level that's only 0.5% away definitely does.
Exchange Toggles
🔄 You can turn off any of the three exchanges if you want. All three are on by default because more data = better picture. But if you only care about Binance and Coinbase, just uncheck Bitstamp in the settings. The volume recalculates automatically.
What to Ignore
Don't trade every level you see. Focus on the ones with 6/10 strength or higher that are within 5% of current price. Everything else is just context. And if a level gets hit (price crosses through it), it'll fade out so you know it's done.
The thermometer on the right is just a reference. You don't need to stare at it, but it helps when you're trying to figure out if a level is relatively strong or weak compared to everything else on screen.
Indicator

Indicator

Multi-Timeframe Order BlocksDesigned to identify and visualize key supply and demand zones based on order block theory across multiple timeframes. The indicator detects order blocks by analyzing sequential candle patterns and price movement thresholds to highlight potential reversal or continuation zones where institutional buying or selling activity may have occurred.
The indicator works by scanning for clusters of consecutive bullish or bearish candles followed by a significant price move, which signals the formation of an order block. It then plots these zones as colored boxes on the chart—green for demand (bullish order blocks) and red for supply (bearish order blocks). The zones can be based on candle bodies or wicks, depending on user preference, and the indicator supports multi-timeframe analysis by allowing optional higher timeframe inputs.
How It Works:
Sequential Candle Detection: The indicator looks for a specified number of consecutive bullish or bearish candles (configurable by the user) to identify potential order blocks.
Price Movement Threshold: It checks if the price movement after the order block formation exceeds a user-defined percentage threshold, ensuring only significant zones are marked.
Zone Plotting: Once an order block is confirmed, the indicator draws a supply or demand zone as a box on the chart, using either candle bodies or wicks for zone boundaries.
Multi-Timeframe Support: Users can optionally specify higher timeframes to incorporate broader market context, enhancing the reliability of the zones.
Zone Management: The indicator limits the number of zones displayed to avoid clutter, automatically removing the oldest zones when the maximum count is exceeded.
How to Interpret:
Demand Zones (Green Boxes): These represent areas where buying pressure was strong enough to create a bullish order block. Price often finds support here, making these zones potential entry points for long trades or areas to watch for price bounces.
Supply Zones (Red Boxes): These indicate areas of strong selling pressure forming bearish order blocks. Price may face resistance in these zones, which can be used as potential exit points for longs or entry points for shorts.
Multi-Timeframe Confirmation: Zones identified on higher timeframes tend to be stronger and more reliable. Use the optional higher timeframe inputs to align your trades with broader market trends.
Use with Other Indicators: Combine order block zones with volume, momentum, or trend indicators to improve trade confirmation and risk management.
Zone Breaks: A decisive break and close beyond a supply or demand zone may signal a shift in market sentiment and potential trend continuation or reversal.
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice. Trading involves significant risk, and it is possible to lose more than your initial investment. Users should conduct their own research and consider their financial situation carefully before making any trading decisions. The developer and publisher of this indicator are not responsible for any trading losses or damages incurred. Always use proper risk management and consult with a licensed financial advisor if needed. Indicator

ICC Market Structure and Phase TrackingICC Market Structure and Phase Tracker
ICC Market Structure and Phase Tracker is a visual market-structure indicator based on the Indication → Correction → Continuation (ICC) framework — a structured approach to analyzing break-of-structure, pullback, consolidation, and trend-continuation phases.
The script focuses on identifying structural phases, key levels, and phase transitions across multiple timeframes, providing clear contextual market structure information.
What the Indicator Identifies
The indicator tracks complete market-structure cycles by classifying price action into the following phases:
Indication — initial structural break or trend initiation
Correction — pullback, retracement, or consolidation following the break
Continuation — expansion or impulse in the direction of structure
Neutral / No Setup — periods without valid structural conditions Each phase is visually distinguished on the chart for fast, at-a-glance structural awareness.
CORE FEATURES
Market Structure & Phase Tracking
Automatic detection of structural breaks, corrections, consolidations, and continuations
Background shading to clearly distinguish phases
Invalidation logic to identify failed or broken structures Multi-Timeframe Context
Optional higher-timeframe (HTF) structure displayed on lower-timeframe charts
HTF indication levels shown as reference lines
HTF phase and context displayed in the information table Structure Event Visualization
Visual markers for continuation and optional reversal structures
Clear visual separation between trend-aligned and counter-structure events
Reversal structure visualization can be enabled or disabled in settings Volatility-Aware Structure Zones
Structure-based support and resistance zones
Optional ATR-based zone sizing that adapts to market volatility
Configurable historical zones (0–3) with visual hierarchy Information Table
Displays current ICC phase, indication level, consolidation status, and HTF context
Designed for quick reference without relying solely on chart visuals Alerts
Alerts trigger only when corresponding visual conditions appear on the chart
Includes alerts for ICC phases, continuation structures, and optional reversals Configuration Overview
Auto Profiles for different trading contexts (Scalping, Intraday, Swing, Entry)
Manual controls for swing length, consolidation behavior, and volatility settings
Higher-timeframe controls for filtering and visual alignment
Reversal toggle to enable or disable counter-structure visualization Default settings are intended as reasonable starting points and can be adjusted for different instruments and timeframes.
Intended Use
This script is designed as a market-structure and contextual analysis tool.
Users are expected to apply their own analysis, validation, and risk management when interpreting the displayed structure.
Feedback
Bug reports, edge cases, and constructive feedback are welcome.
The project is actively refined with a focus on structure clarity, phase accuracy, and multi-timeframe usability. Indicator

Ripster EMA Clouds with MTFCredits & Origins:
This script is a modification of the widely popular EMA Clouds system originally created by @Ripster47. Full credit goes to him for the strategy and original concept. This version simply adds a quality-of-life feature for traders who use multi-timeframe analysis.
What is this Indicator?
The Ripster EMA Clouds system uses overlapping Exponential Moving Averages (EMAs) to visualize trends, momentum, and dynamic support/resistance zones. The "clouds" differ in color to indicate bullish or bearish trends, acting as a visual guide for keeping you on the right side of the trade.
What is New in This Version? (MTF Capability)
The standard version of this indicator calculates EMAs based on your current chart timeframe. If you switch from a 10-minute chart to a 1-minute chart, the clouds change completely.
I have added a "Fixed Timeframe" variable/input that allows you to "lock" the clouds to a specific timeframe, regardless of what chart you are viewing.
Why is this useful? This allows for true Multi-Timeframe (MTF) scalping.
Example: You can set the clouds to look at the 10-minute trend (identifying major support levels) but execute your entries on a 1-minute chart.
The clouds will remain locked to the 10-minute data, giving you the "big picture" view while you trade the micro-movements.
How to Use
Open the indicator settings.
Go to the Inputs tab.
Find the "Fixed Timeframe" option at the top.
Leave Empty (Default): The indicator behaves exactly like the original (adjusts to your chart).
Select a Timeframe (e.g., 10 Minutes): The clouds will lock to the 10-minute EMAs, even if you switch your chart to 1-minute or 5-seconds.
Note on Visuals When viewing Higher Timeframe (HTF) clouds on a Lower Timeframe (LTF) chart, the clouds will appear to have a "stepped" or "ladder-like" appearance. This is normal and accurate. It represents the single EMA value holding constant for that entire higher-timeframe period. This helps you see the true support level rather than a smoothed, repainted line. Indicator

Hooke's Law: Market ElasticityHooke's Law: Market Elasticity is a physics-based mean reversion system that models price action using the principles of Classical Mechanics.
Most technical indicators treat the market as a purely statistical entity. This script takes a different approach, treating the market as a physical object with Mass (Volume) and Stiffness (Volatility) . By adapting Hooke’s Law of Elasticity (𝐹=−𝑘𝑋), it visualizes the "Tensile Stress" between price and its equilibrium, identifying the exact moment when a trend becomes unsustainable and must "snap back."
The Physics of Trading
In physics, Hooke's Law states that the force needed to extend a spring is proportional to the distance it is stretched. We map this to financial markets using four key components:
Equilibrium (𝑋=0): The "Resting State" of the market, calculated using a Volume-Weighted Moving Average (VWMA) . This represents the fair value where buyers and sellers agree.
2. Displacement (𝑋): The distance price travels away from this equilibrium.
3. Spring Constant (𝑘): We use Volatility (Standard Deviation) to measure the market's "stiffness."
• Low Volatility: The spring is loose; price can wander far without snapping.
• High Volatility: The spring is stiff; even small deviations create massive tension.
4. Force (𝐹): The calculation is weighted by Relative Volume . A price spike on low volume has low force (easy to reverse), while a spike on high volume carries high momentum (harder to reverse).
Visual Guide & Signals
The indicator uses a hierarchy of visuals to guide you through the trade lifecycle:
1. The Elastic Ribbon (Heatmap)
Connects Price to the Baseline. As the ribbon turns Solid White , the market has reached its Elastic Limit (Critical Zone). This is your warning that a move is overextended.
2. The "Golden" Labels (LONG / SHORT)
These are your Entry Signals . They appear only when the physics "snap" is confirmed by an internal momentum filter and price action.
3. The Small Circles (Minor Reversions)
These dots represent "Minor Snaps." They occur when the elastic tension releases, but the momentum filter hasn't fully confirmed a major reversal.
• Usage: These are excellent Early Warning signs or Scale-In points for aggressive traders.
Strategy: Entries, Exits & Take Profits
This script is designed as a complete system. Here is how to manage the trade using the visual cues:
• Entry: Wait for a LONG or SHORT label to appear.
• Stop Loss: Use the Solid White Line that appears automatically with the signal. If price touches this line, the physics setup has failed—exit immediately.
• Take Profit 1 (The Equilibrium): The Gray Baseline represents the market's center of gravity. In mean reversion trading, price tends to snap back to this line. This is the statistically highest-probability target.
• Take Profit 2 (The Circles): If you are in a trade and a Circle appears in the opposite direction, it indicates the market is experiencing counter-tension. This is an ideal place to secure partial profits or trail your stop.
Settings & Configuration
• Baseline Length (Default: 34): The lookback period for the Center of Gravity.
• Elasticity Limit (Default: 2.618): The Golden Ratio is used as the standard deviation threshold for the "Critical Zone."
• Volume Weighting (Default: True): Recommended. Adds the "Mass" component to the physics calculation.
• Stop Loss Buffer (Default: 0.5): The distance (in Sigma) for the Stop Loss placement.
Risk Disclaimer
Not Financial Advice: This indicator is designed for educational and analytical purposes only. It visualizes market data based on mathematical formulas (Hooke's Law and Statistical Deviation) and does not guarantee future performance or profits.
Market Risks: Financial trading involves significant risk. The "Critical Zones" and "Signals" generated by this script identify statistical extremes, but markets can remain irrational or overextended for long periods ("Plastic Deformation").
Usage: Do not trade blindly based on these signals. Always use this tool in conjunction with your own analysis, risk management, and stop-losses. The author assumes no responsibility for any trading losses incurred while using this script.
Indicator

Flexible S/R Channels🟩 Flexible S/R Channels is a visualization tool that draws curved support and resistance boundaries through user-defined anchor points. Unlike traditional trendlines and channels that force linear interpretation onto price action, this indicator captures the curved structures that markets frequently form—rounded tops and bottoms, parabolic advances and declines, arcing rallies and pullbacks. Three anchor points per curve define the shape; the indicator fits a smooth mathematical curve through these points and projects it forward. The approach is simple: draw what you see. Curved market structure that resists precise definition with traditional tools can now be rendered with mathematical accuracy.
The indicator bridges the gap between static drawing tools and programmable indicators. PulseWire's arc tool draws curves but produces only visual pixels with no analytical value. Flexible S/R Channels creates live data series that integrate with other analysis tools. Four curve-fitting methods—Quadratic, Quadratic-Linear, Weighted Linear, and Natural Cubic Spline—accommodate different market structures. The curved levels naturally lend themselves to breakout and reversion strategies—applications left to the trader's discretion. The open-source code invites experimentation and customization.
💡 THEORY AND CONCEPT 💡
Traders have long relied on horizontal levels and diagonal trendlines to define support and resistance. Linear tools assume constant slope—a property rarely exhibited by actual market movement. When momentum accelerates or decelerates, price trajectories curve rather than hold to fixed angles. The resulting structures—parabolic advances during expansion phases, arcing pullbacks during consolidation, rounded formations at reversal points—represent changes in the rate of change itself. Traditional drawing tools cannot accommodate this variable geometry without sacrificing mathematical precision..
Flexible S/R Channels extends familiar support and resistance concepts into curved space. The approach is simple: draw what you see. When the eye recognizes a curved boundary in price action, this indicator provides the means to define it precisely. Three anchor points per curve—an initial point, an intermediate point, and a recent point—are all that is required. The indicator fits a smooth mathematical curve through these points and extends it forward as a projection.
This indicator represents a blend of human pattern recognition and algorithmic precision. Fully automated indicators make decisions without user input—efficient but detached from trader discretion. Manual drawing tools rely entirely on freehand skill—expressive but imprecise. Flexible S/R Channels occupies the middle ground. The trader identifies the curved structure; the algorithm renders it mathematically. The result is human insight expressed with computational accuracy—for traders who recognize curved structure in price action but lack precise tools to define it.
This projection is not a prediction. It is a visual hypothesis—a structured way of asking "if this trajectory continues, where would price be?" The underlying assumption is simple: like Newton's first law of motion, a trajectory in motion tends to continue unless acted upon by an external force. Future price action validates or invalidates the projection, just as it does with any trendline or channel.
PulseWire offers an arc drawing tool for freehand curved lines, but these are purely visual—static pixels on a screen with no programmable value. Flexible S/R Channels bridges this gap. The fitted curves exist as data series that can generate alerts, trigger signals, and interact with other analysis tools. The visual drawing becomes operational structure.
🔁 CURVE METHODS 🔁
The indicator offers four curve-calculation methods, each producing different shapes suited to different market structures:
Quadratic — Fits a parabolic arc through the three anchor points. Best for smooth, continuous curves such as rounded tops and bottoms. It captures the natural "swing" of the market, assuming the momentum will maintain its current rate of acceleration or deceleration.
Quadratic-Linear — Uses a parabolic curve through the anchor points, then transitions to a straight line after the final anchor. Useful when curved structure gives way to linear trend continuation. This is the "bridge" between a turning market and a steady, directed move, preventing the projection from curving back on itself when the price begins to run.
Weighted Linear — Connects anchor points with straight line segments rather than a smooth curve. Suited for angular market structures with distinct inflection points. It treats the market as a series of rigid shifts, providing a clear "corridor" when the price is bouncing between sharp, diagonal levels.
Natural Cubic Spline — Produces the smoothest curve by minimizing abrupt directional changes. Ideal for organic, flowing market movements. It acts as a flexible spine that adapts to complex transitions without the rigid constraints of a fixed geometric shape.
Quadratic Fitting : A smooth, parabolic arc defines a curved resistance boundary. By fitting a mathematical path through three anchor points, the curve captures rounded structures and arcing price action that traditional linear trendlines fail to represent.
Weighted Linear Fitting : This method produces an angular, segmented path by connecting anchor points with distinct linear slopes. Unlike the continuous smoothness of a quadratic arc, the weighted linear approach creates a more jointed geometry, allowing for a precise match to market structures that exhibit sharp, localized changes in trajectory.
Natural Cubic Spline Fitting : This method creates a highly fluid, elastic curve that can accommodate complex price oscillations. In this instance, the curves define a narrowing range as support and resistance converge, highlighting the volatility compression that often precedes a significant breakout or breakdown from established structures.
🖱️ HOW IT WORKS 🖱️
1️⃣ Initial Setup
Unlike traditional indicators that calculate values automatically from price data, Flexible S/R Channels requires user-defined anchor points. This is intentional. The trader's eye is the pattern recognition engine—no algorithm can see the curved structure that experience and intuition reveal. The indicator waits for this input, then applies mathematical precision to render what the trader has identified.
The Recognition of Natural Structure : Effective analysis begins when a curved rhythm becomes visible within price action that traditional trendlines cannot satisfy. Identifying the specific swing highs and swing lows that define these boundaries is the first step in organizing a chart. By isolating three key pivots for resistance and three for support, the underlying framework of the market's trajectory is established, providing the necessary coordinates to accurately map the path.
Interactive Setup Workflow : Upon loading, the indicator prompts for the sequential selection of six points—three swing highs and three swing lows—to serve as the raw data for the calculation. While the chart remains blank during this initial phase, the curves generate instantly once the final anchor is confirmed. These points are not permanent; they appear as interactive grips that can be dragged in real time to refine the boundaries as the market structure evolves.
The indicator prompts for six sequential selections—three for resistance, three for support. The first three selections define the resistance boundary; the final three define support. This sequential grouping is distinct from zigzag-style selection patterns. Within each group, clicking order is flexible—the algorithm automatically sorts points chronologically, allowing traders to select visually prominent pivots in whatever sequence feels natural.
Structural Anchor Identification : Identifying three key swing highs and three key swing lows provides the foundation for the dual-curve geometry. These specific structural peaks and troughs serve as the coordinates for the mathematical models, ensuring that the resulting boundaries accurately reflect the underlying skeleton of the market action.
2️⃣ Interactive Adjustment
After the initial setup, all six anchor points are fully adjustable:
Points are automatically sorted chronologically regardless of selection order
Grip handles appear at each anchor location
Any point can be repositioned by clicking and dragging its grip handle
The curves recalculate instantly as points are adjusted
The algorithm produces a mathematically perfect curve based on the anchor points provided. If the result does not match the trader's vision, adjustments are immediate. This iterative refinement—see, adjust, refine—continues until the rendered curve represents what the trader sees in the price action. The user remains in control; the algorithm remains in service.
Interactive Channel Boundaries : Six user-defined anchor points—three for resistance and three for support —establish a non-linear range that moves beyond the constraints of a flat, horizontal channel. This configuration captures the arcing trajectory of the market while showing price action respecting the curved boundaries in a classic reversion pattern. By manually positioning these anchors, a dynamic dimension is added to the chart that maintains structural integrity even as the price follows a rounded path.
🛠️ SETTINGS 🛠️
Customizable Visual Feedback : Beyond the core geometry, the visualization offers various user-defined settings to tailor the chart's information density. From identifying specific price targets to toggling structural labels, these options allow the trader to adjust the level of detail to suit their personal analysis style while maintaining a clear view of the non-linear boundaries.
Configuration Options
Curve Method — Select the curve-fitting algorithm: Quadratic, Quadratic-Linear, Weighted Linear, or Natural Cubic Spline.
Projection Length — Number of bars to project the curves beyond current price action. Projections appear as dashed lines.
Visual Settings
Grip Size — Size of the draggable handles displayed at each anchor point. Set to zero to hide grips entirely.
Line Width — Thickness of the support and resistance curves.
Support Color / Resistance Color — Color settings for each curve.
Show Info Table — Toggle display of the info table showing the current curve method in the chart corner.
Advanced: Time/Price Coordinates
The settings panel includes precise time and price values for each of the six anchor points, grouped under Resistance Time/Price and Support Time/Price. These values are populated automatically when points are selected on the chart.
Adjusting anchor points by dragging the grip handles directly on the chart is faster and more intuitive. The time/price fields are available for situations requiring exact coordinate entry—such as aligning an anchor to a specific candle timestamp or a precise price level. These fields can be safely ignored unless fine-tuning is necessary.
🖼️ CHART EXAMPLES 🖼️
The Flexible S/R Channels indicator adapts to diverse market structures across multiple timeframes and instruments. Curved boundaries can define subtle momentum shifts in near-linear trends, dramatic reversals in rounding formations, or volatility compression as channels converge toward breakout points. The four curve-fitting methods accommodate different geometries—smooth parabolic arcs for continuous momentum changes, segmented linear paths for angular structures, and elastic splines for complex oscillations. Each anchor point adjustment instantly recalculates the curves, allowing iterative refinement until the rendered boundaries align with the trader's interpretation of market structure. Forward projections extend these mathematical relationships into future territory, providing visual context for hypothetical support and resistance levels if current trajectories persist.
Subtle Curve Alignment : Even in structures that appear linear, subtle curvature allows the channel boundaries to breathe with the market’s internal momentum. By utilizing three anchor points rather than two, the channel adapts to the slight acceleration of a trend, providing a more precise fit than a rigid, straight corridor.
Decelerating Momentum and Convergence : This classic rounding structure illustrates a transition where the initial wide oscillations between highs and lows begin to contract. As the boundaries converge, the curve captures the diminishing volatility and the shift in market energy, providing a clear visual representation of a trend losing its expansive momentum as it approaches a potential turning point.
Organic Trend Modeling : In an accelerating uptrend, the Natural Cubic Spline provides a highly adaptable boundary that mirrors the organic flow of momentum. This non-traditional approach allows the channel to follow complex price pulses that a standard linear trendline would likely cut through, maintaining a precise fit even as the angle of the trend shifts over time.
Non-Linear Projections : Unlike standard trendlines that converge at a fixed rate, curved projections adapt to the historical momentum of the move. This allows the indicator to map a dynamic squeeze, capturing the subtle nuances of how price action tightens toward an apex. It provides a more sophisticated view of future convergence points that traditional linear channels often fail to anticipate.
The "Draw What You See" Philosophy : Market structures are rarely perfect, and this example highlights the indicator’s ability to map unconventional rhythms. Rather than forcing price into a predefined category, the tool remains flexible enough to define any structural path the trader identifies. If you can see a trend's trajectory, the indicator can provide the mathematical framework to support it.
Comparative Projection Modeling : Using identical anchor points as above, this example demonstrates how selecting a different calculation method can alter the projected path. While the historical fit remains precise, the variation in the forward-looking trajectory allows traders to explore multiple mathematical interpretations of the same market structure, choosing the model that best aligns with the current volatility and trend behavior.
Extended Timeframe Channel Definition : This multi-year perspective demonstrates the indicator's ability to define curved channel boundaries across extended timeframes spanning hundreds of bars and multiple market cycles. The resistance curve captures the rounded distribution of swing highs while the support curve follows the accelerating base formation, creating a non-linear channel that frames long-term structural trends more precisely than traditional parallel channels or static trendlines.
Rounding Bottom Reversal and Channel Convergence : This example captures a classic rounding bottom formation—a reversal pattern that linear tools cannot adequately define. The Quadratic method produces a smooth parabolic arc through the resistance anchors, tracing the deceleration of the downtrend, the capitulation low, and the subsequent re-acceleration upward as a single continuous curve. The support boundary mirrors this momentum shift from below, creating a curved channel that narrows toward current price. This convergence represents structural compression—the boundaries tightening as volatility contracts and directional resolution approaches. Price action oscillates within these non-linear boundaries, demonstrating that channel behavior persists even when the geometry is curved rather than parallel. The projection extends both curves forward, mapping the hypothetical trajectory if the current momentum structure continues, providing visual context for potential breakout or breakdown levels as the channel reaches its apex.
Built-in Precision vs. Algorithmic Power : While PulseWire offers basic curve drawing tools (shown here as dashed lines), the Flexible S/R Channels indicator elevates this concept into a functional analytical framework. By converting manual observations into mathematical models, it moves beyond mere drawing to provide a data-driven structure that can be utilized for advanced technical analysis and future Pine Script trading logic.
⚙️ TECHNICAL DETAILS ⚙️
Curve Fitting vs. Overfitting: The term curve fitting often carries negative connotations in quantitative analysis due to its association with overfitting—the practice of adjusting a model until it perfectly matches historical data, producing an illusion of accuracy that fails when applied to new data. The application here is fundamentally different. Flexible S/R Channels does not optimize parameters to maximize historical fit; it constructs a mathematical curve through user-selected anchor points, then projects that curve into unknown territory. The curve is not fitted to price data—it is fitted to structural pivots identified by the trader. The projection represents a hypothesis about trajectory continuation, not a prediction derived from statistical optimization. Future price action validates or invalidates this hypothesis in real time, exactly as it does with any trendline or channel. The anchor points remain fixed unless manually adjusted, ensuring the curve does not adapt to new data retroactively.
Non-Repainting Behavior: The indicator does not repaint historical bars. The mathematical coefficients that define each curve are calculated once—when the final anchor point is set—and stored as fixed values. These coefficients remain constant unless an anchor point is manually repositioned. The backfit polyline is drawn once using these coefficients, spanning the known range from the first to last anchor point. The plot() function applies the same coefficients to each subsequent bar, updating in real-time as new bars form but never altering previously plotted values. The projection polyline extends forward from the current bar using the same fixed coefficients, projecting a user-defined number of future bars (maximum 500). This projection redraws on each tick to maintain its position relative to the moving current bar, but the mathematical trajectory remains constant—only the starting point advances. The current bar's curve value will update tick-by-tick as price develops, which is standard real-time behavior, not repainting. Once a bar closes, all curve values on that bar are permanent. The hybrid architecture (backfit polyline for known history, plot() for unlimited real-time range, projection polyline for controlled forward extension) prevents overflow errors while maintaining non-repainting integrity across all components.
🗒️ NOTES 🗒️
The indicator renders curves based on any anchor points provided without validation. Unusual anchor placement produces mathematically accurate but potentially non-useful results. Adjustment is iterative—if the curve doesn't match expectations, reposition the anchors.
Because anchor points are stored as specific time and price coordinates, a new instance of the indicator should be added when analyzing a different chart or timeframe.
Grip handles can be hidden by setting Grip Size to zero in the settings. This is useful for clean chart screenshots or presentations where interactive elements are not needed.
Projection length can be set to zero if forward-looking curves are not desired. The indicator will still render the backfit curves through the anchor points and continue plotting in real-time without the dotted projection extensions.
Anchor points remain fixed at their selected time-price coordinates as new bars form. The curves extend forward automatically from these historical anchors, allowing observation of how projected trajectories align with developing price action.
⚠️ DISCLAIMER ⚠️
The Flexible S/R Channels indicator is a visual analysis tool designed to illustrate geometric market inertia and serve as a framework for understanding dynamic support and resistance. While the indicator generates structural channels and projected paths, no guarantee is made regarding the accuracy or profitability of these projections. Like all technical indicators, the curves and boundaries generated by this tool may appear to align with favorable trading opportunities in hindsight. However, these visualizations are not intended as standalone recommendations for trading decisions. This indicator is intended for educational and analytical purposes, complementing other tools and methods of market analysis.
🧠 BEYOND THE CODE 🧠
Flexible S/R Channels is part of a broader collection of tools designed to provide structured market analysis. This includes the Grid Bot Simulator , the Grid Bot Auto , the Grid Bot Parabolic , and the Gridbot Ping Pong . While each tool serves a distinct purpose, they all utilize dynamic anchor mechanics and non-linear boundaries to adapt to evolving market conditions.
This indicator shares the same educational philosophy as the Fibonacci Time-Price Zones and the Fibonacci Geometry Series - providing frameworks for understanding market concepts through visualization and experimentation rather than black-box signals.
The Flexible S/R Channels indicator, like other xxattaxx indicators , is designed to encourage both education and community engagement. Feedback and insights are invaluable to refining and enhancing this tool. We look forward to the creative applications, observations, and discussions this indicator inspires within the trading community. Indicator

Indicator

Indicator

Pivot Levels [BigBeluga]🔵 OVERVIEW
The Pivot Levels indicator automatically detects and draws key market pivot levels across multiple sensitivity settings. Each pivot level represents a significant local high or low in price structure, acting as potential zones of support and resistance. Traders can visualize short-, medium-, and long-term pivot layers simultaneously, helping to identify where price may react, reverse, or break out.
🔵 CONCEPTS
Different pivot lengths provide multi-length sensitivity on the same timeframe — shorter lengths detect local micro-swings, while longer lengths capture broader swing structure within the current chart.
ATR-based color logic marks active, bullish, or bearish pivot zones dynamically.
Lines can extend to the right or both sides to track reactions over time.
🔵 FEATURES
Detects up to four custom pivot levels simultaneously.
Each pivot level has independent settings for length , style , and extension mode .
Auto-colors each pivot as support (green), resistance (orange), or active zone (blue).
Displays dual-width line layers: a solid base and a transparent overlay for visual depth.
Dynamic price labels show exact pivot levels for clarity.
Fully customizable line styles: dashed (--), solid (-), or dotted (..).
Extends lines to the right for future reaction tracking or both directions for structure alignment.
🔵 HOW TO USE
Enable or disable pivot levels (1–4) to control how many layers of structure you want visible.
Use shorter pivot lengths for intraday turning points and longer ones for macro structure.
Watch for multiple pivot lines clustering in the same region — these often mark strong reversal zones.
Observe color changes: green = support, orange = resistance, blue = active neutral zone.
Combine with price action or volume analysis to confirm reactions near major pivots.
🔵 CONCLUSION
The Pivot Levels indicator provides a clean, multi-layered visualization of market structure.
By tracking pivots of varying lengths, traders can easily identify overlapping support and resistance regions, gauge breakout strength, and align trades with the dominant structural zones visible across multiple time horizons.
Indicator

Custom Session ORB - Extending Past Current CandleCustom Session ORB - Extending Past Current Candle
This indicator plots Opening Range Breakout (ORB) levels for one or two customizable trading sessions directly on your chart. It dynamically tracks the high, low, and midpoint of the defined session(s) and extends these levels beyond the session using a configurable offset.
Features:
Supports two custom sessions.
New York and Asia pre-saved.
Automatically tracks session High, Low, and Mid.
Option to extend ORB levels past the live candle.
Option to display only the most recent ORB for a clean chart.
Configurable line thickness, style, and label size.
Works in Eastern Standard Time (EST) without manual adjustment.
Settings:
Show Labels: Toggle to display ORB values on chart.
Label Font Size: Small, Normal, Large.
Mid Line Style: Solid, Dashed, or Dotted.
ORB Line Thickness: Set line thickness of ORB levels.
Extend Past Current Candle by N Bars: Controls how far the ORB extends visually.
Show Only Current ORB: Cleans chart by removing previous session ORB levels.
Enable Session 1 / 2: Toggle individual sessions on/off.
Session Time: Set the start and end times for each session (automatically in EST).
How It Works:
The indicator monitors the defined session time, records the high, low, and midpoint, and draws lines at those levels. When the session ends, the lines are extended by the specified offset for easy breakout visualization. Labels can optionally show the exact price levels. Indicator

Auto-Anchored Fibonacci Volume Profile [Custom Array Engine]Description:
1. The Theoretical Foundation: Structure vs. Participation In professional technical analysis, traders often struggle to reconcile two distinct datasets: Price Geometry (where price should go) and Market Participation (where money actually went).
Why Fibonacci? (The Structure) Fibonacci Retracements map the mathematical structure of a trend. They identify psychological and algorithmic "interest zones" (0.382, 0.5, 0.618) where a correction is statistically likely to terminate. However, Fibonacci levels are theoretical—they are "lines in the sand" that do not guarantee liquidity or reaction.
Why Volume Profile? (The Verification) Volume Profile maps the historical exchange of shares at specific price levels. It reveals "fair value" (High Volume Nodes) and "market imbalance" (Low Volume Nodes). It is the only tool that verifies if a specific price level was actually accepted by institutional participants.
2. Underlying Calculations (The Custom Engine) This script operates on a custom-built calculation engine that bypasses standard built-in functions entirely. It uses Pine Script Arrays to build a Volume Profile from scratch. Here is the breakdown of the proprietary code logic:
A. The "Smart-Fill" Distribution Algorithm (Solves Gapping)
The Problem: Standard volume scripts often assign a candle's entire volume to a single price row. In volatile markets or steep trends, this creates visual "gaps" or a "barcode" effect because price moved too fast to register on every row.
My Solution: I wrote a custom loop that calculates the vertical overlap of every candle against the profile grid.
The Math: Volume Per Bin = Total Candle Volume / Bins Touched.
The Result: If a single volatile candle spans 10 price rows (bins), the script mathematically divides that volume and distributes it equally into all 10 array indices. This generates a solid, continuous distribution curve that accurately reflects price action through the entire candle range, not just the close.
B. Dynamic Arrays & Split-Volume Logic The script initializes two separate floating-point arrays (buyVolArray and sellVolArray) sized to the user's resolution (up to 300 rows). It iterates through the specific time-window of the swing:
If Close >= Open, the calculated volume slice is injected into the Buy Array.
If Close < Open, it is injected into the Sell Array.
These arrays are then visually stacked to render the dual-color profile, allowing traders to see the "Delta" (Buyer vs. Seller aggression) at key structural levels.
C. Custom Garbage Collection (Performance) To enable the "Auto-Anchoring" feature without causing chart lag or visual artifacts ("ghosting"), the script includes a Garbage Collection System. Before drawing a new profile, the script iterates through a tracking array of all existing objects (box.delete, line.delete) and clears them from memory. This ensures the indicator remains lightweight and responsive even when dragging chart margins or switching timeframes.
3. The Synthesis: Why Combine Them? The core philosophy of this script is Confluence . A Fibonacci level without volume is merely a suggestion; a Fibonacci level backed by volume is a defensive wall. By algorithmically anchoring a Volume Profile to the exact coordinates of a Fibonacci swing, this tool allows traders to instantly answer critical questions:
"Is the Golden Pocket (0.618) supported by a High Volume Node (HVN), or is it a Low Volume Node (LVN) that price might slice through?"
"Is the Shallow Retracement (0.382) holding because of structural support, or just a lack of selling pressure?"
4. How to Read the Indicator
The Geometry: The script automatically detects the trend and draws standard Fib levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0).
The Confluence Check: Look for the Point of Control (Red Line). If this High Volume Node aligns with a key Fib level (e.g., the 0.618), the probability of a reversal increases significantly.
The Imbalance Check: Look for "Valleys" in the profile (Low Volume Nodes). These gaps often act as "slippage zones" where price travels quickly between structural levels.
Buy/Sell Splits: The dual-color bars (Teal/Red) reveal the composition of the volume. A 0.618 level held up by dominant Buy Volume is a stronger bullish signal than one with mixed volume.
5. Settings & Customization
Lookback Length: Sensitivity of the swing detection (Default: 200 bars).
Resolution: Granularity of the profile rows (Default: 100). Higher values provide smoother definition.
Width (%): Responsive sizing that scales the profile relative to the trend's duration.
Extend Lines: Option to project structural levels infinitely to the right.
Disclaimer This script is an analytical tool for visualizing historical market data. It does not provide trade signals or financial advice. Indicator

Indicator

Intermarket Swing Projection [LuxAlgo]The Intermarket Swing Projection allows traders to plot price movement swings from any user-selected asset directly onto the chart in the form of zigzags and/or horizontal support and resistance levels.
This tool rescale the external asset price on the user chart, enabling traders to make direct comparisons.
It answers the question of how different the price behavior is between two assets, accounting for each asset's volatility.
🔶 USAGE
This tool is based on swing detection of two different assets: the chart and a user-selected asset. It allows traders to compare two assets on an equal footing while accounting for volatility and price behavior.
Traders can customize the detection by selecting a custom ticker, timeframe, the number of swings and length for swing detection. This makes the tool a Swiss army knife for asset comparison.
As we can see in the image below, the Show Last, Pivot Length, and Spread parameters are key to defining the final output of the tool.
"Show Last" defines how many pivots are displayed. "Pivot Length" is used for pivot detection; a larger value will detect larger market structures. "Spread" defines how far apart the horizontal levels will be from their original location in terms of volatility.
🔹 Comparing different assets
This image shows the Nasdaq 100 futures contract compared to four other futures contracts: S&P 500, gold, bitcoin, and euro/U.S. dollar.
Plotting all of these assets in Nasdaq 100 terms makes it easy to compare and analyze price behaviors and identify key levels.
In the top left chart, we have NQ vs. ES. It's no surprise that they are practically an exact match; a large portion of the S&P 500 is technology.
In the top right chart, NQ vs. GC, we see totally different behaviors. We can clearly see the summer consolidation in gold and the resumption of the uptrend, which took gold above 29,200 NQ points, up from 21,200.
In the bottom right chart, we see bitcoin making new highs, way above the Nasdaq in May, July, and October. However, the last high was way below the Nasdaq prices on October 27—the first lower high in a while. Sellers are pushing down.
Finally, the bottom left chart is NQ vs. 6E. We can see large volatility in the uptrend since February, with NQ unable to catch up until now. The last swing low was almost a match, and 6E is in a range.
As we can see, this tool allows us to perform intermarket analysis properly by accounting for each asset's volatility and price behavior. Then, we plot them on the same scale on equal terms, which makes performing this kind of analysis easy.
As we can see in the chart above, the assets are the same as in the previous image, but the timeframe is 1H with different settings.
Note the horizontal levels acting as support and resistance, as well as how NQ prices react to the zones marked with white circles. These levels are derived from custom assets selected by the user.
🔹 Displaying Elements
Zig-zag allows traders to clearly see the path that the selected asset's price took, as well as its turning points.
Horizontal levels are displayed from those turning points to the present and can be used as support or resistance. Traders can adjust the spread parameter in the settings panel to expand or contract those levels' volatility.
There are two color modes for the levels: average and pivots. In the first mode, green is used for levels below the average and red for levels above the average. The second uses green for swing lows and red for swing highs.
The backpaint feature is enabled by default and allows the swings to be displayed in the correct location. With this feature disabled, the swings will be displayed in the current location when a new swing is detected.
🔶 DETAILS
On a more technical note, the rescaling is formed by calculating three main elements from all the swings detected on the custom and chart assets:
The chart asset's average of all swing points
The chart asset's standard deviation of all swing points
The custom asset's z-score for each swing point
Then, the re-scaled swing point is calculated as the average plus the z-score multiplied by the standard deviation. This makes it possible to plot AAPL swings on an NQ chart, for example.
Thanks to re-scaling, we can directly compare the price behavior of two assets with different price ranges and volatility on the same chart.
🔶 SETTINGS
🔹 Trendlines
Ticker: Select the custom ticker.
Timeframe: Select a custom timeframe.
Show Last: Select how many swing points to display.
Pivot Length: Select the size for swing point detection.
Spread: Volatility multiplier for horizontal levels. Larger values mean the levels are farther apart.
Backpaint: Enable or disable the backpaint feature. When enabled, the drawings will be displayed where they were detected. When disabled, the drawings will be displayed at the moment of detection.
🔹 Style
Show ZigZag: Enable or disable the ZigZag display and choose a line style.
Show Levels: Enable or disable the levels display and choose a line style.
Color Mode: Choose between Average Mode, which colors all levels below the average bullish and all levels above bearish, and Pivot Mode, which colors swing highs bearish and swing lows bullish.
Bullish: Select a bullish color.
Bearish: Select a bearish color.
ZigZag: Select the ZigZag color.
Indicator

(QUANTLABS) Fractal God Mode: 25-Timeframe Scanner The indicator aggregates data into three distinct metric columns:
1. STRUCT (Market Structure) This analyzes price action relative to Fractal Pivots (Highs and Lows) to determine market direction.
HH (Breakout): Price has closed above the previous Pivot High. (Bullish Structure)
LL (Breakdown): Price has closed below the previous Pivot Low. (Bearish Structure)
TRAPPED: Price is trading between the last Pivot High and Low. This indicates a ranging market where trend trades should be avoided.
2. VELOCITY (Thrust) This measures the specific strength of the current candle on that timeframe.
The Math: It calculates the ratio of the body (Close - Open) relative to the total candle range (High - Low).
The Signal: High positive numbers (Green) indicate buyers are closing near highs. High negative numbers (Red) indicate sellers are dominating the range.
3. QUALITY (Efficiency Ratio) This acts as a "Noise Filter." It determines if the trend is moving in a straight line or whipping back and forth.
The Math: It divides the Net Price Movement (Distance from 5 bars ago) by the Total Path Traveled (Sum of the ranges of the last 5 bars).
PRISTINE (Values > 0.6): The market is moving efficiently in one direction.
CHOPPY (Values < 0.4): The market is volatile and non-directional (High Noise).
1. The Matrix (Dashboard) Located in the bottom right, this table gives you an instant read on Short-Term (3m-9m), Medium-Term (10m-45m), and Long-Term (1H-Daily) trends.
2. Coherence Flow At the bottom of the table, the script sums up the structural score of all 25 timeframes.
COHERENT BULL: When the Short, Medium, and Long terms align green.
COHERENT BEAR: When the Short, Medium, and Long terms align red.
3. God Mode (Global S/R) The indicator can plot Support and Resistance levels from higher timeframes onto your current chart. For example, while trading the 5m chart, you can see the 4H and Daily pivot levels plotted automatically as dotted lines, ensuring you never trade blindly into a higher-timeframe wall.
Trend Following: Wait for the "Coherent Bull/Bear" signal at the bottom of the dashboard. This confirms that momentum is aligned from the 3m chart up to the Daily.
Scalping: Focus on the Quality column. Only take trades when the Quality is "CLEAN" or "PRISTINE." Avoid entries when the dashboard warns of "High Noise" (Choppy).
Risk Management: If the dashboard shows "TRAPPED" on the Long Term (1H+), reduce position size or wait for a breakout.
Pivot Lookback: Adjusts the sensitivity of the Fractal Structure (Default: 5).
Show Fractal DNA Matrix: Toggles the dashboard table.
Show ALL Timeframe S/R: Enables "God Mode" to see supports/resistances from all 25 timeframes (Heavy visual processing, use carefully). Indicator

Indicator

Volume Cluster Support and Resistance Levels [QuantAlgo]🟢 Overview
This indicator identifies statistically significant support and resistance levels through volume cluster analysis, isolating price zones characterized by elevated trading activity and institutional participation. By quantifying areas where volume concentration exceeded historical norms, it reveals price levels with demonstrated supply-demand imbalances that exhibit persistent influence on subsequent price action. The methodology is asset-agnostic and timeframe-independent, applicable across equities, cryptocurrencies, forex, and commodities from intraday to weekly intervals.
🟢 Key Features
1. Support and Resistance Levels
The indicator scans historical price data to identify bars where volume exceeds a user-defined threshold multiplier relative to the rolling average. For each qualifying bar, a representative price is calculated using the average of high, low, and close. Proximate price levels within a specified percentage range are then aggregated into discrete clusters using volume-weighted averaging, eliminating redundant signals. Clusters are ranked by cumulative volume to determine statistical significance. Finally, the indicator plots horizontal levels at each cluster price: support levels (green) below current price indicate zones where historical buying pressure exceeded selling pressure, while resistance levels (red) above current price mark zones where sellers historically dominated. These levels represent areas of established liquidity and price discovery, where institutional order flow previously concentrated.
The Touch Count (T) metric quantifies historical price interaction frequency, while Total Volume (TV) measures aggregate trading activity at each level, providing objective criteria for assessing level strength and trade execution decisions.
2. Volume Histogram
A histogram appears below the price chart, displaying relative volume for each bar within the lookback period, with bar height scaled to the maximum volume observed. Green bars represent up-periods (close > open) indicating buying pressure, while red bars show down-periods (close < open) indicating selling pressure. This visualization helps you confirm the validity of support/resistance levels by seeing where volume actually spiked, identify accumulation/distribution patterns, and validate breakouts by checking if they occur on above-average volume.
3. Built-in Alerts
Automated alerts trigger when price crosses below support levels or breaks above resistance levels, allowing you to monitor multiple assets without constant chart-watching.
4. Customizable Color Schemes
The indicator provides four preset color configurations (Classic, Aqua, Cosmic, Custom) optimized for visual clarity across different charting environments. Each scheme maintains consistent color mapping for support and resistance zones across both level lines and volume histogram components. The Custom configuration permits full color specification to accommodate individual charting setups, ensuring optimal visual contrast for extended analysis sessions.
Classic:
Aqua:
Cosmic:
Custom:
🟢 Pro Tips
→ Trade entry optimization: Execute long positions at support levels with high touch counts or upon confirmed resistance breakouts accompanied by above-average volume
→ Risk parameter definition: Position stop-loss orders near identified support/resistance zones with statistical significance to minimize premature exits
→ Breakout validation: Require volume confirmation exceeding historical average when price penetrates resistance to filter false breakouts
→ Level strength assessment: Prioritize levels with higher touch counts and total volume metrics for enhanced probability trade setups
→ Multi-timeframe confluence: Synthesize support/resistance levels across multiple timeframes to identify high-conviction zones where daily support aligns with 4-hour resistance structures Indicator
