MILLION MEN - Discount Zone BreakoutsWhat it is
MILLION MEN — Discount Zone Breakouts (Lite & Stable) highlights a structure-based trading range from the latest confirmed swing high/low, renders Premium/Equilibrium/Discount zones, and raises one-shot breakout signals when price closes outside the range. It focuses on stable visuals and simple breakout logic suitable for intraday and swing trading.
How it works (high-level)
Confirmed swings: Uses ta.pivothigh/ta.pivotlow with auto or manual pivot length.
Range & zones: From the swing range, the tool derives Premium (top 25%), Equilibrium (50%), and Discount (bottom 25%).
Anchoring: Left edge is locked at the bar where the pivot confirms; the right edge can extend N bars.
One-shot breakouts:
Up breakout: first close > swingHigh (resets on new range).
Down breakout: first close < swingLow (resets on new range).
Optional on-close only mode to avoid intrabar noise.
Clean UI: Optional zone boxes, dashed equilibrium line, mid-labels (“Premium / Equilibrium / Discount”), and minimal candle coloring by regime.
How to use
Treat Discount as value area in bullish contexts and Premium as distribution area in bearish contexts.
Breakout dots (up/down) mark regime shifts beyond the current range; confirm with your higher-TF bias, volume, or momentum.
Tune pivot length and forward extension to your timeframe (e.g., smaller for scalping, larger for swings).
Originality & value
Unlike generic S/R overlays, this lite tool prioritizes confirmed swing structure with a fixed anchor, clear 25/50/75 zone mapping, and one-shot breakout logic to prevent repetitive signals until a new range forms. The emphasis is on stability + readability, making it a dependable building block in multi-indicator workflows.
Limitations & transparency
Breakouts on strong trends can retest or fail; always add confirmation (structure/volume).
Pivots confirm with delay equal to pivot length—this reduces repaint and is intentional.
Non-standard bar types are not supported for signal logic.
This indicator provides analysis, not financial advice.
Arabic
يعرض السكربت آخر مدى مؤكد من قمّة/قاع ويرسم مناطق Premium / Equilibrium / Discount، ويعطي إشارة اختراق لمرة واحدة عند إغلاق السعر فوق القمّة أو تحت القاع. الفكرة بسيطة وثابتة بصريًا، وتصلح للإنترادي والسوينغ. يُفضّل تأكيد الاختراق بهيكل أعلى إطار أو فوليوم/مومنتُم. تذكير: تأكيد القمم/القيعان متأخر بحسب طول البيفوت لتفادي إعادة الرسم.
Unterstützung und Widerstand
HaP Hibrid S/DThis code is a technical analysis indicator named "HaP Hybrid S/D," developed using Pine Script v5. It is a comprehensive and customizable tool designed to identify support and resistance (S/R) levels, detect order blocks, and analyze market dynamics in financial markets. The code combines adaptive and machine learning (ML)-based systems to offer a hybrid approach, supporting various chart types and multi-timeframe analysis. Below, I detail the core, standout, and superior features of the code:Core FeaturesMulti-Chart Type Support:The indicator allows users to analyze price charts in TRY, USD, or Composite (stock/index ratio) formats.
Users can select line or candlestick chart types, enabling customized visualization based on their needs.
The composite chart analyzes relative performance by dividing stock prices by the BIST XU100 index, while the USD-based chart accounts for exchange rate effects.
Support and Resistance Detection:Adaptive System: Dynamically calculates pivot points (based on high/low or close prices) and automatically adjusts to market conditions (trend, consolidation, volatility).
ML-Based System: Uses machine learning to cluster pivot points (average linkage clustering) and identify the most significant support/resistance levels.
Users can choose to display only the nearest S/R levels or all levels.
Order Block Detection:Identifies buy and sell order blocks using volume and price movement (ATR-based) analysis.
Blocks are filtered based on user-defined minimum volume thresholds and ATR multipliers.
Buy (green) and sell (red) blocks are drawn and labeled for visualization.
Multi-Timeframe Support:Analyzes and draws pivot levels across 4-hour (H4), daily (D1), and weekly (W1) timeframes.
Users can customize these levels with different line styles (solid, dashed, dotted) and thicknesses.
User-Friendly Interface:The indicator is configurable with multiple setting groups (chart selection, order blocks, S/R, color settings, etc.).
Users can customize line thicknesses, label sizes, transparency levels, and colors.
Standout FeaturesHybrid Approach (Adaptive + ML):The indicator combines adaptive and machine learning-based systems to offer a unique hybrid model. Users can choose to use only adaptive, only ML-based, or both systems.
Adaptive System: Dynamically adjusts pivot calculation parameters based on technical indicators like market volatility, trend strength, and ADX.
ML-Based System: Clusters pivot points (similar to k-means with average linkage) to identify the strongest support/resistance levels and optimizes them using silhouette scores.
Dynamic Pivot Memory:In the ML system, pivot memory is automatically adjusted based on volume, trend, and time factors. For example, shorter memory is used in high-volatility periods, while longer memory is preferred in low-volatility periods.
Users can manually set pivot memory or opt for automatic adjustment.
Fibonacci Integration:Fibonacci retracement levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1) can be calculated and integrated with support/resistance levels.
Fibonacci tolerance is dynamically adjusted based on volatility and ATR for more precise levels.
Market Condition Analysis:The indicator automatically detects market conditions (consolidation, trend, volatile market) and optimizes S/R calculation parameters accordingly.
Technical indicators such as ATR, RSI, ADX, MACD, and Bollinger Bands are used to analyze market dynamics.
Management of Broken Levels:Broken support/resistance levels can be automatically hidden (optional).
Order blocks and S/R zones are cleared when the price breaks these levels, ensuring only relevant levels are displayed.
Superior FeaturesAdvanced Visualization:Support and resistance levels are drawn with user-defined colors, transparency, and line styles. Price labels make it easier to track levels.
Order blocks are clearly marked, with the number of historical blocks limitable by the user.
Automatic Optimization:In the ML system, the optimal number of clusters and pivot memory is automatically determined using silhouette scores and level effectiveness scores.
In the adaptive system, pivot calculation parameters (left/right bar count, level length, etc.) are dynamically optimized based on volatility ratio, trend strength, and ADX.
Volume and Trend-Based Analysis:Volume thresholds and ATR multipliers enhance the accuracy of order block detection.
Trend strength (calculated using EMAs and ROC) and volatility ratio improve the precision of S/R levels.
Flexible Timeframe Integration:Multi-timeframe analysis provides a broader market perspective, displaying S/R levels from different timeframes together.
The lookahead feature ensures more accurate pivot detection in multi-timeframe calculations (can be optionally disabled).
Performance and Memory Management:The code is designed for performance with limits such as max_bars_back=3000, max_lines_count=500, and max_labels_count=500.
Unnecessary drawings are cleared, and array sizes are limited to ensure a smooth experience on the TradingView platform.
Use CasesShort-Term Traders: Can use the nearest support/resistance levels and order blocks in the current timeframe to make quick decisions.
Long-Term Investors: Can identify broader market trends and strong S/R levels through multi-timeframe analysis.
Technical Analysts: Can perform in-depth analysis with Fibonacci integration, market condition analysis, and ML-based clustering.
Visual Analysis Enthusiasts: Can achieve a clear and aesthetic chart appearance with customizable colors, labels, and line styles.
Conclusion
HaP Hybrid S/D is a powerful tool for both novice and professional traders in technical analysis. The combination of adaptive and ML-based systems ensures adaptability to dynamic market conditions, offering users a flexible analysis experience. Multi-timeframe support, Fibonacci integration, and comprehensive visualization options make this indicator a standout solution in the market. On the TradingView platform, particularly for stock and index analysis, it is an ideal tool to enhance decision-making processes.
HTF Order Blocks [TradeWithRon]HTF Order Blocks is a clean, multi-timeframe order-flow tool that maps bullish/bearish order blocks and optional breaker blocks from higher timeframes onto your current chart. It’s built for clarity and speed: minimal clutter, configurable labels, and optional Fibonacci extensions for quick projection work.
What it does
Identifies Order Blocks (OBs) using swing structure (configurable lookback).
Marks Breaker Blocks when an OB is breached and market structure flips.
Projects HTF zones from up to two higher timeframes (HTF1 & HTF2), with separate color themes.
Clean visuals: open lines, and smart label placement.
Optional Fibonacci extensions from each OB for quick confluence checks.
Alert-ready: receive alerts on creation of Bullish/Bearish OBs and Breakers.
Key Features
Multi-Timeframe Mapping
Enable HTF1 and/or HTF2 and project their OBs on your active chart.
Uses request.security() with lookahead_off to avoid future-bar leakage.
Fibonacci Add-On (optional)
How it works (logic overview)
Swing detection: Finds recent pivots using a lookback window.
OB creation:
Bullish OB: Created after price closes above a prior swing high, then scans the upswing for the most meaningful base candle range (high/low/open/close).
Bearish OB: Created after price closes below a prior swing low, with symmetric logic.
Breaker state:
A bullish OB turns breaker if price later closes below its base;
A bearish OB turns breaker if price closes above its base.
Cleanup: Breakers are removed if price subsequently recovers past the opposing OB boundary.
HTF OBs are detected on their native timeframe and projected to the active chart; confirmation occurs on the HTF bar’s close.
Gann Square Numbers S/R Levels This script can draw support and demand levels using Gann numbers of natural level.
Functions:
1: Default levels draw from natural numbrers 1 to 100.
2. can change minimum and maximum numbers of natural number. e.g min 50 and max 60. it will draw levels from 50 to 60.
3. You can filter levels of natural number by even and odd.
4. you can draw decimal levels of natural numbers also. e.g if natural number is 50
1.you can draw gann number for 50.01, 50.02, 50.03 , 50.04....
2. you can filter decimal points by odd, even, multiple of 3,5,10,20,25,50 also.
ZynAlgo S&R ProZynAlgo S&R Pro™ automatically identifies high-probability support and resistance zones by detecting swing highs and lows, visualizing liquidity areas where large market participants are likely active.
The indicator dynamically draws and updates these levels in real time, providing traders with an instant map of market structure — where price is most likely to react, reverse, or break through.
It’s built for traders who rely on structure-based trading, smart money concepts (SMC), and liquidity-based analysis, offering a clean, efficient, and objective way to view market levels without manual charting.
⚙️ CORE CONCEPT
Markets move through cycles of liquidity — sweeping previous highs and lows before establishing new structure.
S&R Pro captures these key points automatically, creating clear horizontal levels that represent potential liquidity zones and high-probability reaction areas.
Every zone is drawn dynamically using confirmed swing highs and lows, ensuring that the indicator adapts to evolving price action while keeping your charts clean and uncluttered.
🧩 FEATURES
Automatic Detection of swing highs/lows based on user-defined sensitivity
Liquidity Pool Visualization for both buy-side and sell-side zones
Dynamic Extension Lines that update until new structure forms
Customizable Styling: color, line width, and line type
Candle Coloring System to enhance visual clarity of price action
Smart Alerts for liquidity sweeps and swing confirmations
Lightweight & Fast Rendering — optimized for all market types
🧠 HOW TO USE
Add the indicator to your chart and adjust “Left/Right Bar” to control how sensitive swing detection is.
Liquidity lines (red for buy-side, blue for sell-side) will automatically appear and extend until new structure is formed.
Watch how price interacts with these lines — reactions often occur near recent liquidity zones.
Combine with your existing confluence tools such as trend dashboards or volume filters to refine entries and exits.
Set alerts for when liquidity zones are reached or when new swing points form.
📊 INTERPRETATION
🟥 Red Lines: Previous highs, representing buy-side liquidity (potential stop hunts above).
🟦 Blue Lines: Previous lows, representing sell-side liquidity.
🟢 Candle Color Change: Visualizes shifts in short-term momentum relative to previous close.
These levels help traders spot where liquidity sweeps may occur — a key concept in institutional trading and SMC methodology.
⚙️ CUSTOMIZATION
Adjust bar sensitivity to detect major or minor structures
Modify line color, style, and thickness
Toggle swing labels and liquidity visualization
Control candle color behavior (body, border, wick)
🔶 CONCLUSION
We believe that success lies in the association of the user with the indicator, opposed to many traders who have the perspective that the indicator itself can make them become profitable. The reality is much more complicated than that. The aim is to provide an indicator comprehensive, customizable, and intuitive enough that any trader can be led to understand this truth and develop an actionable perspective of technical indicators as support tools for decision making. You can see the Author's instructions below to get instant access to this indicator
🔶 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by ZynAlgo are purely for informational & educational purposes only. Past performance does not guarantee future results.
Dynamic Volume Based Key Price LevelsDescription
This indicator introduces a volume-based approach to detecting support and resistance zones.
Instead of relying on price swings or pivots, it analyzes where the most trading activity occurred within a selected lookback period, then marks those levels directly on the chart.
The result is a clear visual map of price areas with strong historical participation, which often act as reaction zones in future moves.
How It Works
The script divides the analyzed range into price bins, sums traded volume for each bin, and highlights the strongest levels based on their share of total volume.
It also includes an optional multi-timeframe mode, allowing traders to analyze higher timeframe volume structures on a lower timeframe chart.
Key Features
🔹 Volume-Based Key Levels Detection: Finds statistically meaningful price zones derived from raw volume data.
🔹 Multi-Timeframe Mode: Optionally use higher timeframe volume to identify key market structure levels.
🔹 Visual Customization: Configure colors, line styles, transparency, and label formatting.
🔹 Automatic Ranking: Highlights the strongest to weakest levels using a color gradient.
🔹 Dynamic Updates: Levels adapt automatically as new bars form.
Inputs Overview
Lookback Bars: Number of historical bars used for analysis.
Price Bins: Defines the precision of volume distribution.
Number of Lines: How many key levels to display.
Min Volume %: Filters out less relevant low-volume bins.
Extend Lines: Choose how lines are projected into the future.
Use Higher Timeframe: Pull data from a higher timeframe for broader perspective.
How to Use
Apply the indicator to your chart and adjust the lookback period.
Optionally enable higher timeframe mode for more stable long-term zones.
Observe the horizontal lines — these represent volume-weighted support and resistance areas.
Combine with your existing tools for trend or momentum confirmation.
This tool helps visualize where market participation was strongest, giving traders a clearer view of potential reaction zones for both intraday and swing analysis.
It’s intended as a visual analytical aid, not a signal generator.
⚠️Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
Trader Jumblo Auto Signal V6Trader Jumblo Auto Signal V6 is an advanced crossover-based signal system designed to generate persistent BUY and SELL entries with dynamic ATR-based Take Profit (TP) and Stop Loss (SL) levels.It provides clean, non-repainting trade signals that remain visible on the chart even after price movement — ensuring clarity during both backtesting and live trading sessions.
⚙️ How It Works
🟦 Two Blue Lines — These are your moving averages (Fast and Slow).
The crossover between them determines the signal direction.
When the Fast MA (light blue) crosses above the Slow MA → a BUY signal appears.
When the Fast MA crosses below the Slow MA → a SELL signal appears.
You can choose between SMA or EMA and adjust the lengths in the settings.
🟢 Green Line — The Take Profit (TP) level, calculated using ATR × TP multiplier.
It shows the projected target area for profit when a trade is active.
🔴 Red Line — The Stop Loss (SL) level, also based on ATR × SL multiplier.
It marks the risk boundary for each signal.
✅ When price reaches the green line, “TP HIT” appears.
❌ When price hits the red line, “SL HIT” appears.
These markers persist so you can analyze trade outcomes clearly.
📈 Main Features
Dynamic ATR-based TP and SL levels (auto-adjust with volatility)
Persistent entry, TP, and SL labels (no vanishing signals)
Optional RSI filter for signal confirmation
Instant alert system for BUY/SELL/TP/SL or combined events
Lightweight and optimized for any timeframe
⚡ Best Use
Ideal for swing and intraday traders who want visual clarity and structured risk/reward zones. Works effectively on Gold, Forex, crypto, indices, and stocks
Trader Jumblo Auto Signal V6Trader Jumblo Auto Signal V6 is an advanced crossover-based signal system designed to generate persistent BUY and SELL entries with dynamic ATR-based Take Profit (TP) and Stop Loss (SL) levels.It provides clean, non-repainting trade signals that remain visible on the chart even after price movement — ensuring clarity during both backtesting and live trading sessions.
⚙️ How It Works
🟦 Two Blue Lines — These are your moving averages (Fast and Slow).
The crossover between them determines the signal direction.
When the Fast MA (light blue) crosses above the Slow MA → a BUY signal appears.
When the Fast MA crosses below the Slow MA → a SELL signal appears.
You can choose between SMA or EMA and adjust the lengths in the settings.
🟢 Green Line — The Take Profit (TP) level, calculated using ATR × TP multiplier.
It shows the projected target area for profit when a trade is active.
🔴 Red Line — The Stop Loss (SL) level, also based on ATR × SL multiplier.
It marks the risk boundary for each signal.
✅ When price reaches the green line, “TP HIT” appears.
❌ When price hits the red line, “SL HIT” appears.
These markers persist so you can analyze trade outcomes clearly.
📈 Main Features
Dynamic ATR-based TP and SL levels (auto-adjust with volatility)
Persistent entry, TP, and SL labels (no vanishing signals)
Optional RSI filter for signal confirmation
Instant alert system for BUY/SELL/TP/SL or combined events
Lightweight and optimized for any timeframe
⚡ Best Use
Ideal for swing and intraday traders who want visual clarity and structured risk/reward zones. Works effectively on Gold, Forex, crypto, indices, and stocks
Breakdown or Buyable Dip? Pullback Depth Can HelpAs a common adage says, “the market doesn’t move in a straight line.” But when prices have fallen, it’s not always clear whether buying makes sense. That’s where today’s script may help.
Most traditional indicators judge movement based on price. That’s obviously important, but time can also be helpful. After all, there’s a big difference between probing a low from 2-3 weeks ago versus a low from months or even years in the past.
Pullback Depth clearly illustrates this by answering the question: “Today’s low is the lowest in how many bars?”
The resulting integer is plotted in a simple histogram. Values are always negative because bars with higher absolute values (meaning more negative, or further below zero) are potentially more bearish.
The study also has a maximum lookback period to avoid overwhelming the study with too many bars. Its default setting of 125 bars includes enough history to illustrate the trend.
The stock market’s recent run has seen only shallow pullbacks. Most dips have probed 1-2 weeks in the past, while Friday’s selloff only turned back the clock a month.
Consider two other previous moments.
First, the great bull run of 1995 saw only shallow pullbacks. (None exceeded 50 days.):
In contrast, early 2022 saw the S&P 500 test levels more than 100 candles into the past. It soon fell into an official “bear market:”
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. If you're born to trade, we could be for you. See our Overview for more.
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options or futures); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission and a futures commission merchant licensed with the Commodity Futures Trading Commission). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association, and a number of exchanges.
TradeStation Securities, Inc. and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., both operating, and providing products and services, under the TradeStation brand and trademark. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
Tweezer & Kangaroo Zones [WavesUnchained]Tweezer & Kangaroo Zones
Pattern Recognition with Supply/Demand Zones
Indicator that detects tweezer and kangaroo tail (pin bar) reversal patterns and creates supply and demand zones. Includes volume validation, trend context, and confluence scoring.
What You See on Your Chart
Pattern Labels:
"T" (Red) - Tweezer Top detected above price → Bearish reversal signal
"T" (Green) - Tweezer Bottom detected below price → Bullish reversal signal
"K" (Red) - Kangaroo Bear (Pin Bar rejection from top) → Bearish signal
"K" (Green) - Kangaroo Bull (Pin Bar rejection from bottom) → Bullish signal
Label Colors Indicate Pattern Strength:
Dark Green/Red - Strong pattern (score ≥8.0)
Medium Green/Red - Good pattern (score ≥6.0)
Light Green/Red - Valid pattern (score <6.0)
Zone Boxes:
Red Boxes - Supply Zones (resistance, potential short areas)
Green Boxes - Demand Zones (support, potential long areas)
White Border - Active zone (fresh, not tested yet)
Gray Border - Inactive zone (expired or invalidated)
Pattern Detection
Tweezer Patterns (Classic Double-Top/Bottom):
Flexible Lookback - Detects patterns up to 3 bars apart (not just consecutive)
Precision Matching - 0.2% level tolerance for high-quality signals
Wick Similarity Check - Both candles must show similar rejection wicks
Volume Validation - Second candle requires elevated volume (0.8x average)
Pattern Strength Score - 0-1 quality rating based on level match + wick similarity
Optional Trend Context - Can require trend alignment (default: OFF for more signals)
Kangaroo Tail / Pin Bar Patterns:
No Pivot Delay - Instant detection without waiting for pivot confirmation
Body Position Check - Body must be at candle extremes (30% tolerance)
Volume Spike - Rejection must occur with volume (0.9x average)
Rejection Strength - Scores based on wick length (0.5-0.9 of range)
Optional Trend Context - Bearish in uptrends, Bullish in downtrends (default: OFF)
Zone Management
Auto-Created Zones - Every valid pattern creates a supply/demand zone
Overlap Prevention - Zones too close together (50% overlap) are not duplicated
Lifetime Control - Zones expire after 400 bars (configurable)
Smart Invalidation - Zones invalidate when price closes through them
Styling Options - Choose between Solid, Dashed, or Dotted borders
Border Width - 2px width for better visibility
Confluence Scoring System
Multi-factor confluence scoring (0-10 scale) with configurable weights:
Regime (EMA+HTF) - Trend alignment across timeframes (Weight: 2.0)
HTF Stack - Multi-timeframe trend confluence (Weight: 3.0)
Structure - Higher lows / Lower highs confirmation (Weight: 1.0)
Relative Volume - Volume surge validation (Weight: 1.0)
Chop Advantage - Favorable market conditions (Weight: 1.0)
Zone Thinness - Tight zones = better R/R (Weight: 1.0)
Supertrend - Trend indicator alignment (Weight: 1.0)
MOST - Moving Stop alignment (Weight: 1.0)
Pattern Strength - Quality of detected pattern (Weight: 1.5)
Zone Retest Signals
Signals generated when zones are retested:
BUY Signal - Price retests demand zone from above (score ≥4.5)
SELL Signal - Price retests supply zone from below (score ≥5.5)
Normalized Score - Displayed as 0-10 for easy interpretation
Optional Trend Gate - Require trend alignment for signals (default: OFF)
Alert Ready - Built-in alertconditions for automation
Additional Features
Auto-Threshold Tuning - Adapts to ATR and Choppiness automatically
Session Profiles - Different settings for RTH vs ETH sessions
Organized Settings - 15+ input groups for easy configuration
Optional Panels - HTF Stack overview and performance metrics (default: OFF)
Data Exports - Hidden plots for strategy/library integration
RTA Health Monitoring - Built-in performance tracking
Setup & Configuration
Quick Start:
1. Apply indicator to any timeframe
2. Patterns and zones appear automatically
3. Adjust pattern detection sensitivity if needed
4. Configure zone styling (Solid/Dashed/Dotted)
5. Set up alerts for zone retests
Key Settings to Adjust:
Pattern Detection:
• Min RelVolume: Lower = more signals (0.8 Tweezer, 0.9 Kangaroo)
• Require trend context: Enable for stricter, higher-quality patterns
• Check wick similarity: Ensures proper rejection structure
Zone Management:
• Zone lifetime: How long zones remain active (default: 400 bars)
• Invalidate on close-through: Remove zones when price breaks through
• Max overlap: Prevent duplicate zones (default: 50%)
Scoring:
• Min Score BUY/SELL: Higher = fewer but better signals (default: 4.5/5.5)
• Component weights: Customize what factors matter most
• Signals require trend gate: OFF = more signals, ON = higher quality
Visual Customization
Zone Colors - Light red/green with 85% transparency (non-intrusive)
Border Styles - Solid, Dashed, or Dotted
Label Intensity - Darker greens for better readability
Clean Charts - All panels OFF by default
Understanding the Zones
Supply Zones (Red):
Created from bearish patterns (Tweezer Tops, Kangaroo Bears). Price made a high attempt to push higher, but was rejected. These become resistance areas where sellers may step in again.
Demand Zones (Green):
Created from bullish patterns (Tweezer Bottoms, Kangaroo Bulls). Price made a low with strong rejection. These become support areas where buyers may step in again.
Zone Quality Indicators:
• White border = Fresh zone, not tested yet
• Gray border = Zone expired or invalidated
• Thin zones (tight range) = Better risk/reward ratio
• Thick zones = Less precise, wider stop required
Trading Applications
Reversal Trading - Enter at pattern detection with tight stops
Zone Retest Trading - Wait for retests of established zones
Trend Confluence - Trade only when patterns align with trend
Risk Management - Use zone boundaries for stop placement
Target Setting - Opposite zones become profit targets
Pro Tips
Best signals occur when pattern + zone retest + trend all align
Lower timeframes = more signals but more noise
Higher timeframes = fewer but more reliable signals
Start with default settings, adjust based on your market
Combine with other analysis (structure, key levels, etc.)
Use alerts to avoid staring at charts all day
Important Notes
Not all patterns will lead to successful trades
Use proper risk management and position sizing
Patterns work best in trending or range-bound markets
Very choppy conditions may produce lower-quality signals
Always confirm with your own analysis before trading
Technical Specifications
• Pine Script v6
• RTA-Core integration
• RTA Core Library integration
• Maximum 200 boxes, 500 labels
• Auto-tuning based on ATR and Choppiness
• Session-aware threshold adjustments
• Memory-optimized zone management
What's Included
Tweezer Top/Bottom detection
Kangaroo Tail / Pin Bar detection
Automatic supply/demand zone creation
Volume validation system
Pattern strength scoring
Zone retest signals
Multi-factor confluence scoring
Optional HTF Stack panel
Optional performance metrics
Session profile support
Auto-threshold tuning
Alert conditions
Data exports for strategies
Author Waves Unchained
Version 1.0
Status Public Indicator
Summary
Reversal pattern detection with zone management, volume validation, and confluence scoring for tweezer and kangaroo tail patterns.
---
Disclaimer: This indicator is for educational and informational purposes only. Trading involves risk. Past performance does not guarantee future results. Always practice proper risk management.
ICT Turtle SoupICT Turtle Soup identifies classic “failed breakout” reversals after liquidity sweeps of recent highs/lows, then augments the setup with volume validation, market structure context, Kill Zone (session) filters, Order Blocks (OB), Fair Value Gaps (FVG), OTE (61.8–78.6%) zones, and optional risk targets (SL/TP 1:1, 1:2, 1:3). A compact dashboard summarizes current context (recent high/low, lookbacks, active session, structure state, mitigation counts).
What the Script Does
⦁ Detects Turtle Soup events: Price breaks a prior swing extreme and then quickly reverses back inside the range.
⦁ Grades signal quality: Factors include reversal speed, volume confirmation, breakout magnitude, and consecutive patterns.
⦁ Overlays market context: Trend/range classification (ADX / MA / ATR Bands / Combined), Kill Zones (Asian/London/NY), and time-of-day filters.
⦁ Marks IMB / mitigation zones: Draws Order Blocks and Fair Value Gaps, with optional live mitigation tracking and fading/removal on mitigation.
⦁ Shows OTE zones (61.8–78.6%) after confirmed reversals to highlight potential pullback entries.
⦁ Plots risk management guides: Optional SL buffer below/above reversal wick and TP bands at 1:1, 1:2, 1:3 R multiples.
⦁ Emits alerts on bullish/bearish Turtle Soup confirmations.
How It Works (Conceptual)
1. Liquidity Sweep & Breakout Check
⦁ Looks back over user-defined windows (single or multiple lookbacks: short/medium/long) to find the most recent swing high/low.
⦁ Flags a breakout when price pierces that swing (above for bearish, below for bullish).
⦁ Optional breakout bar volume check requires volume > avg(volume, N) × multiplier.
⦁ Optional swing age check requires the broken swing to be at least X bars old.
2. Reversal Confirmation
⦁ Within N bars after the sweep, validates a mean-reversion close back inside the prior range with a minimum wick/body ratio to confirm rejection.
⦁ Quality Score adds points for:
⦁ Speed: reversal within fast_reversal_bars;
⦁ Volume: breakout and/or reversal volume spike;
⦁ Series: previous consecutive signals;
⦁ Magnitude: sufficient sweep distance.
⦁ Optional high-quality filter only shows signals meeting a minimum score.
3. Context Filters (Optional)
⦁ Sessions/Kill Zones: Only allow signals in selected sessions (Asian/London/NY) with fully custom HHMM inputs.
⦁ Time Window: Restrict to specific hours (e.g., 08–12).
⦁ Market Structure: Classify Trending vs. Ranging (via ADX, MA separation/slope, ATR bands, or Combined). You can allow signals in trends, ranges, or both.
4. Smart Confluence Layers
⦁ Order Blocks: Finds likely OBs with structural validation (e.g., bearish up-candle prior to down move), imbalance score (body/range × volume factor), and extend-until-touched with mitigation % tracking.
⦁ Fair Value Gaps: Detects valid 3-bar gaps (bull/bear) with size threshold, supports touch / 50% / full mitigation logic, and can fade or remove after mitigation.
⦁ OTE Zones: After a reversal, projects the 61.8–78.6% retracement box from the actual swing range; offset scales to timeframe to avoid clutter.
5. Risk & Display
⦁ SL/TP guides: Optional wick-buffered SL and 1:1/1:2/1:3 TPs.
⦁ Dashboard: Recent high/low, active lookbacks, current session, structure label, and live counts of mitigated OBs/FVGs.
Signals & Visuals
⦁ Bullish Turtle Soup: Triangle up + label (🐢S/M/L/D + star rating).
⦁ Bearish Turtle Soup: Triangle down + label (🐢S/M/L/D + star rating).
⦁ Labels can show: quality stars, FAST/SLOW reversal, reversal & breakout volume tags, previous consecutive count, and last move %.
⦁ Lines/Boxes: OBs, FVGs, OTE zones, SL/TP bands, and optional breakout magnitude line.
Inputs (Key Groups)
⦁ Turtle Soup: Lookbacks (single or S/M/L), reversal bars, wick ratio, magnitude line, reversal speed, volume confirmation (multiplier/length), consecutive tracking.
⦁ Order Blocks: Show/validate structure, lookback, extend-until-touched, mitigation % threshold, colors.
⦁ Fair Value Gaps: Show, min size %, colors, mitigation mode (Touch/50%/Full), optional remove-on-mitigation.
⦁ Kill Zones/Sessions: Enable Asian/London/NY with custom HHMM, colors.
⦁ OTE: Show OTE (61.8–78.6%), color, timeframe-adaptive offsets.
⦁ Signal Filters: Filter by session, time window, market structure method (ADX/MA/ATR/Combined), thresholds (ADX, MA periods, ATR multiplier), trending/ranging allowances, structure label & offset.
⦁ SL/TP: SL buffer %, TP 1:1/1:2/1:3 toggles & colors.
⦁ Breakout Validation: Require breakout-bar volume, min swing age, volume label toggles.
⦁ Alerts: Enable/disable.
⦁ Dashboard: Position, text size, colors, border.
How to Use
1. Markets & Timeframes: Works on FX, crypto, indices, and futures. Start with M5–H1 for intraday and H1–H4 for swing; refine lookbacks per instrument volatility.
2. Core Flow:
⦁ Enable multiple lookbacks for robustness on mixed volatility.
⦁ Turn on validate_swing_significance to avoid micro sweeps.
⦁ Use validate_breakout_volume + use_volume_confirmation to filter weak pokes.
3. Context Choice:
⦁ In ranging environments, allow both sides; in trends, consider counter-trend only at HTF OB/FVG/OTE confluence.
⦁ Narrow to London/NY for higher activity if desired.
4. Entries/Stops/Targets:
⦁ Entry on confirmed label close or at OTE pullback post-signal.
⦁ SL: below/above reversal wick + sl_buffer%.
⦁ TP: scale at 1:1/1:2/1:3 or manage via OB/FVG/structure breaks.
5. Confluence: Prefer Turtle Soup that aligns with OB/FVG zones and Combined structure method for added reliability.
Alerts
⦁ “Bullish Turtle Soup detected” and “Bearish Turtle Soup detected” fire on confirmation.
⦁ Set to Once Per Bar (as coded) or adjust in the alert dialog per your workflow.
Notes & Tips
⦁ Multiple lookbacks (S/M/L) help capture both shallow and deep liquidity sweeps.
⦁ Use market structure label with offset to keep it readable on the right of price.
⦁ Mitigation tracking visually communicates when OB/FVG confluence is no longer valid.
⦁ Dashboard = fast situational awareness; keep it on during live trading.
Limitations & Disclaimer
⦁ This tool is educational and not financial advice. No profitability or win-rate is implied. Markets carry risk; manage position size and test thoroughly.
⦁ Signal quality depends on market regime, spreads, news, and data quality. Backtests/forward-tests may differ.
⦁ Visual objects are capped for performance; old items may auto-clean to keep charts responsive.
Micro fast trendline [sma] Overview
Micro Fast Trendline is an automated trendline drawing tool that connects pivot points in real-time. It dynamically creates trendlines between consecutive pivot highs and pivot lows, extending them forward to visualize potential support and resistance trajectories.
How It Works
Pivot Detection System
The indicator uses a symmetric pivot detection algorithm:
1. Scans for pivot highs: local peaks with lower highs on both left and right sides
2. Scans for pivot lows: local troughs with higher lows on both left and right sides
3. Confirms pivots only after the specified number of right bars have formed
4. Default settings: 5 bars left + 5 bars right (customizable)
Trendline Construction
When a new pivot is detected:
- **For Pivot Highs**: Draws a descending trendline from the previous pivot high to the current one (bearish)
- **For Pivot Lows**: Draws an ascending trendline from the previous pivot low to the current one (bullish)
- Calculates the slope between the two pivots
- Extends the line forward based on that slope for the specified number of bars (default 30)
Line Management System
The indicator includes intelligent line management:
- **Maximum Lines Control**: Limits the number of displayed trendlines (default 4, max 10)
- **Automatic Cleanup**: Removes oldest lines when the maximum is exceeded
- **Extension Expiry**: Deletes lines after they've extended beyond their lifespan
- Uses arrays to track pivot history and associated trendline objects
Key Features
- **Automatic Drawing**: No manual trendline drawing required
- **Real-time Updates**: Creates new trendlines as pivots form
- **Slope-based Extension**: Projects trendlines forward using calculated slope
- **Memory Management**: Automatically cleans up old lines to prevent clutter
- **Dual Tracking**: Separate systems for bullish and bearish trendlines
- **Optional Pivot Markers**: Can display pivot points for validation
Parameters
Pivot Configuration
- **Left Bars** (default 5): Number of bars to the left of the pivot for confirmation
- **Right Bars** (default 5): Number of bars to the right of the pivot for confirmation
- Higher values = fewer but more significant pivots
Visual Configuration
- Show Pivot Points (default off): Display triangles at confirmed pivots
- Bullish Line Color (default dark green): Color for upward trendlines
- Bearish Line Color (default dark red): Color for downward trendlines
- Line Width (default 1): Thickness of trendlines
- Maximum Lines (default 4, range 1-10): Maximum concurrent trendlines
- Line Extension (default 30 bars, range 10-200): Forward projection length
Interpretation
Bullish Trendlines (Green)
- Connect consecutive pivot lows
- Act as dynamic support levels
- Upward slope indicates strengthening uptrend
- Price breaking below suggests weakening support
Bearish Trendlines (Red)
- Connect consecutive pivot highs
- Act as dynamic resistance levels
- Downward slope indicates strengthening downtrend
- Price breaking above suggests weakening resistance
Trading Applications
- **Breakout Trading**: Watch for price breaking extended trendlines
- **Support/Resistance**: Use as dynamic S/R levels
- **Trend Confirmation**: Slope direction confirms trend strength
- **Reversal Signals**: Multiple trendline breaks may indicate reversals
Technical Implementation
This indicator uses:
- Custom type definition (PivotData) to store pivot price, time, and line object
- Array-based data structure for efficient pivot history management
- Dynamic line objects with calculated slope extension
- Automatic memory cleanup to prevent performance degradation
- Separate processing loops for highs and lows to avoid conflicts
Originality Statement
This indicator features a unique approach to automated trendline creation:
- Implements a custom data structure combining pivot data with line objects
- Uses slope-based mathematical projection for realistic line extensions
- Employs an intelligent cleanup system that removes expired lines automatically
- Maintains separate arrays for bullish/bearish trendlines with independent management
- Projects trendlines forward using calculated slope rather than simple horizontal extension
The combination of pivot detection, slope calculation, and automated line lifecycle management creates a hands-free trendline system.
Best Practices
- Lower pivot bar settings (3-5) for faster, more responsive trendlines
- Higher pivot bar settings (7-15) for major swings and longer-term trends
- Adjust line extension based on your trading timeframe
- Reduce maximum lines on lower timeframes to avoid clutter
- Increase maximum lines on higher timeframes for historical context
Works on all timeframes and asset classes. For educational purposes only. Not financial advice.
ICT Levels Breach Scanner (12M Timeframe)Detects and scans for breaches of key Inner Circle Trader (ICT) concepts on the yearly (12M) chart: Swing Lows (3-bar wick pivots), Rejection Blocks (3-bar body pivots), Fair Value Gaps (3-bar inefficiencies), and Volume Imbalances (bullish body gaps ≥0.15%, unmitigated).
Features:
Tracks active levels with arrays for real-time breach detection (price low below any level triggers alert).
Visuals: Blue solid lines (Swing Lows), orange dashed (Rejection Blocks), purple dotted (FVGs), green boxes (VIs)—all extending right.
Red triangle + bgcolor alert on breach bar; built-in alertcondition for notifications.
Optimized for Pine Screener: Filter stocks (e.g., US exchanges) showing symbols where price has traded below these levels on the latest 12M bar.
Usage: Apply to a 12M chart for viz, or add to Screener > Pine tab for multi-symbol scans. Customize gap % or add bearish variants via inputs. Ideal for spotting potential support in long-term trends.
ICT-inspired; test on liquid stocks like AAPL/TSLA. Not financial advice.
DEFECT WARRIORPrecise DEFECT candle detection with visual arrows and labels
Zone context: Demand/Supply (DM/SP) + FVG proximity filter
Optional Fib clustering at 0.617 / 0.500 / 0.242 for refined entries
HTF bias (H4/D1/H12) to reduce counter-trend noise
Clear alerts for BUY/SELL, zone touch, and Fib confirmations
Lightweight, readable visuals for fast decision-making
How to use
Choose your signal timeframe (e.g., M30/H1).
Enable HTF bias (e.g., D1 or H4) to keep setups in trend.
Look for DEFECT signals inside/near zones and at Fib levels.
Plan SL beyond the nearest wick/zone; manage TP with your risk model.
Good for swing and intraday traders who want rule-based entries with zone + Fib confluence and minimal chart clutter
Support and Resistance [Jamshid]📌 Support & Resistance
This indicator automatically identifies high-quality Support and Resistance zones using volume-weighted pivot levels. It visualizes price structure with adaptive volume boxes, breakout & retest signals, higher timeframe confirmation, and optional volume profile.
✅ Core Features
🔹 1. Smart Support & Resistance Zones (Volume-Based)
Detects pivot highs/lows with strong volume.
Boxes expand dynamically using ATR.
Zones display actual volume value.
Color intensity reflects volume strength.
🔹 2. Breakouts & Retests
“Break Sup / Break Res” labels on structure breaks.
Detects when old resistance becomes support (R→S).
Detects when old support becomes resistance (S→R).
Retest labels and diamond markers for holds.
🔹 3. Volume Profile (Optional)
Shows mini horizontal volume bars at each zone.
Separate bullish/bearish volume distribution.
Adjustable rows and lookback.
🔹 4. Higher Timeframe Confluence (Optional)
Check if current S/R aligns with HTF levels:
5m, 15m, 30m, 1H, 4H, Daily
Modes:
✅ Show All + HTF Labels
✅ Filter Only HTF Confirmed Levels
HTF confirmations shown directly on zone labels.
Tolerance setting for price matching.
🔹 5. Breaker Blocks (Failed S/R Reversal Zones)
Identifies bullish/bearish breaker zones.
Highlights breaker blocks on chart.
Optional labels and zone coloring.
🎯 Visual Alerts & Signals
✅ Breakouts (Support & Resistance)
✅ Retests (Hold without breakout)
✅ Role Reversal (R→S and S→R)
✅ Potential Bullish / Bearish Breakers
✅ Diamonds for hold/retest structure
✅ Labels with volume + timeframe confirmations
Every signal also has a built-in alertcondition so you can automate notifications.
⚙️ Customizable Settings
🟢 Main
Lookback period
Volume filter length
Box width multiplier
🎨 Visual
Show or hide labels, diamonds, retest labels
Label size
🟦 Breaker Blocks
Enable/disable breaker blocks
Show zones & labels
Custom colors
📊 Volume Profile
Enable/disable
Rows, lookback length
Bull/Bear color
⏳ Higher Timeframe Filtering
Turn HTF logic on/off
Select which timeframes to compare
Filter mode or label mode
Price matching tolerance (%)
✅ Why this indicator is unique
✔ Combines price structure + volume + HTF confluence
✔ Automatically adapts S/R strength using volume data
✔ Shows role reversal and breaker logic
✔ Smart visual alerts & automation support
✔ Highly customizable for any strategy or timeframe
💡 How to Use
Add the indicator to any chart or timeframe.
Look for high-volume S/R zones (darker colors = stronger).
Watch for:
Breakouts (trend continuation or reversal)
Retests (strong confirmations)
HTF confluence (higher probability)
Breaker blocks (failed level reversal)
Optionally enable alerts for automation or notifications.
******************************************************************
⚠️ Dangers of Trading
1️⃣ You can lose money very fast
Markets move quickly, and leverage makes losses even faster. Even experienced traders go through drawdowns.
2️⃣ Emotional decisions ruin accounts
Fear (selling too early) and greed (holding too long or overtrading) cause most losses. Trading is more psychological than technical.
3️⃣ Overconfidence after small wins
Many traders win at the beginning and believe they “mastered” the market, then take big risks and blow the account.
4️⃣ No system = gambling
If you trade without clear rules and risk management, you’re not trading—you’re gambling.
5️⃣ Market is not fair
Smart money, institutions, HFT algorithms, and stop-hunts exist. Retail traders are often the liquidity for bigger players.
6️⃣ News/Unexpected events
Unpredictable events (CPI, FOMC, war, tweets, etc.) can instantly move the market against your position.
✅ Advice for Safer & Smarter Trading
✅ 1. Protect your capital first
Your number one job is to survive.
Never risk more than 1–2% per trade.
✅ 2. Have a written trading plan
Define:
When to enter
When to exit
How much to risk
What conditions must be present
If your plan is not written, you don’t have a plan.
✅ 3. Use Stop Loss always
No stop loss = account suicide.
Even professional traders are wrong sometimes.
✅ 4. Focus on one strategy (mastery > trying everything)
Jumping from one strategy to another causes confusion. One good strategy with discipline beats five strategies with no consistency.
✅ 5. Trade with the trend and higher timeframe direction
Trading against HTF structure is fighting the market.
✅ 6. Control emotions like a machine
Biggest trader enemies:
Overtrading
Revenge trading
Fear of missing out (FOMO)
When emotions are strong → stop trading.
✅ 7. Be patient (best skill of a trader)
Sometimes the best trade is no trade.
Professional traders wait for high-probability setups.
✅ 8. Backtest and demo before using real money
If it doesn’t make money in backtesting or demo, it won’t magically work live.
✅ 9. Accept losses (they are part of the game)
Even the best traders lose. The key is small losses, big wins.
✅ 10. Keep learning forever
Market changes. What works today may not work tomorrow. Study price action, volume, psychology, risk management.
🧠 Final Truths:
✅ Trading is a business, not easy money
✅ Winning rate doesn’t matter—risk/reward matters
✅ Consistency > luck
✅ Discipline > knowledge
✅ Survival > profit
DM S/RWhat the indicator does
DM S/R dynamically finds and plots horizontal lines that represent key support (green) and resistance (red) areas, based on pivot highs and lows.
Support (lime/green line) → Area where price tends to bounce upward.
Resistance (red line) → Area where price tends to reject or pull back.
These lines update automatically when new pivots form.
Essentially, it helps you visually map the price structure — where buying or selling pressure historically appeared.
ADR - Average Daily Range [KasTrades]This is an Average Daily Range (ADR) indicator.
There are two settings for ADR:
Two Look back period ADR range (e.g. 7 and 14 days)
One Look back period ADR (e.g. 5 days only)
Two day ADR ranges are typically used in equities and index futures whereas one day ADR is typically used in forex.
The opening time by default is 17:00 New York (Eastern) time. The ranges are always calculated from the opening price of the first bar on the respected timeframe.
ADR [KasTrades]This ADR indicator has 2 options: a Range of ADR, such as 7 and 14 which is typically used for indexes, index futures and equities, or a single ADR such as a 5 day which is typically used for forex.
The session start time is 17:00 ET (NY Time) by default, this is adjustable.
You can adjust the ADR days to different ranges such as 5 and 10, or a single ADR day such as 7.
Colors of the ADR high and low are also adjustable.
Uptrick: Volatility Adjusted TrailIntroduction
The "Uptrick: Volatility Adjusted Trail" is a dynamic trailing band indicator. It adapts in real time to changing market conditions by adjusting both to volatility and trend consistency. Inspired by Supertrend-style logic, it enhances traditional approaches by introducing adaptive mechanisms for more context-sensitive behavior in both trending and consolidating environments.
Overview
This indicator combines an exponential moving average (EMA) as its basis with an Average True Range (ATR)-derived multiplier that adjusts dynamically. Unlike fixed-multiplier tools, this indicator modifies its band distances in real time according to volatility expansion and trend persistence. The result is a trailing system that adapts to the prevailing market regime, providing traders with clearer signals for trend bias, stop placement, and potential momentum shifts.
Originality
The script’s originality lies in its multi-layered approach to trail calculation. It introduces a real-time ATR multiplier adjustment driven by two factors: a volatility expansion ratio and a trend persistence model. The expansion ratio compares the current ATR to its moving average, making the indicator more sensitive during volatile conditions and less sensitive during quieter periods. The trend persistence model assesses directional consistency to widen the bands during sustained trends. This dual adjustment method creates a system that evolves with market behavior, making it more responsive and adaptive than static-band or fixed-multiplier alternatives.
Components & Inspiration
This indicator was designed with specific components that work together:
Exponential Moving Average (EMA): Chosen as the central baseline because it responds faster to recent price changes than a simple moving average, providing a more current reference for trailing bands.
Average True Range (ATR): Used as the volatility measure because it accounts for both intraday and gap movement, making it a robust and widely accepted standard for market volatility.
Dynamic Multiplier: The multiplier is adjusted by both volatility expansion and trend persistence to produce bands that tighten during low volatility and widen during consistent trends. This combination was chosen to give the indicator the ability to self-regulate across different market regimes.
Trend Persistence Model: Integrated to assess directional consistency, ensuring the bands expand during strong trends, which can prevent premature stop-outs.
Flip Confirmation Logic: Added to filter out noise by requiring multiple bar closes beyond a band before confirming a state change, reducing false reversals.
For inspiration, the indicator draws on the core idea behind Supertrend—using a baseline and volatility-derived bands to define trailing stop levels. However, while Supertrend uses a fixed ATR multiplier, this indicator introduces a dynamic multiplier system and persistence weighting, making it more adaptive and suited for varying conditions.
Inputs and Parameters
Basis EMA Length
Defines the period for the EMA that serves as the core price reference.
ATR Length
Sets the lookback period for the Average True Range calculation used in band spacing.
Base ATR Mult
The base multiplier applied to ATR before adjustments. Forms the starting scale of the band offset.
Volatility Expansion Sensitivity
Controls how strongly the band spacing reacts to short-term volatility bursts. Higher values create more pronounced band expansions or contractions.
Trend Persistence Window
Determines how many bars are used to calculate directional trend consistency using a smoothed step function.
Persistence Impact
Scales how much influence the trend persistence has on band widening. Values range from 0 (no effect) to 1 (maximum effect).
Min Effective Mult
Sets the minimum value that the adjusted multiplier can reach. Prevents the bands from becoming too narrow.
Max Effective Mult
Sets the maximum value the adjusted multiplier can reach. Prevents the bands from over-expanding during high volatility.
Bars Above/Below to Confirm Flip
Number of consecutive bars required to close above or below the opposing trail before confirming a bullish or bearish flip. Helps reduce noise and false signals.
Show Flip Labels
Enables or disables the display of flip markers on the chart.
Label Size
Allows users to adjust the size of flip labels from Tiny to Huge.
Label ATR Offset
Adjusts the vertical placement of flip labels in relation to the trail using an ATR-based offset.
Features and Logic
EMA Basis: All calculations stem from an EMA that tracks the centerline of price action.
Dynamic ATR Multiplier: The ATR multiplier adjusts in real time based on volatility expansion and trend persistence.
Clamped Multiplier: The adjusted multiplier is limited between user-defined minimum and maximum values to keep the band scale practical.
Upper and Lower Bands: Bands are plotted above and below the EMA using the dynamic multiplier and ATR values.
Trailing Logic: The script uses Supertrend-style trailing logic, updating the active band in the current trend direction and resetting the opposite band.
Trend State Detection: A state variable tracks the current market regime (bullish, bearish, or neutral). Transitions are confirmed only after a user-specified number of bars close beyond the respective bands.
Visual Elements: Trail lines and fill zones are color-coded (bullish cyan, bearish magenta). Candlestick and bar colors match the trend state. Optional flip labels mark confirmed transitions.
Alerts: Built-in alert conditions allow users to receive real-time notifications for bullish or bearish flips.
Usage Guidelines
This indicator can be used for:
Defining context-aware dynamic stop levels that adjust with market behavior.
Identifying trend direction and reversal points based on adaptive logic.
Filtering entry or exit signals during trending vs. consolidating conditions.
Supplementing trade management strategies with responsive visual markers.
Entering long or short positions based on the appearance of flip labels and managing stop losses by following the adaptive trail.
Traders may tune the parameters to suit different trading styles or timeframes. For example, lower ATR and EMA values may suit intraday setups, while longer settings may benefit swing or positional trading.
Summary
The "Uptrick: Volatility Adjusted Trail" provides a flexible, adaptive trailing band system that accounts for both volatility and directional consistency. By combining an EMA baseline with a dynamic ATR multiplier influenced by volatility expansion and trend persistence, it creates a context-sensitive trailing system that aligns with changing market conditions. Customizable confirmation, flip labels, alerts, and dynamic visual cues make it a versatile tool for trend-following, breakout filtering, and trailing stop logic.
Disclaimer
This indicator is provided for educational and research purposes only. It does not constitute financial advice. Trading involves risk, and past performance does not guarantee future results. Always conduct your own analysis and risk management before making trading decisions.
ZZ RangeHappy Trading!
This is a real-time range detection indicator. Based on previous supply and demand levels, it classifies each new bar as Up, Down, or Range.
New supply and demand levels are typically detected within two bars. The indicator can be used as a filter and supports indicator-on-indicator functionality.
Intro
Concept
Usage and Settings Menu
Declaration for TradingView House Rules on Script Publishing
Disclaimer
1. Concept
Based on a variation of the Bilson-Gann Algorithm, this indicator calculates local supply and demand levels and determines whether the current price is:
Between those levels → Ranging
Above → Uptrending
Below → Downtrending
Less significant supply and demand levels are filtered out using a user-adjustable intensity setting.
2. Usage and Settings Menu
There are four settings available:
Indicator Timeframe – Display results from higher timeframes on the lower timeframe chart.
Range Detection Rule – Choose whether a bar must be fully inside supply and demand zones to be considered ranging, or if touching the zone is sufficient.
Bar Structure Basis – Select whether wicks or bodies of bars are used to calculate supply and demand levels.
Rule to set S&D – Choose among three rules defining how often new supply and demand levels are calculated. Each rule adjusts the sensitivity and responsiveness of detection.
Alert Signals Available:
Trend Signal 1 = Uptrend, 0 = Ranging, -1 = Downtrend
last supply Level
last demand Level
3. Declaration for TradingView House Rules on Script Publishing
The unique feature of ZZ Range is its real-time range detection capability.
This script is closed-source and invite-only, to support and compensate for months of development work.
4. Disclaimer
Trading involves risk, and losses can and do occur. This script is intended for informational and educational purposes only. All examples are hypothetical and not financial advice.
Decisions to buy, sell, hold, or trade securities, commodities, or other assets should be based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Use this script at your own risk. It may contain bugs, and I cannot be held responsible for any financial losses resulting from its use.
Cheers!
Options levelsOverview
Options Levels 🎯 plots 13 key institutional and options-based levels directly on your chart — including Call Wall, Put Wall, Gamma Flip, Whales Pivot, five Whale levels, and Sigma deviation bands (σ¹ / σ²).
It’s designed for both intraday and swing traders, offering a clean visual structure with elegant emoji labels, flexible visibility controls, and precise right-edge extensions for each line.
✨ Key Features
Single structured input with 13 ordered levels:
CallWall, PutWall, GammaFlip, Whales Pivot, Whale1..Whale5, Upperσ1, Upperσ2, Lowerσ1, Lowerσ2
Expressive emoji labels (🟢, 🔴, ⚖️, 🌑, 🐋, σ¹/σ²) optimized for dark themes.
Right-edge alignment: each line extends exactly to its label — no infinite lines.
Group visibility toggles:
• Critical Levels → Call Wall, Put Wall, Gamma Flip, Whales Pivot
• Whale Levels → Whale 1–5
• Sigma Bands → Upper/Lower σ¹ and σ²
Dynamic line-length multipliers that emphasize key levels.
Built-in alert conditions:
• Price crossing above the Call Wall
• Price crossing below the Put Wall
⚙️ Inputs & Settings
📋 Level List (string) : comma-separated list of 13 numeric values.
Example:
🎨 Appearance
• Base line length (bars)
• Label visibility toggle
• Line thickness
• Extend line and label to the right
• Distance (bars) between last candle and label
👁️ Visibility Controls
• Toggle Critical, Whale, or Sigma levels independently
🚀 How to Use
Paste your list of 13 ordered levels into the input field.
Adjust base length and thickness according to your timeframe.
Enable “Extend to the right” to position labels neatly beyond the last candle.
Use visibility toggles to focus on specific level groups (e.g., hide Whale Levels for short-term setups).
Optionally enable alerts to track price breakouts above/below Call and Put Walls.
The plotted levels are derived from aggregated options flow data, institutional positioning, and volatility-based deviations (σ). They serve as reference zones rather than predictive signals, helping visualize where liquidity and dealer hedging pressure may cluster.
📖 Level Definitions
Call Wall 🟢 — The strike with the highest call open interest; potential resistance area.
Put Wall 🔴 — The strike with the highest put open interest; potential support area.
Gamma Flip ⚖️ — Level where total gamma exposure changes sign; may reflect a shift in dealer hedging behavior.
Whales Pivot 🌑 — Represents the average institutional positioning from the previous trading day, reflecting where large option flows were most concentrated.
Whale Levels 🐋 — High-premium or large-volume strikes typically linked to institutional activity.
Upper σ¹ / σ² 📈 — One and two standard deviations above spot; potential overextension zones.
Lower σ¹ / σ² 📉 — One and two standard deviations below spot; potential mean-reversion zones.
Levels are manually input by the user. This script is a visual reference, not a predictive model.
⚠️ Notes
Levels are user-provided (not calculated by this script).
The indicator does not issue buy/sell signals or provide performance guarantees.
Designed purely as a visual aid for contextual market reference.
Optimized with barstate.islast for performance (draws only at the latest bar).
Disclaimer:
This indicator is for educational and visual purposes only. It does not generate buy/sell signals or guarantee future results. User-provided levels are meant for contextual reference only.
Developed for traders who rely on market structure and options flow context. Feedback and suggestions are welcome.
Alts Strategy 3.1Alts Strategy 3.1 is a long-term adaptive DCA system designed for spot investment management and portfolio scaling.
It automatically accumulates and averages spot positions during market corrections, using layered Fibonacci supports and adaptive take-profit logic to optimize long-term entry efficiency.
This strategy is built for investors and swing traders who prefer gradual accumulation over frequent trading.
Instead of short-term entries and exits, it focuses on adding to positions at statistically favorable levels and reducing exposure near major resistance zones.
Its adaptive nature allows users to simulate real investment behavior — buying lower, holding through volatility, and exiting strategically once recovery targets are reached.
The core of the strategy is based on dynamic Fibonacci-derived support zones that react to historical price structures.
When price approaches these zones, Alts Strategy 3.1 initiates or averages entries following cooldown rules and bear-cycle filters.
The built-in bear-market filter recognizes historical cycle patterns (based on Bitcoin halving timelines) and temporarily blocks new entries during high-risk macro phases.
Once the market exits a bear regime, the system reactivates, continuing long-term accumulation.
The adaptive take-profit module adjusts target multipliers depending on recovery depth — distinguishing between “normal recovery” and “deep recovery” cycles.
This approach helps maximize profit during sustainable uptrends while keeping long-term exposure moderate.
All logic is handled internally without repainting, allowing accurate and consistent backtesting.
Alts Strategy 3.1 is intended mainly for long-term investors, portfolio rebalancers, and spot market participants who use DCA (Dollar-Cost Averaging) logic to accumulate assets over time.
It can be used to test different investment horizons, cooldown periods, and adaptive TP configurations directly in the Strategy Tester.
Because it operates on real price action without leverage logic, it is ideal for simulating spot accumulation strategies and macro investment cycles.
This tool is provided for educational and analytical purposes only.
It is not financial advice or a trading signal system.






















