Reversal Detection with Dynamic Stops - Multi-EMA ZigzagReversal Detection with Dynamic Stops - Multi-EMA Zigzag System
Description
Overview
The Reversal Detection with Dynamic Stops indicator is a comprehensive technical analysis tool that combines multiple exponential moving averages (EMAs) with an adaptive zigzag algorithm to identify significant price reversals and trend changes. This indicator is designed for active traders who need precise entry and exit signals with clear visual feedback.
Key Features
Multi-EMA Trend Detection
Triple EMA system (9, 14, 21 periods) provides robust trend identification
Dynamic bar coloring (Green = Bullish, Red = Bearish, Purple = Neutral)
Automated signal generation based on EMA alignment and price position
Adaptive Zigzag Algorithm
Configurable reversal detection using percentage, absolute value, or ATR-based thresholds
Choice between high/low or EMA-smoothed price input
Eliminates market noise while capturing significant price swings
Visual Reversal Markers
Bright, easy-to-read labels showing exact reversal prices with comma formatting
Horizontal reference lines extending from pivot points
Customizable line extension length (default 6 bars)
Labels positioned precisely at pivot highs and lows
Supply and Demand Zones (Optional)
Automatic identification of key support and resistance levels
Visual zone highlighting with translucent boxes
Configurable number of zones to display
How It Works
The indicator employs a two-stage analysis system:
Trend Identification: Three EMAs work together to determine the current market trend. When the 9 EMA is above the 14 EMA, which is above the 21 EMA, and price is above the 9 EMA, a bullish signal is generated. The inverse creates a bearish signal.
Reversal Detection: The zigzag algorithm tracks price extremes and confirms a reversal when price moves against the trend by a threshold amount (configurable as percentage, absolute value, or ATR multiple). Once confirmed, the indicator marks the pivot point with a label and horizontal line.
Recommended Settings by Timeframe
Scalping (1-5 minute charts)
Percentage Reversal: 0.5% - 1.0%
ATR Reversal: 1.5 - 2.0
Line Extension: 4-6 bars
Day Trading (15-60 minute charts)
Percentage Reversal: 1.0% - 1.5%
ATR Reversal: 2.0 - 3.0
Line Extension: 6-10 bars
Swing Trading (4H-Daily charts)
Percentage Reversal: 1.5% - 3.0%
ATR Reversal: 2.5 - 4.0
Line Extension: 10-20 bars
Input Parameters
Zigzag Settings
Method: Choose between "high_low" (actual candle extremes) or "average" (EMA-smoothed)
Percentage Reversal: Minimum percentage move to confirm reversal (default 0.01 = 1%)
Absolute Reversal: Minimum point move to confirm reversal (default 0.05)
ATR Reversal: ATR multiplier for dynamic threshold (default 2.0)
ATR Length: Period for ATR calculation (default 5)
Average Length: EMA smoothing period when using "average" method (default 5)
Visual Settings
Line Extension Bars: Number of bars to extend horizontal lines forward (default 6)
Show Supply/Demand: Toggle and style for supply/demand zones
Show Supply Demand Cloud: Enable translucent zone highlighting
EMA Settings (Fixed)
Fast EMA: 9 periods
Medium EMA: 14 periods
Slow EMA: 21 periods
Trading Applications
Entry Signals
Green reversal labels at bottoms indicate potential long entry points
Red reversal labels at tops indicate potential short entry points
Confirm with bar color alignment and overall trend direction
Exit Signals
Opposite color reversal labels suggest profit-taking opportunities
Bar color changes from green to purple or red signal weakening bullish momentum
Bar color changes from red to purple or green signal weakening bearish momentum
Stop Loss Placement
Horizontal lines serve as dynamic stop loss levels
Place stops just beyond the reversal pivot points
Adjust stops as new reversals are confirmed
Risk Management
Use multiple timeframe analysis for confirmation
Wait for bar color confirmation before entry
Avoid trading during conflicting signals (purple bars)
Best Practices
Multi-Timeframe Confirmation: Check higher timeframe trend before taking signals
Volume Verification: Combine with volume analysis for stronger confirmation
Market Context: Consider overall market conditions and key support/resistance levels
False Signals: During choppy, low-volume periods, increase reversal thresholds
Trending Markets: The indicator performs best in markets with clear trends and reversals
Alerts Available
Reversal Up: Triggers when bullish reversal is confirmed
Reversal Down: Triggers when bearish reversal is confirmed
Momentum Up: Triggers when bearish momentum weakens
Momentum Down: Triggers when bullish momentum weakens
Important Notes
This indicator repaints by design as it confirms reversals after price movement
Labels and lines are placed at historical pivot points when confirmed
The indicator works on all timeframes and markets (stocks, forex, crypto, futures)
Bar coloring provides continuous trend feedback independent of reversals
Adjust sensitivity based on volatility and timeframe
Disclaimer
This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions. Always conduct your own analysis, use proper risk management, and never risk more than you can afford to lose. Past performance does not guarantee future results. The indicator repaints by nature of its reversal detection algorithm - reversals are only confirmed after price has moved the threshold amount.
ピボットポイント
Piv X# Piv X Pro - Multi-Layer Reversal Detection System
## Overview
Piv X Pro is an advanced technical analysis indicator that combines dynamic pivot detection, Williams %R momentum divergence analysis, and multiple VWAP anchoring methods to identify high-probability mean reversion opportunities. Unlike simple indicator combinations, this script implements a layered filtration system where each component validates and refines signals from the previous layer, resulting in significantly fewer but higher-quality reversal setups.
## Core Methodology
### 1. Dynamic ATR-Based Pivot Detection
The script uses an adaptive pivot detection algorithm that adjusts sensitivity based on market volatility. Instead of fixed lookback periods, pivot strength is calculated dynamically using Average True Range (ATR):
**Calculation:** `pivot_strength = max(min_strength, min(ATR / mintick * multiplier, max_strength))`
This ensures:
- More sensitive pivots in low volatility (smaller ATR)
- More significant pivots in high volatility (larger ATR)
- Automatic adaptation across different market conditions and timeframes
**Significance Filtering:** Pivots must exceed a minimum ATR distance from recent price action (default 0.3 ATR) to filter noise. This prevents minor price fluctuations from being marked as significant pivots.
**Volume Confirmation (Optional):** Pivots can optionally require volume spikes (default 1.5x average volume) to ensure institutional participation.
### 2. Williams %R Momentum Divergence Engine
The script detects classic and hidden divergences between price pivots and Williams %R oscillator readings:
**Bullish Divergence Detection:**
- Price makes a lower low (confirmed pivot low)
- Williams %R makes a higher low (momentum improving)
- Divergence occurs in oversold zone (Williams %R ≤ -80)
- Lookback range: 60 bars maximum
**Bearish Divergence Detection:**
- Price makes a higher high (confirmed pivot high)
- Williams %R makes a lower high (momentum weakening)
- Divergence occurs in overbought zone (Williams %R ≥ -20)
- Lookback range: 60 bars maximum
**Divergence-Anchored VWAPs:** When a divergence is detected, a new VWAP calculation begins from that point, tracking institutional positioning relative to the momentum shift. This provides a dynamic mean reversion target that resets at each confirmed divergence.
### 3. Confluence Scoring System
Each detected pivot receives a numerical score (0-150+ points) based on multiple independent confirmation factors:
**Scoring Components:**
- Base Pivot Detection: 10 points
- Volume Spike Confirmation: 15 points
- Higher Timeframe Trend Alignment (4H EMA): 20 points
- RSI Extreme Levels (oversold/overbought): 25 points
- Mean Reversion Distance (>2.5 ATR from HTF MA): 20 points
- Exhaustion Patterns (price move + volume spike): 10 points
- ATR Price Confirmation: 10 points
- RSI Divergence: 15 points
- Swing Failure Pattern (SFP): 15 points
- Liquidity Sweep: 10 points
- Candle Reversal Confirmation: 10 points
- Key Level Alignment (previous day/week highs/lows): 10 points
- Fair Value Gap (FVG) Fill: 10 points
- Session Weighting (London/NY sessions): 10 points
- Multi-Timeframe Pivot Confluence: 15 points
**Zone Classification:**
- Regular Zones: Score 60-89 (green/purple boxes)
- Golden Zones: Score 90+ (yellow boxes with thicker borders)
Higher scores indicate stronger confluence and higher probability setups, but no prediction is guaranteed.
### 4. Mean Reversion Distance Filter
The script calculates how far price has stretched from the higher timeframe moving average:
**Calculation:** `distance_from_htf_ma = (close - HTF_EMA) / ATR`
**Mean Reversion Condition:**
- For long setups: Price >2.5 ATR below HTF EMA when HTF trend is up
- For short setups: Price >2.5 ATR above HTF EMA when HTF trend is down
This ensures pivots are only highlighted when price is statistically stretched and likely to revert toward the mean.
### 5. Multi-Period VWAP Framework
The script provides multiple VWAP calculations for different analysis purposes:
**Extreme VWAPs:**
- Bottom VWAP: Anchored to the absolute lowest low in the lookback period (default 50 bars)
- Top VWAP: Anchored to the absolute highest high in the lookback period
**Periodic VWAPs:**
- 4D VWAP: Resets every 4 days
- 9D VWAP: Resets every 9 days
- 4H VWAP: Resets every 4 hours
- 8H VWAP: Resets every 8 hours
- Weekly VWAP: Resets at the start of each week
- Monthly VWAP: Resets at the start of each month
- Yearly VWAP: Resets at the start of each year
**Previous Period VWAPs:**
- Previous Weekly, Monthly, and Yearly VWAPs are displayed as reference levels for support/resistance
**Divergence VWAPs:**
- Bullish Divergence VWAP: Resets at each bullish Williams %R divergence
- Bearish Divergence VWAP: Resets at each bearish Williams %R divergence
### 6. IBSS Pro Mean Reversion System
An integrated scalping system that provides entry signals within high-probability pivot zones:
**Components:**
- Dual EMA System: Fast EMA (12) and Slow EMA (26) with color-coded trend visualization
- RSI Oversold/Overbought Detection: Configurable levels (default 30/70)
- Zone-Based Entry: Signals only trigger when price is within active pivot zones (0.3 ATR around confirmed pivots)
- ATR-Based Dynamic Stops: Stop losses trail with position using ATR multiplier
**Signal Generation:**
- Buy signals: RSI crosses above oversold + Fast EMA > Slow EMA + Price in pivot low zone
- Sell signals: RSI crosses below overbought + Fast EMA < Slow EMA + Price in pivot high zone
## Why This Combination is Unique
This is not a simple indicator mashup. The components work together in a specific hierarchy:
1. **Williams %R Divergence** identifies momentum shifts before price confirms the reversal
2. **Dynamic Pivots** mark actual price structure extremes with ATR-based significance filtering
3. **Confluence Scoring** quantifies setup quality using 10+ independent confirmation factors
4. **Mean Reversion Distance** confirms price is statistically stretched (>2.5 ATR from HTF MA)
5. **VWAP Framework** tracks institutional positioning and provides objective mean levels
6. **IBSS Signals** provide precise entries within high-probability zones
Each layer filters the previous one, resulting in significantly fewer but higher-quality signals than any single indicator alone. The divergence-anchored VWAPs are unique - they reset at momentum shifts rather than arbitrary time periods, providing more relevant mean reversion targets.
## How to Use This Indicator
### For Swing Trading (15m-1H Charts)
1. Wait for a major pivot to form (diamond marker appears below/above bars)
2. Check the confluence score displayed in the zone label
3. Look for Golden Zones (score 90+, yellow boxes with thicker borders)
4. Enter when price enters the pivot zone (0.3 ATR around the pivot)
5. Use the nearest VWAP level as first target
6. Set stop loss beyond the pivot zone (typically 0.5-1 ATR)
### For Scalping (5m-15m Charts)
1. Enable IBSS Pro Signals in settings
2. Wait for price to enter an active pivot zone (colored boxes appear)
3. Take IBSS diamond signals that form within zones
4. Use ATR-based stop losses (dashed lines appear automatically if enabled)
5. Exit at pivot VWAP or opposite zone edge
### Visual Elements Explained
- **White/Purple Crosses**: Williams Divergence VWAPs (momentum-based mean reversion targets)
- **Green/Red Crosses**: Bottom/Top VWAPs (absolute extreme levels)
- **Colored Boxes**: Pivot reversal zones (opacity indicates confluence score)
- **Yellow Boxes**: Golden zones (90+ score, highest probability setups)
- **Small Diamonds**: Regular pivot detections
- **Green/Red Tiny Diamonds**: IBSS scalp entry signals (if enabled)
- **White/Purple MAs**: IBSS trend filter (12/26 EMA with cloud)
- **Dotted Lines**: Structure lines connecting consecutive pivots of same type
- **Blue Dashed Lines**: Market Structure Shift (CHoCH) markers
### Recommended Settings
**Conservative (Lower Timeframes 1m-5m):**
- ATR Pivot Strength: 0.8-1.0
- Volume Threshold: 2.0
- Min Pivot Significance: 0.4-0.5
- Enable ATR Confirmation: Yes
- Real-Time Mode: Off
- Score Threshold: 80+
**Aggressive (Higher Timeframes 15m-1H):**
- ATR Pivot Strength: 0.6-0.8
- Volume Threshold: 1.5
- Min Pivot Significance: 0.3
- Enable ATR Confirmation: No
- Real-Time Mode: On
- Score Threshold: 60+
## Chart Requirements
This indicator should be used **alone on a clean chart** with:
- Standard candlestick or bar chart type (NO Heikin Ashi, Renko, Point & Figure, or Range charts)
- No other indicators overlaid (all functionality is self-contained)
- Symbol and timeframe clearly visible in chart
- Full indicator name "Piv X Pro" visible in chart legend
## Important Disclaimers
- Past performance does not guarantee future results
- All signals are probabilistic indicators, not trading guarantees
- Use proper risk management and position sizing
- Test thoroughly on demo accounts before live trading
- Higher confluence scores indicate better setups but no prediction is certain
- Mean reversion strategies work best in ranging/choppy markets; may underperform in strong trending markets
- The lookahead bias warning: HTF EMA uses `barmerge.lookahead_on` for trend filtering only (not for signal generation), which may cause historical bars to show different trend states than real-time
## Key Differentiators
Unlike basic pivot or VWAP indicators:
- **Dynamic ATR-based pivot detection** vs static lookback periods
- **Quantified confluence scoring** vs subjective interpretation
- **Mean reversion distance filtering** (>2.5 ATR from HTF MA) vs all pivots shown
- **Divergence-anchored VWAPs** vs static period VWAPs
- **Multi-layer confirmation system** (10+ independent factors) vs single signal generation
- **Integrated scalping system** that only triggers in high-probability zones
This script is open-source and available for educational purposes. Users are encouraged to understand the methodology before using it for live trading decisions.
RSI Chebyshev Pro with Goldilocks Fractals [NPR21]RSI Chebyshev Pro with Goldilocks Fractals
- Advanced RSI oscillator combining Chebyshev Type I filtering, MESA adaptive algorithms, candlestick pattern recognition, and Williams Fractal pivot detection for comprehensive momentum analysis.
Core Features:
RSI Calculation
- Chebyshev Type I filtering for superior noise reduction
MESA Adaptive Moving Average for automatic cycle detection
Four display modes: Candles, Candles with Patterns, Heikin Ashi, Line
Adjustable RSI (1-10) and MA (1-10) line widths
Gradient-colored adaptive MA
Pattern Recognition
- Bullish/Bearish Engulfing: Green/red triangles with "Eng" labels
- Morning Star: Green label with diamond and up arrow (bullish reversal)
- Evening Star: Red label with diamond and down arrow (bearish reversal)
- Patterns require RSI confirmation (>60 bearish, <40 bullish)
- Vertical dashed lines mark all pattern occurrences
Goldilocks Fractals
- Williams Fractal methodology applied to RSI values
- BUY signals at swing lows, SELL signals at swing highs
- Bright green/red arrows maintain size at all zoom levels
- Customizable periods (default: 5), offsets, colors, and sizes
- Independent toggles for labels and shapes
Visual Design
- Hollow green bullish candles, solid red bearish candles
- Reference lines at 30, 50, 70 levels
- Professional gradient coloring (orange→yellow→green)
- Optimized for both light and dark themes
How to Use
- Settings
- Length (24): RSI calculation period
- Smoothing (3): Chebyshev smoothing factor
- Fractal Periods (5): Pivot lookback - lower = faster, higher = reliable
- MA Multiplier (1): Cycle detection sensitivity
- Line Widths: Adjust RSI and MA thickness (1-10)
Trading Applications
- Scalping (1m-5m): Fractal n=2-3, quick reversals
- Day Trading (15m-1H): Fractal n=4-5, pattern confluence
- Swing Trading (4H-Daily): Fractal n=6-8, major pivots
- Best signals: Multiple confirmations (fractal + pattern + RSI extreme)
Signal Priority
- Fractal SELL + Evening Star + RSI >70 = Strong bearish
- Fractal BUY + Morning Star + RSI <30 = Strong bullish
- Engulfing + Fractal + MA direction = High probability
- Always confirm with price action on main chart
Technical Details:
Uses Chebyshev filters for minimal phase distortion and sharp noise cutoff. MESA algorithm detects dominant market cycles (1-2048 bars) for adaptive MA calculation. Patterns require multi-bar body analysis, trend context, and RSI level confirmation. Fractals use ta.pivothigh/pivotlow on RSI values with n-period offset to prevent repainting.
Performance
No repainting - fractals appear n bars after formation. Optimized calculations for multiple indicator use. Works on all timeframes and asset classes. Compatible with desktop and mobile platforms.
Credits;
Original RSI concept by ChartPrime. Chebyshev filtering from signal processing theory. MESA algorithm by John Ehlers. Williams Fractals by Bill Williams. Conversion and integration by NPR21.
License: Mozilla Public License 2.0
Disclaimer: For educational purposes only. Use proper risk management. Past performance does not guarantee future results.
Range Indicator Golden Pocket, Liquidity, FairValueGapOverview
This indicator is a comprehensive institutional market structure toolkit. It is designed to identify high-probability reversal zones by merging three powerful technical analysis concepts: Fibonacci Golden Pockets (61.8% - 65%), Liquidity Pool Analysis (Swing Failure Patterns), and Fair Value Gaps (FVG). By automating the detection of price inefficiencies and "stop runs," it helps traders navigate complex price action with objective, rule-based confirmation.
What the Script Does
The script continuously monitors a user-defined lookback period to define a trading range. Within this range, it dynamically plots:
Golden Pockets: High-confluence retracement zones (calculated as 0.35 - 0.382 internal range levels).
Liquidity Zones: Highlighted regions at the absolute high and low (Top/Bottom 5%) where institutional orders and retail stops are typically concentrated.
Swing Failure Patterns (SFP): Real-time detection of liquidity grabs where price breaches a range extreme but fails to close outside, signaling a potential trap.
Fair Value Gaps (FVG): Visualizes 3-candle price imbalances, showing areas of aggressive buying or selling that often act as future magnets or support/resistance.
2-Candle Confirmation: A momentum-based filter requiring a candle-close confirmation before a reversal signal is generated.
For Whom is it?
Smart Money Concepts (SMC) & ICT Students: Traders looking for automated liquidity sweeps and market inefficiencies.
Fibonacci & Mean Reversion Traders: Those seeking a clean, professional visualization of the Golden Pocket across multiple timeframes.
Systematic Day Traders: Who require strict price-action confirmation (SFP and 2-candle rules) to remove emotional bias from their entries.
Functions and Input Options
1. Market Structure & Visuals
Lookback Period (Default: 100): Defines the window for calculating the range extremes.
Box Offset Right (Default: 50): Extends all zones into the future for better anticipatory trading.
Show Price Lines & Labels: Displays the exact price for every zone boundary on the right axis for precise execution.
2. Fair Value Gap (FVG) Settings
Show Fair Value Gaps: A toggle to enable/disable the plotting of price imbalances.
FVG Extension (Default: 10): Determines how many bars into the future the FVG box remains visible.
Custom Colors: Separate color inputs for Bullish (Gap Up) and Bearish (Gap Down) inefficiencies.
3. Professional Alert System
The script includes five specific alert conditions:
GP Touch: Early warning when price enters a Golden Pocket.
2-Candle Pattern: Confirmed momentum shift within a Golden Pocket.
SFP Long/Short: Alerts when a Liquidity Grab (Swing Failure) is confirmed at the range high or low.
Transparency and Compliance (Moderator Info)
Non-Repainting Logic: All signals (SFP, 2-Candle, and FVG) are calculated and triggered based on confirmed candle closes. Drawings use barstate.islast purely for visual efficiency without altering historical data integrity.
Educational Context: The script visualizes well-known market principles (Fibonacci, SFPs, and FVGs) to aid traders in their analysis; it does not provide automated financial advice or "black-box" buy/sell signals.
Resource Management: Optimized for Pine Script v5, using efficient array and box handling to ensure smooth performance even on lower timeframes.
CPR Call-Out Panel (Daily + Weekly Context)Use on 5 minute chart along with CPR by KGS indicator. My script helps to interpret potential nifty 50 index behaviour based on levels. DM for more questions.
Gann Square of Nine: Planetary Degrees█ Gann Square of Nine: Planetary Degrees maps planetary positions onto Gann's Square of Nine grid, tracking where pivot highs and lows accumulate by planetary degree. Use this indicator to identify recurring degree patterns on the So9, determine whether pivots cluster around cardinal, diagonal, or other significant angles, and project when the planet will return to those degrees.
Powered by the open-source BlueprintResearch Planetary Ephemeris library , which implements truncated VSOP87 (planets) and ELP2000 (Moon) series for high-accuracy celestial calculations entirely within Pine Script.
█ FEATURES
• Anchor Point System — Select any significant price pivot (high or low) as your reference point; all subsequent pivot tracking begins from this timestamp
• All 10 celestial bodies — Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, and Pluto
• Geocentric or Heliocentric views — Toggle between Earth-centered (traditional) and Sun-centered perspectives
• Interactive Square of Nine table — Visual grid displaying the Gann spiral pattern with highlighted pivot degrees
• Automatic pivot detection — Configurable bar sensitivity to identify price pivots (symmetric left/right)
• Pivot degree labeling — Each detected pivot displays the planet's ecliptic longitude (0-360°) at that moment
• Target degree alerts — Define specific So9 degrees to watch; triggers alerts when the planet crosses them
• Preset So9 angles — Quick selection of degrees along major So9 lines (0°, 45°, 90°, 135°, 180°, 225°, 270°, 315°)
• Custom degree input — Enter any degrees as comma-separated or newline-separated values
• Future degree projections — Scans up to 500 bars ahead and shows when the planet will reach each target degree
• Retrograde indicator — Shows ℞ symbol with red text when planets are in apparent retrograde motion
• So9 overlay tools — Plot 90° and 45° angle relationships from any entered degree
█ HOW IT WORKS
The Square of Nine Concept:
Gann's Square of Nine is a spiral grid where numbers flow outward from the center (1) in a square spiral pattern. Key angle relationships (0°, 45°, 90°, etc.) align along specific diagonals and cardinal lines. When planetary degrees land on the same So9 position as significant price pivots, it suggests potential support/resistance levels.
This Indicator:
1. User selects an "anchor" timestamp at a significant price pivot
2. The indicator calculates the selected planet's ecliptic longitude (0-360°) at each bar
3. Price pivots detected after the anchor are labeled with their planetary degrees
4. These degrees accumulate on the So9 grid, revealing patterns
5. Target degrees can be set to receive alerts when crossed
6. Future projections show when the planet will reach those target degrees
█ HOW TO USE
1. Click on the anchor timestamp input and select a significant high or low pivot on your chart
2. Choose "High" or "Low" pivot type based on your anchor point
3. Select your planet from the dropdown
4. Choose Geocentric (traditional) or Heliocentric view
5. The So9 table appears showing accumulated pivot degrees highlighted
6. Set target degrees using presets or custom input to receive crossing alerts
7. Future projections appear as vertical lines with date/time labels
8. Use the So9 overlay tools to visualize angle relationships from specific degrees
█ VISUAL GUIDE
So9 Table Colors:
• Anchor degree: White (⚓ symbol)
• Current planet position: Planet's assigned color with symbol
• Pivot Highs: Green background
• Pivot Lows: Red background
• Equal (both high and low): Orange background
• Diagonal crosses: Blue background
• Cardinal crosses: Red background
• Target degrees: Yellow highlight
Chart Labels:
• Pivot High labels appear above the price with the degree
• Pivot Low labels appear below the price with the degree
• Future projection lines: Yellow (upcoming) or Gray (already crossed since anchor)
█ SETTINGS OVERVIEW
1. Anchor Point — Set the starting pivot timestamp and type (High/Low)
2. Planet Selection — Choose celestial body and coordinate system
3. Target Degree Alerts — Configure which degrees to watch and receive alerts
4. Pivot Detection — Set bar sensitivity for pivot high/low detection and degree rounding precision
5. Visual Style — Customize colors and label sizes
6. So9 Grid Overlay — Enter a degree to visualize its angular relationships
7. So9 Table — Position, sizing, and color options for the grid
8. So9 Diagonals — Toggle and color the diagonal/cardinal cross highlights
█ LIMITATIONS & ACCURACY
This indicator uses optimized VSOP87 and ELP2000 series tailored for Pine Script performance. It delivers excellent accuracy for trading and analytical purposes.
Expected Accuracy:
• Sun, Moon, Mercury, Venus, Mars: Within 1-10 arcseconds
• Jupiter, Saturn: Within 10-30 arcseconds
• Uranus, Neptune: Within 1-2 arcminutes
• Pluto: Simplified Meeus method (valid 1900-2100)
Degree Resolution:
The So9 grid uses integer degrees (1-361). Planetary positions are rounded to the nearest whole degree for grid placement. Precise decimal degrees are retained for crossing calculations and alerts.
Crossing Detection:
Future projection lines and background highlights both point to the confirmation bar—the first bar where the crossing can be verified. Alerts also trigger on this bar. This ensures all visual elements align consistently: when the chart reaches a future projection line, that bar closes with the crossing confirmed and highlighted.
█ CREDITS
• Square of Nine grid visualization adapted from ThiagoSchmitz's "Gann Square of 9" (Feb 2023)
• Ephemeris calculations via BlueprintResearch/lib_ephemeris open-source library
Market Structure [odnac]Overview
This indicator is a comprehensive tool designed for traders utilizing Smart Money Concepts (SMC) and Price Action. It automatically identifies and labels significant market structure shifts, specifically BOS (Break of Structure) and CHoCH (Change of Character), helping you stay on the right side of the trend.
Key Features
Dual Logic Modes (V1 & V2):
V1 (Fixed Pivot): Only utilizes confirmed pivot points. Ideal for conservative traders looking for major swing levels.
V2 (Dynamic Update): Automatically updates swing points to the actual highest high or lowest low between breaks. This provides a more fluid and accurate representation of price flow.
Smart Confirmation: Unlike basic pivot scripts, this indicator uses a multi-bar confirmation logic (checking candle polarity and close sequences) to filter out market noise and false pivots.
Automatic Trend Detection: The indicator tracks the current market bias (Bullish/Bearish) and visualizes it through customizable background colors or shapes.
Clear Visual Cues: * BOS: Indicates a continuation of the current trend.
CHoCH: Signals a potential trend reversal.
How to Use
Identify Trend Direction: Use the background coloring or the shapes at the bottom to quickly identify if the market is in a Bullish (Green) or Bearish (Red) phase.
Look for Structure Breaks: * When price breaks a previous high/low, the indicator will draw a line and label it as BOS if the trend continues, or CHoCH if the trend flips.
Customize for Your Assets: * For volatile assets like XLM or other cryptocurrencies, you can adjust the Swing Left/Right Bars inputs to filter for either micro-structures or macro-trends.
Input Settings
Version: Choose between V1 (Strict Pivots) and V2 (Dynamic Ranges).
Swing Left/Right Bars: Determines the sensitivity of high/low detection. Increase these values to find "stronger" structural points.
Trend Visualization: Toggle between Background fills, Shape markers at the bottom, or None for a cleaner look.
Show Swings: Toggle the visibility of the white circles marking confirmed pivot points.
Disclaimer
Market structure is a lagging indicator by nature as it requires confirmation. Always use this tool in conjunction with other technical analysis methods (Order Blocks, Fair Value Gaps, or Volume) for the best results.
Optimus S/R ZonesEnhanced S/R Zones Pro is a sophisticated Support and Resistance indicator designed for traders who need reliable, validated S/R levels with professional-grade visualization. Unlike basic pivot indicators, this tool validates levels based on historical price interaction and provides comprehensive analysis of your current position within the market structure.
✨ Key Features
📊 Extended Lookback Analysis
Lookback Range: 20-500 bars (far beyond standard 80-bar limits)
Pivot Strength: Adjustable 2-10 bars for confirmation
Separate Controls: Independent max levels for support (1-8) and resistance (1-8)
Smart Filtering: Automatic level spacing with customizable minimum distance (0.3-5%)
🎨 Advanced Zone Visualization
Three Zone Styles:
Filled: Solid colored zones
Outlined: Border-only zones
Both: Combined for maximum visibility
Adjustable Transparency: 50-95% opacity control
Dynamic Extension: Zones extend to the right indefinitely
Custom Zone Width: 0.05-1.0% of price
💪 Level Strength System
Touch Validation: Only shows levels tested multiple times
Minimum Touches: Filter for 1-5 minimum confirmations
Color Intensity: Stronger levels (more touches) display darker/brighter
Touch Detection: Customizable sensitivity (0.1-1.0% range)
Independent Display: Show touch counts without color coding
📱 Enhanced Dashboard
Level Count: Active support/resistance zones
Distance Metrics: Percentage to nearest S/R levels
Range Position: Where price sits between S/R (0-100%)
Color Coding: Visual feedback on market position
Four Positions: Top/Bottom, Left/Right placement
🎭 Customizable Visuals
Label Sizes: Tiny, Small, Normal, Large, Huge
Adjustable Line Width: 1-4 pixels
Custom Colors: Full color picker for support/resistance
Optional Touch Count: Toggle touch numbers on/off
Midpoint Line: Shows equilibrium between nearest S/R
🔔 Smart Alerts
Proximity Alerts: Triggers when approaching support zones
Resistance Alerts: Triggers when nearing resistance zones
Customizable Range: Based on touch detection sensitivity
🔧 How It Works
1. Pivot Detection
The indicator scans historical price action using configurable pivot strength to identify significant highs and lows. Extended lookback allows detection of major structural levels that shorter timeframes might miss.
2. Touch Validation
Each potential level is validated by counting how many times price has tested it within the specified touch detection range. Only levels meeting the minimum touch threshold are displayed.
3. Strength Ranking
Levels are ranked by:
Number of touches (primary)
Proximity to current price (secondary)
This ensures the most reliable and relevant levels are always shown.
4. Smart Filtering
The minimum distance filter prevents level clustering, keeping your chart clean and focusing only on distinct, actionable zones.
💡 Use Cases
Swing Trading
Identify major support/resistance for position entries
Set profit targets at strong resistance levels
Place stops below validated support zones
Day Trading
Quick identification of intraday S/R
Monitor range position for mean reversion trades
Use proximity alerts for entry timing
Position Trading
Extended lookback reveals major structural levels
Touch count validation ensures reliability
Range position helps time accumulation/distribution
Risk Management
Distance metrics help size positions appropriately
Strong levels (high touch count) for tight stops
Midpoint line for partial profit taking
⚙️ Settings Guide
Core Settings
Lookback Period: Start with 100 for swing trading, 50 for day trading
Pivot Strength: Higher values = fewer but stronger levels
Max Levels: 2-3 support and 2-3 resistance recommended
Min Distance: 1.0% prevents clustering, increase for volatile assets
Zone Settings
Zone Width: 0.25% default works well for most assets
Zone Style: "Both" for maximum visibility
Extend Zones: Keep enabled to track levels forward
Transparency: 85% provides good visibility without clutter
Level Strength
Show Level Strength: Enable for color-coded importance
Min Touches: 2-3 for validated levels
Touch Detection: 0.3% for precise levels, increase for volatile markets
Visual Settings
Label Size: Small/Normal for most charts
Show Touch Count: Enable to see level validation
Line Width: 2 for standard, 3-4 for presentation charts
📈 Best Practices
Start Conservative: Begin with default settings, adjust based on asset volatility
Combine Timeframes: Use different lookback periods on multiple charts
Respect Strong Levels: Higher touch counts indicate institutional interest
Watch Range Position: <30% = near support, >70% = near resistance
Use Alerts: Set proximity alerts to avoid constant chart watching
Validate Breaks: Zone width shows where true breaks occur vs. fakeouts
🚀 What Makes This Different
Unlike basic pivot indicators that simply mark highs/lows:
✅ Validates levels through touch count analysis
✅ Ranks levels by actual strength, not just recency
✅ Visualizes zones, not just lines
✅ Quantifies your position within market structure
✅ Extends lookback far beyond standard limits
✅ Separates support and resistance controls
🎓 Tips for New Users
First Time Setup:
Add indicator to chart
Enable dashboard in settings (default on)
Observe which levels price respects
Adjust lookback/strength to match your trading style
Set proximity alerts for your key levels
Optimization:
Forex: 0.2-0.3% zone width, 100-200 lookback
Stocks: 0.3-0.5% zone width, 50-150 lookback
Crypto: 0.4-0.6% zone width, 100-200 lookback
Indices: 0.2-0.4% zone width, 100-250 lookback
⚠️ Disclaimer
This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions. Support and resistance levels are not guarantees of price behavior. Always use proper risk management, combine with other analysis methods, and consider fundamental factors. Past performance does not guarantee future results.
The Institutional Anchor (Daily OC Zone)The Institutional Anchor (Daily OC)
This indicator is a high-performance tool for traders who rely on "Institutional Candles" or "Opening Candles" (OC) to define their daily bias. Built on the latest Pine Script® v6 engine, it provides a stable, non-repainting foundation for identifying key institutional support and resistance levels.
Core Features & Technical Edge
1. Dual-Mode Zone Definition
Traders have different ways of defining institutional strength. This script supports both methods to suit your specific strategy:
Body-Only Mode: Focuses on the "Real Move" by using the Open and Close of the anchor candle.
Full Range Mode (Wicks): Accounts for total liquidity grabs and volatility by including the High and Low.
2. Precision Equilibrium (Mean Threshold)
In institutional trading, the 50% level of a candle is the "Fair Value" or Mean Threshold.
Includes a customizable Midline with independent styling (Solid, Dashed, Dotted).
Automatically calculates the exact mathematical center, helping you spot high-probability rejections at the "Equilibrium" of the move.
3. Professional Visualization Suite
Global Timezone Alignment: A built-in UTC Offset ensures you can align with New York (UTC-5), London (UTC+0), or your specific exchange time without manual calculations.
Auto-Naming System: Automatically labels zones with the Day of the Week (e.g., "Monday OC") to help you track weekly cycles and "Power of 3" (Accumulation/Manipulation/Distribution).
Historical Memory: Choose to show only the current day's active zone for a clean workspace, or display historical zones to find "nested" levels from previous days.
4. Dynamic Price Action Alerts
Stay notified without being glued to the screen. The script includes pre-configured, logically consistent alert conditions:
Equilibrium Touch: Triggers the moment price interacts with the 50% Mean Threshold.
Boundary Breach: Notifies you when price exits or taps the upper or lower edges of the zone.
5. Universal Market Compatibility
BTC & Crypto Optimized: Handles 24/7 data streams flawlessly without logic gaps.
Forex Precision: Perfect for London Open or Midnight Open strategies on pairs like EUR/USD.
Non-Repainting: Once the anchor hour closes, the zone is locked, providing a reliable reference point for the rest of the trading day.
How to Use
Market Open Hour: Enter the hour (24h format) of your chosen anchor candle (e.g., 2 for 2:00 AM).
UTC Offset: Match the offset to your preferred trading session time.
Customize Style: Adjust colors, transparency, and line styles to match your chart theme.
HTF Pivots SignalsIntroduction :
HPS (HTF Pivot Signals) provides traders with a systematic approach to Higher Timeframe structure analysis and signal confirmation. Designed for traders seeking to identify confirmed structure changes, this indicator detects HTF pivot interactions and generates entry signals when price confirms beyond chart timeframe pivot levels. The indicator helps analysts identify key structure breaks, momentum shifts, and high-probability entry points based on confirmed pivot interactions.
Description :
HPS is rooted in the principle that Higher Timeframe structure changes provide context for lower timeframe price action. When an HTF pivot is interacted with (mitigated), it signals a potential opportunity for a mean reversal. The indicator then waits for confirmation on the chart timeframe before generating a signal, ensuring only confirmed setups are highlighted.
Main indicator screenshot showing HTF pivots and confirmation signals
The system operates by detecting pivot highs and lows on a higher timeframe, tracking when these pivots are interacted with, and confirming signals when price closes beyond chart timeframe pivot levels. This two-step process—interaction followed by confirmation—filters out false signals and provides only actionable setups.
HPS automatically calculates the optimal higher timeframe pairing (typically 15-16x the chart timeframe) or allows manual selection. The indicator remains stable and non-repainting, offering traders reliable, unchanged levels within the given time period. Pivot cleanup is managed by mitigation order rather than age, ensuring the most recent interactions remain visible while older ones are removed systematically.
Key Features:
Automatic HTF Selection: The indicator automatically calculates the optimal higher timeframe pairing based on your chart timeframe, typically using 15-16x multiples (e.g., 5m → 1h, 15m → 4h, 1h → 1D). For a more dynamic experience, the Automatic feature autonomously adjusts the higher timeframe pairing based on the current chart timeframe, ensuring accurate alignment with structure analysis. Manual override is available for custom timeframe selection.
Confirmed Pivot Detection: HPS only displays confirmed HTF pivots that have been interacted with. Unlike basic pivot indicators that show all pivots, HPS requires pivot interaction before displaying, eliminating noise and focusing on actionable structure changes. Pivots are marked with PH (Pivot High) and PL (Pivot Low) labels when enabled.
Signal Confirmation System: When an HTF pivot is interacted with, a pending signal is created signaling a potential mean reversal opportunity. The signal confirms when price closes beyond the chart timeframe pivot level—pivot low for bearish signals, pivot high for bullish signals. Confirmed signals display with OB+ (bullish) or OB- (bearish) labels and extending confirmation lines that mark the entry level.
Mitigation-Based Cleanup: Pivot cleanup is managed by mitigation order rather than age. The system maintains the latest mitigated pivots while removing older ones based on interaction time. This ensures recent interactions remain visible while preventing chart clutter. The maximum number of mitigated pivots displayed is configurable based on the max pivots setting.
Customizable Display: Full control over visual elements including pivot highs/lows visibility, pivot labels (PH/PL), confirmation lines, colors, and line width. Confirmation line labels (OB+/OB-) always display regardless of label toggle settings, ensuring signal visibility. Adjust the maximum number of pivots displayed to match your charting style and analysis needs.
Stop Level Calculation: Automatically calculates stop levels based on the maximum price (for bearish signals) or minimum price (for bullish signals) from signal creation to confirmation. These levels represent the risk point for each confirmed signal, providing clear risk management reference points.
Stop level calculation visualization
Multi-Timeframe Compatibility: Works across all TradingView timeframes and market types including Forex, Crypto, Stocks, and Futures. The automatic HTF selection adapts to any chart timeframe, providing consistent structure analysis regardless of the trading instrument or timeframe selected.
Multi-timeframe compatibility example
Usage Guidance :
Add HPS (HTF Pivot Signals) to your TradingView chart.
Select your preferred HTF pairing (Automatic or Manual) and adjust display settings to match your visual preferences.
Monitor for HTF pivot interactions—when price mitigates an HTF pivot, a pending signal is created signaling a potential mean reversal opportunity. Wait for confirmation when price closes beyond the chart timeframe pivot level, indicated by OB+ or OB- labels.
Use the confirmation lines and stop levels to identify entry points and manage risk. Combine with your existing analysis methods to enhance structure-based trading decisions.
Step-by-step usage guide
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
Gann VooDoo LinesGann VooDoo Lines Indicator
Description
- Gann VooDoo Lines is a precise overlay indicator that applies W.D. Gann's Square of 9 mathematics to generate static horizontal support and resistance levels from a single manual anchor price. It calculates 8 key vibrational degrees (45°, 90°, 135°, 180°, 225°, 270°, 315°, 360°) both upward (resistance) and downward (support), delivering clean, timeframe-independent price zones.
Key Features
- Manual anchor price input for complete control
- Individual toggles for each of the 8 degrees
- "Both (Support + Resistance)" mode to display levels in both directions simultaneously
- Extend lines left/right or both
- Dynamic right-side labels that follow the latest bar
- Price values automatically displayed on the right price scale for all visible lines (including anchor)
- Customizable resistance, support, and anchor colors
What Makes It Unique (Compared to Other Gann Scripts)
- Unlike most Gann indicators on TradingView (which typically focus on sloping angles/fans, auto-detected swings, or limited degrees), Gann VooDoo Lines uses pure static Square of 9 horizontal levels with full individual toggles for all 8 degrees and a dedicated "Both" mode — allowing you to view support and resistance simultaneously without overlap or clutter. The combination of per-degree toggles, dynamic right-side labels, and clean price scale integration (no duplicates or repainting) sets it apart from generic Gann tools that often lack this granular control and visual clarity.
How to Use and Trade With It
- Set the anchor properly — this is the most critical step:
- Choose a major significant price extreme (all-time high/low, major swing high/low, or key psychological level).
- For higher timeframes (daily/weekly): use long-term extremes (e.g., all-time low/high) for "master" levels that influence price over months/years.
- For lower timeframes/intraday: use recent session extremes (today's open, previous close, or recent swing high/low) and update the anchor as needed for fresh levels.
- Experiment: test different anchors and observe which produces the most reactions.
Trading approach:
- Watch for price reactions (reversals, bounces, accelerations) at the lines — especially confluence with multiple degrees or right-side labels.
- Use in "Both" mode for full support/resistance picture.
- Combine with price action (candlestick patterns, volume) for entries/exits.
- Toggle off unused degrees to declutter the chart.
4H Pivot Levels# 4-Hour Pivot Levels - Quick Guide
## What It Does
Displays 4-hour pivot support and resistance levels on any timeframe chart with clear BUY (green) and SELL (red) labels.
## Installation
1. Open TradingView Pine Editor
2. Paste the script code
3. Save and "Add to Chart"
## Understanding the Levels
**Pivot Point (P)** - Yellow line, central reference point
- Price above = bullish bias
- Price below = bearish bias
**Support Levels (S1, S2, S3)** - Green "BUY" labels
- Demand zones where price may bounce up
- Use as long entry targets or short exit points
- S1 strongest, S3 weakest
**Resistance Levels (R1, R2, R3)** - Red "SELL" labels
- Supply zones where price may reverse down
- Use as short entry targets or long exit points
- R1 strongest, R3 weakest
## How to Use
**For Longs:**
- Buy near green support levels
- Target red resistance levels or pivot
- Stop loss below the support level
**For Shorts:**
- Sell near red resistance levels
- Target green support levels or pivot
- Stop loss above the resistance level
**For Ranging Markets:**
- Buy support, sell resistance
- Use pivot as mid-range guide
## Settings
**Display:** Toggle pivot point, support, or resistance on/off
**Line Extension:** Adjust how far lines project forward (default: 50 bars)
**Colors:** Customize pivot (yellow), support (green), resistance (red)
**Style:** Change line width (1-5) and style (solid/dashed/dotted)
## Tips
- Works on any timeframe but best on 15min-4H charts
- R1/S1 are typically the strongest levels
- Always use with price action confirmation and stop losses
- Levels update every 4 hours based on previous 4H candle
- Combine with volume and other indicators for best results
## Quick Strategy
1. Identify the trend (above/below pivot)
2. Wait for price to approach a level
3. Look for confirmation (candlestick pattern, volume)
4. Enter with stop beyond the level
5. Target next level or pivot point
Pivot Levels [BigBeluga]🔵 OVERVIEW
The Pivot Levels indicator automatically detects and draws key market pivot levels across multiple sensitivity settings. Each pivot level represents a significant local high or low in price structure, acting as potential zones of support and resistance. Traders can visualize short-, medium-, and long-term pivot layers simultaneously, helping to identify where price may react, reverse, or break out.
🔵 CONCEPTS
Different pivot lengths provide multi-length sensitivity on the same timeframe — shorter lengths detect local micro-swings, while longer lengths capture broader swing structure within the current chart.
ATR-based color logic marks active, bullish, or bearish pivot zones dynamically.
Lines can extend to the right or both sides to track reactions over time.
🔵 FEATURES
Detects up to four custom pivot levels simultaneously.
Each pivot level has independent settings for length , style , and extension mode .
Auto-colors each pivot as support (green), resistance (orange), or active zone (blue).
Displays dual-width line layers: a solid base and a transparent overlay for visual depth.
Dynamic price labels show exact pivot levels for clarity.
Fully customizable line styles: dashed (--), solid (-), or dotted (..).
Extends lines to the right for future reaction tracking or both directions for structure alignment.
🔵 HOW TO USE
Enable or disable pivot levels (1–4) to control how many layers of structure you want visible.
Use shorter pivot lengths for intraday turning points and longer ones for macro structure.
Watch for multiple pivot lines clustering in the same region — these often mark strong reversal zones.
Observe color changes: green = support, orange = resistance, blue = active neutral zone.
Combine with price action or volume analysis to confirm reactions near major pivots.
🔵 CONCLUSION
The Pivot Levels indicator provides a clean, multi-layered visualization of market structure.
By tracking pivots of varying lengths, traders can easily identify overlapping support and resistance regions, gauge breakout strength, and align trades with the dominant structural zones visible across multiple time horizons.
Custom Session ORB - Extending Past Current CandleCustom Session ORB - Extending Past Current Candle
This indicator plots Opening Range Breakout (ORB) levels for one or two customizable trading sessions directly on your chart. It dynamically tracks the high, low, and midpoint of the defined session(s) and extends these levels beyond the session using a configurable offset.
Features:
Supports two custom sessions.
New York and Asia pre-saved.
Automatically tracks session High, Low, and Mid.
Option to extend ORB levels past the live candle.
Option to display only the most recent ORB for a clean chart.
Configurable line thickness, style, and label size.
Works in Eastern Standard Time (EST) without manual adjustment.
Settings:
Show Labels: Toggle to display ORB values on chart.
Label Font Size: Small, Normal, Large.
Mid Line Style: Solid, Dashed, or Dotted.
ORB Line Thickness: Set line thickness of ORB levels.
Extend Past Current Candle by N Bars: Controls how far the ORB extends visually.
Show Only Current ORB: Cleans chart by removing previous session ORB levels.
Enable Session 1 / 2: Toggle individual sessions on/off.
Session Time: Set the start and end times for each session (automatically in EST).
How It Works:
The indicator monitors the defined session time, records the high, low, and midpoint, and draws lines at those levels. When the session ends, the lines are extended by the specified offset for easy breakout visualization. Labels can optionally show the exact price levels.
Liquidity ZonesLiquidity Zones
Liquidity Zones is a price-action–based indicator designed to identify high-probability support and resistance areas where liquidity has historically accumulated.
Instead of drawing single lines, the script builds dynamic price zones based on repeated pivot reactions validated by volume, helping traders focus on meaningful levels rather than noise.
How It Works
Pivot Detection
The indicator scans historical price data for pivot highs and pivot lows using a fixed pivot strength.
Each pivot represents a potential liquidity interaction point.
Volume Qualification
A pivot is only considered valid if the volume at the pivot bar exceeds:
Volume SMA × Sensitivity
This filters out weak or low-participation levels and keeps zones formed during strong market interest.
Zone Construction
Nearby pivots are grouped into a single zone if their price difference stays within an ATR-based threshold.
Each time price reacts within this threshold, the zone’s touch count increases.
Once the minimum number of touches is reached, a liquidity zone is drawn and extended to the right.
Adaptive Zone Expansion
As new qualifying pivots appear, zones automatically expand to reflect the true liquidity range instead of staying static.
Dynamic Zone Coloring
Zones update their color in real time based on price position:
Green (Support) → Price is above the zone
Red (Resistance) → Price is below the zone
Gray (In-Zone) → Price is trading inside the zone
This allows instant visual feedback on whether a level is acting as support, resistance, or an active liquidity area.
Settings Overview
Bars to Apply
Controls how much historical data is scanned for liquidity zones.
Volume Sensitivity
Higher values require stronger volume spikes to validate pivots, resulting in fewer but higher-quality zones.
Styling Options
Fully customizable colors and transparency for support, resistance, and in-zone states.
Best Use Cases
Identifying high-liquidity support and resistance zones
Planning entries, exits, and stop placement
Combining with trend-following or momentum indicators
Filtering out weak levels in sideways or choppy markets
AperonFx Pivot Points 1.1This indicator plots ATR-based pivot levels with a clean, institutional layout.
The central pivot (P) is calculated from the selected timeframe and price formula, while support and resistance levels are placed at equal distance steps above and below the pivot.
Users can choose between an automatic step based on ATR or a fixed price step for fully controlled, symmetric levels.
All levels are drawn as continuous segments that align precisely with the active pivot period.
Price annotations are displayed in a minimal, unobtrusive style and always match the exact level values.
The indicator is designed to remain consistent across chart timeframes without recalculation drift.
It is intended for traders who want clear, structured reference levels rather than reactive signals.
FatihStrategy: Universal Pivot System v3.3.1FatihStrategy: Universal Pivot System v3.3.1 is an advanced technical analysis indicator that combines multi-timeframe pivot averages with EMA trend filters in a single visual system.
🔹 How It Works
Depending on the selected pivot mode, the indicator calculates and visualizes:
Daily & 3-Day Average Pivots
Weekly & 3-Week Average Pivots
Monthly & 3-Month Average Pivots
Yearly & 3-Year Average Pivots
The difference between pivot levels is displayed as colored boxes:
Red Box → Lower timeframe pivot zone
Yellow Box → Higher timeframe pivot zone
These zones help identify potential support, resistance, and consolidation areas.
🔹 EMA Trend Support
Optional exponential moving averages:
20 EMA
50 EMA
200 EMA
can be enabled to assist with trend direction and trade filtering.
🔹 Suitable For
Day traders and swing traders
Pivot-based strategies
Traders looking for clear visual support/resistance zones
Crypto, forex, and stock market analysis
⚠️ Disclaimer
This indicator is not financial advice.
Always use proper risk management and confirm signals with your own trading strategy.
Daily/Weekly Swing Highs-Lows + Candle PatternsDescription
Daily/Weekly Swing Highs-Lows + Candle Patterns
This indicator plots the most recent Daily and Weekly Swing Highs and Lows (key support/resistance levels) using a simple and effective logic: a swing high/low is confirmed when the previous bar's extreme is higher/lower than both the current and the one before it.
Features:
• Daily Swing Highs/Lows (teal/maroon circles) – toggleable
• Weekly Swing Highs/Lows (blue/purple circles) – optional
• Visual separators for new daily and weekly bars (light background color)
• Daily candle pattern labels (optional):
- US = Up Swing (strong bullish continuation)
- DS = Down Swing (strong bearish continuation)
- IN = Inside Bar
- OUT = Outside Bar
• Daily close position labels (optional):
- P = Positive (close in upper 25% of the range)
- mP = minor Positive (50–75%)
- mN = minor Negative (25–50%)
- N = Negative (lower 25%)
All elements are fully customizable (colors, visibility) and work on any timeframe.
Best suited for intraday timeframes (1 min to 4 hours) where daily and weekly key levels provide important context for price action and reversals.
The optional "Trading session length" input is mainly useful for markets with shorter sessions (e.g., European indices) and does not affect swing detection.
Open-source, free to use and modify.
How to Use the Indicator + Practical Use Case
Key Settings (Inputs)
Trading session length (hours) → Default 8.5 h (useful for FTSEMIB, DAX, etc.). Leave it as is unless you trade a market with a different session length.
Daily Swing Levels → Show/Hide daily swing highs (teal) and lows (maroon).
Weekly Swing Levels → Usually keep off on intraday charts to avoid clutter (turn on for higher-timeframe context).
Daily Candle Patterns → Enable only if you want to see US/DS/IN/OUT labels on the daily close.
Close Position (P/mP/mN/N) → Enable if you want to quickly see how strong/weak the daily close was.
What You See on the Chart
Teal circles = Last confirmed daily swing high (resistance).
Maroon circles = Last confirmed daily swing low (support).
Blue/purple circles (if enabled) = Weekly swing high/low.
Light gray background = Start of a new trading day.
Purple background (if weekly enabled) = Start of a new week.
Small labels on daily close (if enabled):
- US = strong bullish day
- DS = strong bearish day
- IN = inside bar (consolidation)
- OUT = outside bar (expansion)
- P/mP/mN/N = how far the close was from the high/low of the day.
Best Timeframes 1 min to 240 min charts → Daily levels act as major support/resistance zones for intraday trading.
Avoid using on daily or higher charts (the logic is designed for intraday context).
Why this works well intraday:
The daily swing high/low levels are high-probability zones where institutions and algorithms often defend positions. On intraday charts, they act as “magnets” for price, giving you clean entries and exits with clear invalidation levels.
This indicator keeps your chart clean while providing exactly the context most intraday traders need: key daily levels + daily momentum context.
S&R Zones + Signals V6.4 (Rejection & Break)This indicator is to trigger once the Candle go into the Zone, get rejection and Break
Box Indicator - Auto Draw Previous Day's - High / Midline / LowThis indicator draws a box around the previous day’s high and low, calculates the midline, and displays them on the current day’s chart. It helps visualize key support/resistance levels from the prior trading day.
This script gives you a static reference box from the prior day’s trading range, including a midpoint. It’s useful for spotting potential reversal zones, breakout levels, or intraday targets based on yesterday’s price action.
Ichimoku Trading Checklist - 5 Rules🧠 Description
This indicator implements a rule-based checklist built on Ichimoku Kinko Hyo, complemented with RSI and price structure, designed to help traders objectively evaluate whether a bullish setup is valid or not.
⚠️ This indicator does NOT generate buy or sell signals.
⚠️ It is NOT a trading system or financial advice.
The core philosophy is discipline and consistency:
If there is no setup, there is no trade.
________________________________________
✅ The 5 Rules Evaluated
1. Chikou Span above price (26 bars back)
Confirms that current price is above historical price, validating a bullish context.
2. Bullish TK Cross (Tenkan-sen > Kijun-sen)
Measures bullish momentum within the Ichimoku framework.
3. Bullish divergence or convergence between RSI and price
Evaluates relative strength using recent RSI pivots and price structure.
4. Kumo breakout followed by a valid pullback
Requires a bullish cloud breakout and a pullback that respects the structure.
5. Bullish Kumo (green cloud / twist)
Confirms that the Ichimoku cloud supports a bullish bias.
________________________________________
🚦 Decision Traffic Light (Final Row)
The last row of the table provides a traffic-light style summary:
• 🟢 5/5 rules met → Valid setup
• 🟡 1–4 rules met → Incomplete setup
• 🔴 0 rules met → No trade
Core message displayed: “No setup, No trade!” 🚫
________________________________________
🎨 Customization
Through the Inputs panel, users can customize:
• Header, body, and footer background colors
• Traffic-light colors and icons (🟢 🟡 🔴)
• Text alignment (left / center / right)
• Optional rule counter (x/5)
⚠️ Tables do not use TradingView’s Style tab; all customization is handled via Inputs.
________________________________________
⏱️ Timeframe
The indicator is timeframe-agnostic, but it was designed and tested primarily on the 1H timeframe, where Ichimoku and RSI structure tend to be more consistent.
________________________________________
⚠️ Disclaimer
This script is provided for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any asset.
Trading involves risk, and all decisions remain the sole responsibility of the user.
Remember that every strategy is based on probabilities and scenarios that you have already tested in hundreds of trades.
________________________________________
👤 Author
© Yesid Correa Cano
Pine Script v6
License: Mozilla Public License 2.0 (MPL-2.0)






















