ES/NQ Confluence All-In-One [FINAL v1]By Ehowtradz this indicator automates confirmation confluences for ICT conceptsIndicador Pine Script®por ehow0446
Yesterday High/Low (8:30 Session)Shows yesterdays high and lows from the new york session start.Indicador Pine Script®por micahosborne5
SMT DivergencePlots "SMT Divergence" labels. Mouse over the label to display additional information.Indicador Pine Script®por obextrade47
8-Year Cycle 8-Year Cycle Indicator — Description Overview: The 8-Year Cycle Indicator visually highlights repeating 8-year macro cycles on a chart, commonly used for gold, miners, or other long-term assets. It helps traders and investors understand early, mid, and late phases of each cycle to better plan positioning and risk management. Features: Each cycle is 8 years long by default. Each year in the cycle can be assigned a custom color for granular visualization. The last 4 years of a cycle can optionally be highlighted to indicate the late-cycle phase, historically associated with peaks and higher volatility. Vertical lines mark the start of each cycle. Labels display the full cycle period (e.g., 1981–1988). Background shading per year makes it easy to distinguish early, mid, and late cycle stages. Use Cases: Identifying accumulation and topping periods in gold or related assets. Understanding long-term macro trends. Providing visual context for risk management in multi-year cycles. Complementing other technical or macro indicators for strategic positioning.Indicador Pine Script®por Virk485
ICT MOC Macro (Time + Price) - Live Signals + 3:30/MOC/SLTPict moc strat basically it works by determining the bias of market on closer orders at 3:30-3:50. Indicador Pine Script®por noahst020524
UTC-5 Time MarkersFor model 110 of DTT use flout with this as a bias and you will catch high wr high rr trades for this certain time window of continuation or reversalIndicador Pine Script®por reidphilopena4
Strong FVG v1version 1 with highs and lows and fair value gaps Indicador Pine Script®por curviswilliams18
NL Session High/Low ticks (16:30-17:30) - 5mthis is a 5 minut chart open and close off the new york open highs and lowsIndicador Pine Script®por maartennuub280
Auto Trend LinesPivot Left/Right Bars: Higher = fewer but stronger pivots (try 5-15 for weekly charts) Extend Lines Forward: How far to project (50-200 bars recommended) Line Color: Change to match your preference Show Pivot Markers: Turn on to see where pivots are detectedIndicador Pine Script®por skmolugu14315
Dual MACD + MFI + Volume Trend [v6] | High-ConvictionMFI MACD VOL to know when to enter and leave tradesIndicador Pine Script®por Govig541937
Educational Trend Direction (Up & Down)🔍 Overview This indicator is designed to visually represent trend direction and trend transitions using a simple moving-average relationship. It is built strictly for educational and analytical purposes, allowing users to observe how price behaves during upward and downward market phases without relying on trading signals or predictions. The indicator focuses on trend context, not trade execution. ⚙️ How the Indicator Works The script calculates two exponential moving averages: A fast trend line that reacts quickly to recent price changes A slow trend line that represents broader market direction Trend direction is determined by the relative position of these two lines. When the fast line moves above the slow line, the market is considered to be in an upward trend phase When the fast line moves below the slow line, the market is considered to be in a downward trend phase This relationship helps visualize trend shifts and momentum changes in a simple and intuitive way. 🎨 Visual Components Explained 🟢 Green Trend Line Represents the fast moving average during upward trend phases Indicates that price is maintaining strength relative to the broader trend Color reflects trend direction only, not confirmation or entry 🔴 Red Trend Line Represents the fast moving average during downward trend phases Indicates sustained weakness relative to the broader trend Color does not imply selling or future continuation ⚪ Grey Trend Line Represents the slow moving average Acts as a baseline trend reference Helps distinguish between short-term fluctuations and broader direction 🎨 Background Shading Light green shading appears during upward trend environments Light red shading appears during downward trend environments Background color provides context only and does not signal market actions 🎯 Purpose & Benefits Helps identify trend phases in a clear and minimal way Improves understanding of trend transitions and momentum shifts Reduces visual noise compared to raw price data Encourages context-based analysis instead of signal dependency Suitable for all markets and timeframes ⚠️ Important Notes This indicator does not generate buy or sell signals No targets, stop levels, or performance metrics are included Trend conditions are descriptive, not predictive Past behavior does not guarantee future outcomes Users should always apply their own analysis and risk management when interpreting market data. 📚 Intended Use This tool is intended for: Market trend study Educational demonstrations Visual analysis of trend direction Long-term chart structure awareness It is not intended for automated trading or decision-making.Indicador Pine Script®por Mentor_Michael0317
Overnight Mid-point v2Same idea as first script, just refined so it takes candlesticks and not swings.Indicador Pine Script®por BichAzz10
OAS Train Track MA SystemTrain tracks for any timeframe or EMA, helps to hold your trades with your specific EMAsIndicador Pine Script®por Addacus199337
Educational Market Structure & Trend Context🔍 Overview This time-limited indicator is designed for educational and analytical purposes only. It helps users visually study price structure behavior and trend context by marking key structural points on the chart and overlaying a trend reference line. The indicator does not generate trading signals, predictions, or recommendations. ⚙️ How the Indicator Works The script analyzes price action over a user-defined lookback period to identify local structural points: Higher Highs within the selected range Lower Lows within the selected range These points are plotted as simple visual markers to help users understand how price is evolving over time. In addition, a moving average is applied to provide broader trend context. 🟢 Green Markers (Structure Strength) Appear when price forms a local higher high within the lookback window Represent relative strength in price structure They are not buy signals and do not indicate future movement 🔴 Red Markers (Structure Weakness) Appear when price forms a local lower low within the lookback window Represent relative weakness in price structure They are not sell signals and do not indicate reversals ➖ Grey Line (Trend Context Line) This line is a moving average calculated over a fixed period It provides trend context only, helping users visually distinguish between upward and downward environments It does not act as support, resistance, or entry guidance 🎨 Background Shading (Optional Context) A subtle background color may appear depending on price position relative to the trend line This shading is purely visual context, not a signal or confirmation 🎯 Purpose & Benefits Helps users study market structure in a clean and simple way Encourages price-action awareness instead of signal dependency Supports manual analysis, learning, and chart reading skills Keeps the chart minimal, non-predictive, and professional ⚠️ Important Notes This indicator does not provide buy/sell signals No targets, stop levels, or profit expectations are included Past structure points do not predict future outcomes Users should apply their own analysis and risk managementIndicador Pine Script®por Mentor_Michael0311
[TehThomas] - Order Blocks█ OVERVIEW This Order Blocks indicator identifies institutional-level support and resistance zones using fractal pattern recognition combined with Fair Value Gap (FVG) filtering. Order blocks represent areas where large institutional orders have been placed, creating significant price reactions when retested. This indicator uses a 5-bar fractal pattern to detect market structure breaks and highlights the last bearish or bullish candle before a strong impulse move. █ KEY FEATURES - Fractal-Based Detection: Uses 5-candle fractal patterns to identify key market structure highs and lows - FVG Filtering: Optional Fair Value Gap confirmation ensures order blocks are followed by true market imbalances - Automatic Mitigation: Order blocks are automatically removed when price breaks through them - Overlap Prevention: Prevents cluttered charts by avoiding overlapping order block zones - Customizable Display: Full control over colors, labels, line heights (body/wick), and maximum blocks shown - Dual Polarity: Detects both bullish (OB+) and bearish (OB-) order blocks independently █ HOW IT WORKS The indicator scans price action for fractal patterns where the middle candle forms a local extreme (highest high or lowest low among 5 bars). When price breaks above a fractal high or below a fractal low, the script identifies the last opposing candle in the impulse move as the order block. For bearish order blocks, it finds the highest bullish candle before a fractal low is broken, marking institutional selling pressure. For bullish order blocks, it locates the lowest bearish candle before a fractal high is breached, indicating institutional buying. When FVG filtering is enabled, the indicator confirms that a Fair Value Gap (a 3-candle imbalance where price leaves an unfilled gap) occurred within the specified distance from the order block. This combination increases the probability that institutional traders are present in these zones. █ SETTINGS Bullish Order Block Settings - Show/hide bullish order blocks - Customize fill color and border color - Toggle OB+ label display Bearish Order Block Settings - Show/hide bearish order blocks - Customize fill color and border color - Toggle OB- label display Label Settings - Label size: Tiny, Small, Normal, or Large - Label text color customization General Settings - Bars Back to Check (10-200): Lookback period for order block detection - Filter by FVG: Requires Fair Value Gap confirmation - Max Bars Between OB and FVG (1-6): Distance tolerance for FVG filtering - Line Height: Choose between Body or Wick for order block boundaries - Prevent Overlapping OBs: Avoids drawing overlapping zones - Max Order Blocks to Display (1-50): Limits active blocks on chart - Length of Boxes (10-100): Horizontal projection length █ HOW TO USE 1. Add the indicator to your TradingView chart 2. Configure settings based on your trading timeframe and style 3. Watch for OB+ labels (bullish order blocks) as potential support zones where price may bounce 4. Watch for OB- labels (bearish order blocks) as potential resistance zones where price may reverse 5. Wait for price retracement to the order block zone before taking entries 6. Use confirmation signals like volume spikes or reversal patterns at the order block 7. Place stop loss just outside the order block boundary to manage risk 8. Monitor mitigation: Order blocks disappear when price breaks through them completely █ TRADING STRATEGY EXAMPLES Bullish Order Block Strategy Wait for a market structure shift from bearish to bullish. When price creates a bullish impulse breaking a fractal high, identify the OB+ zone. Enter long positions when price retraces to test the bullish order block, placing stop loss 10-20 pips below the zone's low. Target previous highs or resistance levels. Bearish Order Block Strategy Monitor for market structure shift from bullish to bearish. After price creates a bearish impulse breaking a fractal low, locate the OB- zone. Enter short positions when price retraces to test the bearish order block, placing stop loss 10-20 pips above the zone's high. Target previous lows or support levels. FVG-Confirmed Entries Enable FVG filtering to only display order blocks validated by Fair Value Gaps. These aligned setups increase probability as they combine institutional order placement with market inefficiencies. Trade retracements to these high-confluence zones for better risk-reward ratios. █ IDEAL FOR - ICT Traders: Follows Inner Circle Trader methodology for institutional order flow - Smart Money Concepts: Tracks where large players place orders - Swing Traders: Identifies key support/resistance for multi-day holds - Price Action Traders: Pure chart-based approach without lagging indicators - Breakout Traders: Confirms structure breaks with fractal patterns - Forex, Crypto, and Stock Markets: Works on all liquid markets and timeframes █ TECHNICAL SPECIFICATIONS - Max Boxes: 500 - Max Labels: 500 - Detection Method: 5-bar fractal pattern recognition - Mitigation Logic: Automatic removal when price breaks order block boundaries - Time Projection: Uses time offset calculations for box extension - Array Management: Dynamic array cleanup to prevent memory issues █ NOTES & DISCLAIMERS - Order blocks work best when combined with overall market context and trend analysis - Not all order blocks result in price reversals; use proper risk management - FVG filtering may reduce the number of signals but increases quality - Fractal patterns require 5 bars to form, causing a 2-bar delay in detection - Works optimally on higher timeframes (4H, Daily) for institutional footprints - This indicator does not guarantee profitable trades; always use stop losses - Past performance of order blocks does not predict future results - Compatible with other ICT concepts like liquidity sweeps and market structure Indicador Pine Script®por TehThomasActualizado 88508
EMA10/201️⃣ Trend filter is already TRUE Price above VWAP EMA10 > EMA20 EMA20 rising ➡ This stays TRUE for many candles in a strong uptrend. 2️⃣ Pullback condition is TRUE 1–3 red candles already happened Price is still near EMA20 ➡ This condition does not reset immediately. 3️⃣ Engulfing logic is the key problem Your current engulfing rule is roughly: Candle is green Closes above previous close Above EMA20 Now look at your chart: First green candle → BUY Next candle is also green, still above EMA20 → BUY again Next candle still satisfies all conditions → BUY again 📌 Result: 👉 BUY, BUY, BUY on consecutive candles That’s why you see 3 BUY labels together.Indicador Pine Script®por seo_writerzcenter8
Gei-IndicatorFor trading and for fundaTradingView, combining three critical layers of market data into a single, high-level summary. Key Features: Fundamental Analysis: It pulls real-time financial data (P/E Ratio, Free Cash Flow, Revenue, EBIT, and Dividend Yield) to evaluate the company's health. It even includes a "Tech Mode" toggle to adjust valuation expectations for growth stocks. Technical Indicators: It monitors price momentum and trend direction using the RSI (14) and a Moving Average crossover (MA20/MA50). Market Benchmarking: It calculates and displays the Year-To-Date (YTD) performance of the SPY (S&P 500 ETF), allowing you to see at a glance if the current stock is outperforming the broader market. Dynamic UI: All data is neatly organized in a color-coded table (Green/Orange/Red) at the top-right of your chart, making it easy to perform a "quick health check" without leaving the main price action.mental analysisIndicador Pine Script®por gonzalovillela1
Neeson Mayer MultipleIntegrating the Mayer Multiple Indicator: A Practical Guide for Market Analysis Introduction The Mayer Multiple indicator is a specialized tool designed to assess asset valuations relative to their long-term historical trends. By comparing current price action against a long-term simple moving average, this indicator provides a quantitative framework for identifying potential overbought and oversold conditions. This article explains the rationale behind its design, operational mechanics, practical applications, and unique value proposition. Purpose and Functionality The primary function of the Mayer Multiple indicator is to measure how far current prices deviate from a long-term moving average, expressed as a ratio. This measurement helps traders and investors identify: Extreme valuation levels that may signal potential reversal points Long-term trend strength and sustainability Market psychology shifts between fear and greed cycles Originally popularized in Bitcoin analysis, the indicator's principles apply to any volatile asset class where mean reversion tendencies exist alongside strong trend characteristics. Operational Principles The indicator operates through several interconnected components: Core Calculation Mechanism At its heart, the indicator calculates the Mayer Multiple by dividing the current closing price by a configurable simple moving average (default: 200 periods). This ratio represents how many times the current price exceeds its long-term average, providing an immediate visual reference for valuation extremes. Multi-Level Threshold System Four configurable thresholds create distinct market condition zones: Optimal Buy Zone (default: 0.7) - Historically extreme undervaluation Undervalued Zone (default: 1.0) - Moderate undervaluation Overvalued Zone (default: 2.4) - Moderate overvaluation Optimal Sell Zone (default: 3.5) - Historically extreme overvaluation These thresholds create a graduated scale of market conditions rather than binary signals. Visual Signal Hierarchy A sophisticated color-coding system prioritizes different signal types based on their significance: White/Gray: Neutral territory (between undervalued and overvalued thresholds) Aqua: Entering undervalued territory (potential accumulation zone) White: Reaching optimal buying conditions (historically rare opportunities) Yellow: Entering overvalued territory (potential distribution zone) Orange: Reaching optimal selling conditions (historically rare extremes) Green: Emerging from optimal buying conditions (momentum shift confirmation) Red: Retreating from optimal selling conditions (momentum reversal confirmation) This hierarchy helps users distinguish between entry signals, exit signals, and confirmation signals. Integration Rationale The integration of these components follows a logical progression: Mathematical Foundation The moving average provides a stable reference point that filters out short-term noise while maintaining sensitivity to long-term trend changes. The ratio format normalizes values across different price levels and timeframes, enabling cross-asset comparisons. Behavioral Finance Alignment The threshold system corresponds to documented market psychology patterns. The extreme thresholds (optimal buy/sell) represent points where fear or greed typically reach maximum intensity, while the moderate thresholds represent early warning levels. Progressive Signal Detection The indicator tracks both threshold breaches and retreats from extreme zones. This dual-tracking approach captures not only when conditions become extreme but also when they begin to normalize—often the most actionable moments for position adjustments. Component Synergy The indicator's components work together through a continuous feedback loop: Calculation Engine: Continuously computes the core ratio, serving as the foundation for all subsequent analysis. Threshold Comparator: Compares the current ratio against user-defined thresholds, categorizing market conditions in real-time. Signal Generator: Identifies specific events (threshold crossings, zone entries/exits) and assigns appropriate visual representations. Visual Renderer: Displays the information through colored histograms, reference lines, and data tables, creating an intuitive interface. Alert System: Monitors for predefined conditions and notifies users of significant developments without requiring constant screen monitoring. This integrated approach transforms raw price data into structured, actionable information while maintaining mathematical rigor and visual clarity. Practical Application Guidelines Parameter Customization Users should adjust parameters based on: Asset volatility (higher volatility assets may require wider thresholds) Timeframe (longer timeframes may benefit from longer moving averages) Personal risk tolerance (conservative traders may use tighter thresholds) Signal Interpretation Framework Zone-Based Analysis: Focus on which zone the indicator occupies rather than chasing individual data points Confirmation Seeking: Use extreme zone signals (white/orange) as alerts for further analysis rather than automatic trade triggers Momentum Assessment: Observe how quickly the indicator moves between zones as a measure of trend strength Complementary Tools The Mayer Multiple works best when combined with: Volume analysis to confirm participation during extreme readings Momentum indicators to identify potential divergence Support/resistance levels for precise entry/exit timing Fundamental analysis for context validation Distinctive Attributes Original Implementation Features Progressive Color System: Unlike binary indicators, this implementation provides graduated signals through a carefully prioritized color hierarchy. Dual-Signal Detection: The indicator captures both threshold breaches and retreats, offering insights into momentum shifts rather than just static levels. Contextual Display: The integrated data table provides immediate access to key metrics without cluttering the chart space. Customizable Framework: All thresholds and calculation periods are adjustable, allowing adaptation to different market regimes and trading styles. Practical Innovation The indicator's design emphasizes usability through: Immediate visual comprehension via color coding Clear separation between alert conditions and confirmation signals Balanced information density (sufficient data without overload) Flexible integration with existing trading workflows Responsible Usage Considerations Empirical Perspective Historical analysis suggests that assets frequently revert toward their long-term moving averages, but the timing and extent of such reversions vary significantly. The indicator identifies statistical extremes rather than predicting immediate price movements. Risk Management Integration Users should: Treat extreme readings as risk management triggers rather than directional forecasts Consider position sizing based on distance from the moving average Implement stop-loss strategies regardless of indicator readings Avoid allocating excessive weight to any single indicator Performance Realism The indicator does not guarantee profitable outcomes. Its value lies in providing structured information about valuation extremes, which must be interpreted within broader market context and individual risk parameters. Conclusion The Mayer Multiple indicator represents a thoughtfully integrated approach to long-term valuation analysis. By combining mathematical rigor with behavioral insights and practical visualization, it provides traders with a structured framework for assessing market extremes. Its modular design allows customization while maintaining core analytical integrity, and its emphasis on graduated signals helps avoid the oversimplification common in technical indicators. When used as part of a comprehensive trading methodology with appropriate risk management, it can contribute valuable perspective to the decision-making process.Indicador Pine Script®por neeson19875
Intraday Session BehaviorThis indicator was built to study how price behaves throughout the trading day, from pre-London session to the New York close. The goal was simple: identify recurring intraday tendencies, reversals, and consolidation phases based on time, not indicators. I created this script to visually segment key intraday windows and then ran 100 manual backtests to observe where price most frequently shifts direction or changes behavior. Key observation: Across multiple samples, 8:00 AM NY time showed the highest frequency of reversals, often aligning with positioning ahead of the New York open. This tool is not a signal generator. It’s designed for context, study, and confluence — especially for traders focused on session-based trading, liquidity behavior, and intraday structure. Use it as a framework to: Study session transitions Refine time-based playbooks Combine with your own strategy, structure, and risk management Built the old-school way: observe, test, repeat.Indicador Pine Script®por FunkyTown_Bytes6
[COG] Platypus Platypus Overview Platypus is a volume momentum indicator that combines price action, volume analysis, and multi-timeframe confirmation to generate trade signals. Unlike traditional volume indicators, Platypus reconstructs volume momentum by factoring in price velocity, volatility adjustment, and market structure to identify true institutional momentum shifts. The indicator features a comprehensive filtering system including EMA alignment, background state confirmation, and optional multi-timeframe filters to eliminate false signals and ensure you only trade with the strongest momentum. Key Features ✅ Volume Momentum Calculation Volatility-Adjusted Volume: Normalizes volume relative to recent volatility periods Quiet Market Filtering: Reduces noise during low-activity periods Spike Detection: Identifies abnormal volume surges with boosted weighting Momentum Smoothing: EMA-based smoothing prevents erratic signals ✅ Entry Pattern Detection 3-Bar Pattern Requirement: RED → GREEN → GREEN for buys (opposite for sells) State Management: Prevents consecutive signals in same direction without reset Background Confirmation: Must align with bullish/bearish market state EMA Alignment Filter: Ensures trend structure supports the trade direction ✅ Multi-Timeframe Filtering System HTF Closed Bar Filter: Confirms last closed higher timeframe bar matches direction (no repaint) HTF Momentum Filter: Requires current HTF bar to match direction (live, prevents delayed entries) Dual-Filter Capability: Use both filters for maximum precision ✅ Dashboard Real-time Status Monitoring: Volume trend, background state, EMA order, trade state Filter Status Display: Shows HTF filter conditions and signal permission Pattern Detection: Indicates when 3-bar entry pattern is forming ✅ On-Chart Integration 50/100/200 EMAs: Automatically plotted on price chart with customizable colors Visual Entry Markers: Triangle signals appear on price chart at entry points Signal Alerts: Built-in alert conditions for all signal types 📚 Core Settings Explained signalPeriod = input.int(8, "Signal Period", minval=1, group="Core Settings") Signal Period (Default: 8): Controls the smoothing of the signal line (blue line). Lower values = more responsive, higher values = smoother but slower to react. volatilityPeriod = input.int(20, "Volatility Period", minval=1, group="Core Settings") Volatility Period (Default: 20): Lookback period for volume and price range calculations. This period is used to normalize volume relative to recent market conditions. priceFilterLength = input.int(200, "Price Filter MA Length", minval=1, group="Core Settings") Price Filter MA Length (Default: 200): The SMA period used for background state determination. Price must be above this MA for bullish background, below for bearish background. Advanced Settings momentumMultiplier = input.float(50.0, "Momentum Multiplier", minval=20.0, maxval=80.0, step=2.0, group="Advanced") Momentum Multiplier (Default: 50.0): Scales the final momentum score. Higher values = larger histogram bars and more sensitivity. Adjust based on your instrument's volatility. momentumSmoothing = input.int(4, "Momentum Smoothing", minval=1, maxval=15, group="Advanced") Momentum Smoothing (Default: 4): EMA period applied to raw momentum before normalization. Higher values reduce noise but add lag. quietThreshold = input.float(0.3, "Quiet Market Filter", minval=0.0, maxval=1.0, step=0.05, group="Advanced") Quiet Market Filter (Default: 0.3): During low-volume periods, this applies exponential dampening to momentum. Higher values = more aggressive filtering of weak moves. volStrengthFactor = volRatio < (1.0 + quietThreshold) ? math.pow(volRatio, 2) : volRatio When volume is less than average + threshold, it squares the ratio (dampening), otherwise uses linear scaling.Indicador Pine Script®por CognitiveAlpha2256
RMA vs EMA Comparison ToolIf you're looking for a quick entry point to follow a trend, it's best to look at the EMA. If you need confirmation of a long-term trend change or are working with oscillators (like the RSI), use the RMA. What to look for on the chart: Reaction speed: You'll notice that the EMA (red line) adheres much more closely to the price. It reacts more quickly to sharp reversals or impulses. Smoothness: The RMA (blue line) appears smoother and "lazier." It changes direction more slowly, which helps filter out false signals (noise), but allows for a slightly later entry into a trade. Distance: During periods of strong trending, the RMA is usually further from the price than the EMA of the same period.Indicador Pine Script®por jim4il4
EMA20 and 10 PullbackStrategy Logic Uses EMA 10, EMA 20, and VWAP for trend filtering Identifies strong bullish and bearish trends Waits for controlled pullbacks (1–3 candles) near EMA20 Triggers entries only on engulfing confirmation candles Generates BUY signals in uptrends and SELL signals in downtrends Key Features Works best on NIFTY and liquid stocks Avoids sideways markets by using EMA alignment + VWAP Non-repainting, rule-based logic Suitable for manual trading or alert-based automation Alerts compatible with webhooks (n8n / Google Sheets) Recommended Usage Timeframe: 5-minute Market: Trending sessions Stop-loss: Below EMA20 or engulfing candle Target: 1:1.5 – 1:2 R:R or EMA10 trailingIndicador Pine Script®por seo_writerzcenter41
Break & Retest 369Break & Retest 369 The Break & Retest 369 is a high-precision technical indicator designed for price action traders who specialize in market structure shifts and "S/R Flip" (Support becoming Resistance and vice versa) strategies. Unlike standard oscillators that lag behind price, this tool focuses on **horizontal price levels** that have historically acted as turning points, providing visual zones where the market is likely to offer a "second chance" entry. Core Philosophy The script is built on the principle of Market Memory. In a trending market, a "Breakout" signifies a change in order flow. However, smart money often returns to the point of origin (the breakout level) to fill remaining orders or test the strength of the new trend. This indicator automates the identification of these "Retest" zones, which are often the highest-probability entry points for trend continuation. How It Works: The Logic The indicator follows a strict, multi-step calculation process: 1. Swing Point Identification: It utilizes a Pivot High/Low** algorithm. It scans for "peaks" and "valleys" that are isolated by a specific number of bars on either side (defined by the `Lookback` input). 2. **Breakout Detection:** The script monitors these pivot levels. A **Buy Zone** is triggered only when the price achieves a clean **Close** above a previous Pivot High. Conversely, a **Sell Zone** is triggered by a **Close** below a previous Pivot Low. 3. **Zone Construction:** Once a break is confirmed, the script draws a box centered exactly at the price level of the broken pivot. 4. **Forward Projection:** These zones are projected forward in time using the `Zone Extension` parameter, creating a visual "landing strip" for future price action. ### Key Features & How to Use It * **Dynamic Support/Resistance Flips:** Green zones represent former resistance levels that are now expected to act as support. Red zones represent former support levels now expected to act as resistance. * **Zone Customization:** Traders can adjust the `Zone Height (Ticks)` to account for market volatility or specific asset spreads (e.g., wider zones for XAUUSD, tighter for EURUSD). * **Scannability:** The script helps traders filter out the "noise" of mid-range price movement and focus only on significant structural levels. ### Default Configuration To get the most out of the **369** logic, the indicator comes pre-configured with the following defaults: * **Swing Detection Lookback (18):** Optimized for medium-term structure, avoiding "micro-pivots" that lead to false signals. * **Zone Height (1 Tick):** Focuses on the precise price point of the pivot for maximum accuracy. * **Zone Extension (90 Bars):** Projects levels far enough to catch "deep" retests that occur several hours or days later. --- ### Pro Tip for Traders Wait for price to return to a **Buy Zone** and look for a bullish rejection candle (like a pin bar or engulfing candle) before entering. This combines the "Where" (the zone) with the "When" (the price action confirmation) for a robust trading system. Would you like me to add a **"Mitigation"** feature that automatically deletes or fades the zone once the price has successfully touched it?Indicador Pine Script®por Niko-picasso36950