Medium-term TrendThis Medium-term Trend indicator is designed to identify short, mid, and long-term price pivots, track trend directions, and visualize key support and resistance zones. It excels at analyzing mid-term trends, the most optimal timeframe for traders, and delivers greater reliability when applied to larger chart periods. The indicator helps you dynamically observe the battle between bullish and bearish forces at mid-term highs and lows, enabling you to align your trades with the prevailing trend.
How to Use This Script
1. Core Parameter Adjustment
The only critical adjustable parameter for trend validation is Retrace Percentage (%).It defaults to 0.01, with a range of 0 to 20.0 (adjustable in 0.01 increments). This parameter defines the minimum retracement percentage required to confirm a trend change from bullish to bearish or vice versa. A higher value means a more conservative trend change confirmation (fewer false signals), while a lower value captures more frequent trend shifts (may include more noise).
2. Visual Display Controls (Toggle On/Off)
You can enable or disable the following visual elements via the indicator settings panel to match your chart clarity needs.
Pivot Point Displays
Show Short Points: Disable by default. When enabled, small green circles mark short-term lows and small red circles mark short-term highs, with tooltips showing the exact pivot price.
Show Mid Points: Enables by default. When enabled, tiny yellow circles mark mid-term lows and mid-term highs (the core of the indicator), with tooltips showing the exact pivot price. These points are key for identifying mid-term trend direction.
Show Long Points: Disables by default. When enabled, small blue circles mark long-term lows and long-term highs, with tooltips showing the exact pivot price.
Trend Channel Displays
Show Short Channel: Disables by default. When enabled, green lines connect consecutive short-term lows and red lines connect consecutive short-term highs, forming a short-term price channel.
Show Mid Channel: Disables by default. When enabled, yellow lines connect consecutive mid-term lows and mid-term highs, forming a mid-term price channel that clearly visualizes the mid-term trend trajectory.
Show Long Channel: Disables by default. When enabled, blue lines connect consecutive long-term lows and long-term highs, forming a long-term price channel for broader trend analysis.
Mid-term Pivot Rectangles (Core Visual Element)
Show Mid Rectangles: Enables by default. When enabled, transparent rectangles mark mid-term pivot zones (support and resistance) with dynamic break tracking.These rectangles extend to the right until the trend completes, helping you monitor price interactions with key mid-term levels.
3. Trend Identification & Trading Guidance
Key Trend Rules (Mid-term Focus)
Uptrend Confirmation: When mid-term lows show a sequential upward pattern (each subsequent mid-term low is higher than the previous one), the mid-term trend is bullish (uptrend).Downtrend Confirmation: When mid-term highs show a sequential downward pattern (each subsequent mid-term high is lower than the previous one), the mid-term trend is bearish (downtrend).Range Bound Condition: When mid-term highs and lows move sideways (no clear upward/downward sequence), the market is in a mid-term range.
4.How to Align Trades with the Trend
Observe Mid-term Pivot Interactions: Pay close attention to price reactions at the mid-term rectangles (purple for support, orange for resistance). These zones represent key battle areas between bulls and bears.
Uptrend Trading: In a confirmed mid-term uptrend, prioritize long trades when price touches or bounces from mid-term support rectangles (purple), with stop losses placed below the support rectangle’s bottom edge.
Downtrend Trading: In a confirmed mid-term downtrend, prioritize short trades when price touches or rejects from mid-term resistance rectangles (orange), with stop losses placed above the resistance rectangle’s top edge.
Range Trading: In a mid-term range, trade between consecutive mid-term support (purple) and resistance (orange) rectangles—buy near support and sell near resistance, with tight stop losses beyond the rectangle edges.
Trend Breakout Confirmation: When price closes beyond the top (uptrend breakout) or bottom (downtrend breakout) of a mid-term rectangle, and the rectangle stops extending, this signals a potential mid-term trend shift. Wait for a retest of the broken rectangle (if applicable) to enter trades in the direction of the breakout.
5. Best Practices
Optimal Timeframes: While the indicator works on all timeframes, it performs best on larger periods (4-hour, daily, weekly) where mid-term trends are more defined and less prone to noise.Mid-term Focus: For consistent trading results, prioritize mid-term signals (yellow pivot points, mid rectangles) over short-term signals, as mid-term trends offer higher probability trades with favorable risk-reward ratios.Avoid Overcluttering: Keep short-term and long-term displays disabled by default unless you need multi-timeframe confluence. Enabling too many visual elements can obscure key mid-term trend signals.Parameter Fine-Tuning: Adjust the Retrace Percentage (%) based on your asset’s volatility—use higher values (e.g., 0.5 to 2.0) for volatile assets (cryptocurrencies) and lower values (e.g., 0.01 to 0.2) for less volatile assets (blue-chip stocks).Dynamic Analysis: Regularly monitor the evolution of mid-term pivot rectangles and pivot point sequences—trends are not static, and early detection of shifting mid-term highs/lows can help you exit losing trades and capture new trend opportunities.
Disclaimer: This indicator is for educational and analytical purposes only. It does not constitute financial advice. Always conduct your own research and risk assessment before executing trades. For support or customization requests, please send a private message to the author.
Points pivots et niveaux
Pivot automaticOverview
Pivot Automatic is a powerful, overlay-based TradingView indicator that automatically detects Higher Timeframe (HTF) Pivot High (Resistance) and Pivot Low (Support) zones, monitors price interactions with these zones (touches and breakouts), and optionally identifies high-volume trading regions. It features auto-HTF detection, customizable alerts, and visual markers to streamline technical analysis and trade decision-making.
Key Features
Auto Higher Timeframe (HTF) Detection: Automatically selects an appropriate higher timeframe based on your current chart timeframe, eliminating the need for manual HTF input.
Visual Pivot Zones: Clearly displays pivot high (resistance) and pivot low (support) zones as colored, dynamically extending rectangles directly on price action.
Price Touch & Breakout Monitoring: Detects first touches, re-touches, and breakouts of pivot zones, with corresponding visual markers and real-time alerts.
High-Volume Box Detection: Optional visualization of extreme volume bars within user-specified trading sessions, highlighting potential institutional interest areas.
Fully Customizable: Adjust colors, transparency levels, alert triggers, and volume parameters to align with your personal trading style and chart aesthetics.
Parameter Explanation
The indicator’s parameters are organized into three main categories for intuitive configuration.
1. HTF Settings (Higher Timeframe Pivot Zone Configuration)
Pivot High Zone Color: Defaults to gray. This parameter sets the background color of HTF pivot high (resistance) zones, allowing you to match the zone color to your chart theme.
Pivot High Transparency: Defaults to 80, with a range of 0 to 100. It controls the transparency of pivot high zones—0 means fully opaque, while 100 means fully transparent. Higher values help keep the chart uncluttered while maintaining visibility of key resistance levels.
Pivot Low Zone Color: Defaults to fuchsia. This parameter sets the background color of HTF pivot low (support) zones for clear differentiation from resistance zones.
Pivot Low Transparency: Defaults to 80, with a range of 0 to 100. It controls the transparency of pivot low zones, using the same 0-100 scale as pivot high transparency.
2. Touch Alert Settings (Price Interaction Monitoring)
Enable Touch Alert: Defaults to true. This toggle enables or disables all alerts related to price touches and breakouts of pivot zones. Disable it if you only want visual cues without receiving notifications.
Show Touch Markers: Defaults to true. When enabled, it displays small labels on the chart during price interactions with pivot zones—"R" for resistance touches, "R+" for resistance top tests, "S" for support touches, and "S+" for support bottom tests.
Alert on Bottom Touch: Defaults to true. Triggers an alert when price first touches the bottom boundary of a pivot zone, signaling entry into a support or resistance area.
Alert on Top Touch: Defaults to true. Triggers an alert when price reaches the top boundary of a resistance zone or the bottom boundary of a support zone, indicating a test of the zone’s key level.
Minimum Touch Interval (bars): Defaults to 5, with a minimum value of 1. This parameter sets a minimum number of bars between consecutive touch alerts for the same pivot zone, preventing duplicate and redundant alerts.
ATR Length for Label Offset: Defaults to 14. It defines the lookback length of the Average True Range (ATR) indicator used to calculate the distance of touch markers from price action, using the standard ATR length of 14 by default.
Label Offset Multiplier: Defaults to 0.3, with a minimum value of 0.1 and adjustable in 0.1 increments. It multiplies the ATR value to set the offset distance of touch markers from price, preventing overlap between markers and candlesticks.
3. Volume Settings (High-Volume Zone Configuration)
Show Huge Volume Box: Defaults to false. This toggle enables or disables the visualization of bars with extremely high volume, which is disabled by default to reduce chart clutter.
Volume Length: Defaults to 20. It sets the lookback period (number of bars) used to calculate the highest volume and average volume, which are the benchmarks for identifying "huge volume" bars.
Volume Factor: Defaults to 5. It acts as a multiplier for the average volume—only bars with volume greater than the average volume multiplied by this factor are classified as "huge volume" bars. Higher values make the detection more restrictive, capturing only the most extreme volume spikes.
Volume Box Color: Defaults to blue. This parameter sets the background color of the huge volume box for clear visual identification.
Volume Box Transparency: Defaults to 70, with a range of 0 to 100. It controls the transparency of the huge volume box, following the same 0 (fully opaque) to 100 (fully transparent) scale as other zone transparency settings.
Enable Session Filter: Defaults to true. When enabled, it restricts huge volume detection to a user-specified trading session; disabling it allows detection across all time periods.
Trading Session: Defaults to 0930-1600, formatted as HHMM-HHMM. It defines the specific trading session for volume detection—for example, 0930-1600 corresponds to US stock regular trading hours.
Session Timezone: Defaults to UTC-5, with options covering all UTC offsets from UTC-12 to UTC+12. It sets the timezone for the specified trading session, with key mappings including UTC-5 for US Eastern time, UTC+0 for London time, UTC+1 for Paris time, UTC+8 for China/Singapore time, and UTC+9 for Tokyo time.
Hidden Core Logic (Non-Customizable Constants)
Auto HTF Detection Logic
The indicator automatically selects the appropriate higher timeframe based on your current chart timeframe (measured in minutes), following this predefined rule set:
For current timeframes less than 3 minutes (including second-based charts), the auto-selected HTF is 3-minute.
For current timeframes between 3 minutes and 9 minutes, the auto-selected HTF is 15-minute.
For current timeframes between 10 minutes and 29 minutes, the auto-selected HTF is 1-hour (60-minute).
For current timeframes between 30 minutes and 3 hours 59 minutes, the auto-selected HTF is 4-hour (240-minute).
For current timeframes between 4 hours and 23 hours 59 minutes, the auto-selected HTF is Daily (D).
For current timeframes of 1 day or longer, the auto-selected HTF is Weekly (W).
How to Use the Indicator
1. Basic Setup
Add the indicator to your TradingView chart—it will overlay directly on your price action.
Verify the auto-selected HTF, which requires no manual input. If you want to change the underlying HTF logic, simply adjust your current chart timeframe.
Customize the indicator parameters via the "Settings" panel to match your visual preferences and trading needs.
2. Interpreting Visual Cues
Gray Transparent Rectangle: Represents an HTF Pivot High (Resistance Zone). The zone is bounded by the pivot high’s peak at the top and the higher of the pivot bar’s open or close at the bottom.
Fuchsia Transparent Rectangle: Represents an HTF Pivot Low (Support Zone). The zone is bounded by the pivot low’s trough at the bottom and the lower of the pivot bar’s open or close at the top.
Small "R" Label (Red/Orange): Signals a Resistance Zone Touch. A red label indicates the first touch of the zone, while an orange label indicates a re-touch after the minimum touch interval has elapsed.
Small "R+" Label (Solid Red): Signals a Resistance Zone Top Test, meaning price has reached the upper boundary of the pivot high zone and is attempting a breakout.
Small "S" Label (Green/Lime): Signals a Support Zone Touch. A green label indicates the first touch of the zone, while a lime label indicates a re-touch after the minimum touch interval has elapsed.
Small "S+" Label (Solid Green): Signals a Support Zone Bottom Test, meaning price has reached the lower boundary of the pivot low zone and is attempting a breakdown.
Blue Transparent Box (Optional): Represents a Huge Volume Zone, marking a bar with extreme volume that meets the volume factor and session filter criteria.
Extending Rectangle: Identifies an Unbroken Pivot Zone. The rectangle will continue extending to the right as long as price has not broken the zone’s boundary; broken zones stop extending.
3. Alert Triggers
When the Enable Touch Alert parameter is set to true, the indicator generates five distinct types of alerts:
Resistance Touched: Triggers when price first enters the pivot high zone, if the Alert on Bottom Touch parameter is enabled.
Resistance Top Test: Triggers when price reaches the upper boundary of the pivot high zone, if the Alert on Top Touch parameter is enabled.
Resistance Re-touch: Triggers when price re-enters the pivot high zone after the minimum touch interval has passed, if the Alert on Bottom Touch parameter is enabled.
Support Touched/Re-touch: Mirrors the resistance touch alerts, triggering when price enters or re-enters the pivot low zone.
Support/Resistance Broken: Triggers once per breakout when price closes above a pivot high zone or below a pivot low zone on the auto-selected HTF.
4. Trading Strategies with the Indicator
Strategy 1: Pivot Zone Bounce (Range Trading)
Long Setup: Look for price to touch a fuchsia pivot low zone (accompanied by an "S" label), then watch for a bullish reversal candlestick pattern—such as a hammer or bullish engulfing. Confirm the setup with increasing buying volume, then enter a long position.
Short Setup: Look for price to touch a gray pivot high zone (accompanied by an "R" label), then watch for a bearish reversal candlestick pattern—such as a shooting star or bearish engulfing. Confirm the setup with increasing selling volume, then enter a short position.
Stop Loss Placement: For long positions, place the stop loss just below the bottom boundary of the pivot low zone. For short positions, place the stop loss just above the top boundary of the pivot high zone.
Take Profit Target: Target the next nearby pivot zone, or use a risk-reward ratio of at least 1:2 for consistent results.
Strategy 2: Pivot Zone Breakout (Trend Trading)
Long Breakout Setup: Wait for a "Resistance BROKEN" alert, which confirms price has closed above the gray pivot high zone. Enter a long position only if the breakout is accompanied by above-average volume, which validates the strength of the breakout.
Short Breakdown Setup: Wait for a "Support BROKEN" alert, which confirms price has closed below the fuchsia pivot low zone. Enter a short position only if the breakdown is accompanied by above-average volume, which validates the strength of the breakdown.
Stop Loss Placement: For long breakouts, place the stop loss just below the breakout candlestick. For short breakdowns, place the stop loss just above the breakdown candlestick.
Take Profit Target: Target the next major pivot zone in the direction of the trend, or trail your stop loss to capture extended trend moves.
Strategy 3: High-Volume + Pivot Zone Confluence (High-Probability Trading)
Enable the Show Huge Volume Box parameter to display high-volume zones on your chart.
Look for pivot zones that align with these high-volume boxes—this confluence of support/resistance levels and institutional volume activity creates high-probability trade setups.
Prioritize trades where price interacts with these confluent zones, as reactions from these areas are typically stronger and more reliable than reactions from standalone pivot zones.
5. Best Practices
Timeframe Compatibility: The indicator works seamlessly on all timeframes, from second-based charts to weekly charts, thanks to its auto-HTF detection logic.
Asset Compatibility: It is suitable for trading stocks, forex pairs, cryptocurrencies, commodities, and futures contracts across global markets.
Chart Clutter Management: Keep the Show Huge Volume Box parameter disabled by default unless you specifically trade volume-based strategies, to avoid overcrowding your chart with unnecessary elements.
Alert Notification Setup: Configure TradingView’s alert notifications—including email, SMS, and app alerts—to stay updated on price interactions with pivot zones, even when you are not actively monitoring the chart.
Parameter Fine-Tuning: Backtest the indicator with your preferred asset and timeframe to adjust parameters like Volume Factor and Minimum Touch Interval, optimizing the indicator for the specific market conditions you trade.
Disclaimer: This indicator is for educational and analytical purposes only. It does not constitute financial advice. Always conduct your own research and risk assessment before executing any trades in the financial markets.
Iridescent Liquidity Prism [JOAT]Iridescent Liquidity Prism | Peer Momentum HUD
A multi-layered order-flow indicator that combines microstructure analysis, smart-money footprint detection, and intermarket momentum signals. The script uses dynamic color-shifting themes to visualize liquidity patterns, structure, and peer momentum data directly on the chart.
There is so much to choose from inside the settings, if you think it's a mess on the chart it's because you have to personally customize it based on your needs...
Core Functionality
The indicator calculates and displays several analytical layers simultaneously:
Order-Flow Imbalance (OFI): Calculates buy vs. sell volume pressure using volume-weighted price distribution within each bar. Uses an EMA filter (default: 55 periods) to smooth the signal. Values are normalized using standard deviation to identify significant imbalances.
Smart Money Footprints: Detects accumulation and distribution zones by comparing volume rate of change (ROC) against price ROC. When volume ROC exceeds a threshold (default: 65%) and price ROC is positive, accumulation is detected. When volume ROC is high but price ROC is negative, distribution is detected.
Fractal Structure Mapping: Identifies pivot highs and lows using a fractal detection algorithm (default: 5-bar period). Maintains a rolling window of recent structure points (default: 4 levels) and draws connecting lines to show trend structure.
Fair Value Gap (FVG) Detection: Automatically detects price gaps where three consecutive candles create an imbalance. Bullish FVGs occur when the current low exceeds the high two bars ago. Bearish FVGs occur when the current high is below the low two bars ago. Gaps persist for a configurable duration (default: 320 bars) and fade when price fills the gap.
Liquidity Void Detection: Identifies candles where the high-low range exceeds an ATR threshold (default: 1.7x ATR) while volume is below average (default: 65% of 20-bar average). These conditions suggest areas where liquidity may be thin.
Price/Volume Divergence: Uses linear regression to detect when price trend direction disagrees with volume trend direction. A divergence alert appears when price is trending up while volume is trending down, or vice versa.
Peer Momentum Heatmap (PMH): Calculates composite momentum scores for up to 6 symbols across 4 timeframes. Each score combines RSI (default: 14 periods) and StochRSI (default: 14 periods, 3-bar smooth) to create a momentum composite between -1 and +1. The highest absolute momentum score across all combinations is displayed in the HUD.
Custom settings using Fractal Pivots, Skeleton Structure, Pulse Liquidity Voids, Bottom Colorful HeatMaps, and Iridescent Field.
---
Visual Components
Spectrum Aura Glow: ATR-weighted bands (default: 0.25x ATR) that expand and contract around price action, indicating volatility conditions. The thickness adapts to market volatility.
Chromatic Flow Trail: A blended line combining EMA and WMA of price (default: 8-period EMA blended with WMA at 65% ratio). The trail uses gradient colors that shift based on a phase oscillator, creating an iridescent effect.
Volume Heat Projection: Creates horizontal volume profile bands at price levels (default: 14 levels). Scans recent bars (default: 150 bars) to calculate volume concentration. Each level is colored based on its volume density relative to the maximum volume level.
Structure Skeleton: Dashed lines connecting fractal pivot points. Uses two layers: a primary line (2-3px width) and an optional glow overlay (4-5px width) for enhanced visibility.
Fractal Markers: Diamond shapes placed at pivot high and low points. Color-coded: primary color for highs, secondary color for lows.
Iridescent Color Themes: Five color themes available: Iridescent (default), Pearlescent, Prismatic, ColorShift, and Metallic. Colors shift dynamically using a phase oscillator that cycles through the color spectrum based on bar index and a speed multiplier (default: 0.35).
---
HUD Console Metrics
The right-side HUD displays seven key metrics:
Flow: Shows OFI status: ▲ FLOW BUY when normalized OFI exceeds imbalance threshold (default: 2.2), ▼ FLOW SELL when below -2.2, or ◆ FLOW BAL when balanced.
Struct: Structure trend bias: ▲ STRUCT BULL when microtrend > 2, ▼ STRUCT BEAR when < -2, or ◆ STRUCT RANGE when neutral.
Smart$: Institutional activity: ◈ ACCUM when smart money index = 1, ◈ DISTRIB when = -1, or ○ IDLE when inactive.
Liquid: Liquidity state: ⚡ VOID when a liquidity void is detected, or ● NORMAL otherwise.
Diverg: Divergence status: ⚠ ALERT when price/volume divergence detected, or ✓ CLEAR when aligned.
PMH: Peer Momentum Heatmap status: Shows dominant timeframe and momentum score. Displays 🪩 for bull surge (above 0.55 threshold) or 🧨 for bear surge (below -0.55).
FVG: Fair Value Gap status: Shows active gap count or CLEAR when no gaps exist. Displays GAP LONG when bullish gap detected, GAP SHORT when bearish gap detected.
Pearlscent Color with Volume Heatmap.
Parameters and Settings
Microstructure Engine:
Analysis Depth: 20-250 bars (default: 55) - Controls OFI smoothing period
Liquidity Threshold ATR: 1.0-4.0 (default: 1.7) - Multiplier for void detection
Imbalance Ratio: 1.5-6.0 (default: 2.2) - Standard deviations for OFI significance
Smart Money Layer:
Smart Money Window: 10-150 bars (default: 24) - Period for ROC calculations
Accumulation Threshold: 40-95% (default: 65%) - Volume ROC threshold
Structural Mapping:
Fractal Pivot Period: 3-15 bars (default: 5) - Period for pivot detection
Structure Memory: 2-8 levels (default: 4) - Number of structure points to track
Volume Heat Projection:
Heat Map Lookback: 60-400 bars (default: 150) - Bars to analyze for volume profile
Heat Map Levels: 5-30 levels (default: 14) - Number of price level bands
Heat Map Opacity: 40-100% (default: 92%) - Transparency of heat map boxes
Heat Map Width Limit: 6-80 bars (default: 26) - Maximum width of heat map boxes
Heat Map Visibility Threshold: 0.0-0.5 (default: 0.08) - Minimum density to display
Iridescent Enhancements:
Visual Theme: Iridescent, Pearlescent, Prismatic, ColorShift, or Metallic
Color Shift Speed: 0.05-1.00 (default: 0.35) - Speed of color phase oscillation
Aura Thickness (ATR): 0.05-1.0 (default: 0.25) - Multiplier for aura band width
Chromatic Trail Length: 2-50 bars (default: 8) - Period for trail calculation
Trail Blend Ratio: 0.1-0.95 (default: 0.65) - EMA/WMA blend percentage
FVG Persistence: 50-600 bars (default: 320) - Bars to keep FVG boxes active
Max Active FVG Boxes: 10-200 (default: 40) - Maximum boxes on chart
FVG Base Opacity: 20-95% (default: 80%) - Transparency of FVG boxes
Peer Momentum Heatmap:
Peer Symbols: Comma-separated list of up to 6 symbols (e.g., "BTCUSD,ETHUSD")
Peer Timeframes: Comma-separated list of up to 4 timeframes (default: "60,240,D")
PMH RSI Length: 5-50 periods (default: 14)
PMH StochRSI Length: 5-50 periods (default: 14)
PMH StochRSI Smooth: 1-10 periods (default: 3)
Super Momentum Threshold: 0.2-0.95 (default: 0.55) - Threshold for surge detection
Clarity & Readability:
Liquidity Void Opacity: 5-90% (default: 30%)
Smart Money Footprint Opacity: 5-90% (default: 35%)
HUD Background Opacity: 40-95% (default: 70%)
Iridescent Field:
Field Opacity: 20-100% (default: 86%) - Background color intensity
Field Smooth Length: 10-200 bars (default: 34) - Smoothing for background gradient
---
Alerts
The indicator provides seven alert conditions:
Liquidity Void Detected - Triggers when void conditions are met
Strong Order Flow - Triggers when normalized OFI exceeds imbalance ratio
Smart Money Activity - Triggers when accumulation or distribution detected
Price/Volume Divergence - Triggers when divergence conditions occur
Structure Shift - Triggers when structure polarity changes significantly
PMH Bull Surge - Triggers when PMH exceeds positive threshold (if enabled)
PMH Bear Surge - Triggers when PMH exceeds negative threshold (if enabled)
Bull/Bear Prismatic FVG - Triggers when new FVG is detected (if FVG display enabled)
---
Usage Considerations
Performance may vary on lower timeframes due to the volume heat map calculations scanning multiple bars. Consider reducing heat map lookback or levels if experiencing slowdowns.
The PMH feature requires data requests to other symbols/timeframes, which may impact performance. Limit the number of peer symbols and timeframes for optimal performance.
FVG boxes automatically expire after the persistence period to prevent chart clutter. The maximum box limit (default: 40) prevents excessive memory usage.
Color themes affect all visual elements. Choose a theme that provides good contrast with your chart background.
The indicator is designed for overlay display. All visual elements are positioned relative to price action.
Structure lines are drawn dynamically as new pivots form. On fast-moving markets, structure may update frequently.
Volume calculations assume typical volume data availability. Symbols without volume may show incomplete data for volume-dependent features.
---
Technical Notes
Built on Pine Script v6 with dynamic request capability for PMH functionality.
Uses exponential moving averages (EMA) and weighted moving averages (WMA) for trail calculations to balance responsiveness and smoothness.
Volume profile calculation uses price level buckets. Higher levels provide finer granularity but require more computation.
Iridescent color engine uses a phase oscillator with sine wave calculations for smooth color transitions.
Box management includes automatic cleanup of expired boxes to maintain performance.
All visual elements use color gradients and transparency for smooth blending with price action.
---
Customization Examples
Intraday Scalping Setup:
Analysis Depth: 30 bars
Heat Map Lookback: 100 bars
FVG Persistence: 150 bars
PMH Window: 15 bars
Fast color shift speed: 0.5+
Macro Structure Tracking:
Analysis Depth: 100+ bars
Heat Map Lookback: 300+ bars
FVG Persistence: 500+ bars
Structure Memory: 6-8 levels
Slower color shift speed: 0.2
---
Limitations
Volume heat map calculations may be computationally intensive on lower timeframes with high lookback values.
PMH requires valid symbol names and accessible timeframes. Invalid symbols or timeframes will return no data.
FVG detection requires at least 3 bars of history. Early bars may not show FVG boxes.
Structure lines connect points but do not predict future structure. They reflect historical pivot relationships.
Color themes are aesthetic choices and do not affect calculation logic.
The indicator does not provide trading signals. All visual elements are analytical tools that require interpretation in context of market conditions.
Open Source
This indicator is open source and available for modification and distribution. The code is published with Pine Script v6 compliance. Users are free to customize parameters, modify calculations, and adapt the visual elements to their trading needs.
For questions, suggestions, or anything please talk to me in private messages or comments below!
Would love to help!
- officialjackofalltrades
NQ Hourly Retracements - 12y Stats with LevelsHour Stats with Levels - TradingView Indicator Description
IMPORTANT: NQ FUTURES ONLY
This indicator is specifically designed for and calibrated to NQ (Nasdaq-100 E-mini) futures only. The statistical data is derived exclusively from 13 years of NQ price action (2013-2025). Do not use this indicator on any other asset, ticker, or market as the statistics will not be applicable and may lead to incorrect trading decisions.
Overview
"Hour Stats with Levels" is a statistical analysis indicator that provides real-time probability-based insights into hourly price behavior patterns. The indicator combines historical pattern recognition with live price action to help traders anticipate potential sweep and reversal scenarios within each trading hour.
Originality and Core Concept
This indicator is based on a comprehensive statistical analysis of 12y years of 1-minute NQ futures data, examining a specific price pattern: when an hourly candle opens inside the previous hour's range. Unlike generic support/resistance indicators, this tool provides hour-specific, context-aware probabilities based on 30,000+ historical occurrences of this pattern.
The originality lies in three key areas:
Pattern-Specific Statistics: Rather than applying generic technical analysis, the indicator only activates when the current hour opens within the previous hour's range, providing relevant statistics for this exact scenario.
Context-Aware Probabilities: Statistics are differentiated based on whether the current hour opened above or below the previous hour's open, recognizing that bullish and bearish opening contexts produce different behavioral patterns.
Comprehensive Retracement Tracking: The indicator tracks four independent retracement levels after a sweep occurs, showing the probability of price returning to: the swept level itself (90+% probability), the 50% level, the current hour's open, and the opposite extreme.
How It Works
The Core Pattern
The indicator monitors a specific price structure:
Setup Condition: The current hourly candle opens inside (between) the previous hour's high and low
Sweep Event: Price then breaks above the previous high (high sweep) or below the previous low (low sweep)
Retracement Analysis: After a sweep, the indicator tracks whether price retraces to key levels
Statistical Foundation
The underlying analysis processed 1-minute bar data from 2013-2025, identifying every instance where an hourly candle opened inside the previous hour's range. For each occurrence, the system tracked:
Whether the high, low, or both were swept during that hour
The distance of the sweep measured as a percentage of the previous hour's range
Whether price retraced to four key levels: the swept level, the 50% point, the current open, and the opposite extreme
These measurements were aggregated for all 24 hours of the trading day, with separate statistics for bullish contexts (opening above previous open) and bearish contexts (opening below previous open), creating 48 unique statistical profiles.
Sweep Distance Percentiles
The "reversal levels" are drawn based on historical sweep distance distributions:
25th Percentile: 75% of historical sweeps were larger than this distance. This represents a conservative reversal zone where smaller, contained sweeps typically reverse.
Median (50th Percentile): The midpoint of all historical sweep distances. Half of all sweeps reversed before reaching this level, half extended beyond it.
75th Percentile: Only 25% of sweeps extended beyond this distance. This represents an extended sweep zone where price has historically shown exhaustion.
For example, if the previous hour's range was 20 points and the median high sweep distance is 40% of range, the median reversal level would be placed 8 points above the previous high.
How to Use the Indicator
Sweeps were calculated using 1m data - as such, it's recommended to use the indicator on a 1min chart
Visual Components
Hour Delimiter (Gray Vertical Line)
Marks the start of each new hour
Helps identify when new statistics become active
Sweep Markers
Green "H" label: High sweep has occurred this hour
Red "L" label: Low sweep has occurred this hour
Markers appear on the exact bar where the sweep happened
Target Levels (Blue Lines)
Prev Open: Previous hour's opening price
Prev High: Previous hour's highest price (sweep target)
Prev Low: Previous hour's lowest price (sweep target)
Prev 50%: Midpoint of previous hour's range
Current Open: Current hour's opening price (key retracement target)
Reversal Levels (Purple Dashed Lines)
Positioned beyond the previous high/low based on historical sweep percentiles
Three levels above previous high (for high sweeps)
Three levels below previous low (for low sweeps)
These represent statistically-derived zones where sweeps typically exhaust
The Statistics Table
The table dynamically updates each hour and displays different statistics based on whether the current hour opened above or below the previous hour's open.
Status Row
Shows current state: waiting for sweep, or which sweep(s) have occurred
If waiting, indicates which sweep is more probable based on historical data
SWEEP PROBABILITIES Section
High Sweep: Historical probability (%) that price will sweep the previous high this hour
Low Sweep: Historical probability (%) that price will sweep the previous low this hour
Both Sweeps: Historical probability (%) that price will sweep both levels this hour
These probabilities are derived from counting how many times each pattern occurred in similar historical contexts. For example, "High Sweep: 73.18%" means that in 73.18% of historical occurrences where the hour opened in this same context (same hour of day, same position relative to previous open), price swept the previous high before the hour closed.
AFTER HIGH SWEEP → Section
These statistics activate only after a high sweep has occurred. They show the probability of price retracing to various levels:
→ Prev High: Probability that price returns to (or below) the level it just swept. This is typically 90%+ because sweeps often act as "false breakouts" or liquidity grabs before reversal.
→ 50% Level: Probability that price retraces at least halfway back into the previous hour's range. This represents a moderate retracement.
→ Current Open: Probability that price retraces all the way back to where the current hour opened. This indicates a complete reversal of the sweep move.
→ Prev Low: Probability that price retraces entirely through the previous range to touch the opposite extreme. This represents a full reversal pattern.
AFTER LOW SWEEP → Section
Mirror of the above, but for low sweeps:
→ Prev Low: Retracement to the swept low level (90%+ probability)
→ 50% Level: Retracement to middle of range
→ Current Open: Full retracement to current hour's open
→ Prev High: Complete reversal to opposite extreme
Important Note on Retracement Statistics: These percentages are tracked independently. A 90% probability of returning to the swept level doesn't mean there's only a 10% chance of deeper retracement. Price can (and often does) retrace through multiple levels sequentially. The percentages show how many times price reached at least that level, not where it stopped.
Trading Applications
Anticipating Sweeps
When an hour opens inside the previous range, check the probabilities. If "High Sweep: 70%" and "Low Sweep: 30%", you know there's a 70% historical likelihood of an upside sweep occurring this hour. This doesn't guarantee it will happen, but provides statistical context for potential setups.
Reversal Trading
The most reliable pattern in the data is the 90%+ retracement probability to swept levels. When a sweep occurs, traders can anticipate a retracement back to at least the swept level in the vast majority of cases. The reversal level percentiles help identify where sweeps may exhaust.
Position Management
The retracement probabilities help manage existing positions. For example, if you're long and a high sweep occurs, you know there's a 90%+ chance of at least some retracement to the swept level, which might inform profit-taking or stop-loss decisions.
Confluence with Current Open
The "Current Open" retracement statistics (typically 60-70%) highlight the magnetic quality of the hour's opening price. After a sweep, price frequently returns to test this level.
Customization Options
The indicator offers extensive visual customization:
Toggle on/off: hour delimiters, sweep markers, target levels, reversal levels, statistics table
Customize colors, line widths, and styles for all visual elements
Adjust label sizes and table position
Show/hide individual target levels and reversal percentiles
Limitations and Considerations
Pattern-Specific: The indicator only provides statistics when the current hour opens inside the previous hour's range. If the hour opens outside this range (gaps up or down), the statistics are not applicable.
Historical Probabilities: The percentages represent historical frequencies, not predictions. A 70% probability means it happened 70% of the time historically, not that it will definitely happen 7 out of 10 times going forward.
NQ-Specific Calibration: All statistics are derived from NQ futures data. Market behavior, volatility, and patterns differ across assets.
Hour-Specific Behavior: Different hours show dramatically different statistics. For example, the 9 AM EST hour (market open) shows much higher sweep probabilities (80%+) than the 5 PM EST hour (30-50%) due to differing liquidity and volatility conditions.
No Guarantee of Execution: While a 90% retracement probability is high, it means 10% of the time, price did NOT retrace. Always use proper risk management.
Technical Notes
The indicator uses hourly timeframe data via request.security() to determine previous hour values
Sweep detection occurs in real-time on the chart's timeframe
Statistics are hardcoded from the comprehensive backtested analysis (not calculated on-the-fly)
The indicator stores static values at the start of each hour to ensure consistency as the hour progresses
All percentage values are rounded to one decimal place for clarity
This indicator provides a statistically-grounded framework for understanding hourly price behavior in NQ futures. By combining real-time pattern detection with comprehensive historical analysis, it offers traders probabilistic insights to inform decision-making process within the specific context of each trading hour.
High/Low Tracker (16:00-03:55) V2Shows the High and Low in timewindow from 16:00 untill 03:55 and extends the lines or box untill 09:25.
In this version I added the 05% and the 75% and 25% lines inside the box
RSI Divergences KittenRSI Divergences + Adjustable RSI σ-Bands + Band Pierce Signals (with optional US weekend filter)
Description:
This indicator combines three RSI tools into one clean workflow:
1. RSI σ-Bands (mean ± k·σ)
It builds dynamic upper/lower bands around RSI using a moving mean and standard deviation. These bands adapt to regime changes (expanding in volatile periods, contracting in quiet periods). Bands can be clipped to RSI’s natural 0–100 range and optionally filled for readability.
2. Band “Pierce” Signals
It prints a marker when RSI crosses outside the upper band (overextension) or outside the lower band (underextension). These pierces are useful as timing signals for mean-reversion setups, especially when you expect price to revert back toward a reference mean (e.g., VWAP). Optional “re-entry” markers show when RSI crosses back inside the bands.
3. Proper RSI Divergences (Regular + Hidden)
Divergences are detected using RSI pivots (not price pivots). At each RSI pivot, the script samples the corresponding price high/low on that pivot bar and compares it to the previous pivot within a configurable bar-distance window.
• Bullish divergence: price lower low + RSI higher low
• Hidden bullish: price higher low + RSI lower low
• Bearish divergence: price higher high + RSI lower high
• Hidden bearish: price lower high + RSI higher high
Line width is configurable for visibility.
Manual Band Adjustment (Near-Miss Control):
If your best reversals “nearly” tag the band, you can manually tune sensitivity without rewriting the math:
• Band offset (RSI points): nudges trigger levels
• Band width scale: tightens/widens the σ-band envelope
US Weekend Filter (Optional):
You can optionally suppress pierce/divergence signals during US weekend hours (Fri 17:00 ET → Sun 17:00 ET) and optionally shade those periods to help isolate low-liquidity behavior.
Notes / Intended Use:
This is designed as a mean-reversion timing tool, not a standalone trading system. For best results, combine signals with a market “mean” (e.g., rolling VWAP) and basic risk controls.
Daytrading Suite: Neon TPO + FVG v6.1Here is the summary of the code and the trading guide in English.
---
### 1. Code Summary: What does the chart show?
The script combines three dimensions of trading into a single chart:
* **The Context (TPO / Market Profile - Yesterday):**
* **Gold Zone (Center):** Yesterday's **POC (Point of Control)**. This was the "fairest price". It often acts as a magnet.
* **White Dashed Lines:** The **VAH (Value Area High)** and **VAL (Value Area Low)**. Yesterday, 70% of all trading volume happened between these lines. This is the area of "Balance".
* **The Structure (HTF - 1 Hour+):**
* **Red/Green Boxes (Right Edge):** Automatic **Supply & Demand Zones** based on the 1-hour chart (or your setting). They indicate major resistance and support levels.
* **The Timing (Entries):**
* **Neon FVG Boxes (Small):** "Fair Value Gaps". These represent imbalances in price. If price revisits these, it is often your **entry signal**.
* **Lines (VWAP, EMA, PDH/PDL):** Act as dynamic support and trend indicators.
---
### 2. Trading Strategy: How to use it
Do not just trade every colored spot. You must combine **Location (TPO)** with **Signal (FVG)**.
#### Step A: The Open (Where are we?)
In the morning (or at the US Open), check where the price is relative to the **white TPO lines**.
1. **Inside the White Lines (In Balance):**
* The market is undecided. Expect ranging/choppy behavior.
* **Strategy:** Buy at the bottom edge (VAL), Sell at the top edge (VAH). The target is often the Gold Zone (POC) in the middle.
2. **Outside the White Lines (Imbalance):**
* The market is seeking new prices. Danger of a Trend!
* **Strategy:** If price breaks above VAH and tests it from above -> **Long**. If it breaks below VAL -> **Short**.
#### Step B: The Setup (The High Probability Scenario)
Here is the "Rejection" Setup (Long Example):
1. Price drops to the lower white line (**VAL**) or into a green **Demand Zone**.
2. It bounces (shows a wick).
3. In the process, a small **green Neon FVG** is formed.
4. **Entry:** Limit Order at the top of the Neon FVG.
5. **Target:** The Gold Zone (POC) or the upper white line (VAH).
6. **Stop Loss:** Below the recent swing low.
#### Step C: Warning Signals (When NOT to trade)
* **In "No Man's Land":** If the price is sitting right in the middle between Gold (POC) and White (VAH/VAL), do nothing. The risk is 50/50. Wait until price hits an edge.
* **Against the Flow:** If EMA 9 and 21 are pointing steeply downwards, do not buy blindly at the VAL just because the line is there. Wait for confirmation (FVG).
### Pre-Trade Checklist:
1. **Level:** Am I at a white line (VAH/VAL) or the Gold Zone (POC)?
2. **Structure:** Do I have an HTF Demand/Supply Zone backing me up?
3. **Trigger:** Do I see a Neon FVG pointing in my direction?
Liquidity Hunter [VectorYield]Liquidity Hunter is a technical analysis tool designed to visualize market structure by identifying key liquidity pools—areas where stop-loss and pending orders are typically clustered. This indicator highlights these levels to help traders analyze potential price reaction zones.
What is Liquidity?
In technical analysis, liquidity refers to price levels where significant trading activity has historically occurred or is expected to occur, such as:
Above old Swing Highs (Buy-side liquidity)
Below old Swing Lows (Sell-side liquidity)
Core Features
1. Multi-Type Liquidity Detection
Plots various categories of market structure:
Structural : Swing Highs/Lows (S-H, S-L) and Equal Highs/Lows (EQH, EQL).
Time-Based : Previous Day, Week, and Month Highs/Lows.
Session-Based : High/Low of Asia, London, and New York sessions.
2. Volume-Based Strength
The indicator analyses volume at the pivot point of a swing. Levels marked as High-Strength (⭐) indicate that the pivot was formed with above-average volume relative to the lookback period.
3. Sweep vs. Break Classification
Distinguishes between price interaction types:
Liquidity Sweep (💰): Price wicks through a level but closes within the range.
Structural Break (▶): Price closes firmly beyond the level.
4. Session & Killzone Visuals
Optionally overlays the Asian, London, and New York trading sessions and specific "Killzone" time windows on the chart.
5. Dashboard
An on-screen dashboard displays the nearest bullish and bearish targets, their distance from current price, and their calculated strength status.
Settings & Customization
Pivot Lookback : Adjust the sensitivity of swing detection.
Session Times : Configure custom start/end times and timezones for session overlays.
Visuals : All colors, line styles, and symbols can be toggled or customized in the settings menu.
Elite Monday Range V3- ProfessionalElite Monday Range V3 - Advanced Institutional Bias & Analysis
Overview
The Elite Monday Range V3 is a high-performance decision-support tool designed for traders who utilize the "Weekly Open" and "Monday's Range" as their primary benchmark for the trading week. Unlike standard range indicators, this script employs an advanced Multi-Asset Analysis Engine to determine the weekly bias with institutional-grade precision.
It doesn't just draw lines; it analyzes Previous Week's Close (PWC), Monday's Candle Structures (Price Action), and Internal Liquidity to provide a definitive "Directional Bias" and "Confidence Score."
Key Features
Smart Multi-Asset Detection: Automatically detects if you are trading Forex, Crypto, or Indices and adjusts its internal logic and strategy suggestions accordingly.
Institutional Bias Engine: Calculates a Confidence Score (from -4 to +4) based on 4 critical criteria:
Price vs. Previous Week Close: Checks if the bulls or bears are maintaining momentum from the prior week.
Monday Candle Analysis: Automatically identifies Pin Bars (Liquidity Grabs) or Strong Engulfing movements.
Price vs. Monday Midpoint (Equilibrium): The ultimate pivot point for weekly trend direction.
Price vs. Weekly Open: Tracks the "true" opening sentiment.
Liquidity Hunt Signals (Judas Swing): Visual alerts for LIQ BUY and LIQ SELL when price sweeps Monday's extremes and returns inside the range—a classic sign of institutional manipulation before a trend.
Symmetric Expansion Levels: Projects +50%, +100%, -50%, and -100% extensions of the Monday range to identify high-probability Take Profit (TP) and reversal zones.
Dynamic Professional Dashboard: A sleek, real-time table on your chart that summarizes Asset Type, Weekly Bias, Candle Info, and the Confidence Score.
Force Overlay Technology: Ensures all lines and labels remain visible and crisp on the top layer, above candles and other indicators.
How to Trade with the Elite Dashboard
Check the "Net Weekly Bias": Look for STRONG BULL or STRONG BEAR.
Verify Confidence Score: A score of 3 or 4 (or -3/-4 for shorts) indicates high-probability conditions.
Identify Entry: If the Bias is "STRONG BULL," wait for a retest of the Monday Mid (MID) or Monday High (MON H).
Confirm with Liquidity: Look for a LIQ BUY signal near the Monday Low for the highest-quality "A+ Setup."
Target: Use the Expansion Levels (+50% / +100%) as your primary targets for the week.
Technical Settings
Lookback Weeks: Choose exactly how many historical weeks to display to keep your chart clean.
Customizable Colors: Fully adjustable colors for Monday ranges and expansion projections.
Line Width: User-defined thickness for professional visual clarity.
Monday Range - User Defined LookbackEnglish Description
Monday Range Expansion & Multi-Week Projections
This indicator identifies the Monday Range (the price action from Monday's open at 00:00) and projects symmetric expansion levels across the entire trading week. It is designed for traders who use the weekly open and Monday's volatility as a benchmark for the week's price action.
Key Features:
Exact Monday 00:00 Start: Using advanced logic, the indicator pins the starting point precisely to the weekly open (Monday 00:00), ensuring no lag or offset regardless of your timeframe.
Symmetric Expansion Levels: It calculates the Monday High-Low range and projects a +100%, +50%, -50%, and -100% expansion, providing clear support and resistance targets.
User-Defined Lookback: You can choose exactly how many past weeks to display on your chart, keeping your workspace clean and focused.
Force Overlay Technology: All lines and labels use force_overlay, ensuring they always stay on the top layer, above candles and other indicators.
Weekly Freeze: Historical weeks stay "frozen" at their Friday closing points, allowing for clear backtesting of previous weekly levels.
Magical Lines (Dot-to-Dot)Fill the value of Support/Resistance as you like.
This Indicator calculates some Targets for you as Magical Lines.
This Indicator works with any Instruments such Stock/F&O/Index/Commodity.
Note: Use value of ORB 10-15 min or Nearest HH/HL/LH/LL as Support/Resistance.
Round NumbersRound Numbers
This indicator is a high-precision tool designed to automatically visualize psychological price marks and "round numbers" on your chart. It helps traders identify key areas where institutional orders and market sentiment often cluster, providing a clear map of potential support and resistance zones based on mathematical multiples.
Key Features:
11 Fully Configurable Level Groups: The indicator provides 11 independent level groups, pre-set to psychologically significant intervals (10, 50, 100, 500, 1,000, 5,000, 10,000, 50,000, 100,000, 500,000, and 1,000,000).
Complete Customization: Every level can be individually toggled. Users can define the specific multiple, line color, thickness, and line style (Solid, Dashed, or Dotted) to distinguish between major and minor levels.
Dynamic Range Adaptation: The script calculates and draws lines based on the recent price action, ensuring the chart remains relevant to the current trading range without manual adjustment.
Performance Optimized: Utilizing an efficient line-pooling system, the indicator maintains high performance and ensures smooth chart scrolling while staying within platform drawing limits.
Use Cases:
Psychological Levels: Quickly identify major price magnets (e.g., Gold at $2500, $2600).
Grid Trading & Visualization: Create a clean visual grid for systematic entry and exit strategies.
Market Structure Analysis: Assist in recognizing "Big Round Numbers" where liquidity usually resides and where reversals are more likely to occur.
Settings:
For each of the 11 levels, you can configure:
Show Level: Enable or disable the specific group.
Multiple Value: The price interval for the lines (e.g., "100" creates a line every 100 points).
Color: Choose any color and transparency for the lines.
Width: Set the line thickness from 1 to 5.
Line Style: Select between Solid, Dashed, or Dotted appearances.
HMA Pivot Buy/Sell (only) + AlertsThis Pine Script is a lightweight indicator that plots only HMA-based pivot Buy/Sell signals and provides alert conditions for them.
What it does
Calculates a Hull Moving Average (HMA) using either:
a dynamic length based on the chart timeframe, or
a custom user-defined length.
Detects HMA pivot points (local turning points):
Buy signal when the HMA forms a local minimum (trend turns up).
Sell signal when the HMA forms a local maximum (trend turns down).
Optionally plots the HMA line and prints only the Buy/Sell markers on the chart (no extra arrows/emoji/labels from other systems).
Adds TradingView alerts for Buy, Sell, and combined Buy/Sell events.
Signal logic
Buy (HMA Pivot Low) triggers when:
HMA > HMA and HMA < HMA
Meaning: the HMA was falling, formed a bottom, and has started rising.
Sell (HMA Pivot High) triggers when:
HMA < HMA and HMA > HMA
Meaning: the HMA was rising, formed a top, and has started falling.
Inputs
Source: price source used to compute HMA (default: close).
Use Custom HMA Length: enables manual override.
Custom HMA Length: manual HMA period (default: 55).
Alerts: only on bar close:
If enabled, alerts fire only after the bar closes (confirmed signals).
If disabled, alerts can fire intrabar (faster but less stable).
Draw signal on pivot bar (offset -1):
If enabled, markers are drawn on the pivot bar (one bar back) using offset = -1.
If disabled, markers are drawn on the confirmation bar (no offset).
Show HMA line: toggles display of the HMA line.
Alerts available
BUY (HMA Pivot) — triggers on Buy signal.
SELL (HMA Pivot) — triggers on Sell signal.
BUY/SELL (HMA Pivot) — triggers on either Buy or Sell.
Each alert message includes ticker, timeframe, and close price via placeholders:
{{ticker}}, {{interval}}, {{close}}.
Smart Money Concept Change of Character Break of StructureSMC Structure
Visualizes Change of Character (CHoCH) and Break of Structure (BoS) - two fundamental Smart Money Concepts for identifying trend reversals and continuations.
This is the 1st version of an implementation of this concept.
It is NOT supposed to be used as a signal but a confirmation. Best use during NYSE hours.
Full Description
Overview
This indicator automatically detects and displays two core Smart Money Concepts (SMC) directly on your chart:
CHoCH (Change of Character) – The first structural break against the prevailing trend, signaling a potential reversal
BoS (Break of Structure) – A structural break in the direction of the current trend, confirming continuation
These concepts are essential building blocks of SMC trading methodology, helping traders identify where institutional players may be entering or exiting positions.
How It Works
The indicator uses pivot-based swing detection to identify significant highs and lows. When price breaks through these levels, it classifies the move as either a CHoCH or BoS based on the current trend context.
CHoCH (Change of Character)
Occurs when price breaks structure AGAINST the current trend
First warning sign that the trend may be reversing
Displayed as a solid horizontal line with "CHoCH" label
Green = Bullish reversal | Red = Bearish reversal
BoS (Break of Structure)
Occurs when price breaks structure IN THE DIRECTION of the current trend
Confirms that the existing trend remains intact
Displayed as a dashed horizontal line with "BoS" label
Teal = Bullish continuation | Maroon = Bearish continuation
Visual Example
Uptrend with BoS (continuation):
HH ◄── BoS (trend continues)
/
HL
/
HH
/
HL
Uptrend → CHoCH → Downtrend (reversal):
HH
/ \
HL \
LL ◄── CHoCH (trend reversal!)
Settings
Pivot Settings
Pivot Lookback: Number of bars used to identify swing highs/lows (default: 5). Higher values = fewer but more significant structure points.
Display Options
Show CHoCH: Toggle CHoCH visualization
Show BoS: Toggle BoS visualization
Show Swing Points: Display SH/SL labels at detected pivots
Extend Lines to Right: Extend structure lines into future bars
Show Info Table: Display current trend and last swing levels
Show Trend Background: Color the chart background based on trend direction
Colors
Fully customizable colors for all elements
How to Use
Identify the trend: Look at the sequence of CHoCH and BoS signals to understand market structure
Watch for CHoCH: A CHoCH signals potential reversal – wait for confirmation before trading against the previous trend
Trade with BoS: BoS confirms trend continuation – look for entries on pullbacks in the direction of the trend
Combine with other SMC concepts: Works great alongside Order Blocks, Fair Value Gaps, and liquidity concepts
Tips
Use higher pivot lookback values on higher timeframes for cleaner signals
A CHoCH doesn't guarantee reversal – it's the first warning sign, not confirmation
Multiple BoS signals in a row indicate a strong, healthy trend
Look for CHoCH occurring at key levels (support/resistance, order blocks) for higher probability setups
Feedback Welcome!
This is an open-source indicator and I'd love to hear your thoughts!
Please comment below if you have:
Feature requests or ideas for improvements
Bug reports or issues
Suggestions for additional SMC concepts to add
Your feedback helps make this indicator better for everyone. Happy trading! 🚀
Multi-TF Fibonacci Pivot Points V4.5.3📊 MULTI-TIMEFRAME FIBONACCI PIVOT POINTS
Display Fibonacci-based pivot points from multiple timeframes simultaneously on any chart. Perfect for identifying key support/resistance levels, confluences, and high-probability trade zones.
═══════════════════════════════════════════════════════
✨ KEY FEATURES
🎯 MULTI-TIMEFRAME DISPLAY
• View pivots from up to 6 different timeframes at once
• 4HR, Daily, Weekly, Monthly, Quarterly, and Yearly support
• Automatic timeframe validation prevents invalid combinations
• Smart label placement reduces chart clutter
📈 FIBONACCI LEVELS
• S3: -0.618 (Deep support)
• S2: -0.382 (Intermediate support)
• S1: -0.236 (Shallow support)
• Pivot Point: 0.000 (Central pivot)
• R1: +0.236 (Shallow resistance)
• R2: +0.382 (Intermediate resistance)
• R3: +0.618 (Deep resistance)
• Optional additional Fibonacci levels available in settings
🎨 HIGHLY CUSTOMIZABLE
• Individual color control for each timeframe
• Show/hide specific levels (S3, S2, S1, P, R1, R2, R3)
• Adjustable line width and transparency
• Optional price labels
• Compact or detailed label formats
🔔 ALERT SYSTEM
• Long Signal: Price crosses above pivot point
• Short Signal: Price crosses below pivot point
• Customizable alert messages
• Works with webhooks for automated trading
═══════════════════════════════════════════════════════
💡 HOW TO USE
**CONFLUENCE TRADING:**
When multiple timeframe pivots align at the same price level, it creates a strong confluence zone. These areas often act as significant support/resistance.
Example:
• Daily R1, Weekly P, and Monthly S1 all near $90,000
• This creates a high-probability resistance zone
• Consider taking profits or shorting at this confluence
**TREND IDENTIFICATION:**
• Price above all pivots = Strong uptrend
• Price below all pivots = Strong downtrend
• Price between pivots = Range-bound or transitional
**SUPPORT/RESISTANCE:**
• Fibonacci levels act as dynamic support/resistance
• S1/R1: First line of support/resistance (shallow retracements)
• S2/R2: Intermediate zones (common reversal points)
• S3/R3: Deep retracements (high-probability bounce areas)
**ENTRY/EXIT STRATEGIES:**
• Buy at support levels (S1, S2, S3) in uptrends
• Sell at resistance levels (R1, R2, R3) in downtrends
• Use pivot point as dynamic stop loss or take profit target
• Combine with your preferred indicators for confirmation
═══════════════════════════════════════════════════════
🎓 PRACTICAL EXAMPLE: Confluence Zone Reversal
**Setup:**
• BTC in downtrend, approaching $84,000
• Daily S2, Weekly S1, and Monthly Pivot all converge at $84,000
• Strong 3-timeframe confluence = high-probability support zone
**Entry Signal:**
• Wait for price to test the $84,000 confluence level
• Look for reversal confirmation (reversal pattern, bullish engulfing, RSI divergence, volume spike etc)
• Enter long position above confluence at $84,100
**Risk Management:**
• Stop loss: $83,500 (below S2 support level – generally recommended to use same TF although for better R:R you could consider using a different TF support level)
• Initial target: $86,000 (Daily R1 resistance)
• Risk/Reward: ~$500 risk for $1,900 profit potential = 1:3.8 ratio
**Why It Works:**
When multiple timeframes agree on a support level, it creates strong buyer interest at that price zone. Professional traders and algorithms often place orders at these confluence areas. When the support holds, the reversal moves are typically swift and powerful as trapped short sellers cover positions and new buyers enter.
This same principle works in reverse for resistance confluences (shorting opportunities) and can be applied across any timeframe or asset class.
═══════════════════════════════════════════════════════
⚙️ SETTINGS GUIDE
**TIMEFRAME CONFIGURATION:**
• Enable/disable each timeframe independently
• Set 4HR, Daily, Weekly, Monthly, Quarterly, Yearly periods
• Warning system prevents invalid timeframe combinations
**LEVEL VISIBILITY:**
• Toggle individual Fibonacci levels on/off
• Hide levels you don't trade to reduce clutter
• Keep only the levels relevant to your strategy
• Enable optional additional Fibonacci levels if needed
**VISUAL CUSTOMIZATION:**
• Choose colours that match your charting style
• Adjust line width for visibility (1-3 recommended)
• Set transparency for background levels (20-40% typical)
• Enable/disable price labels based on preference
**ALERTS:**
• Set up alerts for pivot point crosses
• Receive notifications when price tests key levels
• Use webhook URLs for automated trade execution
• Customize alert messages for different scenarios
═══════════════════════════════════════════════════════
📚 UNDERSTANDING FIBONACCI PIVOTS
**What are Fibonacci Pivot Points?**
Traditional pivot points use simple averages (High + Low + Close) / 3. Fibonacci pivot points enhance this by applying Fibonacci ratios (0.236, 0.382, 0.618) to calculate support and resistance levels.
**Why Fibonacci Ratios?**
These ratios appear frequently in nature and financial markets:
• 0.236 (23.6%) - Shallow retracement
• 0.382 (38.2%) - Common retracement zone
• 0.618 (61.8%) - Golden ratio, deep retracement
Markets often respect these levels due to trader psychology and self-fulfilling prophecy.
**Multi-Timeframe Advantage:**
Higher timeframe pivots carry more weight:
• Yearly/Quarterly pivots: Major support/resistance (long-term positioning)
• Monthly pivots: Significant levels (swing trades)
• Weekly pivots: Intermediate zones (position trades)
• Daily pivots: Short-term levels (day trades)
• 4HR/Lower timeframes: Intraday precision (scalping)
When pivots from multiple timeframes align, the confluence creates stronger support/resistance that professional traders watch closely.
═══════════════════════════════════════════════════════
⚡ INTEGRATION WITH STRATEGY BUILDING
This indicator works seamlessly with strategy builders and backtesting tools. The alert system provides clean signals that can be used as entry/exit conditions.
These signals can be incorporated into automated strategies or used as confluence filters with your existing trading system.
**Compatible with:**
• TradingView's Strategy Tester
• Most strategy building tools
• Webhook-based automation platforms
• Custom Pine Script strategies
Simply reference the indicator's signals in your strategy logic or use the visual levels for manual discretionary trading.
⚠️ IMPORTANT NOTES
**Timeframe Rules:**
• Current chart timeframe must be LOWER than indicator timeframes
• Example: Can't display Daily pivots on Weekly chart
• Invalid combinations will show warning in label
• Solution: Switch to lower chart timeframe or adjust indicator settings
**Performance Considerations:**
• Displaying 6 timeframes with all levels = 42 lines on chart
• Disable unused timeframes to reduce visual clutter
• Hide levels you don't actively trade (e.g., keep only S1, P, R1)
• Use transparency to make background levels less prominent
**Alert Best Practices:**
• Test alerts on paper trading account first
• Understand alert fires when bar CLOSES (not on wick)
• Pivot point crosses generate signals, not individual S/R levels
• Combine with other confluence factors (don't trade alerts blindly)
═══════════════════════════════════════════════════════
📖 PRACTICE SUGGESTIONS
1. Observe how price respects pivot levels (especially HTF ones)
2. If available, use the Replay feature to identify how price reacts to different pivot levels (try to check in bullish, bearish and flat markets)
3. Use additional confluence for trades (previous S/R, momentum indicators etc)
4. Backtest your strategy before live trading
5. Keep a trading journal of pivot-based trades
6. Gradually add more timeframes as you gain experience
═══════════════════════════════════════════════════════
📈 BUILDING COMPLETE TRADING SYSTEMS
Multi-Timeframe Fibonacci Pivots excels at identifying high-probability price levels and confluence zones. For traders looking to develop complete trading strategies around these signals, the natural progression involves:
**1. Signal Identification** (This Indicator)
Identify key support/resistance levels and confluence zones across multiple timeframes
**2. Strategy Development**
Test and validate trading rules around these pivot levels using backtesting tools
**3. Trade Management**
Implement proper entry execution, exit management, position sizing, and risk controls
This indicator integrates seamlessly with strategy testing and trade management systems. For traders serious about building robust, professional-grade trading approaches, explore the additional indicators/strategies I will be publishing soon.
The goal is always the same: transform good trading ideas into consistently executable strategies with proper risk management.
═══════════════════════════════════════════════════════
🎯 QUICK START CHECKLIST
Getting started with MTF Fibonacci Pivots:
Add indicator to chart (lower timeframe than pivots you want to see)
Enable 1-2 timeframes initially (e.g., Daily + Weekly)
Customize colours to match your chart theme
Hide levels you don't trade (optional: keep only S1, P, R1)
Identify current confluence zones
Mark key levels you'll watch for the session/day/week
Set up alerts for pivot crosses (optional)
Practice identifying setups before taking real trades
═══════════════════════════════════════════════════════
🌟 ENJOY TRADING WITH MTF FIBONACCI PIVOTS!
Whether you're a day trader looking for intraday levels, a swing trader seeking major support/resistance zones, or a long-term investor identifying key price areas, Multi-Timeframe Fibonacci Pivots provides the levels you need at a glance.
Happy trading! 📈
═══════════════════════════════════════════════════════
🔐 RISK DISCLAIMER
This indicator is for educational
and informational purposes only. It does not constitute financial advice.
**Remember:**
• No indicator is 100% accurate
• Always use proper risk management (stop losses, position sizing)
• Past performance does not guarantee future results
• Combine with your own analysis and trading plan
• Never risk more than you can afford to lose
• Test thoroughly on paper trading before using real capital
Trading carries significant risk. Ensure you understand these risks before trading.
═══════════════════════════════════════════════════════
💬 FEEDBACK & SUPPORT
**Found a bug?** Please report via comments with:
• Chart timeframe, asset, and indicator settings
• Description of issue and expected behavior
**Feature requests?** I'm always looking to improve! Let me know:
• What additional functionality would help your trading?
• Which features do you use most/least?
• How can the indicator be more user-friendly?
**Success story?** Share how you're using MTF Fibonacci Pivots! Community feedback helps guide future development.
═══════════════════════════════════════════════════════
🙏 CREDITS & ACKNOWLEDGMENTS
**Original Concept:**
This indicator is based on the excellent "Fibonacci Extension / Retracement / Pivot Points" script by dgtrd. The original script provided a solid foundation for calculating Fibonacci-based pivot levels.
**Changes in This Version:**
• Multi-timeframe capability (display up to 6 timeframes simultaneously)
• Optional additional Fibonacci levels
• Enhanced customization (colors, widths, transparency per timeframe)
• Improved label system (compact/detailed formats, smart placement)
• Timeframe validation and warnings
• Optimized performance for multiple timeframes
**Attribution:**
Original script by dgtrd:
Enhancements and multi-timeframe implementation with the support of Al
If you find value in this indicator, please also check out dgtrd's original work and other excellent pivot point indicators in the TradingView community.
Wiz ATRAverage True Range for given day based off past X amount of time periods. Best used by Trader Dante who is a ledge
ATR High and Low Offset from PriceAverage True Range based on last X time periods. Learned this from the master Trader Dante, but wanted to code my own ATR indicator for practice and I noticed his keeps moving throughout the day on BTC, so testing my own.
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.
SmartManiacSmartManiac — Smart Money Liquidity & Sentiment Indicator
Overview
SmartManiac is a comprehensive Smart Money Concepts (SMC) indicator that combines liquidity structure analysis with volume delta sentiment detection. It automatically maps key liquidity levels, identifies Fair Value Gaps (FVGs) across multiple timeframes, and detects potential reversal points using a multi-factor scoring system based on volume delta, liquidations, and price action.
Features
Liquidity Structure Mapping
Previous Day/Week/Month High & Low (PDH/PDL, PWH/PWL, PMH/PML) — automatically detected and drawn with priority-based labeling
Buy-Side & Sell-Side Liquidity (BSL/SSL) — swing highs and lows that act as liquidity targets
Session High/Low — Asia, London, and New York session levels with customizable times
Smart level merging — nearby levels are consolidated using ATR-based tolerance to reduce clutter
Swept level tracking — lines change to dashed/dotted when price sweeps through them
Fair Value Gap (FVG) Zones
Multi-timeframe FVG detection: 5m, 15m, 1H, 4H, Daily, Weekly
Auto-filtering based on chart timeframe — prevents lower TF clutter on higher TF charts
Status tracking: Untouched → Touched → Half-filled → Fully filled
Sweep FVGs — special zones created when FVG forms immediately after a liquidity sweep
Sweep Imbalances
Detects FVGs that form right after liquidity sweeps
Shows pending zones in gray, changes to green (bullish setup) or red (bearish setup) when price returns to the zone
Helps identify potential reversal entries after stop hunts
Volume Delta & Sentiment Analysis
Aggregated volume from multiple exchanges for accurate delta calculation
Z-score based extreme detection for buying/selling pressure
Cumulative Volume Delta (CVD) tracking
Peak FOMO / Depression Signals
4-factor percentile scoring system:
Factor 1: Delta Z-score before reversal (buying/selling pressure buildup)
Factor 2: Volume spike + price reversal bar
Factor 3: Delta reversal confirmation
Factor 4: Liquidations spike (requires external data source)
Signals show as 🔥 (FOMO top) or 💎 (Depression bottom)
Size varies by strength (tiny = moderate, small = strong)
Requires prior price move + reversal bar confirmation to reduce false signals
Sweep Visualization Boxes
Visual representation of liquidations and delta at sweep points
Box length normalized by √(line_length) for fair comparison
Helps assess sweep "quality" — stronger sweeps may lead to stronger reversals
Sweep Confirmation Markers
After a sweep, watches for 3 confirmation factors within 5 bars:
Opposite candle color
Opposite-side liquidations
Opposite-side delta
Shows - marker when all 3 confirm
Risk State Background
Optional background coloring for Risk-Off (selling + long liqs) and Risk-On (buying + short liqs) states
Helps identify broader market sentiment regime
Debug Inspector
Moveable vertical line to inspect any bar's factor values
Useful for understanding why signals triggered or didn't trigger
How to Use
Liquidity Levels — Watch for price approaching PDH/PDL/PWH/PWL/PMH/PML and BSL/SSL levels. These are likely targets for stop hunts.
Sweep + FVG — After a sweep (level turns dashed), look for an FVG to form in the opposite direction. Gray sweep FVG turning green/red indicates potential entry zone.
Peak Signals — 🔥 appears at potential tops after strong rallies with extreme buying that reverses. 💎 appears at potential bottoms after drops with extreme selling that reverses. Hover over labels to see factor breakdown.
Confirmation Dots — Green - below price = bullish sweep confirmed. Red - above price = bearish sweep confirmed.
Settings
The indicator offers extensive customization:
Toggle each feature on/off independently
Customize colors and transparency for all elements
Adjust sensitivity thresholds for signals
Configure session times for your timezone
Set liquidations data source from external indicator
External Data
For Factor 4 (Liquidations), connect an external liquidations indicator:
Add a liquidations indicator to your chart (e.g., TradingView's native Liquidations indicator)
In SmartManiac settings, select the Long and Short liquidation plots as sources
Note: TradingView's native indicator has inverted labels — swap if needed
Notes
Best used on liquid markets with volume data (BTC, ETH, major forex pairs)
Higher timeframes (1H, 4H) tend to produce more reliable signals
Combine with your own analysis — no indicator is 100% accurate
Liquidations data significantly improves signal quality but is optional
Credits
Developed by @cybermediaboy, 2025. Methodology partially based on CryptoVolium's Smart Money approach.
Support and ResistanceSupport & Resistance Zones
This indicator automatically identifies support and resistance zones by clustering confirmed pivot highs and lows into statistically valid price areas.
Instead of drawing single horizontal lines, it creates price zones whose width is dynamically controlled using ATR (Average True Range), allowing the zones to adapt to market volatility.
Core Logic
The indicator scans a user-defined number of historical bars and detects pivot highs and pivot lows using a configurable pivot strength.
Each new pivot is evaluated against previously detected zones:
A zone becomes visible only after receiving sufficient confirmation (minimum number of pivot touches).
This ensures that only structurally meaningful levels are drawn.
Zone Construction Rules
Zones are formed by grouping pivot points whose total price range remains within ATR range
Each zone expands dynamically as new pivots confirm it
Zones are drawn as rectangular areas, not lines
Zones extend to the right, remaining active until price structure changes
This approach avoids over-plotting and reduces noise commonly seen in traditional support/resistance tools.
Dynamic Zone Coloring
Zones automatically change color based on current price position:
Support Color → Price is above the zone
Resistance Color → Price is below the zone
Neutral (In-Zone) Color → Price is trading inside the zone
This makes it easy to visually assess market context without additional indicators.
Inputs Explained
Logic Settings
Bars to Apply
Number of historical bars scanned to detect pivots and construct zones.
Pivot Strength
Number of candles required on both sides of a pivot high/low for confirmation.
Min Pivot Confirmation
Minimum number of aligned pivots required before a zone is drawn.
Styling
Support, resistance, and in-zone colors
Zone fill transparency
Why This Approach
Uses price structure, not arbitrary levels
Adapts to market volatility via ATR
Filters out weak, single-touch levels
Works across all markets and timeframes
This indicator is designed to highlight areas of interest, not generate buy or sell signals.
It is best used in combination with trend, momentum, or volume-based tools.
AperonFx Pivot Points ATRThis indicator builds on classic pivot point methodology and enhances it with volatility-based ATR offsets to define adaptive support and resistance zones.
The pivot level is derived from the prior period’s price data, while the surrounding levels are calculated using the current day’s ATR to reflect prevailing market conditions.
Support and resistance are placed at incremental distances of 0.5, 1, 1.5 and 2 ATR away from the pivot, creating a structured price framework.
Users can adjust the pivot calculation method, reference timeframe, and visual presentation to suit their workflow.






















