ZynAlgo S&R ProAuto Support & Resistance for Smarter, Structure-Based Trading
ZynAlgo S&R Pro automatically detects dynamic Support & Resistance zones in real time — helping you trade with structure, not emotion.
No more manual drawing or second-guessing where price might react. The indicator continuously tracks the most relevant market zones and highlights potential reaction areas with clarity and precision.
🔍 Key Benefits
Instantly see where buyers and sellers are likely to step in.
Filter bad entries and avoid trading into strong opposite zones.
Plan precise SL and TP based on market structure — not guesswork.
Stay aligned with the trend or prepare for reversals at critical zones.
Designed for traders who want clarity, consistency, and confidence.
⚙️ Recommended Usage
Define your trend or bias on a higher timeframe.
Wait for price to approach or break a zone.
Either enter on the first touch (with confirmation)
or wait for the break → retest entry for higher accuracy.
Place stop loss beyond the zone, and take profit at the next opposite zone.
Combine with your own momentum or volume filters for maximum confluence.
💡 Best For
Day & swing traders who trade pullbacks and breakouts.
Beginners wanting clean structure and fewer emotional decisions.
Professionals needing repeatable, rule-based entries across assets.
⚠️ Disclaimer
This tool is for analysis and educational purposes only — not financial advice.
Always test settings per market and manage risk responsibly.
Support
DM S/RWhat the indicator does
DM S/R dynamically finds and plots horizontal lines that represent key support (green) and resistance (red) areas, based on pivot highs and lows.
Support (lime/green line) → Area where price tends to bounce upward.
Resistance (red line) → Area where price tends to reject or pull back.
These lines update automatically when new pivots form.
Essentially, it helps you visually map the price structure — where buying or selling pressure historically appeared.
Options levelsOverview
Options Levels 🎯 plots 13 key institutional and options-based levels directly on your chart — including Call Wall, Put Wall, Gamma Flip, Whales Pivot, five Whale levels, and Sigma deviation bands (σ¹ / σ²).
It’s designed for both intraday and swing traders, offering a clean visual structure with elegant emoji labels, flexible visibility controls, and precise right-edge extensions for each line.
✨ Key Features
Single structured input with 13 ordered levels:
CallWall, PutWall, GammaFlip, Whales Pivot, Whale1..Whale5, Upperσ1, Upperσ2, Lowerσ1, Lowerσ2
Expressive emoji labels (🟢, 🔴, ⚖️, 🌑, 🐋, σ¹/σ²) optimized for dark themes.
Right-edge alignment: each line extends exactly to its label — no infinite lines.
Group visibility toggles:
• Critical Levels → Call Wall, Put Wall, Gamma Flip, Whales Pivot
• Whale Levels → Whale 1–5
• Sigma Bands → Upper/Lower σ¹ and σ²
Dynamic line-length multipliers that emphasize key levels.
Built-in alert conditions:
• Price crossing above the Call Wall
• Price crossing below the Put Wall
⚙️ Inputs & Settings
📋 Level List (string) : comma-separated list of 13 numeric values.
Example:
🎨 Appearance
• Base line length (bars)
• Label visibility toggle
• Line thickness
• Extend line and label to the right
• Distance (bars) between last candle and label
👁️ Visibility Controls
• Toggle Critical, Whale, or Sigma levels independently
🚀 How to Use
Paste your list of 13 ordered levels into the input field.
Adjust base length and thickness according to your timeframe.
Enable “Extend to the right” to position labels neatly beyond the last candle.
Use visibility toggles to focus on specific level groups (e.g., hide Whale Levels for short-term setups).
Optionally enable alerts to track price breakouts above/below Call and Put Walls.
The plotted levels are derived from aggregated options flow data, institutional positioning, and volatility-based deviations (σ). They serve as reference zones rather than predictive signals, helping visualize where liquidity and dealer hedging pressure may cluster.
📖 Level Definitions
Call Wall 🟢 — The strike with the highest call open interest; potential resistance area.
Put Wall 🔴 — The strike with the highest put open interest; potential support area.
Gamma Flip ⚖️ — Level where total gamma exposure changes sign; may reflect a shift in dealer hedging behavior.
Whales Pivot 🌑 — Represents the average institutional positioning from the previous trading day, reflecting where large option flows were most concentrated.
Whale Levels 🐋 — High-premium or large-volume strikes typically linked to institutional activity.
Upper σ¹ / σ² 📈 — One and two standard deviations above spot; potential overextension zones.
Lower σ¹ / σ² 📉 — One and two standard deviations below spot; potential mean-reversion zones.
Levels are manually input by the user. This script is a visual reference, not a predictive model.
⚠️ Notes
Levels are user-provided (not calculated by this script).
The indicator does not issue buy/sell signals or provide performance guarantees.
Designed purely as a visual aid for contextual market reference.
Optimized with barstate.islast for performance (draws only at the latest bar).
Disclaimer:
This indicator is for educational and visual purposes only. It does not generate buy/sell signals or guarantee future results. User-provided levels are meant for contextual reference only.
Developed for traders who rely on market structure and options flow context. Feedback and suggestions are welcome.
Smooth Cloud + ZigZag VPOC📝 Indicator Description
The Smooth Cloud + ZigZag VPOC Indicator is a custom tool that combines three well-known concepts into one study:
Smooth Cloud Trend Filter – built from two smoothed EMAs, this visual “cloud” highlights the prevailing trend direction.
When the fast line is above the slow line, the background cloud shades teal (bullish bias).
When the fast line is below the slow line, the cloud shades red (bearish bias).
Confirmed ZigZag Pivots – plots non-repainting swing highs and swing lows using pivot confirmation. This helps traders see important structural turning points and potential breakout zones.
VPOC Approximation (Volume Point of Control) – within a lookback window, the indicator marks the price level with the highest traded volume. This level often acts as a magnet for price or an area of confluence.
Signals & Alerts
A long signal appears when price is trending up, breaks above the last confirmed pivot high, and (optionally) is above the VPOC line.
A short signal appears when price is trending down, breaks below the last confirmed pivot low, and (optionally) is below the VPOC line.
Alerts can be enabled to notify when these conditions occur.
Customization
Inputs allow adjusting the EMA lengths, smoothing factor, pivot sensitivity, and VPOC lookback.
Users can toggle on/off the cloud fill, pivot markers, bar coloring, and VPOC line to match their charting style.
✅ Notes (for compliance)
This script is for technical analysis and educational purposes only.
It does not provide financial advice or guaranteed results.
Signals are intended to highlight trend direction and breakout areas — traders should always confirm with their own risk management and strategy.
ATR Support LineATR Support Line — Dynamic Volatility Trail
This indicator provides a dynamic trailing support line by combining an anchored moving average with an ATR-based volatility buffer. It is designed to adapt across different timeframes, making it useful for identifying trend support and managing risk.
Features
Flexible anchor length with multiple smoothing types (EMA, SMA, WMA, RMA, ZLEMA).
ATR length and multiplier to fine-tune volatility sensitivity.
Higher-timeframe interpolation for smoother transitions between candles.
Option to use confirmed higher-timeframe values (non-repainting mode).
How to Use
The plotted line acts as a dynamic support trail.
Price trading above the line indicates bullish market structure.
A break below the line may highlight weakening momentum or a potential shift in trend.
Can be applied on different timeframes to align higher-timeframe context with lower-timeframe entries.
Disclaimer
This script is intended for educational and research purposes only.
It is not financial advice. Trading involves significant risk, and past performance does not guarantee future results. Always perform your own analysis before making investment decisions.
Advanced Psychological Level-J-Algo📊 Advanced Psychological Level - Universal Market Support
📝 TradingView Publication Write-up
Title:
Advanced Psychological Level
Short Description:
Professional-grade psychological levels indicator with smart detection for ALL cryptocurrencies, dynamic ATR-based spacing, real-time distance calculations, and intelligent visibility management. Works seamlessly across Forex, Indices, and Crypto markets.
🎯 OVERVIEW
Advanced Psychological Level is a sophisticated trading indicator that automatically identifies and displays critical psychological price levels where institutional orders cluster and market reversals occur.
This advanced system goes beyond basic round number indicators by incorporating intelligent adaptive technology that automatically calibrates to any market and price range - from micro-cap cryptocurrencies to major indices, delivering institutional-grade analysis for retail traders.
✨ KEY FEATURES
🧠 Advanced Intelligence Engine
The core of this indicator uses an advanced methodology combining:
Smart market type detection
Automatic level calibration
Dynamic range optimization
Real-time distance calculations
🌍 Universal Market Intelligence
Forex: Pip-based levels (100, 250) with intraday precision (0.2, 0.5, 0.8)
Indices/CFDs: Optimized whole number intervals with intelligent spacing
Crypto: Revolutionary auto-detection that scales from $0.001 to $100,000+
Proprietary scaling for any cryptocurrency
Intelligent level spacing based on logarithmic price magnitude
Zero manual configuration needed
📈 Dynamic ATR-Based Levels (Optional)
Levels that adapt to market volatility in real-time
Advanced ATR calculations with customizable parameters
Self-adjusting to market conditions
Professional-grade volatility analysis
📊 Real-Time Distance Analytics
Instant calculation of distance to key levels
Percentage-based risk/reward computations
Dual-directional target analysis
Customizable display with professional formatting
🎨 Smart Visibility Management
Intelligent Range Filtering: Shows only statistically relevant levels
Performance Optimized: Advanced rendering prevents lag
Dynamic Clutter Reduction: 70% cleaner charts with 100% effectiveness
Configurable visibility parameters
🏷️ Intelligent Price Labels
Smart label placement system
Hierarchical level classification (Major/Standard/Mid)
Professional typography and spacing
Adaptive positioning based on chart scale
🔔 Advanced Alert System
Multi-tier alerts for different level types
Smart alert filtering to prevent spam
Customizable alert conditions
Real-time level breach detection
⚙️ CONFIGURATION GUIDE
Core Settings
Dynamic ATR Mode: Toggle adaptive volatility-based calculations
ATR Parameters: Fine-tune sensitivity (Period & Multiplier)
Visibility Range: Control smart display range (default 10%)
Price Labels: Configure intelligent price display
Level Controls
Major Levels: Primary psychological barriers (250 pip/point)
Standard Levels: Secondary levels (100 pip/point)
Mid Levels: 50% calculations between majors (crypto-optimized)
Intraday Levels: Micro-structure levels (Forex/Crypto only)
Analytics Display
Distance Table: Real-time calculation display
Position Options: Four-corner placement
Visual Parameters: Full color customization
📖 TRADING METHODOLOGY
For Scalpers
Activate intraday levels for micro-structure analysis
Use distance table for precision entries
Configure alerts for quick level breaks
Optimize visibility to 5% for focused trading
For Day Traders
Focus on Major and Standard levels
Enable smart labels for quick analysis
Use distance calculations for targets
Set visibility range to 10-15%
For Swing Traders
Enable ATR-based dynamic levels
Use Major levels as primary targets
Expand visibility range to 20%
Add mid-levels for additional confluence
For Crypto Traders
Let auto-detection handle any coin automatically
Enable mid-levels for volatile markets
Use distance analytics for position sizing
Monitor cluster zones for high-probability setups
💡 ADVANCED TECHNIQUES
Confluence Trading: Combine with volume profile for high-probability zones
Multi-Timeframe Analysis: Apply daily levels to intraday charts
Risk Management: Use distance percentages for position sizing
Smart Confluence: Identify where multiple levels align
Adaptive Display: Automatically adjusts to your zoom level
🚀 THE ADVANCED ADVANTAGE
vs. Basic Round Number Indicators
✅ Universal crypto support (not just BTC/ETH)
✅ Integrated distance calculations
✅ Smart visibility management
✅ ATR-based adaptive levels
✅ Professional framework
vs. Other Psychological Level Tools
✅ Auto-calibration for any asset
✅ Real-time analytical display
✅ Optimized performance
✅ Complete customization
✅ Clean, uniform appearance
📊 MARKET APPLICATIONS
Forex Trading
Major pairs: 100/250 pip detection
Intraday: Precision 20/50/80 pip levels
Session-optimized performance
Institutional-grade analysis
Index Trading
S&P 500: Smart 100/250 point levels
NASDAQ: Thousand-level detection
DAX: Optimized intervals
Futures-ready calculations
Crypto Trading
Bitcoin: Auto-scaling to $1000/5000 levels
Ethereum: Intelligent $100/250 detection
Altcoins: Perfect scaling for any price
Micro-caps: Works on $0.00001 tokens
🔬 TECHNICAL SPECIFICATIONS
Version: v2.0 (Pine Script v6)
Calculation Method: Real-time, non-repainting
Performance: Optimized for all timeframes
Memory Management: Advanced array handling
Compatibility: All TradingView plans
Support: Open-source with detailed comments
⚠️ KEY BENEFITS
Zero Configuration: Works instantly on any chart
Universal Coverage: One indicator for all markets
Professional Display: Clean, institutional-quality visuals
Real-Time Analytics: Instant risk/reward calculations
Performance Optimized: No lag even on complex charts
🎯 IDEAL FOR
✅ Price action traders
✅ Institutional level analysis
✅ Smart money concepts
✅ Multi-timeframe strategies
✅ Risk management focused trading
✅ Any trader seeking reliable S/R levels
💬 FINAL NOTES
This advanced indicator represents extensive development and real-world testing. It solves critical trading challenges:
Automatic Calibration: No manual adjustment across markets
Intelligent Filtering: Shows only relevant levels
Real-Time Analytics: Instant distance and risk calculations
Universal Compatibility: One solution for all markets
The distance table alone transforms trading by providing instant context for risk/reward decisions. The smart crypto detection means you'll never need another psychological level indicator.
Professional-grade tool, available free and open-source because quality trading tools should be accessible to everyone.
Synthesis DeFi - Fractals - Daily - v7.0This is a free trial version of SynthesisDeFi.com fractals.
A simplified fractal analysis indicator that identifies key market structure points on daily timeframes. This tool automatically detects trend reversals and plots fractal highs and lows with connecting lines, helping traders visualize major support and resistance levels
Why use Synthesis DeFi fractals?
Harmonic Patterns
Wycoff
Elliot Waves
Dow Theory
Created by Oliver Fujimori | SynthesisDeFi.com
Perfect for swing traders and position traders focused on daily market structure analysis
3CRGANG - SUPPLY/DEMAND ZONESOverview
The "3CRGANG - SUPPLY/DEMAND ZONES" indicator is a sophisticated tool designed to identify, classify, and visualize dynamic supply (resistance) and demand (support) zones on your TradingView charts. It goes beyond basic level plotting by incorporating a state-based system that tracks how zones evolve based on price interactions, helping traders anticipate potential reversals, continuations, or breakdowns at key levels. Zones are categorized into states like Untested, Verified, Weak, Flipped, and Broken, providing contextual insights into their strength and reliability. This indicator is particularly useful for swing traders, scalpers, and position traders who rely on price action around institutional levels, as it filters noise and highlights actionable zones with customizable alerts and visual aids.
Built on Pine Script v6, it overlays directly on your chart with semi-transparent boxes for zones, optional labels for quick reference, and alert triggers for zone tests. The invite-only access ensures users benefit from its proprietary enhancements, making it a premium alternative to generic zone indicators.
How It's Built: Core Concepts and Calculations
At its foundation, the indicator detects potential supply and demand zones using a fractal-based pivot detection method, which identifies local highs and lows by comparing a central bar's price to surrounding bars within a validation window. This window is dynamically adjusted via a "Fractal Sensitivity Factor" (default 6.0), which scales the lookback period relative to your chart's timeframe—ensuring zones adapt to market volatility without over- or under-fitting. For example, on a 15-minute chart, this might equate to checking 18-24 bars around a candidate pivot for confirmation.
Once a fractal pivot is confirmed:
Zone Boundaries: The zone is constructed around the pivot high/low, extended by a fraction of the Average True Range (ATR, period 7) using the "Zone Boundary ATR Multiplier" (default 0.3). This creates a band that accounts for typical price fluctuations, preventing overly tight or loose zones. A subtle "Zone Fuzz Factor" (default 0.15) adds a minor buffer to the ATR-derived extension, allowing for fine-tuning in choppy markets without altering the core range.
Merging Overlaps: To avoid clutter, overlapping zones of the same type (or flipped counterparts) are intelligently merged through up to 2-3 passes (configurable via "Max Merge Passes"). This consolidation increases the "test count" for the resulting zone, reflecting cumulative price rejections and enhancing its perceived strength.
Zone Testing and Classification: Price interactions with zones are evaluated using one of two methods:
Dynamic - Bars: Counts tests when price wicks into the zone from outside or closes out after entering, with a minimum gap (0-2 bars) to prevent rapid-fire counts in ranging markets.
Mechanical - Pivots: Enhances the dynamic method by requiring a mechanical pivot (e.g., via TradingView's built-in pivothigh/pivotlow) within the zone during the test, adding a layer of confirmation for more conservative signals. Tests are tallied with a "Weak Zone Test Threshold" (default 1), classifying zones as:
Untested: No interactions yet—fresh levels with high potential.
Weak: 1 or fewer meaningful tests—early signals that may fade.
Verified: Multiple tests (above threshold)—strong, repeatedly respected levels.
Flipped: A broken zone that reverses role (e.g., resistance becomes support), based on a decisive close beyond the boundary.
Broken: Permanently invalidated by a strong breakout, optionally displayed for historical context.
Time and Session Integration: Zones are timestamped and limited to a "Back Limit" (default 500 bars) for performance. It incorporates a custom holiday library (importing from RotemB's LIBRARY_3CRGANG_Holidays_Library) to detect closures across major exchanges (NYSE, LSE, FSE, SSX, TSE, HKSE), adjusting session times for half-days and full holidays. Alerts are filtered by user-selected sessions, weekends, and a "Do Not Disturb" (DND) mode with timezone-aware scheduling (e.g., UTC+3 Jerusalem default, selectable from 90+ global options).
This combination of fractal detection, ATR-based sizing, multi-pass merging, and test-driven state evolution draws from classic supply/demand principles but refines them with proprietary logic to handle real-world market dynamics, such as volatility clustering and institutional session biases.
Why It’s Useful
Supply and demand zones are foundational to price action trading, representing areas where large orders accumulate and cause reversals or pauses. This indicator streamlines the process by automating zone discovery and maintenance, saving time compared to manual drawing. Its state system adds predictive value: Verified zones often signal high-probability bounces, while Flipped ones highlight role reversals for trend continuation trades. Alerts notify you of tests in real-time, ideal for multi-chart monitoring, and session/holiday filters reduce false signals during low-liquidity periods (e.g., no alerts on Christmas for NYSE-linked assets).
Traders benefit from reduced emotional bias—zones "age out" beyond the back limit, focusing on recent action—and customizable visuals prevent chart overload. In volatile markets like forex or crypto, the ATR-adjusted boundaries adapt better than fixed-percentage methods, while the test count helps gauge exhaustion (e.g., over-tested Weak zones may signal impending breaks). Overall, it enhances decision-making by providing not just levels, but their evolving context.
How to Use It
Add to Chart:
Search for "3CRGANG - SUPPLY/DEMAND ZONES" in TradingView's invite-only scripts (access required). Apply to any timeframe from 1-minute to yearly, though it shines on intraday (15M-4H) for active trading.
Configure Inputs:
Test Mode: Choose "Dynamic - Bars" for sensitive, wick-focused testing or "Mechanical - Pivots" for stricter, pivot-confirmed interactions. Adjust "Minimum Test Gap" (0-2) to filter rapid tests and "Weak Zone Test Threshold" (1-3) to define strength tiers.
Pivot Filters: Tune "Fractal Sensitivity Factor" (5-14) for fewer/more zones—higher values for smoother trends, lower for chop.
Zone Width: Set "Zone Boundary ATR Multiplier" (0-1) for tighter/wider bands; use "Zone Fuzz Factor" (0-1) sparingly for boundary tweaks.
Visual: Select zone style (Solid/Dashed/Dotted), linewidth (1-3), and horizontal extension (None/Right/Both). Toggle visibility per state (e.g., hide Broken for cleaner charts).
Labels: Enable "Show Labels" for state/type info; add "Show Zone Size" (in pips/$) and "Show Test Count" for details. Adjust shift for positioning.
Alerts: Enable per state (Untested/Weak/Verified/Flipped). Filter by sessions (e.g., enable NYSE for US equities), holidays, weekends, and DND (set time ranges in your timezone to mute notifications).
Colors: Customize per state/type for intuitive visuals (e.g., red shades for resistance).
Trading Application:
Entries: Buy at Verified Demand (green) tests, sell at Verified Supply (red). Use Flipped zones for breakout confirmation.
Exits/Risk: Place stops beyond zone boundaries; trail profits on Weak/Flipped signals indicating fading strength.
Alerts Setup: In TradingView's alert dialog, select this indicator and configure for "alert() function calls only" to receive zone-test notifications.
Multi-Timeframe: View higher-TF zones on lower charts for confluence (e.g., daily zones on 1H).
Best Practices: Combine with volume or oscillators; backtest on your asset to optimize sensitivity.
Chart Example: XAG/USD (m5 timeframe)
Chart Notes
The chart displays zones on XAGUSD (M5 timeframe), presenting a clear price action structure with three distinct zones. A green Verified Support zone, marked with a translucent green box, indicates a robust demand level that has been tested multiple times and held firm. A blue Weak Support zone, outlined with a lighter blue box, reflects a less-tested support level with fewer rejections, suggesting lower reliability. A gold Flipped Resistance zone, highlighted with a golden box, initially acted as a resistance with rejections before breaking through and retesting as a support zone, showcasing its transition. Labels appear to the right of each zone, displaying details such as "VERIFIED SUPPORT (6.72 points, T=3)" for the Verified zone, "WEAK SUPPORT (6.9 points, T=1)" for the Weak zone, and "FLIPPED SUPPORT (3.85 points, T=10)" for the Flipped zone, with sizes in dollars (or pips if under $1) and test counts included. Zones extend horizontally to the right based on the user-defined shift setting, with customizable dashed or dotted borders for enhanced visual clarity.
Requires 500 bars of history for optimal performance. Alerts are muted during holidays (e.g., Lunar New Year) or Do Not Disturb periods.
Settings
Test Mode: Choose method (Dynamic - Bars or Mechanical - Pivots), set minimum test gap (0-2 bars), and weak zone threshold (1-3 tests).
General: Adjust back limit (250-1000 bars).
Pivot Filters: Set fractal sensitivity factor (5-14) and max merge passes (1-3).
Zone Width: Define ATR multiplier (0-1) and fuzz factor (0-1).
Visual: Select zone style (Solid, Dashed, Dotted), line width (1-3), shift end right (1-50 bars), and extension (None, Right, Both).
Visibility: Toggle display for each state (Untested, Verified, Weak, Flipped, Broken).
Labels: Enable labels, set shift (1-50 bars), size, and show size/test counts.
Alerts: Enable alerts by state (Untested, Weak, Verified, Flipped).
DND Settings: Set timezone, Do Not Disturb hours, and weekend alerts.
Sessions Alerts: Filter alerts by exchange (NYSE, LSE, etc.) and holiday settings.
Colors: Assign colors to each zone state and type.
Why It's Unique and Worth Invite-Only Access
While supply/demand indicators exist, this one stands out through its integrated ecosystem: adaptive fractal pivots with sensitivity scaling, multi-pass overlap merging that preserves test history, and a nuanced state machine that evolves zones based on configurable test mechanics—far beyond simple high/low plotting or basic breakouts. The proprietary blending of ATR fuzzing, retroactive test validation during zone creation, and global exchange holiday/session filtering (with half-day adjustments) minimizes irrelevant alerts, a common pain point in public scripts. It doesn't rely solely on built-ins or educational code; instead, it enhances them with custom logic for zone lifecycle management, making it resilient across assets and timeframes.
This originality justifies its closed-source nature—revealing the full interplay of fractal windowing, merge algorithms, and alert conditioning could dilute its edge. As an invite-only script, it provides clear value through premium features like timezone-aware DND, comprehensive holiday integration (e.g., Lunar New Year for HKSE), and state-aware alerts, which aren't replicated in free alternatives. Traders seeking an efficient, low-noise tool for institutional-level analysis will find it worth the access, as it delivers actionable insights that generic indicators overlook.
Disclaimer
This indicator assists in zone identification but does not guarantee success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
Auto Levels & Smart Money [ #Algo ] Pro : Smart Levels is Smart Trades 🏆
"Auto Levels & Smart Money Pro" indicator is specially designed for day traders, pull-back / reverse trend traders / scalpers & trend analysts. This indicator plots the key smart levels , which will be automatically drawn at the session's start or during the session, if specific input is selected.
🔶 Usage and Settings :
A :
⇓ ( *refer 📷 image ) ⇓
B :
⇓ ( *refer 📷 images ) ⇓
🔷 Features :
a : automated smart levels with #algo compatibility.
b : plots auto SHADOW candle levels Zones ( smart money concept ).
c : ▄▀ RENKO Emulator engine ( plots Non-repaintable #renko data as a line chart ).
d : session 1st candle's High, Low & 50% levels ( irrespective of chart time-frame ).
e : 1-hour High & Low levels of specific candle, ( from the drop-down menu ), for any global market symbols or crypto.
f : previous Day / Week / Month, chart High & Low.
g : pivot point levels of the Daily, Weekly & Monthly charts.
h : 2 class types of ⏰ alerts ( only signals or algo execution ).
i : auto RENKO box size (ATR-based) table for 30 symbols.
j : auto processes " daylight saving time 🌓" data and plots accordingly.
💠Note: "For key smart levels, it processes data from a customized time frame, which is not available for the *free Trading View subscription users , and requires a premium plan." By this indicator, you have an edge over the paid subscription plan users and can automatically plot the shadow candle levels and Non-repaintable RENKO emulator for the current chart on the free Trading View Plan at any time frame .
⬇ Take a deep dive 👁️🗨️ into the Smart levels trading Basic Demonstration ⬇
▄▀ 1: "RENKO Emulator Engine" ⭐ , plots a noiseless chart for easy Top/Bottom set-up analysis. 10 types of 💼 asset classes options available in the drop-down menu.
LTP is tagged to current RSI ➕ volatility color change for instant decisions.
⇓ ( *refer 📷 image ) ⇓
🟣 2: "Shadow Candle Levels and Zones" will be drawn at the start of the session (which will project shadow candle levels of the previous day), and it comes with a zone. which specifies the Supply and Demand Zone area. *Shadow levels can be drawn for the NSE & BSE: Index/Futures/Options/Equity and MCX: Commodity/FNO market only.
⇓ ( *refer 📷 image ) ⇓https://www.tradingview.com/x/SIskBm77/
🟠 3: plots "Session first candle High, low, and 50%" levels ( irrespective of chart time-frame ), which a very important levels for an intraday trader with add-on levels of Previous Day, Week & Month High and Low levels.
⇓ ( *refer 📷 image ) ⇓
🔵 4: plots "Hourly chart candle" High & Low levels for the specific candles, selected from the drop-down menu with Pivot Points levels of Daily, Weekly, Monthly chart.
Note: The drop-down menu gives a manual selection of the hour candles for all "🌐 Crypto / XAU-USD / Forex / USA".
ex: "2nd hr" will give the session's First hour candle "High & Low" level.
⇓ ( *refer 📷 image ) ⇓
🔲 5: "Auto RENKO box size" ( ATR based ) : This indicator is specially designed for 'Renko' trading enthusiasts, where the Box size of the ' Renko chart ' for intraday or swing trading, ( ATR based ) , automatically calculated for the selected ( editable ) symbols in the table.
⇓ ( *refer 📷 image ) ⇓
*NOTE :
Table symbols are for NSE/BSE/USA.
Symbols are Non-editable (fixed).
Table Symbols for MCX only.
Table Symbols for XAU & 🌐CRYTO.
⏰ 6: "Alert functions."
⇓ ( *refer 📷 image ) ⇓
◻ : Total 8 signal alerts can be possible in a Single alert.
◻ : Total 12 #algo alerts , ( must ✔ tick the Consent check box for algo and alerts execution/trigger ).
💹 Modified moving average line. Includes data from both the exponential and simple moving average.
This Indicator will work like a Trading System . It is different from other indicators, which give Signals only. This script is designed to be tailored to your personal trading style by combining components to create your own comprehensive strategy . The synergy between the components is key to its usefulness.
It focuses on the key Smart Levels and gives you an Extra edge over others.
✅ HOW TO GET ACCESS :
You can see the Author's instructions to get instant access to this indicator & our premium suite. If you like any of my Invite-Only indicators, let me know!
⚠ RISK DISCLAIMER :
All content provided by "TradeWithKeshhav" is for informational & educational purposes only.
It does not constitute any financial advice or a solicitation to buy or sell any securities of any type. All investments / trading involve risks. Past performance does not guarantee future results / returns.
Regards :
TradeWithKeshhav & team
Happy trading and investing!
Malaysian SnR + Storyline This indicator combines the Malaysian Support & Resistance (SnR) method with a Multi-Timeframe Storyline view.
🔹 Malaysian SnR (A/V levels)
Plots Support & Resistance using candlestick bodies only (close → open).
“A” shape = Resistance (bullish close → bearish open).
“V” shape = Support (bearish close → bullish open).
Supports Fresh/Unfresh logic with wick-touch validation.
🔹 Storyline (W/D/H4/H1 bias lines)
Weekly = Big map / macro bias.
Daily = Medium trend / retracement.
H4 = Intraday bias confirmation.
H1 = Execution bias (entry filter).
Lines extend forward and only update when a new pivot confirms.
🔹 Extra Features
Alignment Rule: option to hide A/V levels when TF biases don’t align (e.g. W=D=H4=H1).
Story Labels: optional text labels describing each TF storyline.
History filter: show storyline for the last X days only, for cleaner charts.
This script is designed for price action traders who want to combine body-based SnR levels with a clear multi-timeframe bias storyline, making it easier to align intraday execution with higher timeframe context.
Anrazzi - EMAs/ATR - 1.0.2The Anrazzi – EMAs/ATR indicator is a multi-purpose overlay designed to help traders track trend direction and market volatility in a single clean tool.
It plots up to six customizable moving averages (MAs) and an Average True Range (ATR) value directly on your chart, allowing you to quickly identify market bias, dynamic support/resistance, and volatility levels without switching indicators.
This script is ideal for traders who want a simple, configurable, and efficient way to combine trend-following signals with volatility-based position sizing.
📌 Key Features
Six Moving Averages (MA1 → MA6)
Toggle each MA on/off individually
Choose between EMA or SMA for each
Customize length and color
Perfect for spotting trend direction and pullback zones
ATR Display
Uses Wilder’s ATR formula (ta.rma(ta.tr(true), 14))
Can be calculated on current or higher timeframe
Adjustable multiplier for position sizing (e.g., 1.5× ATR stops)
Displays cleanly in the bottom-right corner
Custom Watermark
Displays symbol + timeframe in top-right
Adjustable color and size for streamers, screenshots, or clear charting
Compact UI
Organized with group and inline inputs for quick configuration
Lightweight and optimized for real-time performance
⚙️ How It Works
MAs: The script uses either ta.ema() or ta.sma() to compute each moving average based on the user-selected type and length.
ATR: The ATR is calculated using ta.rma(ta.tr(true), 14) (Wilder’s smoothing), and optionally scaled by a multiplier for easier use in risk management.
Tables: ATR value and watermark are displayed using table.new() so they stay anchored to the screen regardless of zoom level.
📈 How to Use
Enable the MAs you want to track and adjust their lengths, type, and colors.
Enable ATR if you want to see volatility — optionally select a higher timeframe for broader context.
Use MAs to:
Identify overall trend direction (e.g. price above MA20 = bullish)
Spot pullback zones for entries
See when multiple MAs cluster together as support/resistance zones
Use ATR value to:
Size your stop-loss dynamically (e.g. stop = entry − 1.5×ATR)
Detect volatility breakouts (ATR spikes = market expansion)
🎯 Recommended For
Day traders & swing traders
Trend-following & momentum strategies
Volatility-based risk management
Traders who want a clean, all-in-one dashboard
Ichimoku Horizon v2Ichimoku Horizon v2
Multi-timeframe Ichimoku. Pine Script v6.
lookahead_off, no-repaint. Chart timeframe + up to three higher horizons.
What’s new in v2
Presets (+ Custom mode).
Timeframe banner.
Lines and colors configurable per TF.
Right-side labels for Tenkan/Kijun + “Kumo TF” labels.
Preset structure
Timeframe 1 = short horizon → blue.
Timeframe 2 = medium horizon → green.
Timeframe 3 = long horizon → violet.
MTF display is automatic only when the selected TF is higher than the chart TF.
Calculation rules
Tenkan 9, Kijun 26, SSB 52, Displacement 26.
SSA = average(Tenkan, Kijun) projected +26.
SSB = (52-high + 52-low) / 2 projected +26.
Chikou = close plotted 26 periods back.
lookahead_off and no-repaint
lookahead_off: calculations use no future data. Lines update live while a bar forms, then freeze at close.
No-repaint: past values never change after close. Plots reflect the real-time state exactly.
Adjustable labels
Distance: per-TF right offset (in bars) to position labels.
Size and color: Tiny/Small/Normal/Large, color per TF.
Anti-overlap: automatic spacing when two labels share nearly the same price.
Disclaimer
Ichimoku Horizon is a decision-support tool. It guarantees no results and does not replace your analysis or training in trading and risk. Before risking capital, test on a demo account if possible. Match parameters to your asset and horizon. Markets are volatile: losses, including total loss, are possible. Use risk management.
Imbalance (FVG)Indicator Description
This script is designed to automatically identify and visualize Fair Value Gaps (FVGs), also known as Imbalances, on your chart. An FVG is a key price action concept that highlights areas where the price moved swiftly, leaving a gap behind. This indicator is simple to use and fully customizable, making it an excellent tool for both novice and experienced traders.
Key Features
Automatic Detection: The indicator scans the market in real-time, automatically drawing FVG zones for both Bullish and Bearish moves.
Mitigation Tracking: When the price returns to an FVG zone, the indicator automatically marks it as "mitigated" (filled) by changing its color and style. This provides a clear signal that the imbalance has been neutralized.
Extend Zones Into the Future: Unmitigated FVG zones are automatically extended into the future, allowing them to be used as potential future support or resistance levels.
Full Customization: The user has complete control over the indicator's appearance. You can change the colors for bullish, bearish, and mitigated zones, as well as toggle their visibility on and off.
Performance Optimization: A built-in limit for the number of drawn objects prevents chart clutter and avoids errors from TradingView's drawing limits, ensuring smooth performance.
How to Use?
FVG zones can be used in various ways, including:
Price Magnets: Markets often tend to revert to "fill" these gaps.
Potential Entry Points: Price entering an FVG zone can present an opportunity to open a position, especially if confirming signals appear.
Support/Resistance Zones: Unfilled gaps can act as strong, dynamic levels of support or resistance.
Piano Frequency LevelsPiano Frequency Levels
This indicator applies the mathematical principles of musical harmony to market analysis, creating support and resistance levels based on authentic piano frequency ratios. Drawing from centuries-old musical theory, it maps the precise mathematical relationships between piano keys to price levels.
How It Works: The indicator uses the exact frequency ratios from equal temperament tuning - the same mathematical system that makes pianos sound harmonious. Each level represents an actual piano key frequency, scaled proportionally to your chosen anchor price.
Key Features:
• Piano-Based Ratios: Uses authentic 12-tone equal temperament frequency relationships (1.05946 ratio between semitones)
• Directional Intelligence: Automatically creates ascending levels from lows (resistance) or descending levels from highs (support)
• Musical Note Labels: Optional display of actual piano key names (C4, D#5, F6, etc.) alongside price levels
• Black Key Subdivisions: Toggle authentic sharp/flat keys between natural notes for additional precision
• Octave Color Coding: Each musical octave displays in a different color for easy visual identification
• Anchor Reference: Bright green line clearly marks your C-note reference point
Musical Foundation: Every level corresponds to an actual piano key. The anchor point represents "C" (the musical root), with levels progressing through the natural musical sequence: C, D, E, F, G, A, B, then repeating in higher octaves. This creates proportional spacing that mirrors the harmonic relationships musicians have used for centuries.
Usage:
1. Set your anchor to a significant market high or low
2. Choose your desired number of levels (typically 12-24 for 1-2 octaves)
3. Enable "Add Black Keys" for additional intermediate levels
4. Enable "Show Note Names" to see which piano key each level represents
The Theory: Musical harmony is based on precise mathematical ratios that create pleasing relationships between frequencies. These same mathematical principles may manifest in market movements, as price action often exhibits proportional relationships similar to musical intervals.
Unique Advantages:
• Based on established mathematical principles rather than arbitrary ratios
• Provides both major levels (white keys) and intermediate levels (black keys)
• Automatically adapts direction based on anchor type (high vs low)
• Maintains authentic musical relationships across all timeframes and price ranges
Important Note: This indicator presents a theoretical framework for market analysis. Like all technical analysis tools, it should be used in conjunction with other forms of analysis and proper risk management. The musical ratios provide a unique perspective on potential support and resistance levels, but past performance does not guarantee future results.
Transform your charts into a musical instrument and discover the hidden harmonies in market movements.
Previous Day & Premarket High/Low# Previous Day & Premarket High/Low Indicator
## Overview
This TradingView Pine Script indicator displays previous day's high/low levels and premarket high/low levels (HOD/LOD) directly on your chart. It helps traders identify key support and resistance levels from the previous trading day and track premarket price action.
## Features
### 📊 Previous Day Levels
- **Previous Day High (PDH)**: Shows the highest price from the previous trading day
- **Previous Day Low (PDL)**: Shows the lowest price from the previous trading day
- **Dynamic lines**: Automatically update each day with new previous day levels
- **Customizable colors**: Green for high, red for low (configurable)
### 🌅 Premarket Levels
- **Live Premarket HOD/LOD**: Real-time tracking of premarket high and low during premarket hours (4:00 AM - 9:30 AM)
- **Static Premarket Levels**: Frozen levels captured at 9:29 AM that persist throughout the trading day
- **Automatic session detection**: Identifies premarket vs regular trading hours
- **Time-based extension**: Lines extend to 4:00 PM end of trading day
## Time Sessions
### Premarket Session
- **Time**: 4:00 AM - 9:30 AM ET
- **Live tracking**: HOD/LOD update in real-time during premarket
- **Capture time**: Final values captured at 9:29 AM for static display
### Regular Trading Session
- **Time**: 9:30 AM - 4:00 PM ET
- **Static display**: Shows frozen premarket levels from 9:29 AM
- **Previous day levels**: Displays levels from the prior trading day
## Visual Elements
### Line Types
1. **Previous Day High**: Solid green line (customizable color)
2. **Previous Day Low**: Solid red line (customizable color)
3. **Live Premarket HOD**: Solid blue line (updates during premarket only)
4. **Live Premarket LOD**: Solid orange line (updates during premarket only)
5. **Static Premarket HOD**: Dashed blue line (frozen at 9:29 AM)
6. **Static Premarket LOD**: Dashed orange line (frozen at 9:29 AM)
### Labels
- **PDH/PDL**: Previous day high/low labels on the right side
- **PreMarket HOD/LOD**: Live premarket labels (during premarket hours)
- **Static Pre HOD/LOD**: Static premarket labels (after 9:29 AM)
## Input Settings
### Display Options
- **Show Previous Day High/Low**: Toggle previous day levels on/off
- **Show Premarket High/Low**: Toggle premarket levels on/off
- **Line Width**: Adjust thickness of all lines (1-5)
### Color Customization
- **Previous Day High Color**: Default green
- **Previous Day Low Color**: Default red
- **Premarket High Color**: Default blue
- **Premarket Low Color**: Default orange
Intraday Buy/Sell/Average Zones by Chaitu50cIntraday Buy/Sell/Average Zones by chaitu50c
Timeframe:
Tested on the 5-minute chart.
Recommended timeframe: 5-minute
What it does
This indicator marks intraday Buy (green) and Sell (red) zones made by strong close-confirmed breakouts. These zones act as support/resistance. If price later closes through a zone, the zone changes color from that bar forward (support ↔ resistance). It can flip more than once.
How zones form
Single breakout: an opposite-type candle closes beyond the previous candle’s high/low.
Double breakout: a base candle, then two opposite-type candles, and the second one closes beyond the base high/low.
Zone size
Buy zone: from the combo lowest low up to the nearest open/close of the combo.
Sell zone: from the combo highest high down to the nearest open/close of the combo.
Color shift (optional)
If price closes through a zone, it flips color at that bar and behaves as the other side (support ↔ resistance). Flips can happen again later.
Overlap control
When a new zone overlaps an existing same-color zone in the same session, choose:
Merge (combine), or
Suppress (ignore the new one).
Flipped zones use their current color for this.
Right edge & session
All zones extend to the right (your offset). Detection is limited to your chosen session, and you can show only the last N sessions.
---
How to trade (simple)
A) Initial breakout trade
When a new zone forms, that breakout itself can be a trade idea in the breakout direction, The stoploss will be the zone.
B) Zone breakout trade (flip)
If price later closes out of a zone and it changes color, that breakout is another trade opportunity in the new direction.
C) Retrace & average trade
When price retests a zone, wait for a confirmation candle in the zone’s favor
— bullish close for a green zone, bearish close for a red zone — then average entries inside/near the zone.
Place stops just beyond the opposite edge of the zone.
If the zone flips color, stop averaging; bias changed.
---
Key settings
Breakout type: Single and/or Double
Confirm on Close: strict mode (no intrabar preview) or allow intrabar preview that auto-removes if fail
Color Shift on Breaks: on/off
Same-Type Overlap: Merge/Suppress
Session, Sessions to Display, Right Offset, Colors, Max Zones
Reminder: Best results on the 5-minute timeframe (tested and recommended).
Chartlense Dashboard (Data, Trend & Levels)Chartlense Dashboard (Data, Trend & Levels)
Overview
This dashboard is designed to solve two common problems for traders: chart clutter and the manual drawing of support and resistance levels . It consolidates critical data from multiple indicators into a clean table overlay and automatically plots the most relevant S&R levels based on recent price action. The primary goal is to provide a clear, at-a-glance overview of the market's structure and data.
It offers both a vertical and horizontal layout to fit any trader's workspace.
Key Concepts & Calculations Explained
This indicator is more than a simple collection of values; it synthesizes data to provide unique insights. Here’s a conceptual look at how its core components work:
Automatic Support & Resistance (Pivot-Based):
The dashed support (green) and resistance (red) lines are not manually drawn. They are dynamically calculated based on the most recent confirmed pivot highs and pivot lows . A pivot is a foundational concept in technical analysis that identifies potential turning points in price action.
How it works: A pivot high is a candle whose `high` is higher than a specific number of candles to its left and right (the "Pivot Lookback" is set to 5 by default in the settings). A pivot low is the inverse. By automatically identifying these confirmed structural points, the script visualizes the most relevant levels of potential supply and demand on the chart.
Relative Volume (RVOL):
This value in the table is not the standard volume. It measures the current bar's volume against its recent average (specifically, `current volume / 10-period simple moving average of volume`).
Interpretation: A reading above 2.0 (indicated by green text) suggests that the current volume is more than double the recent average. This technique is used to identify significant volume spikes, which can add conviction to breakouts or signal potential market climaxes.
Consolidated Data for Context:
Other values displayed in the table, such as the EMAs (9, 20, 200) , Bollinger Bands (20, 2) , RSI (14) , MACD (12, 26, 9) , and VWAP (on intraday charts), use their standard industry calculations. They are included to provide a complete contextual picture without needing to load each indicator separately, saving valuable chart space.
How to Use This in Your Trading
This dashboard is designed as a tool for confluence and context , not as a standalone signal generator. Here are some ways to integrate it into your analysis workflow:
As a Trend Filter: Before considering a trade, quickly glance at the EMAs and the MACD values in the table. A price above the key EMAs and a positive MACD can serve as a quick confirmation that you are aligned with the dominant trend.
To Validate Breakouts: When the price is approaching a key Resistance level (red pivot line), watch the RVOL value . A reading above 2.0 on the breakout candle adds significant confirmation that the move is backed by strong interest. The same logic applies to breakdowns below a support level.
To Spot Potential Reversals: Confluence is key. For example, if the price is testing a Support level (green pivot line) AND the RSI in the table is approaching oversold levels (e.g., near 30), it can signal a higher probability reversal setup.
About This Indicator
This indicator was developed by the team at ChartLense to help traders declutter their charts and focus on the data that matters. We believe in making complex analysis more accessible and organized. We hope this free tool is a valuable addition to your trading process.
Interval Highlighter with High/Low AlertsInterval Highlighter with High/Low Alerts
Overview:
This Pine Script indicator enhances chart analysis by highlighting specific time intervals and marking the highest and lowest prices within those periods. It supports three customizable modes:
Date Range: Highlight a user-defined period with background shading and plot the highest and lowest prices.
Days of the Week: Highlight specific weekdays with background colors and plot the highest and lowest prices for each day.
Intraday Interval: Highlight a specific intraday time range (e.g., 12:30 PM to 4:30 PM) with background shading and plot the highest and lowest prices within that interval.
Alerts are triggered when the price touches any of the highlighted high or low levels, providing real-time notifications for potential trading opportunities.
High and low lines extend to the right and remain visible after the interval ends. This ensures they act as actionable reference points for alerts between intervals, allowing users to monitor critical levels until a new interval of the same category forms.
Features:
Customizable Time Intervals: Define specific date ranges, weekdays, or intraday intervals to highlight on the chart.
High/Low Tracking: Automatically plots the highest and lowest prices within the defined intervals.
Real-Time Alerts: Set up alerts to notify when the price touches any of the highlighted high or low levels.
Actionable Lines: High/low lines remain visible after interval completion to serve as reference points for alerts.
Visual Enhancements: Customize background colors and line styles for each interval type.
Usage:
Apply the indicator to your chart.
Configure the desired modes (Date Range, Days of the Week, Intraday Interval) in the settings.
Customize the appearance settings to match your preferences.
Set up alerts based on the highlighted high/low levels.
Disclaimer:
This indicator is designed to assist in identifying potential areas of interest based on historical high and low levels within specified intervals. It is not intended as a standalone trading signal. Users should employ additional technical analysis tools and conduct thorough research before making trading decisions.
Zone Cluster Confluence ProWhat it does
Zone Cluster Confluence Pro automatically finds price “zones” via equal-frequency clustering of HLC3 values and wraps each cluster center with an ATR-based band. Zones are color-coded by a 0–100 Strength % and can optionally highlight confluence with a higher timeframe (HTF) right on your chart.
Key features
• Adaptive Depth by Volatility (ATR regime): zone width scales down in calm markets and widens in volatile regimes.
• Strength % scoring with color mapping (Strong / Work / Mid / Weak). The score blends:
• number of touches (with tolerance),
• dwell time inside the zone (penalized),
• confirmed breakouts (penalized),
• average overshoot beyond the band (penalized),
• recency bonus,
• optional volume-boosted touches (volume > SMA × multiplier).
• HTF Confluence Overlay: computes zones on a higher TF (multiplier of the source TF or a specific TF) and highlights the intersection of LTF zones with the nearest HTF zone (white fill).
• Presets per TF: Aggressive / Stable / Anti-pierce profiles with hand-tuned params for 15/30/60/120/240m; or run fully Manual.
• Clean visuals: centers, borders, filled bands; strength labels with auto-contrast text.
How it works (high level)
• Clustering method: choose K-median or K-means (median/mean of equal-frequency buckets) to place zone centers.
• Zone width = ATR × Depth; Depth becomes Adaptive when the ATR regime deviates from its long SMA.
• Strength % is computed over a lookback window using the components listed above; touches can earn an extra bonus on elevated volume.
Inputs (most useful)
• Source TF: inherit from chart or pick a specific TF.
• Zones (k): 2–5 clusters.
• Presets: Aggressive / Stable / Anti-pierce, or Manual control of Candles Back, ATR length, Depth.
• Adaptive Depth: on/off, regime thresholds & multipliers.
• Strength %: profile (Conservative/Neutral/Optimistic), lookback, breakout/overshoot/touch tolerance.
• Volume boost: SMA length, spike multiplier, weight.
• HTF Confluence: on/off, TF multiplier, HTF preset/method/params, and whether HTF k mirrors LTF k.
Reading the chart
• Zone fills are colored by Strength %:
• 80–100 Strong, 60–80 Work, 40–60 Mid, <40 Weak.
• White fills mark LTF×HTF intersections (confluence areas).
• Strength labels (Z1…Z5) show the current score; label background matches the strength color.
Tips
• Use Stable for most markets, Aggressive for fast intraday, Anti-pierce to reduce whipsaw.
• Turn on HTF confluence to filter LTF zones down to areas aligned with the larger trend structure.
• If you scalp, keep volume boost on; for thin markets consider lowering the spike multiplier.
Notes
• No lookahead is used for HTF data (request.security with lookahead_off).
• Zones update as new bars arrive and as the lookback window rolls; this is not a fixed S/R drawing tool.
• Works on any symbol/timeframe; parameter tuning is encouraged.
Access
This script is Invite-Only.
Disclaimer
For educational purposes only. Not financial advice. Trading involves risk.
RB — Rejection Blocks (Price Structure)This indicator detects and visualizes Rejection Blocks (RBs) using pure price action logic.
A bullish RB occurs when a down candle forms a lower low than both its neighbors. A bearish RB occurs when an up candle forms a higher high than both its neighbors.
Validated RBs are displayed as boxes, optional lines, or labels. Blocks are automatically removed when invalidated (price closes through them), keeping the chart uncluttered and focused.
How to use
• Apply on any timeframe, from intraday to higher timeframes.
• Watch how price reacts when revisiting RB zones.
• Treat these zones as contextual areas, not entry signals.
• Combine with your own trading methods for confirmation.
Originality
Unlike generic support/resistance tools, this indicator isolates a specific structural pattern (rejection blocks) and renders it visually on the chart. This selective focus allows traders to study structural reactions with more clarity and precision.
⚠️ Disclaimer: This is not a trading system or a signal provider. It is a visual analysis tool designed for structural and educational purposes.
Smart Structure Breaks & Order BlocksOverview (What it does)
The indicator “Smart Structure Breaks & Order Blocks” detects market structure using swing highs and lows, identifies Break of Structure (BOS) events, and automatically draws order blocks (OBs) from the origin candle. These zones extend to the right and change color/outline when mitigated or invalidated. By formalizing and automating part of discretionary analysis, it provides consistent zone recognition.
Main Components
Swing Detection: ta.pivothigh/ta.pivotlow identify confirmed swing points.
BOS Detection: Determines if the recent swing high/low is broken by close (strict mode) or crossover.
OB Creation: After a BOS, the opposite candle (bearish for bullish BOS, bullish for bearish BOS) is used to generate an order block zone.
Zone Management: Limits the number of zones, extends them to the right, and tracks tagged (mitigated) or invalidated states.
Input Parameters
Left/Right Pivot (default 6/6): Number of bars required on each side to confirm a swing. Higher values = smoother swings.
Max Zones (default 4): Maximum zones stored per direction (bull/bear). Oldest zones are overwritten.
Zone Confirmation Lookback (default 3): Ensures OB origin candle validity by checking recent highs/lows.
Show Swing Points (default ON): Displays triangles on swing highs/lows.
Require close for BOS? (default ON): Strict BOS (close required) vs loose BOS (line crossover).
Use candle body for zones (default OFF): Zones drawn from candle body (ON) or wick (OFF).
Signal Definition & Logic
Swing Updates: Latest confirmed pivots update lastHighLevel / lastLowLevel.
BOS (Break of Structure):
Bullish – close breaks last swing high.
Bearish – close breaks last swing low.
Only one valid BOS per swing (avoids duplicates).
OB Detection:
Bullish BOS → previous bearish candle with lowest low forms the OB.
Bearish BOS → previous bullish candle with highest high forms the OB.
Zones: Bull = green, Bear = red, semi-transparent, extended to the right.
Zone States:
Mitigated: Price touches the zone → border highlighted.
Invalidated:
Bull zone → close below → turns red.
Bear zone → close above → turns green.
Chart Appearance
Swing High: red triangle above bar
Swing Low: green triangle below bar
Bull OB: green zone (border highlighted on touch)
Bear OB: red zone (border highlighted on touch)
Invalid Zones: Bull zones turn reddish, Bear zones turn greenish
Practical Use (Trading Assistance)
Trend Following Entries: Buy pullbacks into green OBs in uptrends, sell rallies into red OBs in downtrends.
Focus on First Touch: First mitigation after BOS often has higher reaction probability.
Confluence: Combine with higher timeframe trend, volume, session levels, key price levels (previous highs/lows, VWAP, etc.).
Stops/Targets:
Bull – stop below zone, partial take profit at swing high or resistance.
Bear – stop above zone, partial take profit at swing low or support.
Parameter Tuning (per market/timeframe)
Pivot (6/6 → 4/4/8/8): Lower for scalping (3–5), medium for day trading (5–8), higher for swing trading (8–14). Increase to reduce noise.
Strict Break: ON to reduce false breaks in ranging markets; OFF for earlier signals.
Body Zones: ON for assets with long wicks, OFF for cleaner OBs in liquid instruments.
Zone Confirmation (default 3): Increase for stricter OB origin, fewer zones.
Max Zones (default 4 → 6–10): Increase for higher volatility, decrease to avoid clutter.
Strengths
Standardizes BOS and OB detection that is usually subjective.
Tracks mitigation and invalidation automatically.
Adaptable: allows body/wick zone switching for different instruments.
Limitations
Pivot-based: Signals appear only after pivots confirm (slight lag).
Zones reflect past balance: Can fail after new events (news, earnings, macro data).
Range-heavy markets: More false BOS; consider stricter settings.
Backtesting: This script is for drawing/visual aid; trading rules must be defined separately.
Workflow Example
Identify higher timeframe trend (4H/Daily).
On lower TF (15–60m), wait for BOS and new OB.
Enter on first mitigation with confirmation candle.
Stop beyond zone; targets based on R multiples and swing points.
FAQ
Q: Why are zones invalidated quickly?
A: Flow reversal after BOS. Adjust pivots higher, enable Strict mode, or switch to Body zones to reduce noise.
Q: What does “tagged” mean?
A: Price touched the zone once = mitigated. Implies some orders in that zone may have been filled.
Q: Body or Wick zones?
A: Wick zones are fine in clean markets. For volatile pairs with long wicks, body zones provide more realistic areas.
Customization Tips (Code perspective)
Zone storage: Currently ring buffer ((idx+1) % zoneLimit). Could prioritize keeping unmitigated zones.
Automated testing: Add strategy.entry/exit for rule-based backtests.
Multi-timeframe: Use request.security() for higher timeframe swings/BOS.
Visualization: Add labels for BOS bars, tag zones with IDs, count touches.
Summary
This indicator formalizes the cycle Swing → BOS → OB creation → Mitigation/Invalidation, providing consistent structure analysis and zone tracking. By tuning sensitivity and strictness, and combining with higher timeframe context, it enhances pullback/continuation trading setups. Always combine with proper risk management.
Gap Detector (Body and Candle)Finds/Detects gaps between candles and candle bodies for any chart/timeframe with O(n+delta) performance.
Candle Gaps (between wicks) act as strong support or resistance. They are drawn as solid boxes.
Body Gaps (ignores wicks) act as mild support or resistance. They are depicted with lines.
Adjust the settings for candle/body gap width, smaller the time frame, smaller the gap.
Adjust max historical bars to fine tune performance on your system/setup. The more historical bars the script scans, more time required to load the chart. At times based on system configuration, TradingView may timeout the script due to too many bars. Reducing the max bars helps in this scenario.
This is a revamped version of "Body Gap Detector".
Happy charting !
Dual Channel System [Alpha Extract]A sophisticated trend-following and reversal detection system that constructs dynamic support and resistance channels using volatility-adjusted ATR calculations and EMA smoothing for optimal market structure analysis. Utilizing advanced dual-zone methodology with step-like boundary evolution, this indicator delivers institutional-grade channel analysis that adapts to varying volatility conditions while providing high-probability entry and exit signals through breakthrough and rejection detection with comprehensive visual mapping and alert integration.
🔶 Advanced Channel Construction
Implements dual-zone architecture using recent price extremes as foundation points, applying EMA smoothing to reduce noise and ATR multipliers for volatility-responsive channel widths. The system creates resistance channels from highest highs and support channels from lowest lows with asymmetric multiplier ratios for optimal market reaction zones.
// Core Channel Calculation Framework
ATR = ta.atr(14)
// Resistance Channel Construction
Resistance_Basis = ta.ema(ta.highest(high, lookback), lookback)
Resistance_Upper = Resistance_Basis + (ATR * resistance_mult)
Resistance_Lower = Resistance_Basis - (ATR * resistance_mult * 0.3)
// Support Channel Construction
Support_Basis = ta.ema(ta.lowest(low, lookback), lookback)
Support_Upper = Support_Basis + (ATR * support_mult * 0.4)
Support_Lower = Support_Basis - (ATR * support_mult)
// Smoothing Application
Smoothed_Resistance_Upper = ta.ema(Resistance_Upper, smooth_periods)
Smoothed_Support_Lower = ta.ema(Support_Lower, smooth_periods)
🔶 Volatility-Adaptive Zone Framework
Features dynamic ATR-based width adjustment that expands channels during high-volatility periods and contracts during consolidation phases, preventing false signals while maintaining sensitivity to genuine breakouts. The asymmetric multiplier system optimizes zone boundaries for realistic market behavior patterns.
// Dynamic Volatility Adjustment
Channel_Width_Resistance = ATR * resistance_mult
Channel_Width_Support = ATR * support_mult
// Asymmetric Zone Optimization
Resistance_Zone = Resistance_Basis ± (ATR_Multiplied * )
Support_Zone = Support_Basis ± (ATR_Multiplied * )
🔶 Step-Like Boundary Evolution
Creates horizontal step boundaries that update on smoothed bound changes, providing visual history of evolving support and resistance levels with performance-optimized array management limited to 50 historical levels for clean chart presentation and efficient processing.
🔶 Comprehensive Signal Detection
Generates break and bounce signals through sophisticated crossover analysis, monitoring price interaction with smoothed channel boundaries for high-probability entry and exit identification. The system distinguishes between breakthrough continuation and rejection reversal patterns with precision timing.
🔶 Enhanced Visual Architecture
Provides translucent zone fills with gradient intensity scaling, step-like historical boundaries, and dynamic background highlighting that activates upon zone entry. The visual system uses institutional color coding with red resistance zones and green support zones for intuitive
market structure interpretation.
🔶 Intelligent Zone Management
Implements automatic zone relevance filtering, displaying channels only when price proximity warrants analysis attention. The system maintains optimal performance through smart array management and historical level tracking with configurable lookback periods for various market conditions.
🔶 Multi-Dimensional Analysis Framework
Combines trend continuation analysis through breakthrough patterns with reversal detection via rejection signals, providing comprehensive market structure assessment suitable for both trending and ranging market conditions with volatility-normalized accuracy.
🔶 Advanced Alert Integration
Features comprehensive notification system covering breakouts, breakdowns, rejections, and bounces with customizable alert conditions. The system enables precise position management through real-time notifications of critical channel interaction events and zone boundary violations.
🔶 Performance Optimization
Utilizes efficient EMA smoothing algorithms with configurable periods for noise reduction while maintaining responsiveness to genuine market structure changes. The system includes automatic historical level cleanup and performance-optimized visual rendering for smooth operation across all timeframes.
Why Choose Dual Channel System ?
This indicator delivers sophisticated channel-based market analysis through volatility-adaptive ATR calculations and intelligent zone construction methodology. By combining dynamic support and resistance detection with advanced signal generation and comprehensive visual mapping, it provides institutional-grade channel analysis suitable for cryptocurrency, forex, and equity markets. The system's ability to adapt to varying volatility conditions while maintaining signal accuracy makes it essential for traders seeking systematic approaches to breakout trading, zone reversals, and trend continuation analysis with clearly defined risk parameters and comprehensive alert integration. Also to note, this indicator is best suited for the 1D timeframe.