DRT - Dynamic Range Indicator [TraderVlad]Dynamic Range Theory (DRT) Indicator
Decode Market Structure with Precision
Overview
Welcome to the Dynamic Range Theory (DRT), a revolutionary approach to price action analysis that transforms market chaos into a structured, actionable roadmap.
Say goodbye to confusing candlestick patterns and hello to a visually intuitive system that highlights range expansion , volume compression , and volatility squeezes .
The DRT Indicator empowers traders to anticipate breakouts, spot stealth accumulation, and ride momentum.
DRT structures price action into four key constructs:
Main Ranges: Bold candles igniting market momentum.
Inside Range Candles: Gray candles signaling consolidation within a range.
Inside Candles Below Average Volume: Pink candles marking silent accumulation.
Tight Closes: Vibrant markers of volatility contraction, priming explosive moves.
This indicator is your lens to decode the market’s hidden rhythm, making complex price action simple and tradable.
How It Works
The DRT Indicator visually organizes price action with color-coded candles and customizable settings:
Main Ranges (Blue): Identifies breakout candles that set the market’s structural foundation, displayed as blue.
Inside Range Candles (Gray): Highlights candles with closes within the Main Range, signaling momentum consolidation. Perfect for spotting setups in the simplified DRT Inside Ranges variant, where ranges with a main candle plus gray candles are marked.
Inside Candles Below Average Volume: Flags candles within the Main Range with volume below a 50-period SMA, indicating volume compression—a sign of stealth positioning by smart money.
Tight Closes (Pink): Marks non-main candles with ranges less than 60% of the 14-period ATR, highlighting volatility squeezes ready to erupt.
Grafik Paternleri
PRO SMC Full Suite BY Mashrur“PRO SMC Full Suite BY Mashrur”
A Pine Script (v5) indicator for TradingView, focused on Smart Money Concepts (SMC). It overlays on price charts and provides visual tools for identifying key institutional trading behaviors.
🎯 Purpose
This script is designed to help traders analyze and trade using SMC principles by automatically detecting:
Order Blocks (OBs)
Fair Value Gaps (FVGs)
Breaks of Structure (BoS)
Liquidity Sweeps (Buy/Sell Side Liquidity Grabs)
Mitigation Entries
⚙️ Inputs / Settings
Show Fair Value Gaps: Toggle FVGs on/off
Higher Timeframe (HTF): Choose HTF for OB analysis
Use HTF OBs: Switch between current TF OBs and HTF OBs
Show Order Blocks: Toggle OBs on/off
Show OB Mitigation Entries: Toggle mitigation entry signals on/off
🧠 Core Logic Overview
🔹 1. Swing Points Detection
Identifies swing highs/lows using a 3-bar pattern (pivot-based structure).
🔹 2. Break of Structure (BoS)
A bullish BoS happens when price closes above the last swing high.
A bearish BoS occurs when price closes below the last swing low.
🔹 3. Order Block Detection
Upon BoS, the script marks the previous candle as the Order Block.
Uses either:
Current TF OBs (based on price action)
HTF OBs (based on candle body direction)
🔹 4. Mitigation Entry Logic
A mitigation occurs when price returns to the OB and reacts with confirmation:
Bullish: price dips into OB and closes above
Bearish: price wicks into OB and closes below
Plots entry markers for these mitigations.
🔹 5. Liquidity Sweeps
Detects equal highs/lows (liquidity zones)
Marks Buy SL when price dips below an equal low then closes above
Marks Sell SL when price breaks above an equal high then closes below
🔹 6. Fair Value Gaps (FVGs)
FVG Up: Gap between candle 3 and candle 1 (low > high )
FVG Down: Gap between candle 3 and candle 1 (high < low )
Plots highlighted boxes on these gaps
📊 Visual Elements
Boxes: For OB zones and FVGs
Shapes:
Labels: OB Buy/Sell entries
Triangles: Buy SL / Sell SL liquidity sweeps
Lines: Equal Highs and Lows
🔔 Alerts
Built-in alerts to notify when:
OB entries are confirmed
Liquidity sweeps happen
Helps in automation or active monitoring
✅ Ideal For
Traders using SMC, ICT concepts, Wyckoff, or institutional trading models
Anyone wanting to automate detection of structural elements on their chart
Planting & Harvesting SeasonsHello all,
as a commodity trader, I use a lot of seasonal patterns in my analysis. Some time ago, I came up with the idea to develop a simple script that visually overlays the typical planting and harvesting periods for key agricultural futures directly on the chart.
This script automatically detects the underlying commodity based on the symbol (e.g. ZC, ZW, ZS, CT) and displays color-coded zones for each seasonal window. These zones are based on historical crop calendars and help identify when planting or harvesting typically takes place. The goal is to better align technical setups with fundamental seasonal factors.
This is a basic version and meant as a visual aid — not a trading signal in itself.
Hope you enjoy it and any feedback is highly appreciated!
SAR Pullback By TradingConTotoName & Version
SAR Pullback UX Improved (Pine Script v5)
Core Logic
Calculates two EMAs (fast and slow) to identify overall trend direction.
Uses the Parabolic SAR to detect “flip” points (when SAR crosses price), marking micro-trend reversals.
Micro-Trend Extremes
Tracks the highest high after a bullish flip (SAR below price) and the lowest low after a bearish flip (SAR above price).
These extremes feed into the stop-loss approximation.
Approximate Stop-Loss (“SL aprox”)
If SAR is below price (bullish), SL ≔ (micro-trend high − current SAR).
If SAR is above price (bearish), SL ≔ (current SAR − micro-trend low).
Leverage Calculation
User-defined “UR in USD” input.
Computes leverage as UR ÷ SL, giving you an estimate of position sizing potential.
On-Chart Signals
BUY label at each bullish flip, with SL and leverage printed.
SELL label at each bearish flip, likewise showing SL and leverage.
Customizable UI
Inputs to toggle display of SL, leverage, or both.
Choose your UR value, panel background/text colors, and BUY/SELL label colors.
Panel position fixed at top-right by default, showing a 2×3 table:
Header row (“Metric” / “Value”)
“SL aprox” row
“Leverage” row
Visuals
Plots the slow EMA colored by trend.
Draws SAR as crosses.
Bar colors shade green/red according to bullish/bearish conditions.
Semi-transparent, styled panel for quick glance of key metrics.
This indicator combines trend filtering, automated stop-loss sizing, and leverage guidance into a single, fully-configurable Pine Script tool—giving you clear on-chart signals plus a neat metrics panel for streamlined decision-making.
Correction Candle CounterIndicator that identifies “correction” candles using the classic 3-1-3 pattern, highlights them with customizable colors and arrow markers, and tallies occurrences across all data, a selected year, or any defined month range. Flexible styling and date-filter options make it ideal for quick, focused analysis.
Volume Aggression Monitor📌 Volume Aggression Monitor — Overview
This indicator helps identify buying and selling pressure (aggression) in real-time by analyzing how market participants are executing trades. It is composed of three main components:
🔍 What Does It Show?
🧭 1. The Thermometer (Above Candles)
🟢 Green Arrow (▲) → Buy Aggression: Buyers are lifting the ask.
🔴 Red Arrow (▼) → Sell Aggression: Sellers are hitting the bid.
⚪ Gray Square (■) → Neutral: No significant price movement or aggression.
💡 Neutral in this context means:
The price barely moved during the candle (open-close % change < direction_threshold, default 0.05%).
No clear buyer or seller dominance. It often appears during low volatility, equilibrium, or market indecision periods. This prevents noise and false directional readings due to random micro-movements.
📊 2. Percentage Panel
A table displaying recent trades or candle data (from a lower timeframe). Colored arrows indicate the direction of aggression (buy/sell). Shows volume, delta, and aggression %.
✅ Use it to:
Track clusters of buy/sell aggression. Spot momentum builds.
⏱️ 3. Cumulative Times & Sales Bar
A horizontal progress bar representing cumulative aggression.
Positive = Buy Aggression dominates.
Negative = Sell Aggression dominates.
📉 Even in sideways price movement, this bar shows who is winning the fight under the surface.
---
🧠 How to Use It:
🔹 Confirm Trades
Use the thermometer and aggression signals to confirm your strategy entries (e.g., breakouts, pullbacks, support/resistance).
🔹 Detect Dominance
Observe who is in control: buyers or sellers? Are they pressing or hesitating?
🔹 Filter Market Noise
The neutral state avoids misinterpreting small, meaningless movements as strong signals.
---
Component | Meaning
🌡️ Thermometer (▲ ▼ ■) | Who’s in control in each candle
📊 Percentage Panel | Trade details: direction, delta, aggression
📈 Cumulative T&S Bar | Overall aggression bias over time
---
Vacuum Candles [XrayAlgo]The Vacuum Candles indicator helps traders identify inefficient price movements—where the price moves significantly but lacks sufficient volume to support it. These inefficiencies may signal weak trends, potential reversals, or false breakouts/breakdowns.
Inefficient candles are visually marked with a darker / black body to indicate when the price movement is disproportionate to the volume.
1. Spotting Potential Reversals
When the indicator marks an inefficient candle, it signals that the price movement may be unsustainable.
In an uptrend: A inefficient bullish candle suggests that the uptrend is losing momentum, potentially leading to a downward reversal.
In a downtrend: A inefficient bearish candle signals that the downtrend may be weakening, with a potential bullish reversal.
2. Identifying Breakout and Breakdown Failures
This indicator is useful for recognizing false breakouts or false breakdowns.
If price breaks resistance but the candle is inefficient, the breakout may be weak and could fail quickly.
If price breaks support with an inefficient bearish candle, the breakdown could be a false signal, with price reverting back above support.
3. Recognizing Weak Trends
Inefficient candles help you spot when a trend is losing strength and could soon reverse or consolidate.
In an uptrend: A series of dark body bullish candles suggests that the uptrend may be weakening, signaling a potential correction or trend reversal.
In a downtrend: A series of dark body bearish candles suggests that the selling pressure is weakening, indicating a potential bullish reversal.
4. Fine-Tuning Entries and Exits
Inefficient candles offer an opportunity to fine-tune your entries and exits based on weak price moves.
Entering a trade: An inefficient candle near key support or resistance can indicate a reversal, making it a good entry point for a counter-trend position.
Exiting a trade: If you're already in a trend, and an inefficient candle appears, it suggests the trend is losing strength, indicating it may be a good time to exit before a potential reversal.
5. Fine-Tuning with Inputs
The Vacuum Candles indicator includes two key inputs:
Length: The number of candles used to calculate the average price movement and volume. A longer length (e.g., 20-30) smooths out the inefficiencies, while a shorter length (e.g., 10-15) makes the indicator more sensitive to recent price moves.
Multiplier: Controls the threshold for what is considered an inefficient candle:
A higher Multiplier (e.g., 1.5–3) filters out smaller inefficiencies and focuses on large discrepancies.
A lower Multiplier (e.g., 0.1–0.9) captures even smaller inefficiencies in highly efficient markets.
TDO & Hit Rates by Weekday (5 min)Purpose
Tracks how often the next NY session “hits” the previous day’s True Day Open (TDO) level, separately for sessions that open above vs. below TDO, and breaks the statistics down by weekday (Mon–Fri) plus an overall summary.
Key Features
True Day Open (TDO) Plot
Captures the prior day’s 23:00 CT close price as the TDO.
Plots it as a continuous yellow line across your chart.
Session Labeling
At the end of each NY session (08:30–15:00 CT), places a small “TDO” label at the TDO price to confirm visually where it lay during that day.
Hit‑Count Logic
For each 5 min bar in the NY session, checks if the bar’s high ≥ TDO ≥ low (i.e. the TDO level was “hit”).
Classifies each session by whether its opening price (first 5 min bar) was above or below the TDO.
Weekday Statistics Table
Displays in the bottom‑left of your main chart window.
Rows: Header, Mon, Tue, Wed, Thu, Fri, All.
Columns:
% Hit Above: % of “above‑TDO” sessions that saw at least one hit
% Hit Below: % of “below‑TDO” sessions that saw at least one hit
Automatically updates in real time as new sessions complete.
Inputs & Settings
Data Resolution: Default = 5 min; use any intraday timeframe you like (1, 3, 15 min, etc.).
Extended Hours: Make sure your chart’s Extended Session (overnight) is enabled so the 23:00 CT bar exists.
Overlay: Draws directly on your price chart (no separate pane).
How to Use
Add to Chart: Paste the Pine v5 code into TradingView’s editor and apply to your ES (or other) futures chart.
Enable Overnight Bars: In Chart Settings → Symbol/Session → include Extended Hours.
Select Timeframe: Set the chart (or the indicator’s “Data Resolution” input) to 5 min (or your preferred intraday).
Read the Table:
Each weekday row shows how reliable TDO touches have been historically, separately for “above” and “below” opens.
The bottom “All” row summarizes combined performance.
What You Learn
Edge Analysis: Do sessions opening above TDO tend to test that level more often than those opening below (or vice versa)?
Day‑of‑Week Bias: Are certain weekdays more prone to TDO retests?
Overall Confidence: The “All” row lets you see your full-sample hit‑rate on both sides.
Zen MIG Reversal V1**Zen MIG Reversal V1**
Zen MIG Reversal is a pattern-based indicator that highlights rare reversal setups.
It’s designed to support traders in visually identifying potential turning points, especially following strong momentum or gap-style moves.
**How it works:**
- **Bullish Reversal:**
Detects 3 consecutive bullish candles. The third bar must have a low above the high of the first bar and below the 20 EMA. When this occurs, a light blue box is drawn across the 3-bar range, from high to the current bar’s low. A blue arrow appears below the prior bar.
- **Bearish Reversal:**
Detects 3 consecutive bearish candles. The third bar must have a high below the low of the first bar and above the 20 EMA. A light red box is drawn from low to the current bar’s high. A red arrow appears above the prior bar.
- Optional settings allow you to:
- Show or hide the EMA line
- Toggle the arrows
- Adjust smoothing settings for context
**Purpose:**
It’s best used for discretionary analysis, journaling, or studying price behavior in momentum-driven environments.
**Disclaimer:**
This script is for educational and informational purposes only. It does not provide financial advice or trade recommendations. Always backtest and use proper risk management before applying any indicator to live trading.
Ultimate Gann Fan Suite with Multi-ArcsUltimate Gann Fan Suite with Multi-Arcs
This open-source indicator plots Gann Fan angles, arcs, and levels to analyze price and time relationships based on a user-selected pivot point.
What It Does:
- Draws Gann Fan angles (1x16 to 16x1) from a pivot, with optional mirrored lines.
- Plots a base Gann arc and multi-arcs scaled by Gann ratios.
- Displays a Square of 9 grid and Gann Square levels for price projections.
- Supports custom timeframes and price types for pivot selection.
How to Use:
- Pivot: Enable manual pivot picking and select a price type (e.g., Close, High).
- Timeframe: Choose a timeframe (e.g., Daily) for pivot data.
- Angles and Arcs: Show/hide specific Gann angles, arcs, or levels; adjust colors and line styles.
- Scaling: Set price scale (e.g., 9.0) and arc radius (e.g., 36) for visual clarity.
- Labels: Enable labels to identify angles and levels.
- Best for stocks, forex, or crypto on daily or weekly charts.
Notes:
- Ensure enough chart history for the selected timeframe.
- Use on assets with clear trends or cycles for best results.
- Adjust settings to balance chart readability.
Semaphore📌 Indicator Description: Semaphore
The Semaphore indicator plots three key moving averages on the current asset's price, allowing users to select between SMA (Simple Moving Average) or EMA (Exponential Moving Average), and to choose whether the calculation should be based on the daily timeframe or the current chart timeframe.
🔧 Customizable Parameters:
Moving average type: SMA or EMA.
Data source: Daily timeframe or current chart timeframe.
Fixed lengths: 10 (short-term), 21 (medium-term), and 50 (long-term).
🎯 What does it do?
Calculates and plots the three selected moving averages.
Automatically adapts to the chosen timeframe (e.g., display daily averages on a 1h chart).
Color-coded lines for easy visual distinction:
🔵 Blue for the 10-period MA
🟡 Yellow for the 21-period MA
🔴 Red for the 50-period MA
🌟 Benefits and Advantages:
Timeframe flexibility: Follow higher timeframe trends (daily) while trading on lower timeframes.
Clean and quick visual reference: With just three colored lines, you get a clear view of short, medium, and long-term trends.
Perfect for “traffic light” strategies: For example, all MAs aligned in one direction can indicate strong trend confirmation.
Universal use: Works seamlessly with any asset — stocks, crypto, forex, indices, and more.
Trading Session Highs and LowsTrading Session Highs and Lows
This script provides an intuitive way to visualize key market levels from major trading sessions: Asia, London, New York, and New York Close. By automatically plotting the high and low of each session, it helps traders quickly identify important price levels that could impact market behavior.
Features include:
Session Marking: The script marks the high and low for each major session (Asia, London, New York, and New York Close).
Customizable Lines and Labels: You can adjust the line style, width, and color for each session’s high/low markers. The session name (e.g., "London", "New York") and the PDH/PDL (Prior Day High and Low) are also shown to give clear context.
Real-Time Updates: The levels are updated in real-time to reflect the current price action, helping you gauge price movement throughout the trading day.
Customizable Indicators: Easily adjust the visibility of the different sessions and the labels to focus on the session that matters most to your trading strategy.
This tool is designed to help day traders spot important levels for potential breakouts or reversals, making it easier to base your trading decisions on well-established price points. Ideal for scalpers, swing traders, and anyone who trades across multiple sessions.
((Range||Type||Swing))Consecutive Candle range boxes with gradient and number count. Inside Outside and Engulfing color bars plus plots. Strict swing filter plus bonus filter where the 3rd bar in the swing closes below the swing candles high or low respectfully.
How I Use
I use the candle stick patterns to gauge market conditions, the consecutive candle ranges to follow order flow using a closing break of the range and retest and the filtered swings to assist in identifying stronger. If any one wants to create a strategy around this that would be cool i know nothing of coding and do everything with A.I
turns
JOYZONE.04JOYZONE signal for TradingView
The JOYZONE Breakout Indicator is a sophisticated tool designed for traders seeking to identify potential trend reversals and breakouts in financial markets. Built for TradingView’s Pine Script v6, this indicator leverages pivot points to detect significant price levels, offering a clear visual representation of bullish and bearish market shifts. By focusing on key price action patterns, it aims to provide traders with actionable insights for both trend-following and reversal strategies.
Core Functionality
The JOYZONE Breakout Indicator identifies critical pivot highs and lows using a fixed 5-period lookback, which simplifies the detection of potential reversal zones without requiring user adjustments. These pivot points are used to establish "JOYZONE" levels—price thresholds that, when broken with confirmation, signal a change in market trend. The indicator employs a robust confirmation mechanism within fixed bar window, reducing false signals and enhancing reliability.
Upon detecting a breakout, the indicator plots horizontal lines at the JOYZONE levels, extending until a new signal emerges or the trend shifts. Labels accompany these lines, marking bullish (+JOYZONE) and bearish (-JOYZONE) breakouts with customizable colors (default: green for bullish, red for bearish) and sizes (tiny to large). This visual clarity helps traders quickly assess market direction and key price levels.
Key Features
Simplified Inputs: The indicator minimizes user configuration by hardcoding critical parameters like the fixed-period directional detection system. Traders can toggle JOYZONE level visibility, adjust label sizes, and customize colors, ensuring flexibility without overwhelming complexity.
Efficient Signal Management: With a default cap of 86 signals, the indicator prevents chart clutter by automatically removing older lines and labels when the limit is exceeded. This feature is particularly useful for long-term chart analysis.
Dynamic Alerts: The script includes alert triggers for bullish and bearish JOYZONE breakouts, delivering real-time notifications with price details. This enables traders to act swiftly on confirmed signals, whether trading manually or integrating with automated systems.
ATR-Based Label Positioning: Labels are offset using the 50-period Average True Range (ATR), ensuring they remain visible and uncluttered regardless of market volatility.
How It Works
The indicator tracks pivot highs and lows to establish JOYZONE levels during uptrends (bearish levels) and downtrends (bullish levels). When the price crosses a JOYZONE level and satisfies the confirmation criteria, the trend updates, and a breakout signal is plotted. For example, a bullish JOYZONE breakout occurs when the price crosses above a pivot high during a downtrend, confirmed by a close above the threshold. The script then draws a green line and a “+JOYZONE” label, alerting the trader to a potential uptrend.
Use Cases
This indicator is versatile, catering to various trading styles:
Swing Traders: Use JOYZONE breakouts to enter trades at the onset of new trends, with clear entry and stop-loss levels based on plotted lines.
Day Traders: Leverage real-time alerts to capitalize on intraday reversals in volatile markets.
Position Traders: Monitor higher timeframes to identify long-term trend shifts with high-probability setups.
Customization and Performance
Traders can adjust the visibility of JOYZONE levels, label sizes, and colors to suit their chart preferences. The hardcoded 5-period lookback and 0.015% confirmation ensure consistency across assets, but users may need to test performance on specific markets (e.g., forex, stocks, crypto) to align with their strategies. The indicator’s reliance on ATR for label placement adapts to varying volatility, making it effective across different instruments.
Limitations and Considerations
While the JOYZONE Breakout Indicator excels in trending markets, it may produce delayed signals in choppy or sideways conditions due to its confirmation mechanism. Traders should combine it with other tools, such as moving averages or volume indicators, to filter signals. Additionally, the fixed period may not suit all timeframes, so testing on historical data is recommended.
Conclusion
The JOYZONE Breakout Indicator offers a streamlined, visually intuitive approach to detecting trend reversals and breakouts. Its automated signal management, dynamic alerts, and customizable display make it a valuable addition to any trader’s toolkit. By focusing on confirmed price action, it empowers traders to make informed decisions with confidence. Whether you’re a novice or seasoned trader, this indicator provides a reliable framework for navigating dynamic markets.
Disclaimer: This code does not guarantee of profit/return, please analyze with other factors, it is shared only for knowledge and educational purpose.
US30 Smart Money 5M/4H Strategy🧠 How It Works
✅ 1. 4H Trend Bias Detection
Uses the 4-hour chart (internally) to determine if the market is in an uptrend or downtrend.
Background turns green for bullish trend, red for bearish trend.
This helps filter trades — only take longs during uptrend, shorts during downtrend.
✅ 2. Liquidity Sweeps (Stop Hunts) on 5M
Highlights candles that break previous highs/lows and then reverse (typical of institutional stop raids).
Draws a shaded red box above sweep-high candles and green box under sweep-lows.
These indicate key reversal zones.
✅ 3. Order Block Zones
Detects bullish/bearish engulfing patterns after liquidity sweeps.
Draws a supply or demand zone box extending forward.
These zones show where institutions likely placed large orders.
✅ 4. FVG Midpoint from 30-Min Chart
Detects Fair Value Gaps (imbalances) on the 30-minute chart.
Plots a line at the midpoint of the gap (EQ level), which is often revisited for entries or rejections.
✅ 5. Buy/Sell Signals (Non-Repainting)
Buy = 4H uptrend + 5M liquidity sweep low + bullish engulfing candle.
Sell = 4H downtrend + 5M liquidity sweep high + bearish engulfing.
Prints green “BUY” or red “SELL” label on the chart — these do not repaint.
📈 How to Use It
Wait for trend bias — only take trades in the direction of the 4H trend.
Watch for liquidity sweep boxes — these hint a stop hunt just occurred.
Look for a signal label (BUY/SELL) — confirms entry criteria.
Use FVG EQ lines & Order Block zones as confluence or targets.
Take trades after NY open (9:30 AM EST) for best momentum.
Trader Affirmation Stream – Animated + Styling(TraderKessy)The Trader Affirmation Stream is a minimalist overlay indicator designed to keep you focused, motivated, and mentally sharp during your trading sessions. It displays a rotating series of positive trading affirmations—gently animated with a fading effect—right on your chart to help reinforce discipline, patience, and consistency.
Key Features:
Sequential Affirmations
A curated list of motivational trading affirmations that update every N bars, helping you stay grounded and intentional throughout your trading day.
Smooth Fade Animation
Subtle pulse-like fade-in and fade-out transitions give the affirmations a calm, professional feel without disrupting your analysis.
Custom Styling Options
Choose your preferred text size (small, normal, large, or huge) and set the base transparency to match your chart's aesthetic.
Clean Chart Placement
Displayed at the top center of your chart for maximum visibility without interfering with price action or indicators.
Why Use This?
Trading isn’t just technical—it’s deeply psychological. This tool acts like a gentle mental coach, reminding you of your best trading behaviors:
Follow your plan.
Wait for quality setups.
Focus on process, not outcome.
Trust your edge.
A simple, powerful tool to help you develop the mindset of a consistently profitable trader.
London ORB + Session High/Low + FVGLondon ORB + Session High/Low + FVG
📘 Script Description: London ORB + Session High/Low + Fair Value Gap
This script is designed to assist intraday traders during the London session open by combining:
🕒 1. Opening Range Breakout (ORB)
Captures the high and low of the first 15-minute candle after the London open (08:00–08:15 GMT).
Draws lines and labels for the ORB High and Low levels.
Detects breakouts above or below the ORB and plots a triangle signal at the breakout bar.
🌐 2. Asian & US Session Levels
Automatically marks the highs and lows of the Asian (00:00–06:00 GMT) and US (13:30–20:00 GMT) sessions.
Useful for identifying prior session liquidity zones, key support/resistance levels, and potential reaction areas.
📉 3. Fair Value Gaps (FVG)
Highlights imbalances in price action between non-overlapping candles (also known as FVGs or inefficiencies).
Draws a shaded box between candles where gaps exist:
Green for bullish FVGs
Red for bearish FVGs
🔔 4. Alert Support
Optional alerts are built in for:
Long breakout (price breaks above ORB)
Short breakout (price breaks below ORB)
🎯 Use Case
Perfect for:
Day traders looking to capitalize on early volatility at the London open
Traders using liquidity-based strategies, retests, or gap-fills
Visualizing and aligning with prior session highs/lows for structure and context
Impulse Volume Oscillator [Alpha Extract]Impulse Volume Oscillator
A sophisticated indicator designed to identify market impulse moves and volume-based momentum shifts, helping traders capture significant price movements with precision.
Combining price deviations with volume analysis, this oscillator dynamically measures market strength and weakness, providing clear signals for potential trend continuations and reversals.
🔶 Volume-Adjusted Normalization
Utilizes a unique normalization technique that incorporates volume impact to enhance signal quality. This approach ensures the indicator responds more strongly to high-volume price movements while filtering out low-volume noise.
vol_ratio = ta.rsi(volume, 14) / 50
vol_factor = vol_impact > 0 ? 1 + (vol_ratio - 1) * vol_impact : 1
raw_normalized = dev / (ta.stdev(source, bars) * mult)
vol_adjusted = raw_normalized * vol_factor
normalized = ta.sma(vol_adjusted, smooth)
🔶 Adaptive Regime Detection
Incorporates threshold-based regime identification that clearly distinguishes between trending and mean-reverting market conditions. The customizable threshold system allows traders to adapt to different market volatilities and timeframes.
🔶 Customizable Parameters
Fine-tune detection sensitivity with adjustable inputs for lookback period, standard deviation multiplier, volume impact, and signal smoothing. These parameters enable traders to optimize the indicator for various trading styles and market conditions.
❓How It Works
🔶 Impulse Calculation
The oscillator measures price deviation from a moving average baseline, normalized by standard deviation, and then adjusts the signal based on relative volume strength. This creates a responsive yet stable indicator that accurately reflects market momentum.
// Calculate the basis using the selected MA
basis = get_ma(source, bars)
// Calculate the normalized value with volume impact
dev = source - basis
🔶 Dynamic Visualization
The histogram changes color based on signal strength, providing instant visual cues about market conditions. Green bars indicate positive momentum while red bars represent negative momentum, with color intensity reflecting signal strength.
🔶 Trend Confirmation
Built-in trend direction analysis provides confluence with the primary signal, helping traders distinguish between counter-trend bounces and genuine trend reversals. This dual-confirmation approach significantly reduces false signals.
🔶 Visual Alerts & Boundary Tracking
Monitors signal extremes and dynamically adjusts visualization transparency based on signal strength. The indicator highlights particularly strong impulse moves with background shading, making potential trading opportunities immediately apparent.
🔶 Custom Candle Coloring
Optional candle coloring applies the same color logic as the histogram directly to price candles, providing a unified visual framework that helps traders correlate indicator signals with price action.
🔶 Momentum Shift Detection
Automatically identifies important zero-line crossovers that often signify the beginning of new impulse moves. These transition points frequently offer favorable risk/reward entry opportunities.
🔶 Snapshot samples
1 Week
1 Day
15 Min
🔶 Why Choose AE - Impulse Volume Oscillator?
This indicator provides a comprehensive approach to identifying significant market moves by combining volume analysis with price momentum. By offering clear visual signals for both trend continuation and reversal scenarios, it empowers traders to make more informed decisions across various market conditions and timeframes.
Open - CSC Bars - 33 CSC Bars – Early Session Price Action Filter
This script detects when the first three bars of the RTH (Regular Trading Hours) session all move in the same direction — either all bullish or all bearish.
It’s a tool for price action traders who want to develop structured opening strategies by observing clean directional agreement at the session start. The indicator highlights the third bar when the sequence confirms directional bias.
🔍 How It Works:
Monitors the first three bars after the RTH session begins.
If all three bars are bullish, it highlights the third bar (same for bearish sequences).
No projections, signals, or entries—purely a visual tool to observe and study opening behavior.
🎯 Use Case:
This script is designed to help traders build and test opening-based frameworks by identifying potential trend bias early in the day.
Note: This is an open-source utility script with a simple function. It does not generate signals or predictions and is intended to assist with observation and discretionary strategy building.
Day of Week and HTF Period SeparatorThis indicator displays vertical lines to separate each day of the week, along with optional 1H and 4H period separators. It also shows day-of-week labels (MON, TUE, etc.) at a specified hour for quick visual reference. Useful for intraday traders who want a clear view of daily and higher timeframe transitions.
Chan Theory - Chanlun UltraChan Theory -Chanlun Ultra
Overview
This script is based on the core technical framework of Chan Theory, transforming complex market fluctuations into a multi-layered, quantifiable structural analysis system. Through real-time dynamic computation, it automatically parses key components in price movements such as fractals, pens, segments, and pivot zones. Integrated with momentum analysis and trading signal alerts, it provides traders with comprehensive market insights from micro to macro perspectives. The core distinction of Chan Theory from traditional technical indicators lies in its rigorous recursive logic and human-centric market philosophy. This script faithfully restores Chan Theory's essence of "using Zen to resolve market complexity," decomposing spiral price movements into an orderly trading decision system.
Technical Principles
This indicator implements the complete recognition process from candlesticks to fractals, pens, segments, and pivot zones using pure Pine Script under Chan Theory's framework. Core technical implementations include:
1. Candlestick Containment Processing
Employs specific algorithms to handle candlestick containment relationships, eliminating random noise:
In uptrends: Select the higher high and higher low values
In downtrends: Select the lower high and lower low values
Ensure complete elimination of containment through recursive processing
2. Fractal Identification System
Performs strict fractal judgment on processed candlesticks:
Top Fractal: The middle candlestick's high is higher than both adjacent candlesticks
Bottom Fractal: The middle candlestick's low is lower than both adjacent candlesticks
Validate fractal effectiveness via the filterOperateType function
3. Pen Construction Mechanism & Type Selection
Connects valid top/bottom fractals to form pen structures, offering four pen types:
Classic Pen: Traditional Chan Theory definition, strictly following classic rules
Optimized Pen: Enhanced algorithm for short-term volatility recognition
4K Pen: Builds pens based on fractals formed by at least 4 candlesticks (improves stability)
Strict Pen: Employs the most stringent validation conditions for reliability
4. Segment Partitioning Algorithm
Applies segment rules to pen sequences with three modes:
- Dynamic Real-time Progressive Correction: Adjusts forming segments continuously with new data
- Strict Mode: Fully complies with Chan Theory definitions
- Extension Mode: Flexible handling of trend developments
5. Pivot Zone Recognition Technology
Identifies pen-level and segment-level pivot zones
Calculates pivot zone price ranges and time durations
Analyzes pivot zone evolution characteristics
Supports display of pivot zones across different levels
Trading Signal System & Filters
Trading Signal Filtering System
This indicator provides comprehensive filtering functions:
Fractal Validity Filter: Verifies fractal patterns and post-fractal developments
Basic Fractal Filter: Eliminates non-compliant fractals through basic feature checks
Type I MACD Divergence Filter: Enhances Type I signal reliability via MACD divergence analysis
Type II Signal Filter: Custom conditions for Type II signals
-False Signal Trap Avoidance: Detects and bypasses deceptive price patterns
Chan Theory Trading Signal Principles
Type I Signals (Trend Reversals)
Principle: Forms when price makes new highs/lows with weakening internal momentum (divergence)
Identification: Compares structural features of adjacent same-direction pens
Application: Early trend reversal signals for swing trading
Type II Signals (Pullback Entries)
Principle: Occurs during retracements as sub-level reversal signals
Identification: Determined by pivot zone support/resistance and fractal combinations
Application: Optimal positions for pullback trades with controlled risk
Type III Signals (Breakout Confirmations)
Principle: Confirms pivot zone breakouts
Identification: Price breaks prior pivot zone boundaries with valid fractals
Application: Trend continuation signals for trend-following strategies
Indicator Features
Multi-Level Structural Analysis
Distinguishes structures across levels via level parameters
Higher-level trends guide lower-level operations
Implements cross-level collaborative logic
Displays sub-level pivot zones
Structural Visualization
Pens: Displayed per selected pen type
Segments: Rendered according to chosen segment mode
Pivot Zones: Color gradients indicate consolidation strength
Technical Implementation
Data Structure Design
Pen Object: Stores direction, timestamps, and price attributes
Segment Object: Manages segments and constituent pens
Pivot Object: Defines pivot zone ranges and characteristics
Grade Object: Organizes analysis results across levels
User Guide
Parameter Settings
Pen Type: Classic/Optimized/4K/Strict (adapt to analysis needs)
Segment Mode: Dynamic/Strict/Extension (match trading strategies)
Signal Filters: Enable/disable specific filters
Pivot Display: Toggle sub-level pivot zones
Divergence Settings: Configure types (regular/hidden) and display styles
Strategy Settings: Set trading rules linked to signals
Strategy Configuration
Follow Segments: Trade in alignment with segment direction
Signal Participation: Enable/disable Type I/II/III signals
Signal Conditions: Require signals to appear post-pivot zone formation
Prevent Early Entries:
Type I signals require ≥1 pivot zone or 5 pens
Type II Safety Control: Participate only if Type III signals are absent
Practical Recommendations
Select pen types/segment modes per market conditions
Adjust filters for different instruments and timeframes
Enhance accuracy through multi-level analysis
Confirm Type I signals with divergence indicators
Choose strategy parameters aligned with risk tolerance
Value Proposition
Systematizes Chan Theory into computable structures
Multiple pen/segment methods adapt to diverse markets
Advanced filtering significantly improves signal quality (historically validated)
Multi-level analysis provides holistic market insights
This tool is for technical analysis only. It does not constitute investment advice. Users must exercise independent judgment based on personal risk tolerance and objectives.
概述
本脚本基于缠论核心技术框架,将复杂的市场波动转化为多层次、可量化的结构分析系统。通过实时动态演算,自动解析价格走势中的分型、笔、线段、中枢等核心组件,并融合动量分析与交易信号预警功能,为交易者提供从微观到宏观的全方位市场透视。缠论区别于传统技术指标的核心在于其严格的递归逻辑与人性化市场哲学,本脚本忠实还原缠论"以禅破缠"的思想精髓,将螺旋缠绕的价格运动分解为有序的交易决策体系。
技术原理
本指标基于缠论技术分析框架,通过纯Pine Script实现了从K线到分型、笔、线段和中枢的完整识别流程。核心技术实现包括:
1. K线包含处理
采用特定算法处理K线包含关系,消除随机波动干扰:
- 上涨趋势中取高点高值、低点高值
- 下跌趋势中取高点低值、低点低值
- 通过递归处理确保包含关系完全消除
2. 分型识别系统
在处理后的K线基础上实现严格的分型判断:
- 顶分型:中间K线高点高于两侧K线
- 底分型:中间K线低点低于两侧K线
- 通过`filterOperateType`函数实现分型有效性验证
3. 笔的构建机制与类型选择
连接有效顶底分型形成笔结构,提供四种笔类型选择:
- **老笔**:传统缠论笔定义,严格遵循经典规则
- **新笔**:优化算法,增强对短期波动的识别能力
- **4K**:基于至少4根K线形成的分型构建笔,提高稳定性
- **严笔**:采用最严格的条件验证,确保形成的笔结构可靠
4. 线段划分算法
基于笔序列应用线段划分规则,支持三种线段模式:
- **当下延伸后修正**:实时计算当前形成中的线段,并随新数据更新修正
- **严格模式**:要求线段完全符合缠论定义,减少假信号
- **延伸模式**:更灵活地处理线段延伸情况,适合趋势分析
5. 中枢识别技术
- 实现笔中枢和线段中枢识别
- 计算中枢价格区间与时间范围
- 分析中枢演变特征
- 支持显示不同级别中枢功能
买卖点系统与过滤机制
买卖点过滤系统
本指标提供全面的买卖点过滤功能:
- **买卖点分型过滤**:检验分型形态有效性,验证分型后续发展
- **买卖点分型基础过滤**:针对分型基本特征进行验证,排除不合格分型
- **1买卖macd背驰过滤**:通过MACD判断背驰情况,提高一类买卖点可靠性
- **2买卖点过滤**:专门针对二类买卖点的过滤条件
- **防狼术**:避免陷阱式买卖点,提高交易安全性
缠论买卖点原理
1. **一类买卖点**
- 原理:基于趋势背驰原理,当价格创新高/低但内部结构力度减弱时形成
- 识别方法:通过比较相邻同向笔的结构特征判断力度变化
- 应用:提供趋势可能反转的早期信号,适合波段操作
2. **二类买卖点**
- 原理:发生在回调过程中,属于次级别转折信号
- 识别方法:通过中枢支撑位与分型组合判断
- 应用:回调买入或做空的较佳位置,风险相对可控
3. **三类买卖点**
- 原理:中枢突破确认信号
- 识别方法:价格突破前中枢边界并形成有效分型
- 应用:趋势延续的确认信号,适合追踪趋势
指标特点
多级别结构分析
本指标支持多级别联动分析:
- 通过级别参数区分不同级别结构
- 高级别趋势指导低级别操作
- 实现级别间的协同判断逻辑
- 支持显示次级别中枢功能
结构可视化
- 笔结构:根据选择的笔类型显示
- 线段结构:按照选定的线段模式呈现
- 中枢区域:颜色渐变标识不同强度
技术实现说明
数据结构设计
指标设计了完整的面向对象结构:
- Pen结构:存储笔的方向、时间、价格等属性
- Segment结构:管理线段及其组成笔
- Pivot结构:表示中枢范围和特性
- Grade结构:区分不同级别的分析结果
使用指南
参数设置
- 笔的类型:选择老笔、新笔、4K或严笔以适应不同分析需求
- 线段模式:根据交易策略选择合适的线段计算方式
- 买卖点过滤:根据需要启用不同的过滤机制
- 中枢显示:选择是否显示次级别中枢
- 背离设置:选择背离类型、显示方式和样式
- 策略设置:配置与买卖点相关的交易策略选项
策略应用配置
- 跟随线段:根据线段方向进行交易
- 买卖点参与设置:可选择性参与一类、二类和三类买卖点
- 买卖点条件限制:可设置买卖点需要在中枢形成后出现
- 防止过早进场:可要求一类买卖点至少出现一个中枢后或至少5笔后才参与
- 二类买卖点安全性控制:可选择仅在未出现三类买卖点的情况下参与
实际应用建议
- 结合市场环境选择合适的笔类型和线段模式
- 针对不同品种和时间周期调整过滤设置
- 通过多级别分析提高判断准确性
- 使用背离指标确认一类买卖点的有效性
- 根据策略风格选择适合的策略配置参数
技术特点与价值
本指标通过系统化实现缠论结构分析,提供了一种客观的技术分析工具。它的核心价值在于:
1. 将复杂的缠论理论系统化为可计算的结构
2. 提供多种笔、线段判断方法以适应不同市场环境
3. 完善的买卖点过滤系统大幅提高信号质量
4. 多级别联动分析提供全面市场视角
*本指标仅提供技术分析参考,不构成投资建议。用户应根据自身风险承受能力和投资目标进行判断。*
Umesh BC IST 3:30 AM Session Tracker + 4H Candles📌 IST 3:30 AM Session Tracker + 4H Candle Marker
This indicator is designed for traders who follow Indian Standard Time (IST) and want precise session tracking and 4H candle insights.
🔧 Features:
🕒 Daily Session Start at 3:30 AM IST
Automatically detects and marks the beginning of each new trading day based on 3:30 AM IST, not midnight.
Displays session Open, High, and Low lines.
Background shading for each session.
Customizable alert when a new day starts.
🟧 4H Candle Start Markers (IST Time)
Identifies every new 4-hour candle that starts at:
3:30, 7:30, 11:30, 3:30 PM, 7:30 PM, 11:30 PM IST
Adds a vertical line and label ("🟧 4H") above the candle.
Plots a dynamic line for the 4H candle's opening price.
Includes optional alert for new 4H candles.
🔔 Alerts Included:
"🕒 New IST Day Start": Triggers at 3:30 AM IST.
"🟧 New 4H Candle": Triggers at each 4H candle start (IST).
✅ Best for:
Intraday, swing, and institutional traders using IST-based analysis.
Those wanting more accurate daily sessions and clear candle structuring.
ICT SMC Liquidity Grabs and OBsICT SMC Liquidity Grabs + Order Blocks + Fibonacci OTE Levels
A High-Probability Entry Engine for Smart Money Concept Traders
This script combines three powerful Smart Money Concepts (SMC) into a single tool: Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
It’s designed to simplify SMC trading by highlighting confluence zones where price is likely to reverse or continue — with clear visual zones, entry arrows, and take profit projections.
🔍 What This Script Does:
Detects Liquidity Grabs
Identifies when price sweeps above/below the highest high or lowest low within a user-defined lookback period and closes back inside.
Plots orange labels on the chart to signal potential liquidity events (LG-H / LG-L).
Plots Order Blocks After Liquidity Grabs
After a liquidity grab, the script looks for displacement candles (strong bullish or bearish moves) and draws highlighted OB zones extending several bars to the right.
These zones represent potential institutional footprints for price reversals.
Draws Fibonacci OTE Levels (Optimal Trade Entry)
Uses recent swing high and low pivots to automatically calculate OTE zones (default: 62% and 75% retracement levels).
Draws these retracement zones for both bullish and bearish setups.
Marks Valid OTE Entry Zones
Buy/Sell zones only trigger when:
A liquidity grab occurs,
Price enters the OTE zone,
And a strong confirming candle is present.
Plots green/red arrows for valid buy/sell OTE entries.
Auto-Draws Take Profit Zones
TP1 = Previous swing high/low
TP2 = Risk-based R-multiplied extension (e.g., 1.5R — customizable)
Alerts
Triggers alerts when valid buy or sell OTE setups are detected.
⚙️ Customization Features:
Toggle each feature: Liquidity Grabs, Order Blocks, Fibonacci OTE levels
Set Fibonacci retracement percentages (e.g., 0.62 / 0.75)
Adjust lookback window for liquidity detection
Customize the take-profit multiplier (R-based)
Full control over visuals: colors, labels, and lines
💡 How to Use:
Use this script to scan for high-confluence trade setups based on Smart Money principles.
Combine with session timing (e.g., New York open), major swing structure, or Kill Zone windows for maximum edge.
Look for arrows inside OB zones or OTE levels following liquidity sweeps for cleaner entries.
🔗 Works Best With:
✅ First FVG — Opening Range Fair Value Gap Detector: Identify early inefficiencies to set the narrative for the day.
✅ Liquidity Levels — Smart Swing Lows: Spot key structural lows that can fuel stop hunts and reversals.
✅ ICT Turtle Soup — Liquidity Reversal: Add a classic reversal pattern to your toolkit to catch fakeouts cleanly.
Together, these tools build a complete Smart Money ecosystem for entry precision, risk management, and price behavior forecasting.