Pivot Regime Anchored VWAP [CHE] Pivot Regime Anchored VWAP — Detects body-based pivot regimes to classify swing highs and lows, anchoring volume-weighted average price lines directly at higher highs and lower lows for adaptive reference levels.
Summary
This indicator identifies shifts between top and bottom regimes through breakouts in candle body highs and lows, labeling swing points as higher highs, lower highs, lower lows, or higher lows. It then draws anchored volume-weighted average price lines starting from the most recent higher high and lower low, providing dynamic support and resistance that evolve with volume flow. These anchored lines differ from standard volume-weighted averages by resetting only at confirmed swing extremes, reducing noise in ranging markets while highlighting momentum shifts in trends.
Motivation: Why this design?
Traders often struggle with static reference lines that fail to adapt to changing market structures, leading to false breaks in volatile conditions or missed continuations in trends. By anchoring volume-weighted average price calculations to body pivot regimes—specifically at higher highs for resistance and lower lows for support—this design creates reference levels tied directly to price structure extremes. This approach addresses the problem of generic moving averages lagging behind swing confirmations, offering a more context-aware tool for intraday or swing trading.
What’s different vs. standard approaches?
- Baseline reference: Traditional volume-weighted average price indicators compute a running total from session start or fixed periods, often ignoring price structure.
- Architecture differences:
- Regime detection via body breakout logic switches between high and low focus dynamically.
- Anchoring limited to confirmed higher highs and lower lows, with historical recalculation for accurate line drawing.
- Polyline rendering rebuilds only on the last bar to manage performance.
- Practical effect: Charts show fewer, more meaningful lines that start at swing points, making it easier to spot confluences with structure breaks rather than cluttered overlays from continuous calculations.
How it works (technical)
The indicator first calculates the maximum and minimum of each candle's open and close to define body highs and lows. It then scans a lookback window for the highest body high and lowest body low. A top regime triggers when the body high from the lookback period exceeds the window's highest, and a bottom regime when the body low falls below the window's lowest. These regime shifts confirm pivots only when crossing from one state to the other.
For top pivots, it compares the new body high against the previous swing high: if greater, it marks a higher high and anchors a new line; otherwise, a lower high. The same logic applies inversely for bottom pivots. Anchored lines use cumulative price-volume products and volumes from the anchor bar onward, subtracting prior cumulatives to isolate the segment. On pivot confirmation, it loops backward from the current bar to the anchor, computing and storing points for the line. New points append as bars advance, ensuring the line reflects ongoing volume weighting.
Initialization uses persistent variables to track the last swing values and anchor bars, starting with neutral states. Data flows from regime detection to pivot classification, then to anchoring and point accumulation, with lines rendered globally on the final bar.
Parameter Guide
Pivot Length — Controls the lookback window for detecting body breakouts, influencing pivot frequency and sensitivity to recent action. Shorter values catch more pivots in choppy conditions; longer smooths for major swings. Default: 30 (bars). Trade-offs/Tips: Min 1; for intraday, try 10–20 to reduce lag but watch for noise; on daily, 50+ for stability.
Show Pivot Labels — Toggles display of text markers at swing points, aiding quick identification of higher highs, lower highs, lower lows, or higher lows. Default: true. Trade-offs/Tips: Disable in multi-indicator setups to declutter; useful for backtesting structure.
HH Color — Sets the line and label color for higher high anchored lines, distinguishing resistance levels. Default: Red (solid). Trade-offs/Tips: Choose contrasting hues for dark/light themes; pair with opacity for fills if added later.
LL Color — Sets the line and label color for lower low anchored lines, distinguishing support levels. Default: Lime (solid). Trade-offs/Tips: As above; green shades work well for bullish contexts without overpowering candles.
Reading & Interpretation
Higher high labels and red lines indicate potential resistance zones where volume weighting begins at a new swing top, suggesting sellers may defend prior highs. Lower low labels and lime lines mark support from a fresh swing bottom, with the line's slope reflecting buyer commitment via volume. Lower highs or higher lows appear as labels without new anchors, signaling possible range-bound action. Line proximity to price shows overextension; crosses may hint at regime shifts, but confirm with volume spikes.
Practical Workflows & Combinations
- Trend following: Enter longs above a rising lower low anchored line after higher low confirmation; filter with rising higher highs for uptrends. Use line breaks as trailing stops.
- Exits/Stops: In downtrends, exit shorts below a higher high line; set aggressive stops above it for scalps, conservative below for swings. Pair with momentum oscillators for divergence.
- Multi-asset/Multi-TF: Defaults suit forex/stocks on 1H–4H; on crypto 15M, shorten length to 15. Scale colors for dark themes; combine with higher timeframe anchors for confluence.
Behavior, Constraints & Performance
Closed-bar logic ensures pivots confirm after the lookback period, with no repainting on historical bars—live bars may adjust until regime shift. No higher timeframe calls, so minimal repaint risk beyond standard delays. Resources include a 2000-bar history limit, label/polyline caps at 200/50, and loops for historical point filling (up to current bar count from anchor, typically under 500 iterations). Known limits: In extreme gaps or low-volume periods, anchors may skew; lines absent until first pivots.
Sensible Defaults & Quick Tuning
Start with the 30-bar length for balanced pivot detection across most assets. For too-frequent pivots in ranges, increase to 50 for fewer signals. If lines lag in trends, reduce to 20 and enable labels for visual cues. In low-volatility assets, widen color contrasts; test on 100-bar history to verify stability.
What this indicator is—and isn’t
This is a structure-aware visualization layer for anchoring volume-weighted references at swing extremes, enhancing manual analysis of regimes and levels. It is not a standalone signal generator or predictive model—always integrate with broader context like order flow or news. Use alongside risk management and position sizing, not as isolated buy/sell triggers.
Many thanks to LuxAlgo for the original script "McDonald's Pattern ". The implementation for body pivots instead of wicks uses a = max(open, close), b = min(open, close) and then highest(a, length) / lowest(b, length). This filters noise from the wicks and detects breakouts over/under bodies. Unusual and targeted, super innovative.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Точки разворота
NY Session Divisions⭐NY Session Divisions - Professional Trading Session Manager
NY Session Divisions is an advanced trading indicator that professionally segments the New York trading day into precise sessions, providing institutional-grade market structure analysis with smart breakout detection and comprehensive filtering systems.
✨ KEY FEATURES
🕒 8 Professional Trading Sessions
- US Overnight Range (03:30-11:50)
- NY Pre-Open (16:45-17:00)
- NY First Session ORB (17:00-17:15)
- Premarket Range - Recommended by Mahdi Salari*
- NY Midday Range
- NY 2nd Pre-Open
- 2nd Session ORB
- US After Hours ORB
🎯 Advanced Trading Strategies
- School Run Strategy (SRS) by Tom Hougaard - Breakout-focused approach
- Anti-SRS Strategy - Range-trading methodology
- Dual Strategy System - Combine breakout and range trading for maximum flexibility
🔔 Smart Alert System
- Multi-timeframe confirmation
- Heiken Ashi candle validation
- Customizable alert conditions
- Sound notifications with detailed messages
- Post-close confirmation to avoid false signals
🛡️ Professional Filter Stack
- Ichimoku Baseline
- Divergence Detection - Advanced market analysis
- EMA 200 Filter - Trend alignment
- Ichimoku Baseline - Market structure
- ATR Filter - Volatility validation
- RSI Filter - Momentum confirmation
🎨 Advanced Visualization
- Clean session range displays
- Professional Heiken Ashi candles
- Smart breakout markers (Small/Tiny for signal strength)
- Take Profit lines with ATR-based calculations
- Customizable colors and opacity
🏆 WHY TRADERS LOVE THIS INDICATOR
✅ For Breakout Traders
- Precise session boundary detection
- Clean breakout signals with confirmation
- Multiple filter validation
✅ For Range Traders
- Clear session range identification
- Anti-SRS strategy for range-bound markets
- Support/Resistance level tracking
✅ For Professional Traders
- Institutional-grade session management
- Comprehensive filtering system
- Multi-timeframe analysis
- Customizable risk management
⚡ QUICK START GUIDE
Basic Setup (2 Minutes)
1. Enable Sessions** - Choose 1-2 sessions to start
2. Set Alerts - Configure your preferred notification method
3. Apply Filters - Enable EMA 200 and Ichimoku for starters
Advanced Configuration
- Combine SRS + Anti-SRS for comprehensive strategy
- Use multiple divergence filters for confirmation
- Customize TP lines based on your risk profile
- Drawing 1st and 2nd Session Close lines
PROFESSIONAL TIPS
Session Selection Strategy
- Start with Session 1 (US Overnight) for overall market trend identification
- Add Session 3 (NY First ORB) for opening momentum
- Use Session 4 (Premarket) for the best perfomance of the breakout strategy
Filter Optimization
- Conservative : EMA 200 + Ichimoku Baseline
- Balanced : Add ATR filter for volatility check 0.8 is enough
- Aggressive : Enable all filters for maximum confirmation but the number of signal and performance will decrease
Risk Management
- Use TP lines for automatic profit targets
- Combine with proper position sizing
- Always use stop losses
🔧 TECHNICAL SPECIFICATIONS
- Platform : TradingView Pine Script v6
- Markets : All US trading instruments (ES, NQ, YM, CL, etc.)
- Timeframes : 1min to Daily
- Auto DST Handling : Yes
- Real-time Processing : Yes
📊 PERFORMANCE FEATURES
- Zero Repaint - All signals confirmed after candle close
- Multi-Timeframe - Works across all chart timeframes
- Resource Optimized - Efficient calculation methods
- User Customizable - Complete control over all parameters
- Consistent Performance - Reliable session-based signals
- Professional Grade - Institutional-level analysis tools
- Continuous Updates - Regular improvements and enhancements
- Community Supported - Active user community and support
🔄 KEEP UPDATED
Click the Favorite Star ⭐ to receive update notifications and stay current with new features and improvements!
Professional traders don't guess - they analyze. NY Session Divisions gives you the analytical edge.
Happy Trading! 📈
Created with precision for serious traders
DISCLAIMER
This indicator is for educational and informational purposes only. It should not be considered as financial advice. Always practice proper risk management and test strategies in demo accounts before live trading. Past performance does not guarantee future results.
Multi Timeframe Market Structure ContinuationOverview
This indicator identifies Break of Structure (BOS) and Change of Character (ChoCh) patterns using multi-timeframe (MTF) analysis to filter high-probability trade setups. By aligning lower timeframe signals with higher timeframe bias, it helps traders enter positions in the direction of the dominant trend while avoiding counter-trend traps.
Multi-Timeframe Analysis
The indicator analyzes market structure on two timeframes simultaneously:
Current Timeframe (CTF): Detects immediate BOS and ChoCh signals for entry timing
Higher Timeframe (HTF): Establishes the overall trend direction (default: 1H, customizable)
Signals only appear when the current timeframe structure aligns with the higher timeframe bias, ensuring you're trading with the momentum, not against it.
Break of Structure (BOS)
BOS signals indicate trend continuation - when price breaks a previous high in an uptrend or a previous low in a downtrend. These are reliable entries that confirm the trend is still active and strong.
Change of Character (ChoCh)
ChoCh signals mark early trend reversals - when market structure shifts from bearish to bullish (or vice versa). When captured in alignment with the higher timeframe trend, ChoCh entries can achieve exceptional risk-to-reward ratios as they allow entry near the beginning of a new impulse move.
Exit Signals
Exit signals are plotted when a ChoCh occurs in the opposite direction of the HTF trend. For example, if the HTF is bullish and a bearish ChoCh forms on the current timeframe, an orange "EXIT" signal appears - warning long traders that the lower timeframe structure is shifting against them. This provides an early warning system to protect profits or minimize losses before the HTF trend itself reverses.
Trading Strategy Recommendations
Trending Markets (Recommended)
In strong trending conditions, both BOS and ChoCh signals can be taken when aligned with the HTF bias. ChoCh entries are particularly powerful as they catch early reversals within the larger trend, offering entries with tight stop losses and extended profit targets.
Ranging Markets
During consolidation or choppy conditions, it's best to be selective and take only BOS entries. BOS signals confirm that the trend is continuing beyond the range, reducing false breakouts and whipsaw trades that are common with counter-trend ChoCh signals in sideways markets.
Customization
Pivot Length: Adjust the sensitivity of structure detection (default: 5). Lower values detect structure more frequently with earlier but potentially noisier signals. Higher values provide cleaner, more significant structural breaks but with some delay.
Higher Timeframe: Customize the HTF to suit your trading style. Day traders might use 1H HTF on 5m charts, while swing traders could use 4H or Daily HTF.
Alert System
Six alert conditions available:
Long BOS Entry / Long ChoCh Entry
Short BOS Entry / Short ChoCh Entry
Long Exit / Short Exit
All alerts fire only on confirmed candle closes to eliminate repainting and false signals.
Visual Features
Color-coded background showing HTF bias
Clear BOS/ChoCh labels with horizontal lines at structure levels
Orange "EXIT" signals when structure breaks against your position
Gray lines tracking current swing highs/lows
HTF trend indicator in the top-right corner
Gann Square Numbers S/R Levels This script can draw support and demand levels using Gann numbers of natural level.
Functions:
1: Default levels draw from natural numbrers 1 to 100.
2. can change minimum and maximum numbers of natural number. e.g min 50 and max 60. it will draw levels from 50 to 60.
3. You can filter levels of natural number by even and odd.
4. you can draw decimal levels of natural numbers also. e.g if natural number is 50
1.you can draw gann number for 50.01, 50.02, 50.03 , 50.04....
2. you can filter decimal points by odd, even, multiple of 3,5,10,20,25,50 also.
ONH, ONL, PDH, PDL [CleatsUp]Displays the Overnight High/Low values and Previous Day High/Low. Also works in replay mode.
Cross3x v2Cross3x – Smart Trend & Rejection Detection System
Cross3x is a precision trading indicator designed for traders who combine trend-following with early reversal detection. Built on a triple moving average core, it delivers high-quality signals with minimal noise and maximum clarity.
Core Features:
Trend Filtered Crossover: Uses a fast EMA (18), slow EMA (33), and long-term SMA (99) to generate reliable entry signals only in the direction of the dominant trend.
Dynamic SL/TP/BE Management:
Stop Loss placed at the lowest/highest extreme over a user-defined lookback.
Take Profit calculated using a customizable Risk/Reward ratio.
Break-Even level set as a percentage between entry and TP (e.g., 10% = BE just above entry).
Early Rejection Signals: Flags potential reversals when price tests a moving average with a long wick during a countertrend candle — ideal for spotting pullbacks before the next leg.
Green flag: "Potential Long Setup" after a bullish rejection.
Red flag: "Potential Short Setup" after a bearish rejection.
Confirmation Points: Circles appear when price retraces cleanly after a crossover, signaling optimal entry zones.
Interactive Dashboard: Real-time table showing current signal, SL, and TP levels.
Customizable Alerts: Fully configurable alerts for entries, confirmation points, and rejection setups.
Why Use Cross3x?
It doesn’t just follow trends — it anticipates them. By combining classical crossovers with smart rejection logic and structured risk management, Cross3x helps you enter earlier, manage risk better, and stay aligned with market momentum.
Perfect for swing traders, intraday scalpers, and algorithmic strategies seeking a clean, robust foundation.
Usage Tips:
Combine "Potential" flags with order blocks or key levels for higher accuracy.
Use confirmation circles as entry triggers after early setups.
Adjust RR and BE% based on volatility and trading style.
Deploy Cross3x to turn simple crossovers into a complete trading methodology.
Cross3xCross3x – Early Rejection & Crossover Detection System
Cross3x is a powerful yet intuitive trading tool designed for traders who want early signals with structured risk management.
Built around a dual EMA crossover (18 & 33), it generates entry signals on every crossover and crossunder — no trend filter interference. The long-term SMA 99 provides context but doesn’t block valid setups.
Key Features:
Unfiltered Entries: Triangles appear on every EMA 18/33 crossover, ideal for catching reversals early.
Smart SL/TP/BE:
SL based on recent extremes (configurable lookback).
TP using adjustable Risk/Reward ratio (default 2:1).
BE level set at a % between entry and TP (e.g., 10% = just above cost).
Early Rejection Signals: Diamonds highlight potential reversals when price tests a moving average with a long wick during a countertrend candle:
🟩 Green diamond below bar → Potential Long Setup
🟥 Red diamond above bar → Potential Short Setup
Confirmation Points: Circles appear when price retraces properly after a crossover, marking optimal entry zones.
Real-Time Dashboard: Dynamic table shows current signal, SL, and TP levels.
Customizable Alerts: Enable alerts per signal type for timely execution.
Why Traders Love Cross3x:
It combines simplicity with intelligence. Whether you're scalping, swing trading, or building an algo strategy, Cross3x gives you clarity, timing, and discipline in one compact package.
Use the diamonds to anticipate moves, the triangles to confirm momentum, and the confirmation circles to refine entries — all backed by precise risk controls.
Perfect For:
Breakout traders
Pullback hunters
Price action + MA confluence strategies
Deploy Cross3x to turn basic crossovers into a complete edge.
Micro fast trendline [sma] Overview
Micro Fast Trendline is an automated trendline drawing tool that connects pivot points in real-time. It dynamically creates trendlines between consecutive pivot highs and pivot lows, extending them forward to visualize potential support and resistance trajectories.
How It Works
Pivot Detection System
The indicator uses a symmetric pivot detection algorithm:
1. Scans for pivot highs: local peaks with lower highs on both left and right sides
2. Scans for pivot lows: local troughs with higher lows on both left and right sides
3. Confirms pivots only after the specified number of right bars have formed
4. Default settings: 5 bars left + 5 bars right (customizable)
Trendline Construction
When a new pivot is detected:
- **For Pivot Highs**: Draws a descending trendline from the previous pivot high to the current one (bearish)
- **For Pivot Lows**: Draws an ascending trendline from the previous pivot low to the current one (bullish)
- Calculates the slope between the two pivots
- Extends the line forward based on that slope for the specified number of bars (default 30)
Line Management System
The indicator includes intelligent line management:
- **Maximum Lines Control**: Limits the number of displayed trendlines (default 4, max 10)
- **Automatic Cleanup**: Removes oldest lines when the maximum is exceeded
- **Extension Expiry**: Deletes lines after they've extended beyond their lifespan
- Uses arrays to track pivot history and associated trendline objects
Key Features
- **Automatic Drawing**: No manual trendline drawing required
- **Real-time Updates**: Creates new trendlines as pivots form
- **Slope-based Extension**: Projects trendlines forward using calculated slope
- **Memory Management**: Automatically cleans up old lines to prevent clutter
- **Dual Tracking**: Separate systems for bullish and bearish trendlines
- **Optional Pivot Markers**: Can display pivot points for validation
Parameters
Pivot Configuration
- **Left Bars** (default 5): Number of bars to the left of the pivot for confirmation
- **Right Bars** (default 5): Number of bars to the right of the pivot for confirmation
- Higher values = fewer but more significant pivots
Visual Configuration
- Show Pivot Points (default off): Display triangles at confirmed pivots
- Bullish Line Color (default dark green): Color for upward trendlines
- Bearish Line Color (default dark red): Color for downward trendlines
- Line Width (default 1): Thickness of trendlines
- Maximum Lines (default 4, range 1-10): Maximum concurrent trendlines
- Line Extension (default 30 bars, range 10-200): Forward projection length
Interpretation
Bullish Trendlines (Green)
- Connect consecutive pivot lows
- Act as dynamic support levels
- Upward slope indicates strengthening uptrend
- Price breaking below suggests weakening support
Bearish Trendlines (Red)
- Connect consecutive pivot highs
- Act as dynamic resistance levels
- Downward slope indicates strengthening downtrend
- Price breaking above suggests weakening resistance
Trading Applications
- **Breakout Trading**: Watch for price breaking extended trendlines
- **Support/Resistance**: Use as dynamic S/R levels
- **Trend Confirmation**: Slope direction confirms trend strength
- **Reversal Signals**: Multiple trendline breaks may indicate reversals
Technical Implementation
This indicator uses:
- Custom type definition (PivotData) to store pivot price, time, and line object
- Array-based data structure for efficient pivot history management
- Dynamic line objects with calculated slope extension
- Automatic memory cleanup to prevent performance degradation
- Separate processing loops for highs and lows to avoid conflicts
Originality Statement
This indicator features a unique approach to automated trendline creation:
- Implements a custom data structure combining pivot data with line objects
- Uses slope-based mathematical projection for realistic line extensions
- Employs an intelligent cleanup system that removes expired lines automatically
- Maintains separate arrays for bullish/bearish trendlines with independent management
- Projects trendlines forward using calculated slope rather than simple horizontal extension
The combination of pivot detection, slope calculation, and automated line lifecycle management creates a hands-free trendline system.
Best Practices
- Lower pivot bar settings (3-5) for faster, more responsive trendlines
- Higher pivot bar settings (7-15) for major swings and longer-term trends
- Adjust line extension based on your trading timeframe
- Reduce maximum lines on lower timeframes to avoid clutter
- Increase maximum lines on higher timeframes for historical context
Works on all timeframes and asset classes. For educational purposes only. Not financial advice.
BOS PullbackBOS Pullback
Trend-following indicator that detects pullbacks for entries in a continuation phase.
A green diamond above a bearish candle signals a buy opportunity in an uptrend.
A red diamond below a bullish candle signals a sell opportunity in a downtrend.
Based on a configurable moving average (EMA, SMA, WMA). Ideal for Break of Structure (BOS) or pullback trading strategies.
ZZ RangeHappy Trading!
This is a real-time range detection indicator. Based on previous supply and demand levels, it classifies each new bar as Up, Down, or Range.
New supply and demand levels are typically detected within two bars. The indicator can be used as a filter and supports indicator-on-indicator functionality.
Intro
Concept
Usage and Settings Menu
Declaration for TradingView House Rules on Script Publishing
Disclaimer
1. Concept
Based on a variation of the Bilson-Gann Algorithm, this indicator calculates local supply and demand levels and determines whether the current price is:
Between those levels → Ranging
Above → Uptrending
Below → Downtrending
Less significant supply and demand levels are filtered out using a user-adjustable intensity setting.
2. Usage and Settings Menu
There are four settings available:
Indicator Timeframe – Display results from higher timeframes on the lower timeframe chart.
Range Detection Rule – Choose whether a bar must be fully inside supply and demand zones to be considered ranging, or if touching the zone is sufficient.
Bar Structure Basis – Select whether wicks or bodies of bars are used to calculate supply and demand levels.
Rule to set S&D – Choose among three rules defining how often new supply and demand levels are calculated. Each rule adjusts the sensitivity and responsiveness of detection.
Alert Signals Available:
Trend Signal 1 = Uptrend, 0 = Ranging, -1 = Downtrend
last supply Level
last demand Level
3. Declaration for TradingView House Rules on Script Publishing
The unique feature of ZZ Range is its real-time range detection capability.
This script is closed-source and invite-only, to support and compensate for months of development work.
4. Disclaimer
Trading involves risk, and losses can and do occur. This script is intended for informational and educational purposes only. All examples are hypothetical and not financial advice.
Decisions to buy, sell, hold, or trade securities, commodities, or other assets should be based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Use this script at your own risk. It may contain bugs, and I cannot be held responsible for any financial losses resulting from its use.
Cheers!
HH/HL/LH/LL Detector- **Higher Highs (HH)** - price makes a new high above the previous high
- **Higher Lows (HL)** - price makes a new low above the previous low
- **Lower Highs (LH)** - price makes a new high below the previous high
- **Lower Lows (LL)** - price makes a new low below the previous low
**Important clarification**: This indicator will accurately *identify* these patterns based on pivot points, but it cannot predict future price movements with 100% accuracy. No indicator can guarantee trading success because markets are unpredictable. What I can provide is:
✅ **Accurate pattern detection** - correctly identifies HH, HL, LH, LL based on confirmed pivot points
✅ **Clear visual labels** on your chart
✅ **Customizable settings** for sensitivity
The indicator will mark these patterns after they form (using pivot confirmation), which is the standard approach for reliable pattern detection.
include:
- Visual labels (HH, HL, LH, LL) on the chart
- Lines connecting the pivot points
- Customizable lookback period for pivot detection
- Color coding for bullish (HH/HL) vs bearish (LH/LL) patterns
- Optional alerts when new patterns form
Dubbsy - Pivot Dots (3L/3R)Marking Pivot Levels with Dots.
Pivot Highs - get marked with a red dot above a Candle's high that has 3 lower highs on both sides
Pivot Lows - get market with a green dot below a Candle's low that has 3 higher lows on both sides
Support and Resistance LevelsSupport and Resistance Levels Indicator
Introducing an indicator that helps automatically identify key support and resistance levels. It analyzes historical data to detect price pivot points and draws horizontal lines based on them. This simplifies chart analysis and allows you to focus on important zones.
How the Indicator Works
The indicator searches for groups of pivot points (minimum three by default) that lie at the same price level within a specified tolerance (in ATR). If the price has bounced off this level three or more times—up or down—the indicator draws a line. The line displays all the points that formed it (small markers "•").
The line color depends on the type of the last point: green for support (lower pivots) and red for resistance (upper pivots). But remember, this is conditional—any level can act as support or resistance depending on the context. The key is that these are zones of interest where price often reacts.
Features
The indicator excels at finding strong levels, but on lower timeframes or during prolonged consolidation (sideways movement) due to market noise, it may draw many lines. To avoid accidentally removing useful levels, I didn't add automatic filtering. In such cases, just evaluate the levels manually—look at the context and the strength of the touches.
Main Feature: Alerts for Premium Subscription
If you have TradingView Premium, the indicator turns into a powerful scanner. Set up an alert for a list of hundreds of instruments: when the price on any of them approaches a level closely (by default within 0.15 ATR), you'll get a push notification. Add filters for trading volume (over 5 minutes or 24 hours) and volatility—and false signals are minimized.
For example, you have a list of 100 instruments. Set up the alert—and you'll immediately receive notifications for all where the price is already close to a level: "BTCUSD on 1h: price near resistance level 60,000", "ETHUSD on 4h: price near support 3,000", and so on. And if later the price on any other instrument from the list approaches a level—you'll get a new message with details. All that's left is to open the relevant chart, assess the situation, and decide: enter the trade or skip it. This saves hours of monitoring!
Индикатор уровней поддержки и сопротивления
Представляю индикатор, который помогает автоматически находить ключевые уровни поддержки и сопротивления. Он анализирует исторические данные, выявляя точки разворота цены, и строит на их основе горизонтальные линии. Это упрощает анализ графика и позволяет фокусироваться на важных зонах.
Как работает индикатор
Индикатор ищет группы точек разворота (по умолчанию минимум три), которые лежат на одной ценовой отметке в пределах заданной погрешности (в ATR). Если цена трижды (или больше) отскакивала от этого уровня — вверх или вниз, — индикатор рисует линию. На линии отображаются все точки, которые её сформировали (маленькие метки "•").
Цвет линии зависит от типа последней точки: зелёный для поддержки (нижние развороты) и красный для сопротивления (верхние). Но помните, это условно — любой уровень может работать как поддержка или сопротивление в зависимости от контекста. Суть в том, что это зоны интереса, где цена часто реагирует.
Особенности
Индикатор хорошо справляется с поиском сильных уровней, но на низких таймфреймах или в длительной консолидации (боковике) из-за рыночного шума может появиться много линий. Чтобы не рисковать удалением полезных уровней, я не добавил автоматическую фильтрацию. В таких случаях просто оценивайте уровни вручную — смотрите на контекст и силу касаний.
Главная фишка: Алерты для Premium-подписки
Если у вас TradingView Premium, индикатор превращается в мощный сканер. Создайте алерт на список из сотен инструментов: когда цена на любом из них подойдёт близко к уровню (по умолчанию в пределах 0.15 ATR), вы получите push-уведомление. Добавьте фильтры по объёму торгов (за 5 минут или 24 часа) и волатильности — и ложные сигналы минимизированы.
Например, у вас список из 100 инструментов. Настройте алерт — и сразу придут уведомления по всем, где цена уже близко к уровню: "BTCUSD на 1ч: цена у уровня сопротивления 60 000", "ETHUSD на 4ч: цена у поддержки 3000" и так далее. А если позже на любом другом инструменте из списка цена приблизится к уровню — придет новое сообщение с деталями. Остаётся только открыть нужный график, оценить ситуацию и решить: входить в сделку или пропустить. Это экономит часы мониторинга!
Key-Levels - D/W/M High-Low + Fib + MA🧭 Key-Levels – D/W/M High-Low + Fibonacci + Moving Averages
A complete multi-timeframe analysis toolkit that combines Daily, Weekly, and Monthly high/low levels, Fibonacci retracements, and customizable moving averages — all in one clean, efficient display.
Ideal for traders who want to identify key reaction zones, retracement levels, and trend alignment across multiple timeframes.
🔹 Features
1. Prior High/Low Levels
Plots Daily (PDH/PDL), Weekly (PWH/PWL), and Monthly (PMH/PML) key levels
Adjustable colors, styles (Solid / Dashed / Dotted), and line widths
Optional midline display for each timeframe
Displays live labels with price values and % difference from current close
Extend lines rightward to project future price interactions
2. Fibonacci Retracement
Auto-detects swing highs/lows using configurable pivot lengths
Smart pivot logic prioritizes major swings based on % span
Auto-orients retracements depending on trend direction
Customizable visibility and color for each Fibonacci level
Supports 0.236 → 1.618 levels, with optional auto-extension in uptrend scenarios
Displays ratio + price for each level label
3. Pivot Labels
Optionally show pivot high/low labels with customizable text and background colors
Independent control of left/right length and label style
4. Moving Averages
Up to three customizable MAs (default: 8 EMA, 21 EMA, 50 SMA)
Choose between EMA or SMA for each
Toggle individual or all moving averages
Adjustable lengths, colors, and line widths
5. Alerts
Built-in alert condition for price crossing a user-defined level
Clean alert message format with ticker symbol and live price
⚙️ Customization
Flexible style controls for lines, labels, and colors
Adjustable right-extension length for projecting levels
Font size and visibility toggles for all elements
Smart grouping for intuitive settings management
📈 Ideal For
Identifying key reversal or breakout zones
Spotting Fibonacci confluence between retracements and prior highs/lows
Tracking trend structure via multi-timeframe MAs
Swing traders, intraday traders, and technical analysts
💡 Summary
Key-Levels – D/W/M High-Low + Fib + MA is a professional-grade indicator designed to simplify complex multi-timeframe analysis.
It helps you see the bigger picture, find actionable zones, and trade with confidence.
🧩 Compatible with any market and timeframe.
Pivot MoChiThis uses Current Day opening in place of previous day close
More Dynamic than Traditional Pivots
Candle Opens by HAZED🎯 Candle Opens by HAZED - Multi-Timeframe Open Levels Indicator
📊 Overview
This powerful indicator displays multiple timeframe opening prices on your chart, providing crucial reference levels that institutional traders and algorithms frequently monitor. Track up to 7 different timeframe opens simultaneously, from 1-hour to yearly, with advanced visualization features including dynamic coloring, heatmap analysis, and real-time status tracking.
✨ Key Features
📈 Multi-Timeframe Support:
- 1H, 4H, Daily, Weekly, Monthly, Quarterly, and Yearly opens
- Each timeframe can be individually enabled/disabled
- Automatic visibility adjustment based on chart timeframe
🎨 Dynamic Visual System:
- Smart Color Coding: Lines automatically change color based on price position (green above, red below)
- Customizable Styling: Adjust line thickness, transparency, and colors
- Intelligent Line Positioning: Choose between equal-length or staggered lines for better visibility
- Enhanced Labels: Display timeframe only or include price with colored background
🌈 Advanced Heatmap:
- Background coloring shows overall market sentiment across all timeframes
- Gradient or solid color modes
- Instantly see when multiple timeframes align bullish or bearish
📊 Status Table Dashboard:
- Real-time overview of all active opens
- Shows current price position relative to each open
- Simplified view when all timeframes align
- Customizable position and font style
⚙️ Professional Tools:
- Alert system for new open levels
- Extended hours session support
- Price discovery mode for EOD/intraday discrepancies
- Left/right line extensions for enhanced visibility
💡 Trading Applications
Support & Resistance:
Opening prices act as natural support/resistance levels. Price often reacts at these levels, providing entry/exit opportunities.
Trend Confirmation:
When price is above multiple opens (especially higher timeframes), it confirms bullish momentum. The opposite indicates bearish pressure.
Mean Reversion:
Price tends to revert to significant opens, particularly daily and weekly levels. Use these as targets for counter-trend trades.
Breakout Trading:
Monitor when price breaks above/below clustered opens for potential continuation moves.
Risk Management:
Use opens as logical stop-loss levels or position sizing references based on distance from key opens.
🔧 Indicator Settings
Timeframes Section:
- Toggle each timeframe on/off
- Customize individual colors
Visual Style Section:
- Dynamic Colors: Auto-color based on price position
- Line Thickness: 1-4 pixels
- Transparency: 0-80%
- Extension Length: How far lines extend right
- Label Style: Plain or enhanced with price
Heatmap Section:
- Enable/disable background coloring
- Adjust transparency
- Choose gradient or solid zones
Status Table Section:
- Position on chart
- Font selection
Advanced Section:
- Enable alerts for new opens
- Price discovery mode
- Extended hours inclusion
]📈 Best Practices
1. Timeframe Selection:
- For intraday: Focus on 1H, 4H, and Daily
- For swing trading: Daily, Weekly, Monthly
- For position trading: Monthly, Quarterly, Yearly
2. Color Coding:
- Enable dynamic colors for instant sentiment reading
- Use heatmap for overall market bias
3. Confluence Zones:
- Pay special attention when multiple opens cluster
- These zones often produce stronger reactions
4. Alignment Signals:
- When all timeframes show same color = strong trend
- Mixed colors = potential consolidation or reversal zone
🎯 Pro Tips
- Volume Confirmation: Combine with volume indicators to confirm reactions at open levels
- Multiple Instruments: Compare opens across correlated assets for divergences
- News Events: Opens often act as magnets after major news releases
- Options Trading: Weekly and monthly opens align with options expiry levels
- Algorithmic Levels: Many algorithms use these opens for entries/exits
🔄 Updates in Version 8.3
- Added 1H and 4H timeframe support
- Enhanced dynamic color system
- Implemented heatmap visualization
- Added real-time status table
- Optimized performance for smoother operation
- Improved label styling options
- Better yearly timeframe detection
⚡ Performance Optimizations
This indicator uses advanced Pine Script v6 features for optimal performance:
- Efficient object reuse instead of recreation
- Smart calculation loops
- Minimal repainting
- Optimized for real-time updates
📝 Notes
- Works on all markets (stocks, forex, crypto, futures)
- Best on timeframes lower than the opens you're tracking
- Lines automatically hide when their timeframe is lower than chart timeframe
- Past opens are not displayed (indicator shows current opens only)
🙏 Credits & Support
Created by HAZED | Version 8.3
Optimized for TradingView Pine Script v6
For questions, suggestions, or bug reports, please comment below.
If you find this indicator useful, please consider leaving a like and a follow!
Remember: No indicator is perfect. Always use proper risk management and combine multiple confirmation signals in your trading decisions.
Supply Zone & Demand M15Supply Zone & Demand M15
This indicator automatically detects and plots supply and demand zones based on 15-minute pivots and impulse strength.
🔎 Features
Multi-timeframe visibility: Zones are detected on M15 pivots but can be viewed on any lower timeframe (M1, M5, etc.).
Zone validation: Zones appear only after a strong impulsive move, measured against ATR.
Retest counting: Each time price retests a zone, a counter is displayed.
Retests can be merged by time window (No merge, 30 minutes, or 1 hour).
Zone merging: Nearby overlapping zones are automatically combined with a tolerance setting.
Configurable display: Choose between immediate display of zones or only after N retests.
Customizable style: Full control over colors, extension to the left, and max number of zones kept.
⚙️ Settings
Pivot strength: Minimum bars for swing highs/lows.
Impulse filter: Require ATR-based momentum before validating a zone.
Zone width: Defined as a multiple of ATR.
Retest merge: Select None, 30 minutes, or 1 hour.
Invalidation: Option to remove zones once broken.
Display mode: Show zones immediately or only after the required number of retests.
✅ Use Cases
Identify high-probability reversal areas.
Track how many times a zone has been retested.
Spot confluence when historical zones align with current price action.
⚠️ Disclaimer: This indicator is a technical tool, not financial advice. Always combine with proper risk management.
BOS & ChoCh Market StructureBOS/ChoCh Market Structure Indicator
This indicator identifies key market structure shifts using Break of Structure (BOS) and Change of Character (ChoCh) signals based on pivot point analysis.
Concept
Break of Structure (BOS) occurs when price breaks through a significant pivot level in the direction of the current trend, signaling trend continuation. A bullish BOS happens when price breaks above a pivot high while in an uptrend, while a bearish BOS occurs when price breaks below a pivot low during a downtrend.
Change of Character (ChoCh) signals a potential trend reversal. It occurs when price breaks against the prevailing trend - breaking above a pivot high while in a downtrend, or breaking below a pivot low while in an uptrend. This indicates the market structure is shifting.
How It Works
The indicator automatically detects swing highs and lows using configurable pivot strength. When price breaks these levels, it plots:
Color-coded labels (cyan for bullish breaks, red for bearish breaks)
Small horizontal lines marking the exact breakout level
Extended lines from pivot points showing key support/resistance levels
Settings
Pivot Strength - Number of candles on each side required to confirm a swing high/low (default: 5). Higher values identify more significant pivots but produce fewer signals.
Breakout Confirmation - Choose whether breakouts require a candle close beyond the level ("Close") or just a wick touch ("Wick").
Show BOS / Show ChoCh - Toggle visibility of Break of Structure and Change of Character signals independently.
Colors - Customize the colors for bullish (cyan) and bearish (red) signals.
Perfect for swing traders and market structure analysis.
Swing High/Low MarkerThis indicator allows you to find the swing highs and lows of the chart and offsets it by the ATR and a custom factor to give you concrete breakout and stop loss prices.
Breakout Zones • No Repaint (Daily Levels)📌 Breakout Zones • No Repaint (Daily Levels)
This indicator is designed to help intraday and swing traders identify high-probability breakout levels based on the previous day’s price action. It uses pivot logic derived from the prior daily high, low, and close to generate precise Buy/Sell entries and Take Profit (TP) levels.
🧠 How It Works:
Daily Levels Calculation:
At the start of each trading day, the script calculates:
Sideways Zone = (Previous Day High + Low + Close) ÷ 3
Buy Entry (r1) = Sideways + 38.2% of yesterday’s range
Buy TP (r2) = Sideways + 61.8% of yesterday’s range
Sell Entry (s1) = Sideways – 38.2% of range
Sell TP (s2) = Sideways – 61.8% of range
Signals Generation (No Repaint):
A Buy Signal is generated when price closes above r1 (confirmed on the next candle).
A Sell Signal occurs when price closes below s1.
Signals are generated only once per day, ensuring clarity and avoiding noise.
Simulated Trade Tracking:
Each signal is tracked as a simulated trade.
If TP is hit (r2 or s2), it's counted as a win.
If TP isn't hit by the end of the day, it's a loss.
The system never repaints signals — what you see in backtest is what happened live.
Stop Loss Logic (Optional):
In strategy mode (not this script), SL can be set at the Sideways Zone (p) to manage risk.
📊 Live Trading Statistics:
A dynamic table updates in real-time, showing:
Current Trade Status (Buy Active, Sell Active, Sideways)
Today’s Entry & TP Levels
Historical Accuracy
Buy Win %
Sell Win %
Total Win %
Number of trades tracked (up to 300 lookback)
🔎 How to Use:
Add to your chart and switch to intraday timeframes like 5m, 15m, 1h.
Observe the Buy/Sell arrows and TP levels — they are confirmed signals, not repainting.
Use the accuracy table to gauge performance historically and for the current session.
Combine with volume, momentum, or trend filters for enhanced decision making.
🧩 Designed For:
Intraday scalpers looking for breakout zones
Swing traders analyzing daily structure
Users who want clean, reliable, non-repainting signals
Traders who prefer to visualize risk/reward zones automatically
🔒 About Access:
✅ This script is free to use, but source code is locked to preserve functionality, prevent tampering, and ensure clean performance for all users.
📢 Feedback Welcome!
We’re constantly improving the tool. If you find bugs, want new features, or have a use-case you'd like supported, just leave a comment.
➕ Add this indicator to your toolkit and stop chasing false breakouts.
📈 Let the chart tell you when a real opportunity forms — no repainting, no guesswork.
Simple Liquidity Sweep [rare_gold_steak]- Shows when the liquidity was swept.
- Shows BSL and SSL.
- Simple options to change styling.
I use it personally and some people liked it so I thought i'll share it with the public.
15m FVG Inversion + Order BlockThe indicator finds the inversion of the FVG 15 minutes and the order block, after which it gives an entry signal.