HH&LL / MSS Detector [Tek Tek Teknik Analiz]This indicator provides a safe trading opportunity by drawing Market Structure Shift levels to determine the direction of the market after capturing the peaks and valleys in the price flow.
Pivot points and levels
OHLC Lines – Yesterday & Today (Minimalist Option)This indicator draws horizontal lines representing the Open, High, Low, and Close (OHLC) levels of yesterday and today directly on your chart. It automatically updates each day, showing only the lines for the previous day and the current day, keeping your chart clean and focused.
Features:
Display Yesterday’s OHLC levels.
Display Today’s OHLC levels.
Optional Minimalist Mode with customizable color, width, and line style.
Lines automatically update each day and remove old lines.
Fully customizable colors, visibility, and line width for each OHLC level.
Use Case:
Perfect for traders who want to monitor key daily price levels, identify support/resistance zones, or incorporate OHLC levels into intraday strategies.
LevelsThis Indicator is meant to plot some of the most common levels that traders use.
The display of these levels is highly customizable, as you can choose the line type , color , thickness and whether it shows you no label, price only, reduced label or full label next to the line. All labels (except for "no Label") will show the price at this level.
Also You have the option to mark the start on each timeframe with either a individually colored background or a vertical line where you can choose the line style and color.
Full List of available Levels and Optional inputs to these levels:
Previous HTF Candle Levels:
• Previous HTF Candle Open
• Previous HTF Candle High
• Previous HTF Candle Low
• Previous HTF Candle Close
Optional:
• Choose any higher timeframe
• Mark start of new HTF candle
Session Levels:
• Session Open
• Session High
• Session Low
• Session Close
Optional:
• Choose any time as start and end of your session
• Mark start of session
• Mark full session
Daily Levels:
• Current Day Open
• Current Day High
• Current Day Low
• Previous Day Open
• Previous Day High
• Previous Day Low
• Previous Day Close
Optional:
• Choose start of day (standard, NY Midnight, custom start time)
• Mark start of day
Weekly Levels:
• Current Week Open
• Current Week High
• Current Week Low
• Previous Week Open
• Previous Week High
• Previous Week Low
• Previous Week Close
Optional:
• Mark start of Week
Monthly Levels:
• Current Month Open
• Current Month High
• Current MonthLow
• Previous Month Open
• Previous Month High
• Previous Month Low
• Previous Month Close
Optional:
• Mark start of Month
Opaque's RVWAP LinesInspired by Sto's screenshots. This should show you 7d, 30d, 60d & 365d rvwap cleanly on the chart. Especially nice for our colorblind brethren.
🏛️ INSTITUTIONAL TRENDLINE v8 • Open Source🏛️ INSTITUTIONAL TRENDLINE v8 • Open Source
Adaptive S/R discovery with ML scoring, MTF confluence, and event-driven alerts
What it does (in one breath):
This indicator auto-discovers institutional-grade trendlines / dynamic support & resistance, scores them for quality using a dual-regime ML model (trend vs. range), validates them with multiple techniques (Theil–Sen, Huber, ATR/RSI/MACD/EMA, MTF confluence), then tracks breakouts, retests, failed breaks, proximity/touch events, and learns from outcomes to adapt over time. A visual panel summarizes stats, and optional heatmap/zones show where price is most “supported” or “capped”.
🚀 Quick Start (2 minutes)
Add to chart and leave defaults.
At the top of Inputs:
🎛️ Preset → choose your style: Scalper, Swing, Investor (or Custom).
🧬 Market Profile → pick Crypto/FX/Stocks + style or “Auto by Timeframe”.
Keep 🎯 Accuracy Mode = Quantum AI and ⚡ Performance = Maximum Quality if your device handles it.
Turn on 💥 Breakout Signals and 🚨 Alerts if you want notifications.
Read the right-side panel: Active Lines, Avg Q, Best Line, Market State, Nearest S/R, Top-3 lines, Pattern, Touch counts.
That’s it. You’ll see thinner, professional trendlines, small labels, optional zones, and tasteful break/retest markers.
🧠 How it works (plain English)
Discovery: It samples price pairs (with a swing-pivot bias) and fits many candidate lines.
Inlier-only R²: Instead of punishing outliers, it measures how tight touching bars are to a line.
ML Quality (0–100): Six signals (Touches, Volume @ touches, RSI, MACD, Volatility, Duration) are weighted differently for Trend vs Range regimes.
Validation: Rejects lines that disagree across Theil–Sen and Huber regressions (>15% slope deviation), fail slope/ATR filters, or lack MTF confluence.
Live tracking: Once a line is on the chart, the script watches for Breakouts → Retests → Failed breaks, and logs outcomes to continually re-weight the ML model (if enabled).
🎛️ Inputs (top section first)
1) Presets & Profiles (at the top)
🎛️ Preset
Scalper – lower lookbacks, faster, more signals.
Swing – balanced lookbacks, 2–4 lines per window.
Investor – longer lookbacks, fewer but stronger lines.
Custom – you control everything below.
🧬 Market Profile
Tailors thresholds for Crypto / FX / Stocks and your style (Scalper / Swing / Investor). Choose Auto by Timeframe to adapt from your chart resolution.
These two choices set “effective” requirements under the hood (min quality, R², proximity windows, cleanup cadence, etc.) so you don’t have to micromanage.
2) 🤖 Machine Learning Engine
Enable ML Enhancement – turns the adaptive scoring on/off.
ML Sensitivity – caps the maximum achievable score (lower = stricter).
Adaptive Learning – updates weights after each confirmed outcome.
Outcome Window (bars) & Target (ATR) – define when a breakout is counted as success or fail for learning.
Dual-Regime Models – separate weight sets for Trend and Range.
Tip: If results look “too picky,” raise ML Sensitivity slightly (e.g., 0.85→0.95).
3) 🎯 Accuracy & Filters
Minimum Touch Points / Quality / R² – base requirements for new lines.
Multi-Algorithm Validation – confirms slope across three regressions.
Volume / RSI / MACD / EMA / ATR filters – optional evidence checks.
No-Repaint Strict (HTF closed only) – for purists; fewer but cleaner MTF confirmations.
4) 🧠 Pro Logic / MTF
Swing-Anchored Sampling Bias – increases hits on meaningful swings.
HTF 1 / HTF 2 – reference frames for confluence (e.g., 4H & 1D).
HTF Bars to Scan / Touches Needed – how much agreement to demand.
Geometric Midline Agreement – proximity to HTF midlines (20-SMA).
Midline Distance Threshold (×ATR) – how strict that midline check is.
5) 💎 Visual System
Display Trendlines / Zones / Smart Labels / Breakout Signals / Heatmap – toggle pieces on/off.
Visual Theme & Color Intensity – pick a palette; v8 lines are thinner with subtle gradients.
Highlight Top-3 Lines – faint halo on the three highest-quality lines.
Limit Signal Markers / Bar – prevents clutter in fast moves.
Tip: For the cleanest chart: show Trendlines + Breakouts, keep Zones semi-transparent, and enable Heatmap only when you want confluence context.
6) 🚨 Alerts
Enable Smart Alerts – master switch.
Alert Quality Threshold – only alert for lines ≥ this Q%.
Base Proximity (ATR) & Slope-Adaptive Proximity – how close is “near”.
Retest / Failed-Break Windows – how long after a break to track.
Per-Line Cool-Off (bars) – spacing to avoid spam.
Consolidated JSON Alert/Bar – single JSON payload with all events per bar (great for bots).
Fire Inline Alerts (verbose) – pop real-time alerts the moment events occur.
Alert names (mapped to alertconditions):
🆕 New S/R Created
📍 Approaching Trendline
🎯 Touching Trendline
🟢 Bullish Breakout / 🔴 Bearish Breakdown
♻️ Bullish Retest / ♻️ Bearish Retest
⛔ Failed Break
7) ⚡ Performance
Performance Mode – quality vs speed.
Max New Lines per Lookback/Bar – caps how many fresh lines a bar can add.
Cleanup Interval (bars) & Max Lines to Keep – automatic memory & clutter control.
Theil–Sen Sampled Pairs – fewer = faster; more = robust.
📈 How to read the chart
Lines:
Color = Support (green) or Resistance (red) at current price.
Thickness/Style = relates to Quality and Touches (higher Q = slightly bolder).
Labels show a badge (💎 🏆 ⭐ ✅ 📊) with Q%. Tooltip lists touches, R², price@line, lookback, and which evidences are ON.
Zones: Soft confidence corridors around lines (ATR-scaled).
Heatmap: A faint background tint—dominant support, resistance, or neutral/confluence.
Break markers: tiny ▲ / ▼ (or 🚀/💀 when very strong). Retests and failed breaks are tagged separately.
Top-3 glow: subtle halo on the three best lines right now.
🧭 Trading workflow (example)
Scenario A – Trend continuation
Market panel shows TREND; Top-3 lines include two rising supports ≥90% Q.
Price approaches one of them → Touch → Bullish breakout above a local resistance line.
Wait for ♻️ Retest of that broken line from above; if RSI>50 & MACD>0 (shown in panel), open a long with stop just under the line or zone.
Exit partials at next resistance line; trail under the line.
Scenario B – Range fade
Panel says RANGE; heatmap is neutral/confluence.
Price tags a high-Q red line and prints Touch without breakout, while RSI>60 cools off.
Enter a mean-revert short with stop above the line; target midrange or next green line.
If a Bullish breakout fires during the trade → respect the Failed Break logic; exit quickly.
Scenario C – Breakout trader
Filter only lines with Q ≥ 90% and alerts ON.
When Breakout triggers with strength ≥ 4/7 (see panel), take a starter.
Add on Retest if it prints within your retest window and confluence still looks good.
Manage risk with ATR or zone width.
This is a levels & event indicator. It doesn’t replace your system; it gives objective lines and objective events around those lines.
✅ Best-practice setup
Presets/Profiles: Start with Swing + your Market Profile.
ML Sensitivity: 0.90–0.95 for most markets.
Alerts: Set Alert Quality ≥ 85–90, Cool-Off = 4–6 bars.
MTF: Use 4H + 1D on intraday; 1D + 1W on daily charts.
Clutter control: Max Lines ~200, Cleanup ~50 bars, Signal cap 6/bar (defaults are sensible).
No-repaint strict: Turn on for signal review; turn off if you want more frequent MTF confirmations in real time.
🔬 Research Mode (optional)
Enable 🧪 Research Mode to track win-rates by quality buckets. The panel shows Win% so you can calibrate your thresholds per market.
⚠️ Notes & limitations
This is open-source research software. Past performance ≠ future results.
Learning requires time: the ML engine adapts after outcomes; don’t expect instant magic.
Very low-liquidity symbols may produce fewer reliable lines; increase lookbacks or tighten filters.
MTF data uses request.security with no lookahead; turning No-Repaint Strict on can further reduce signals.
🧩 Troubleshooting
“Too many lines.” Raise Min Quality / R², lower Max Lines, or reduce cap per lookback.
“Too few lines.” Lower Min Quality a bit, raise ML Sensitivity, or choose an easier Preset/Market Profile.
“Alerts are spammy.” Raise Alert Quality, increase Cool-Off, increase Proximity threshold.
“Performance is slow.” Use Balanced / Fast, reduce Theil–Sen pairs, or extend Cleanup Interval.
📦 Included alertconditions (for one-click alert rules)
New S/R Created
Approaching Trendline
Touching Trendline
Bullish Breakout / Bearish Breakdown
Bullish Retest / Bearish Retest
Failed Break
Enjoy, share feedback, and feel free to fork.
If you publish ideas using it, please credit “INSTITUTIONAL TRENDLINE v8 • OS” so other traders can find the open-source original. Happy trading! 🫶
Market Outlook Score (MOS)Overview
The "Market Outlook Score (MOS)" is a custom technical indicator designed for TradingView, written in Pine Script version 6. It provides a quantitative assessment of market conditions by aggregating multiple factors, including trend strength across different timeframes, directional movement (via ADX), momentum (via RSI changes), volume dynamics, and volatility stability (via ATR). The MOS is calculated as a weighted score that ranges typically between -1 and +1 (though it can exceed these bounds in extreme conditions), where positive values suggest bullish (long) opportunities, negative values indicate bearish (short) setups, and values near zero imply neutral or indecisive markets.
This indicator is particularly useful for traders seeking a holistic "outlook" score to gauge potential entry points or market bias. It overlays on a separate pane (non-overlay mode) and visualizes the score through horizontal threshold lines and dynamic labels showing the numeric MOS value along with a simple trading decision ("Long", "Short", or "Neutral"). The script avoids using the plot function for compatibility reasons (e.g., potential TradingView bugs) and instead relies on hline for static lines and label.new for per-bar annotations.
Key features:
Multi-Timeframe Analysis: Incorporates slope data from 5-minute, 15-minute, and 30-minute charts to capture short-term trends.
Trend and Strength Integration: Uses ADX to weight trend bias, ensuring stronger signals in trending markets.
Momentum and Volume: Includes RSI momentum impulses and volume deviations for added confirmation.
Volatility Adjustment: Factors in ATR changes to assess market stability.
Customizable Inputs: Allows users to tweak periods for lookback, ADX, and ATR.
Decision Labels: Automatically classifies the MOS into actionable categories with visual labels.
This indicator is best suited for intraday or swing trading on volatile assets like stocks, forex, or cryptocurrencies. It does not generate buy/sell signals directly but can be combined with other tools (e.g., moving averages or oscillators) for comprehensive strategies.
Inputs
The script provides three user-configurable inputs via TradingView's input panel:
Lookback Period (lookback):
Type: Integer
Default: 20
Range: Minimum 10, Maximum 50
Purpose: Defines the number of bars used in slope calculations for trend analysis. A shorter lookback makes the indicator more sensitive to recent price action, while a longer one smooths out noise for longer-term trends.
ADX Period (adxPeriod):
Type: Integer
Default: 14
Range: Minimum 5, Maximum 30
Purpose: Sets the smoothing period for the Average Directional Index (ADX) and its components (DI+ and DI-). Standard value is 14, but shorter periods increase responsiveness, and longer ones reduce false signals.
ATR Period (atrPeriod):
Type: Integer
Default: 14
Range: Minimum 5, Maximum 30
Purpose: Determines the period for the Average True Range (ATR) calculation, which measures volatility. Adjust this to match your trading timeframe—shorter for scalping, longer for positional trading.
These inputs allow customization without editing the code, making the indicator adaptable to different market conditions or user preferences.
Core Calculations
The MOS is computed through a series of steps, blending trend, momentum, volume, and volatility metrics. Here's a breakdown:
Multi-Timeframe Slopes:
The script fetches data from higher timeframes (5m, 15m, 30m) using request.security.
Slope calculation: For each timeframe, it computes the linear regression slope of price over the lookback period using the formula:
textslope = correlation(close, bar_index, lookback) * stdev(close, lookback) / stdev(bar_index, lookback)
This measures the rate of price change, where positive slopes indicate uptrends and negative slopes indicate downtrends.
Variables: slope5m, slope15m, slope30m.
ATR (Average True Range):
Calculated using ta.atr(atrPeriod).
Represents average volatility over the specified period. Used later to derive volatility stability.
ADX (Average Directional Index):
A detailed, manual implementation (not using built-in ta.adx for customization):
Computes upward movement (upMove = high - high ) and downward movement (downMove = low - low).
Derives +DM (Plus Directional Movement) and -DM (Minus Directional Movement) by filtering non-relevant moves.
Smooths true range (trur = ta.rma(ta.tr(true), adxPeriod)).
Calculates +DI and -DI: plusDI = 100 * ta.rma(plusDM, adxPeriod) / trur, similarly for minusDI.
DX: dx = 100 * abs(plusDI - minusDI) / max(plusDI + minusDI, 0.0001).
ADX: adx = ta.rma(dx, adxPeriod).
ADX values above 25 typically indicate strong trends; here, it's normalized (divided by 50) to influence the trend bias.
Volume Delta (5m Timeframe):
Fetches 5m volume: volume_5m = request.security(syminfo.tickerid, "5", volume, lookahead=barmerge.lookahead_on).
Computes a 12-period SMA of volume: avgVolume = ta.sma(volume_5m, 12).
Delta: (volume_5m - avgVolume) / avgVolume (or 0 if avgVolume is zero).
This measures relative volume spikes, where positive deltas suggest increased interest (bullish) and negative suggest waning activity (bearish).
MOS Components and Final Calculation:
Trend Bias: Average of the three slopes, normalized by close price and scaled by 100, then weighted by ADX influence: (slope5m + slope15m + slope30m) / 3 / close * 100 * (adx / 50).
Emphasizes trends in strong ADX conditions.
Momentum Impulse: Change in 5m RSI(14) over 1 bar, divided by 50: ta.change(request.security(syminfo.tickerid, "5", ta.rsi(close, 14), lookahead=barmerge.lookahead_on), 1) / 50.
Captures short-term momentum shifts.
Volatility Clarity: 1 - ta.change(atr, 1) / max(atr, 0.0001).
Measures ATR stability; values near 1 indicate low volatility changes (clearer trends), while lower values suggest erratic markets.
MOS Formula: Weighted average:
textmos = (0.35 * trendBias + 0.25 * momentumImpulse + 0.2 * volumeDelta + 0.2 * volatilityClarity)
Weights prioritize trend (35%) and momentum (25%), with volume and volatility at 20% each. These can be adjusted in code for experimentation.
Trading Decision:
A variable mosDecision starts as "Neutral".
If mos > 0.15, set to "Long".
If mos < -0.15, set to "Short".
Thresholds (0.15 and -0.15) are hardcoded but can be modified.
Visualization and Outputs
Threshold Lines (using hline):
Long Threshold: Horizontal dashed green line at +0.15.
Short Threshold: Horizontal dashed red line at -0.15.
Neutral Line: Horizontal dashed gray line at 0.
These provide visual reference points for MOS interpretation.
Dynamic Labels (using label.new):
Placed at each bar's index and MOS value.
Text: Formatted MOS value (e.g., "0.2345") followed by a newline and the decision (e.g., "Long").
Style: Downward-pointing label with gray background and white text for readability.
This replaces a traditional plot line, showing exact values and decisions per bar without cluttering the chart.
The indicator appears in a separate pane below the main price chart, making it easy to monitor alongside price action.
Usage Instructions
Adding to TradingView:
Copy the script into TradingView's Pine Script editor.
Save and add to your chart via the "Indicators" menu.
Select a symbol and timeframe (e.g., 1-minute for intraday).
Interpretation:
Long Signal: MOS > 0.15 – Consider bullish positions if supported by other indicators.
Short Signal: MOS < -0.15 – Potential bearish setups.
Neutral: Between -0.15 and 0.15 – Avoid trades or wait for confirmation.
Watch for MOS crossings of thresholds for momentum shifts.
Combine with price patterns, support/resistance, or volume for better accuracy.
Limitations and Considerations:
Lookahead Bias: Uses barmerge.lookahead_on for multi-timeframe data, which may introduce minor forward-looking bias in backtesting (use with caution).
No Alerts Built-In: Add custom alerts via TradingView's alert system based on MOS conditions.
Performance: Tested for compatibility; may require adjustments for illiquid assets or extreme volatility.
Backtesting: Use TradingView's strategy tester to evaluate historical performance, but remember past results don't guarantee future outcomes.
Customization: Edit weights in the MOS formula or thresholds to fit your strategy.
This indicator distills complex market data into a single score, aiding decision-making while encouraging users to verify signals with additional analysis. If you need modifications, such as restoring plot functionality or adding features, provide details for further refinement.
Krypto Dziadek strategy using EM/MA + PivotsEXPLANATION OF THE STRATEGY
The EMA/MA Crossover with Pivot Points for Pionex strategy is designed for TradingView to generate buy and sell signals for cryptocurrency trading, with compatibility for automation via the Pionex crypto exchange. It combines Exponential Moving Averages (EMAs) for short- and medium-term trend detection, a Simple Moving Average (SMA) as a trend filter, and pivot points to confirm trend reversals or continuations. The strategy includes risk management with stop-loss and take-profit levels and provides webhook-compatible alerts for Pionex’s Signal Bot.
PD Close, NY Open, Half Gap LevelsPlots the following:
- Prior Day Equities Close
- NY 9:30 Open
- Half Gap
TrueOpens [AY]¹ See how price reacts to key multi-day and monthly open levels—perfect for S/R-focused traders.
Experimental indicator for tracking multi-day openings and ICT True Month Open levels, ideal for S/R traders.
TrueOpens ¹ – Multi-Day & True Month Open Levels
This indicator is experimental and designed to help traders visually track opening price levels across multiple days, along with the ICT True Month Open (TMO).
Key Features:
Supports up to 12 configurable multi-day opening sessions, each with independent color, style, width, and label options.
Automatically detects the True Month Open using the ICT method (2nd Monday of each month) and plots it on the chart.
Lines can extend dynamically and are limited to a user-defined number of historical bars for clarity.
Fully customizable timezones, label sizes, and display options.
This indicator is ideal for observing how price interacts with key levels, especially for traders who favor support and resistance-based strategies.
Disclaimer: This is an analytical tool for observation purposes. It does not provide buy or sell signals. Users should combine it with their own analysis and risk management.
ZLT - Hyperscalp - TestWhat This Strategy Does - Complete Overview
This is a professional scalping strategy designed for fast-moving markets like NAS100 (NASDAQ 100). It's built to catch quick price bounces when the market pulls back too far in a trending move.
The Big Picture
Think of it like a rubber band strategy: When price stretches too far from its average (like pulling a rubber band), it tends to snap back. This strategy identifies those stretched moments and enters trades expecting the "snap back" to happen.
Step-by-Step How It Works
1. First, it identifies the overall trend (Higher Timeframe Analysis)
Looks at a bigger picture (15-30 minute chart)
Uses two moving averages (50 EMA and 200 EMA)
Only trades WITH the trend, never against it
2. Then waits for a pullback (The Setup)
In an uptrend: Waits for price to dip below the lower Keltner Channel
In a downtrend: Waits for price to spike above the upper Keltner Channel
Also checks if RSI shows oversold (longs) or overbought (shorts)
3. Looks for reversal signs (The Trigger)
RSI starting to turn back (crossing 50)
Price crossing back into normal range
Momentum shifting back toward the trend
4. Filters out bad trades (Quality Control)
ADX must be above threshold (trending market, not choppy)
Volatility must be in acceptable range (not too quiet, not too crazy)
Only trades during specified hours (liquid sessions)
Enforces cooldown periods between trades
5. Manages the position (Risk Management)
Sets initial stop loss based on ATR (market volatility)
Moves stop to breakeven when trade goes in profit
Activates trailing stop to protect profits
Takes profit at predetermined target (1.2x risk by default)
Three Built-in Presets for NAS100
🔴 Aggressive (1-minute charts)
More trades, quicker entries
Tighter stops, faster action
For experienced scalpers
🟡 Balanced (3-minute charts)
Moderate frequency
Balanced risk/reward
Good starting point
🟢 Conservative (5-minute charts)
Fewer, higher-quality trades
Wider stops, bigger targets
For cautious traders
Why It Works
The strategy exploits three market tendencies:
Mean reversion: Extreme moves tend to reverse
Trend continuation: Overall trends tend to persist
Momentum patterns: RSI extremes often mark turning points
Best Used For
Markets: Indices like NAS100, S&P 500
Timeframes: 1-5 minute charts
Conditions: Trending markets with good volatility
Style: Day trading/scalping (quick in-and-out trades)
Key Features
No repainting: Signals are final once they appear
Automatic position sizing: Uses percentage of equity
Multiple safety checks: Prevents overtrading
Visual indicators: Shows entry points, trend lines, and channels
Alerts: Can notify you when trades trigger
The Bottom Line
This strategy is like having a systematic trader who:
Only buys dips in uptrends
Only sells rallies in downtrends
Waits for extreme stretches
Enters when price starts snapping back
Manages risk automatically
Prevents emotional overtrading
It's designed to take many small, controlled bites rather than swinging for home runs. Perfect for active traders who want systematic, rule-based entries and exits.
Globex Overnight Futures ORB with FIB's by TenAMTrader📌 Globex Overnight Futures ORB with FIB’s – by TenAMTrader
This indicator is designed for futures traders who want to track the Globex Overnight Opening Range (ORB) and apply Fibonacci projections to anticipate potential support/resistance zones. It’s especially useful for traders who follow overnight sessions (such as ES, NQ, CL) and want to map out key levels before the U.S. regular session begins.
⚙️ How It Works
Primary Range (ORB):
You define a start and end time (default set to 18:00 – 18:15 EST). During this period, the script tracks the session high, low, and midpoint.
Opening Range Plots:
High Line (green)
Low Line (red)
Midpoint Line (yellow)
A shaded cloud between High–Mid and Mid–Low for easy visualization.
Fibonacci Projections:
Once the ORB is complete, the script calculates a full suite of Fibonacci retracements and extensions (e.g., 0.236, 0.382, 0.618, 1.0, 1.618, 2.0).
Standard key levels (0.618, 0.786, 1.0, etc.) are always shown if enabled.
Optional extended levels (1.236, 1.382, 1.5, 2.0, etc.) can be toggled on/off.
"Between Range" fibs (such as 0.382 and 0.618 inside the ORB) are also available for traders who like intra-range precision.
🔧 User Settings
Time Inputs: Choose your ORB start/end time.
Color Controls: Customize high, low, midpoint, and fib line colors.
Display Toggles: Turn on/off High, Low, Midpoint lines and Fibonacci projections.
Fib Extensions Toggle: Decide whether to show only major fibs or all extensions.
Alerts (Optional): Alerts can be set for crossing the ORB High, Low, or Midpoint.
📊 Practical Use Cases
Breakout Traders: Use the ORB high/low as breakout triggers.
Mean Reversion Traders: Watch for rejections near fib extension levels.
Overnight Futures Monitoring: Track Globex behavior to prepare for RTH open.
Risk Management: ORB and Fib levels make for natural stop/target placement zones.
⚠️ Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or trading recommendations. Trading futures involves substantial risk of loss and may not be suitable for all investors. Always do your own due diligence and consult with a licensed financial professional before making trading decisions.
Volume Profile Grid [Alpha Extract]A sophisticated volume distribution analysis system that transforms market activity into institutional-grade visual profiles, revealing hidden support/resistance zones and market participant behavior. Utilizing advanced price level segmentation, bullish/bearish volume separation, and dynamic range analysis, the Volume Profile Grid delivers comprehensive market structure insights with Point of Control (POC) identification, Value Area boundaries, and volume delta analysis. The system features intelligent visualization modes, real-time sentiment analysis, and flexible range selection to provide traders with clear, actionable volume-based market context.
🔶 Dynamic Range Analysis Engine
Implements dual-mode range selection with visible chart analysis and fixed period lookback, automatically adjusting to current market view or analyzing specified historical periods. The system intelligently calculates optimal bar counts while maintaining performance through configurable maximum limits, ensuring responsive profile generation across all timeframes with institutional-grade precision.
// Dynamic period calculation with intelligent caching
get_analysis_period() =>
if i_use_visible_range
chart_start_time = chart.left_visible_bar_time
current_time = last_bar_time
time_span = current_time - chart_start_time
tf_seconds = timeframe.in_seconds()
estimated_bars = time_span / (tf_seconds * 1000)
range_bars = math.floor(estimated_bars)
final_bars = math.min(range_bars, i_max_visible_bars)
math.max(final_bars, 50) // Minimum threshold
else
math.max(i_periods, 50)
🔶 Advanced Bull/Bear Volume Separation
Employs sophisticated candle classification algorithms to separate bullish and bearish volume at each price level, with weighted distribution based on bar intersection ratios. The system analyzes open/close relationships to determine volume direction, applying proportional allocation for doji patterns and ensuring accurate representation of buying versus selling pressure across the entire price spectrum.
🔶 Multi-Mode Volume Visualization
Features three distinct display modes for bull/bear volume representation: Split mode creates mirrored profiles from a central axis, Side by Side mode displays sequential bull/bear segments, and Stacked mode separates volumes vertically. Each mode offers unique insights into market participant behavior with customizable width, thickness, and color parameters for optimal visual clarity.
// Bull/Bear volume calculation with weighted distribution
for bar_offset = 0 to actual_periods - 1
bar_high = high
bar_low = low
bar_volume = volume
// Calculate intersection weight
weight = math.min(bar_high, next_level) - math.max(bar_low, current_level)
weight := weight / (bar_high - bar_low)
weighted_volume = bar_volume * weight
// Classify volume direction
if bar_close > bar_open
level_bull_volume += weighted_volume
else if bar_close < bar_open
level_bear_volume += weighted_volume
else // Doji handling
level_bull_volume += weighted_volume * 0.5
level_bear_volume += weighted_volume * 0.5
🔶 Point of Control & Value Area Detection
Implements institutional-standard POC identification by locating the price level with maximum volume accumulation, providing critical support/resistance zones. The Value Area calculation uses sophisticated sorting algorithms to identify the price range containing 70% of trading volume, revealing the market's accepted value zone where institutional participants concentrate their activity.
🔶 Volume Delta Analysis System
Incorporates real-time volume delta calculation with configurable dominance thresholds to identify significant bull/bear imbalances. The system visually highlights price levels where buying or selling pressure exceeds threshold percentages, providing immediate insight into directional volume flow and potential reversal zones through color-coded delta indicators.
// Value Area calculation using 70% volume accumulation
total_volume_sum = array.sum(total_volumes)
target_volume = total_volume_sum * 0.70
// Sort volumes to find highest activity zones
for i = 0 to array.size(sorted_volumes) - 2
for j = i + 1 to array.size(sorted_volumes) - 1
if array.get(sorted_volumes, j) > array.get(sorted_volumes, i)
// Swap and track indices for value area boundaries
// Accumulate until 70% threshold reached
for i = 0 to array.size(sorted_indices) - 1
accumulated_volume += vol
array.push(va_levels, array.get(volume_levels, idx))
if accumulated_volume >= target_volume
break
❓How It Works
🔶 Weighted Volume Distribution
Implements proportional volume allocation based on the percentage of each bar that intersects with price levels. When a bar spans multiple levels, volume is distributed proportionally based on the intersection ratio, ensuring precise representation of trading activity across the entire price spectrum without double-counting or volume loss.
🔶 Real-Time Profile Generation
Profiles regenerate on each bar close when in visible range mode, automatically adapting to chart zoom and scroll actions. The system maintains optimal performance through intelligent caching mechanisms and selective line updates, ensuring smooth operation even with maximum resolution settings and extended analysis periods.
🔶 Market Sentiment Analysis
Features comprehensive volume analysis table displaying total volume metrics, bullish/bearish percentages, and overall market sentiment classification. The system calculates volume dominance ratios in real-time, providing immediate insight into whether buyers or sellers control the current price structure with percentage-based sentiment thresholds.
🔶 Visual Profile Mapping
Provides multi-layered visual feedback through colored volume bars, POC line highlighting, Value Area boundaries, and optional delta indicators. The system supports profile mirroring for alternative perspectives, line extension for future reference, and customizable label positioning with detailed price information at critical levels.
Why Choose Volume Profile Grid
The Volume Profile Grid represents the evolution of volume analysis tools, combining traditional volume profile concepts with modern visualization techniques and intelligent analysis algorithms. By integrating dynamic range selection, sophisticated bull/bear separation, and multi-mode visualization with POC/Value Area detection, it provides traders with institutional-quality market structure analysis that adapts to any trading style. The comprehensive delta analysis and sentiment monitoring system eliminates guesswork while the flexible visualization options ensure optimal clarity across all market conditions, making it an essential tool for traders seeking to understand true market dynamics through volume-based price discovery.
PP_Solstice StrategyThis strategy was developed by Vinay with inputs from Warren, Dodgie and others to replicate TOS AGAIG indicators. It is available for free of use.
Market Structure Trend Change by TenAMTraderMarket Structure Trend Change Indicator
Description:
This indicator detects changes in market trend by analyzing swing highs and lows to identify Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL). It helps traders quickly see potential reversals and trend continuation points.
Features:
Automatically identifies pivots based on configurable left and right bars.
Labels pivot points (HH, HL, LH, LL) directly on the chart (text-only for clarity).
Generates buy and sell signals when a trend change is detected:
Buy Signal: HL after repeated LLs.
Sell Signal: LH after repeated HHs.
Fully customizable signal appearance: arrow type, circle, label, color, and size.
Adjustable minimum number of repeated highs or lows before a trend change triggers a signal.
Alerts built in for automated notifications when buy/sell signals occur.
Default Settings:
Optimized for a 10-minute chart.
Default “Min repeats before trend change” and pivot left/right bars are set for typical 10-min price swings.
User Customization:
Adjust the “Pivot Left Bars,” “Pivot Right Bars,” and “Min repeats before trend change” to match your trading style, chart timeframe, and volatility.
Enable pivot labels for visual clarity if desired.
Set alerts to receive notifications of trend changes in real time.
How to Use:
Apply the indicator to any chart and timeframe. It works best on swing-trading or trend-following strategies.
Watch for Buy/Sell signals in conjunction with your other analysis, such as volume, support/resistance, or other indicators.
Legal Disclaimer:
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk, and past performance is not indicative of future results. Users should trade at their own risk and are solely responsible for any gains or losses incurred.
Dynamic Support and Resistance V2 | AnonycryptousThe Dynamic Support and Resistance V2 indicator, an easy tool to identify key support, resistance, trendline levels, pivot points and volume data.
Pivot Points.
Calculates support, resistance and trendline levels using pivot points, which are derived from the high, low, and close prices of previous trading periods.
Customize the pivot calculation by using Close' or 'High/Low' and adjusting the lookback periods for both the left and right sides of the pivot calculation.
Pivot points are crucial for forecasting potential market turning points, so it allows traders to adapt the indicator to different market conditions and timeframes.
By using pivot points, traders can spot reversal and consolidation levels or trendlines early on, allowing them to react to them in time.
Volume Levels.
This option focuses on identifying support and resistance levels based on volume data, specifically the Point of Control.
The POC is the highest traded volume price level during a time period.
This POC calculation, allow traders to areas of significant trading levels as support or resistance zones.
Volume-based levels gives insights into market sentiment and showes strong support and resistance based on trading volume.
Traders can choose between pivot-based and volume-based levels or use both simultaneously, depending on their analysis.
The indicator offers custom colors, so the trader can customize their visual analysis to their own style.
It calculates the importance of each level based on the number of touches and the duration it holds.
This indicator is intended for educational and informational purposes only and should not be considered financial advice.
Trading involves significant risk, and you should consult with a financial advisor before making any trading decisions.
The performance of this indicator is not guaranteed, and past results do not predict future performance.
Use at your own risk.
Previous Day Fibonacci + Opening RangePrev Day Fibonacci & Opening Range Levels
This indicator is designed for professional traders who want to combine yesterday’s market structure with today’s intraday levels.
🔹 Features:
Automatic Fibonacci Retracements: Draws customizable Fibonacci retracement/extension levels based on the previous day’s High & Low.
Full Customization: Users can adjust the Fibonacci ratios and colors directly in settings.
Opening Range Levels: Plots today’s first candle High & Low (user-selectable timeframe for OR).
Clear Visuals: Helps identify key reversal zones, breakout levels, and confluence areas between higher timeframe structure and intraday moves.
🔹 Usage Ideas:
Spot potential reversal zones when price reacts to previous-day Fib levels.
Combine Opening Range breakout strategies with daily Fib levels for high-probability setups.
Use as confluence levels with your existing price action or indicator-based strategy.
⚡ Pro Tip: Look for overlaps between the Opening Range and Fibonacci retracements — these zones often act as strong support/resistance areas.
Pivot Points with CPR by Fin VirajPivot Points with CPR by Fin Viraj
ఈ indicator ద్వారా మీరు Pivot Points మరియు Central Pivot Range (CPR) రెండింటినీ ఒకే chartలో చూడవచ్చు.
ఇది Intraday traders మరియు Swing traders కి చాలా ఉపయోగపడే tool, ఎందుకంటే ఇది clear support & resistance zones ని చూపిస్తుంది.
🔑 Key Features:
✅ Daily Pivot Points (Classic formula ఆధారంగా)
✅ Central Pivot Range (CPR) with Top, Bottom & Pivot levels
✅ Next Day Pivot Levels కూడా calculation ద్వారా చూపిస్తుంది
✅ Institutional traders ఎక్కువగా use చేసే Opening Range Reference తో confluence చెక్ చేయడానికి perfect
✅ Easy-to-use, clutter-free visualization
🎯 Why use this?
Intradayలో సరైన Support & Resistance levels identify చేయడానికి
CPR ద్వారా మార్కెట్లోని trend strength ని అర్థం చేసుకోవడానికి
Next day preparation కోసం pivot levels ముందే readyగా ఉండటానికి
Professional trading styleకి దగ్గరగా ఉండే price action + pivot confluence ను చూసేందుకు
👉 ఈ indicatorని consistentగా practice చేస్తే, మీ entries & exits మరింత confidentగా చేయగలరు.
Created & Published by Fin Viraj
📌 Visit: finviraj.com
🔥 "Master the market with the power of Pivots & CPR!"
Pivot Points with CPR by Fin Virajఈ indicator ద్వారా మీరు Pivot Points మరియు Central Pivot Range (CPR) రెండింటినీ ఒకే chartలో చూడవచ్చు.
ఇది Intraday traders మరియు Swing traders కి చాలా ఉపయోగపడే tool, ఎందుకంటే ఇది clear support & resistance zones ని చూపిస్తుంది.
🔑 Key Features:
✅ Daily Pivot Points (Classic formula ఆధారంగా)
✅ Central Pivot Range (CPR) with Top, Bottom & Pivot levels
✅ Next Day Pivot Levels కూడా calculation ద్వారా చూపిస్తుంది
✅ Institutional traders ఎక్కువగా use చేసే Opening Range Reference తో confluence చెక్ చేయడానికి perfect
✅ Easy-to-use, clutter-free visualization
🎯 Why use this?
Intradayలో సరైన Support & Resistance levels identify చేయడానికి
CPR ద్వారా మార్కెట్లోని trend strength ని అర్థం చేసుకోవడానికి
Next day preparation కోసం pivot levels ముందే readyగా ఉండటానికి
Professional trading styleకి దగ్గరగా ఉండే price action + pivot confluence ను చూసేందుకు
👉 ఈ indicatorని consistentగా practice చేస్తే, మీ entries & exits మరింత confidentగా చేయగలరు.
Created & Published by Fin Viraj
📌 Visit: finviraj.com
🔥 "Master the market with the power of Pivots & CPR!"
Key Levels & Session Highs/Lows by OdegosProfessional multi-timeframe support and resistance level indicator that automatically tracks and displays key price levels across different trading sessions and timeframes.
🎯 What it shows:
Session Open - Daily market open reference line
Asia & London Sessions - High/low levels from major trading sessions
Previous Day - Yesterday's actual high and low levels
Weekly & Monthly - Higher timeframe support/resistance levels
⚡ Smart Features:
Auto-combines overlapping levels with merged labels
Break detection - Lines stop when price breaks through (optional)
Timezone support - Works with any global timezone
Universal colors - Optimized for both light and dark chart themes
Clean interface - Organized settings with intuitive dropdowns
🛠️ Fully Customizable:
Individual show/hide toggles for each level type
Custom colors, line styles, and widths
Adjustable label text and positioning
Global text color override option
Perfect for day traders, swing traders, and anyone who relies on key support/resistance levels for market analysis.
Elliott Wave Advanced Auto [CongTrader]🧾 INDICATOR DESCRIPTION
📌 Indicator: Elliott Wave Advanced Auto
Elliott Wave Advanced Auto is a professional automatic wave detection tool designed by CongTrader. It helps traders analyze market structure using Elliott Wave Theory, including:
📈 Automatic detection of impulsive waves (1-2-3-4-5)
🔷 Identification of triangle correction patterns (ABCDE)
⚠️ Detection of ending diagonal formations
🔮 Forecasting potential Wave 5 extension based on Fibonacci ratio
📊 Visually connecting waves with clean and clear lines
This indicator brings Elliott Wave analysis closer to all traders — whether beginner or advanced.
💡 How to Use It:
Add the indicator to your chart on TradingView.
Adjust Pivot Length to control the sensitivity of pivot detection.
Watch for wave labels (1 to 5 or A to E) appearing automatically on swing highs/lows.
Use signals to make trading decisions:
Wave 3 is often the strongest → possible entry point.
Wave 5 forecast gives a projected exit zone.
Ending Diagonal and Triangles warn of upcoming reversals.
Combine with other indicators (e.g., RSI, volume, support/resistance) for confirmation.
🎯 Features:
Automatic Elliott Wave labeling (1–5 / ABCDE)
Supports both bullish and bearish structures
Auto-line drawing between pivot points
Triangle pattern recognition (ABCDE)
Ending Diagonal pattern detection
Wave 5 forecast using 0.618 Fibonacci projection
Minimalist and clean layout, non-intrusive design
🙏 Credits & Thank You:
This indicator was developed by @CongTrader, a trader passionate about price action and algorithmic trading tools.
I hope this tool helps you improve your market timing and confidence in Elliott Wave analysis.
👉 If you find it helpful, don’t forget to leave a ⭐ or a kind comment to support!
⚠️ Disclaimer:
This script is for educational purposes only and does not constitute financial advice.
Use it with discretion and always validate with other tools.
You are responsible for your own trades. The author is not liable for any financial loss.#ElliottWave #WaveAnalysis #TechnicalAnalysis
#TradingViewScript #AutoElliott #WaveDetector
#TradingStrategy #PriceAction #CongTrader
#ImpulseWaves #Fibonacci #ForexTools
#CryptoTrading #StockTrading #WaveForecast
Previous High/Low Range (D,W,M)Previous High/Low Range (D,W,M)
This indicator displays the previous period’s High, Low, and 50% Midpoint levels for the Day, Week, and Month. It visually extends these levels into the future for easy reference, helping traders identify key support and resistance zones. Users can customize the visibility, colors, and line styles for each timeframe, and optionally show labels and a dashed midpoint line for clearer analysis. Ideal for trend analysis and spotting potential reversal points.
Dual Volume Profiles: Session + Rolling (Range Delineation)Dual Volume Profiles: Session + Rolling (Range Delineation)
INTRO
This is a probability-centric take on volume profile. I treat the volume histogram as an empirical PDF over price, updated in real time, which makes multi-modality (multiple acceptance basins) explicit rather than assumed away. The immediate benefit is operational: if we can read the shape of the distribution, we can infer likely reversion levels (POC), acceptance boundaries (VAH/VAL), and low-friction corridors (LVNs).
My working hypothesis is that what traders often label “fat tails” or “power-law behavior” at short horizons is frequently a tail-conditioned view of a higher-level Gaussian regime. In other words, child distributions (shorter periodicities) sit within parent distributions (longer periodicities); when price operates in the parent’s tail, the child regime looks heavy-tailed without being fundamentally non-Gaussian. This is consistent with a hierarchical/mixture view and with the spirit of the central limit theorem—Gaussian structure emerges at aggregate scales, while local scales can look non-Gaussian due to nesting and conditioning.
This indicator operationalizes that view by plotting two nested empirical PDFs: a rolling (local) profile and a session-anchored profile. Their confluence makes ranges explicit and turns “regime” into something you can see. For additional nesting, run multiple instances with different lookbacks. When using the default settings combined with a separate daily VP, you effectively get three nested distributions (local → session → daily) on the chart.
This indicator plots two nested distributions side-by-side:
Rolling (Local) Profile — short-window, prorated histogram that “breathes” with price and maps the immediate auction.
Session Anchored Profile — cumulative distribution since the current session start (Premkt → RTH → AH anchoring), revealing the parent regime.
Use their confluence to identify range floors/ceilings, mean-reversion magnets, and low-volume “air pockets” for fast traverses.
What it shows
POC (dashed): central tendency / “magnet” (highest-volume bin).
VAH & VAL (solid): acceptance boundaries enclosing an exact Value Area % around each profile’s POC.
Volume histograms:
Rolling can auto-color by buy/sell dominance over the lookback (green = buying ≥ selling, red = selling > buying).
Session uses a fixed style (blue by default).
Session anchoring (exchange timezone):
Premarket → anchors at 00:00 (midnight).
RTH → anchors at 09:30.
After-hours → anchors at 16:00.
Session display span:
Session Max Span (bars) = 0 → draw from session start → now (anchored).
> 0 → draw a rolling window N bars back → now, while still measuring all volume since session start.
Why it’s useful
Think in terms of nested probability distributions: the rolling node is your local Gaussian; the session node is its parent.
VA↔VA overlap ≈ strong range boundary.
POC↔POC alignment ≈ reliable mean-reversion target.
LVNs (gaps) ≈ low-friction corridors—expect quick moves to the next node.
Quick start
Add to chart (great on 5–10s, 15–60s, 1–5m).
Start with: bins = 240, vaPct = 0.68, barsBack = 60.
Watch for:
First test & rejection at overlapping VALs/VAHs → fade back toward POC.
Acceptance beyond VA (several closes + growing outer-bin mass) → traverse to the next node.
Inputs (detailed)
General
Lookback Bars (Rolling)
Count of most-recent bars for the rolling/local histogram. Larger = smoother node that shifts slower; smaller = more reactive, “breathing” profile.
• Typical: 40–80 on 5–10s charts; 60–120 on 1–5m.
• If you increase this but keep Number of Bins fixed, each bin aggregates more volume (coarser bins).
Number of Bins
Vertical resolution (price buckets) for both rolling and session histograms. Higher = finer detail and crisper LVNs, but more line objects (closer to platform limits).
• Typical: 120–240 on 5–10s; 80–160 on 1–5m.
• If you hit performance or object limits, reduce this first.
Value Area %
Exact central coverage for VAH/VAL around POC. Computed empirically from the histogram (no Gaussian assumption): the algorithm expands from POC outward until the chosen % is enclosed.
• Common: 0.68 (≈“1σ-like”), 0.70 for slightly wider core.
• Smaller = tighter VA (more breakout flags). Larger = wider VA (more reversion bias).
Max Local Profile Width (px)
Horizontal length (in pixels) of the rolling bars/lines and its VA/POC overlays. Visual only (does not affect calculations).
Session Settings
RTH Start/End (exchange tz)
Defines the current session anchor (Premkt=00:00, RTH=your start, AH=your end). The session histogram always measures from the most recent session start and resets at each boundary.
Session Max Span (bars, 0 = full session)
Display window for session drawings (POC/VA/Histogram).
• 0 → draw from session start → now (anchored).
• > 0 → draw N bars back → now (rolling look), while still measuring all volume since session start.
This keeps the “parent” distribution measurable while letting the display track current action.
Local (Rolling) — Visibility
Show Local Profile Bars / POC / VAH & VAL
Toggle each overlay independently. If you approach object limits, disable bars first (POC/VA lines are lighter).
Local (Rolling) — Colors & Widths
Color by Buy/Sell Dominance
Fast uptick/downtick proxy over the rolling window (close vs open):
• Buying ≥ Selling → Bullish Color (default lime).
• Selling > Buying → Bearish Color (default red).
This color drives local bars, local POC, and local VA lines.
• Disable to use fixed Bars Color / POC Color / VA Lines Color.
Bars Transparency (0–100) — alpha for the local histogram (higher = lighter).
Bars Line Width (thickness) — draw thin-line profiles or chunky blocks.
POC Line Width / VA Lines Width — overlay thickness. POC is dashed, VAH/VAL solid by design.
Session — Visibility
Show Session Profile Bars / POC / VAH & VAL
Independent toggles for the session layer.
Session — Colors & Widths
Bars/POC/VA Colors & Line Widths
Fixed palette by design (default blue). These do not change with buy/sell dominance.
• Use transparency and width to make the parent profile prominent or subtle.
• Prefer minimal? Hide session bars; keep only session VA/POC.
Reading the signals (detailed playbook)
Core definitions
POC — highest-volume bin (fair price “magnet”).
VAH/VAL — upper/lower bounds enclosing your Value Area % around POC.
Node — contiguous block of high-volume bins (acceptance).
LVN — low-volume gap between nodes (low friction path).
Rejection vs Acceptance (practical rule)
Rejection at VA edge: 0–1 closes beyond VA and no persistent growth in outer bins.
Acceptance beyond VA: ≥3 closes beyond VA and outer-bin mass grows (e.g., added volume beyond the VA edge ≥ 5–10% of node volume over the last N bars). Treat acceptance as regime change.
Confluence scores (make boundary/target quality objective)
VA overlap strength (range boundary):
C_VA = 1 − |VA_edge_local − VA_edge_session| / ATR(n)
Values near 1.0 = tight overlap (stronger boundary).
Use: if C_VA ≥ 0.6–0.8, treat as high-quality fade zone.
POC alignment (magnet quality):
C_POC = 1 − |POC_local − POC_session| / ATR(n)
Higher C_POC = greater chance a rotation completes to that fair price.
(You can estimate these by eye.)
Setups
1) Range Fade at VA Confluence (mean reversion)
Context: Local VAL/VAH near Session VAL/VAH (tight overlap), clear node, local color not screaming trend (or flips to your side).
Entry: First test & rejection at the overlapped band (wick through ok; prefer close back inside).
Stop: A tick/pip beyond the wider of the two VA edges or beyond the nearest LVN, a small buffer zone can be used to judge whether price is truly rejecting a VAL/VAH or simply probing.
Targets: T1 node mid; T2 POC (size up when C_POC is high).
Flip: If acceptance (rule above) prints, flip bias or stand down.
2) LVN Traverse (continuation)
Context: Price exits VA and enters an LVN with acceptance and growing outer-bin volume.
Entry: Aggressive—first close into LVN; Conservative—retest of the VA edge from the far side (“kiss goodbye”).
Stop: Back inside the prior VA.
Targets: Next node’s VA edge or POC (edge = faster exits; POC = fuller rotations).
Note: Flatter VA edge (shallower curvature) tends to breach more easily.
3) POC→POC Magnet Trade (rotation completion)
Context: Local POC ≈ Session POC (high C_POC).
Entry: Fade a VA touch or pullback inside node, aiming toward the shared POC.
Stop: Past the opposite VA edge or LVN beyond.
Target: The shared POC; optional runner to opposite VA if the node is broad and time-of-day is supportive.
4) Failed Break (Reversion Snap-back)
Context: Push beyond VA fails acceptance (re-enters VA, outer-bin growth stalls/shrinks).
Entry: On the re-entry close, back toward POC.
Stop/Target: Stop just beyond the failed VA; target POC, then opposite VA if momentum persists.
How to read color & shape
Local color = most recent sentiment:
Green = buying ≥ selling; Red = selling > buying (over the rolling window). Treat as context, not a standalone signal. A green local node under a blue session VAH can still be a fade if the parent says “over-valued.”
Shape tells friction:
Fat nodes → rotation-friendly (fade edges).
Sharp LVN gaps → traversal-friendly (momentum continuation).
Time-of-day intuition
Right after session anchor (e.g., RTH 09:30): Session profile is young and moves quickly—treat confluence cautiously.
Mid-session: Cleanest behavior for rotations.
Close / news: Expect more traverses and POC migrations; tighten risk or switch playbooks.
Risk & execution guidance
Use tight, mechanical stops at/just beyond VA or LVN. If you need wide stops to survive noise, your entry is late or the node is unstable.
On micro-timeframes, account for fees & slippage—aim for targets paying ≥2–3× average cost.
If acceptance prints, don’t fight it—flip, reduce size, or stand aside.
Suggested presets
Scalp (5–10s): bins 120–240, barsBack 40–80, vaPct 0.68–0.70, local bars thin (small bar width).
Intraday (1–5m): bins 80–160, barsBack 60–120, vaPct 0.68–0.75, session bars more visible for parent context.
Performance & limits
Reuses line objects to stay under TradingView’s max_lines_count.
Very large bins × multiple overlays can still hit limits—use visibility toggles (hide bars first).
Session drawings use time-based coordinates to avoid “bar index too far” errors.
Known nuances
Rolling buy/sell dominance uses a simple uptick/downtick proxy (close vs open). It’s fast and practical, but it’s not a full tape classifier.
VA boundaries are computed from the empirical histogram—no Gaussian assumption.
This script does not calculate the full daily volume profile. Several other tools already provide that, including TradingView’s built-in Volume Profile indicators. Instead, this indicator focuses on pairing a rolling, short-term volume distribution with a session-wide distribution to make ranges more explicit. It is designed to supplement your use of standard or periodic volume profiles, not replace them. Think of it as a magnifying lens that helps you see where local structure aligns with the broader session.
How to trade it (TL;DR)
Fade overlapping VA bands on first rejection → target POC.
Continue through LVN on acceptance beyond VA → target next node’s VA/POC.
Respect acceptance: ≥3 closes beyond VA + growing outer-bin volume = regime change.
FAQ
Q: Why 68% Value Area?
A: It mirrors the “~1σ” idea, but we compute it exactly from empirical volume, not by assuming a normal distribution.
Q: Why are my profiles thin lines?
A: Increase Bars Line Width for chunkier blocks; reduce for fine, thin-line profiles.
Q: Session bars don’t reach session start—why?
A: Set Session Max Span (bars) = 0 for full anchoring; any positive value draws a rolling window while still measuring from session start.
Changelog (v1.0)
Dual profiles: Rolling + Session with independent POC/VA lines.
Session anchoring (Premkt/RTH/AH) with optional rolling display span.
Dynamic coloring for the rolling profile (buying vs selling).
Fully modular toggles + per-feature colors/widths.
Thin-line rendering via bar line width.