Asian Range [FE]This script will help you mark out the Asian session range as well as write down your trading rules at the top right corner,
Candlestick analysis
Confluence: VP + FVG + DeltaConfluence, volume profile FVG and Delta all in one chart the holy trinity.
GLD Levels on GC## GLD Levels on GC - Advanced Gold Trading Indicator
The GLD Levels indicator is a sophisticated trading tool designed specifically for gold traders who want to visualize key psychological price levels from the GLD ETF directly on their Gold futures (GC) charts. This indicator automatically scales GLD price levels to match Gold futures pricing, providing crucial support and resistance levels that institutional and retail traders watch closely.
### Key Features
- Real-Time GLD Price Integration : Pulls live GLD ETF prices and displays them as scaled levels on GC charts
- Dual Level System : Shows both whole number levels (e.g., $180, $181, $182) and half levels (e.g., $180.5, $181.5, $182.5)
- Smart Instrument Detection : Automatically works on GLD, GC (Gold futures), and MGC (Micro Gold futures) with proper scaling
- Customizable Colors : Full control over line and label colors for both whole number and half levels
- Historical Extension : Lines extend 100 bars back and 50 bars forward for comprehensive chart analysis
- Dynamic Level Selection : Always shows the 10 closest levels (5 above, 5 below) to current price
- Clean Label System : Optional price labels with "GLD: $XXX" format for easy identification
### How It Works
The indicator fetches real-time GLD ETF prices and calculates the nearest whole number and half-increment levels. When used on Gold futures charts (GC/MGC), it automatically applies the appropriate conversion ratio to scale GLD levels to futures pricing. This provides traders with the psychological levels that matter most in the gold market.
### Customization Options
- Show GLD Price Label : Toggle the current GLD price display
- Show Whole Number Levels : Enable/disable whole dollar level lines
- Show Half Levels : Enable/disable $0.50 increment levels
- Whole Number Level Color : Customize the color for whole dollar levels (default: white)
- Half Level Color : Customize the color for half-dollar levels (default: gray with transparency)
### Perfect For
- Gold Futures Traders : GC and MGC contract traders who need GLD-based support/resistance levels
- Multi-Timeframe Analysis : Works across all timeframes from scalping to swing trading
- Institutional Level Tracking : Monitor the same levels that large funds and ETF traders watch
- Risk Management : Use levels for stop-loss placement and profit target identification
- Market Structure Analysis : Identify key psychological levels that often act as magnets for price action
### Trading Applications
- Support & Resistance : Use GLD levels as dynamic support and resistance zones
- Entry Points : Look for bounces or breaks at key whole number and half levels
- Profit Targets : Scale out positions at significant GLD psychological levels
- Stop Loss Placement : Position stops beyond key levels for better risk management
- Breakout Trading : Monitor for decisive breaks above/below major GLD levels
### Why GLD Levels Matter for Gold Futures
GLD is the world's largest gold ETF with massive institutional participation. The psychological levels in GLD often translate directly to Gold futures markets due to arbitrage relationships and cross-market trading. This indicator bridges that gap by showing you exactly where these critical levels sit on your Gold futures charts.
Dynamic Liquidity Levels [CDC Trading LABN] (ENGLISH)Script Description :
Take your market structure and liquidity analysis to the next level with Dynamic Liquidity Levels, a professional-grade tool designed to visualize the key levels that truly move the price. This indicator doesn't just plot static lines; it offers a dynamic framework that reacts to price action in real-time, keeping your chart clean and focused on what matters.
Designed for scalpers and swing traders alike, this indicator is your map for navigating market liquidity.
Key Features
• Smart Dynamic Lines: The standout feature of this indicator. Lines automatically stop extending once price has "invalidated" them. You decide whether the break occurs on a simple wick touch (to capture liquidity grabs) or a full candle close beyond the level (for a stronger confirmation).
• Comprehensive Liquidity Levels: Automatically draws the most important liquidity pools that professional traders watch every day:
• HTF Levels: Previous Day, Week, and Month Highs & Lows (PDH/L, PWH/L, PMH/L).
• Session Levels: Asian, London, and New York Session Highs & Lows (ASH/L, LSH/L, NYH/L).
• Full Label Control: Forget about overlapping labels. Adjust the position of each label individually (Left, Right, Center, Upper, Lower) for perfect visual clarity in any market condition.
• Instant, Configurable Alerts: Never miss an opportunity. Set up alerts that trigger the moment a level of your choice is broken, helping you execute your trades with precision.
• Clean & Professional Visualization: Fully customizable. Adjust colors, line width, and decide whether to display exact prices in the labels for an analysis setup tailored to your style.
Who is This Indicator For?
This tool is essential for a wide range of trading methodologies:
• Smart Money Concepts (SMC) & ICT Traders: Perfect for identifying liquidity pools and draw on liquidity levels. Use it to frame your order blocks and points of interest.
• Candle Range Theory (CRT) Traders: This indicator automates the core of your analysis. It identifies and projects the key candle ranges from higher timeframes (Daily, Weekly, Monthly) and trading sessions. Use these levels to anticipate price expansion and identify liquidity targets above and below established ranges, without manual markup every day.
• Price Action Traders: Clearly and automatically visualize the most relevant support and resistance levels based on high-timeframe market structure.
• Day Traders & Scalpers: Make quick decisions based on previous day's levels and session highs/lows, which act as magnets for intraday price.
• Swing Traders: Use the weekly and monthly levels to get a macro view of the structure and plan longer-term trades.
How to Use
1. Add the indicator to your chart.
2. Explore the settings panel to enable the levels and alerts that fit your trading plan.
3. Adjust the label positions for maximum clarity.
4. To receive alerts, right-click on the chart, create a new alert, select the indicator from the dropdown, and choose the "Any alert() function call" option.
We hope this tool greatly helps you improve your market analysis.
Happy trading!
CDC Trading LABN
Dynamic Liquidity Levels [CDC Trading LABN] (ESPAÑOL)Script Description :
Take your market structure and liquidity analysis to the next level with Dynamic Liquidity Levels , a professional-grade tool designed to visualize the key levels that truly move the price. This indicator doesn't just plot static lines; it offers a dynamic framework that reacts to price action in real-time, keeping your chart clean and focused on what matters.
Designed for scalpers and swing traders alike, this indicator is your map for navigating market liquidity.
Key Features
• Smart Dynamic Lines: The standout feature of this indicator. Lines automatically stop extending once price has "invalidated" them. You decide whether the break occurs on a simple wick touch (to capture liquidity grabs) or a full candle close beyond the level (for a stronger confirmation).
• Comprehensive Liquidity Levels: Automatically draws the most important liquidity pools that professional traders watch every day:
• HTF Levels: Previous Day, Week, and Month Highs & Lows (PDH/L, PWH/L, PMH/L).
• Session Levels: Asian, London, and New York Session Highs & Lows (ASH/L, LSH/L, NYH/L).
• Full Label Control: Forget about overlapping labels. Adjust the position of each label individually (Left, Right, Center, Upper, Lower) for perfect visual clarity in any market condition.
• Instant, Configurable Alerts: Never miss an opportunity. Set up alerts that trigger the moment a level of your choice is broken, helping you execute your trades with precision.
• Clean & Professional Visualization: Fully customizable. Adjust colors, line width, and decide whether to display exact prices in the labels for an analysis setup tailored to your style.
Who is This Indicator For?
This tool is essential for a wide range of trading methodologies:
• Smart Money Concepts (SMC) & ICT Traders: Perfect for identifying liquidity pools and draw on liquidity levels. Use it to frame your order blocks and points of interest.
• Candle Range Theory (CRT) Traders: This indicator automates the core of your analysis. It identifies and projects the key candle ranges from higher timeframes (Daily, Weekly, Monthly) and trading sessions. Use these levels to anticipate price expansion and identify liquidity targets above and below established ranges, without manual markup every day.
• Price Action Traders: Clearly and automatically visualize the most relevant support and resistance levels based on high-timeframe market structure.
• Day Traders & Scalpers: Make quick decisions based on previous day's levels and session highs/lows, which act as magnets for intraday price.
• Swing Traders: Use the weekly and monthly levels to get a macro view of the structure and plan longer-term trades.
How to Use
1. Add the indicator to your chart.
2. Explore the settings panel to enable the levels and alerts that fit your trading plan.
3. Adjust the label positions for maximum clarity.
4. To receive alerts, right-click on the chart, create a new alert, select the indicator from the dropdown, and choose the "Any alert() function call" option.
We hope this tool greatly helps you improve your market analysis.
Happy trading!
CDC Trading LABN
Bullish Candlestick Pattern Tracker (21 Patterns)Script Title: Bullish Candlestick Pattern Tracker (21 Patterns)
Overview
This script is a comprehensive tool designed to automatically detect and track the lifecycle of 21 distinct bullish candlestick patterns.
It identifies a pattern upon the close of a bar and then monitors its status over a user-defined period. The primary goal is to provide traders with clear, automated signals for potential bullish reversals, complete with pre-calculated confirmation and stop-loss levels based on established technical analysis definitions.
This indicator is built in Pine Script v6 and uses a stateful tracking system to manage each detected pattern.
Key Features
21 Bullish Patterns: Detects a wide array of patterns, from single-bar formations (e.g., Bullish Hammer) to complex three-bar formations (e.g., Bullish Morning Star, Bullish Three White Soldiers).
Stateful Lifecycle Tracking: This is not just a pattern detector. It monitors each pattern's status in real-time after detection:
Not Confirmed: The pattern has formed, but the price has not yet closed above the confirmation level.
Confirmed: The price has successfully closed above the confirmation level.
Failed: The price has closed below the stop-loss level (either before or after confirmation).
Customizable Confirmation Period: Users can define how many bars the script should wait for a pattern to be confirmed or to fail (via the confBarCount input).
Clear Visual Labels: Displays a detailed label under each unconfirmed pattern, showing:
Pattern Name (e.g., "Bullish Engulfing")
Status: "Not Confirmed"
Confirmation Level (Teyit): The price that must be breached (on close) for the pattern to be considered valid.
Stop-Loss Level (S/L): The price level that invalidates the pattern.
Modular Inputs: Each of the 21 patterns can be individually toggled on or off from the settings menu, allowing you to focus only on the patterns you trust.
Methodology & Logic
The logic for pattern detection, as well as the specific rules for each pattern's Confirmation Level and Stop-Loss Level, is strictly based on the definitions provided in the "Mum Formasyonları (Kasım 2015 Versiyon 7.1.4)" guide by Matriks Bilgi Dağıtım Hizmetleri A.Ş.
This script serves as a Pine Script v6 implementation of those specific rules, designed for stock market analysis (Bullish signals only).
How to Use (Parameters Explained)
Teyit Bar Sayısı (Conf. Bar Count): This is the most important input. It defines the "expiration" for a pattern. For example, if set to 3, the script will monitor a new pattern for 3 bars. If it is not confirmed or failed within those 3 bars, the label will disappear.
Status Toggles (e.g., showNotConfirmed): Allows you to filter which pattern statuses are visible on the chart. It is recommended to keep all three active.
Pattern Toggles (e.g., 1. Bullish Hammer Göster): Use these 21 checkboxes to activate or deactivate the detection for specific patterns.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. All trading involves significant risk, and past performance is not indicative of future results. Please conduct your own research and backtesting before making any trading decisions.
R Dominante by Mata (CRT Madre + CRT Interior)Dominant Range (Green + Red + Outstanding Lines)
This script automatically identifies the dominant parent candle (CRT – Candle Range Theory) and draws its range with a green box. It also allows you to create independent red parent candles that function autonomously.
Main Features:
Main Green Box: Represents the dominant parent candle, following the actual CRT:
It is activated and remains active while the price reaches the extremes.
It is only invalidated if there is a close outside the range.
It is automatically deactivated when it reaches both extremes (high and low).
Independent Red Box: Detects ranges independent of the green box and is deactivated when both extremes are reached.
Fully Automatic: No manual range adjustments required.
Configuration: Adjust the transparency of the boxes and the maximum number of bars to review.
Recommended Use:
Ideal for traders who apply Candle Range Theory (CRT).
Allows for clear identification of dominant and secondary ranges.
Useful for determining touch points of extremes and planning strategic entries and exits.
InsidebarDisplays insidebar levels on your chart and let's you set alerts when a new insidebar is created.
Seasonality PH (Full History) 📊 Description
The "Seasonality PH (Full History)" indicator provides an in-depth analysis of the seasonal tendencies of a selected symbol by utilizing all available historical data. The indicator aggregates historical movements (Long/Short) and calculates the Expected Value (EV) for each period (Daily, Weekly, Monthly, Quarterly), offering a more robust view of the actual average gain/loss. The visualization is based on the Long/Short bar ratio (Bias) within the given period, where the column's height reflects the strength of the prevailing direction, and the direction (up/down) indicates the Long/Short bias. The indicator also includes a table with key statistics, including a prediction for the next 3 periods.
⚙️ Settings (Inputs)
Analysis
Statistics Table: Display the summary table in the corner of the chart with key statistics.
Performance Analysis: Display the main seasonal performance visualization as a histogram.
Analysis Period: Select the period for analysis: Daily, Weekly, Monthly, or Quarterly.
Seasonal Pivots: Displays the days when the asset tends to make annual seasonal highs/lows.
Pivot Strength: The number of surrounding bars required to confirm a seasonal pivot (higher value = stronger pivot).
Data Range
The indicator automatically utilizes all available history for the given instrument.
Extras
Highlight Current Trading Day: Highlights the current period and extends its horizontal line to the right.
Performance Labels: Displays labels on the columns. They include the % of the prevailing direction and the Expected Value (EV) in % for the period.
Show S/L Ratio in Table: Displays the Short/Long ratio in the table.
Track Changes: Connects the ends of the columns with a line to show the continuous change in Seasonal Bias.
Indexing
Anchor to Beginning of Year: Anchors all seasonal drawings to the first trading day of the current year.
Manual Offset: Enables manual offset to overlay seasonality onto previous years.
Offset Value: The offset value in number of bars (e.g., 252 bars/year).
Dividers
Month / Quarter: Enables visual separation of months or quarters in the Performance Analysis (with style and color selection).
Style
Settings for colors and line thickness for the main visualizations. Includes colors for Performance (Long/Short), Seasonal Pivots, and Dividers.
Conditional Coloring
Enable Conditional Bias Coloring: Activates conditional coloring of the columns.
Bias % Threshold (0-100): The minimum percentage strength of the prevailing direction (e.g., 70%) that activates the solid color.
High Long Bias Color / High Short Bias Color: Colors for periods with strong Long/Short bias.
Table
Settings for the position, colors, and text size of the statistics table.
💡 Concepts and Interpretation
Seasonal Analysis and Bias
Visualization: The main histogram shows the strength of the prevailing direction (Bias), not the average percentage change.
Column Height: Normalized by the Long/Short bar ratio. A taller column means a stronger Long or Short bias.
Column Direction: Up for Long Bias, Down for Short Bias.
Conditional Coloring: If the Long/Short ratio exceeds the set Bias % Threshold, the column fills with a solid color to emphasize a strong bias.
Expected Value (EV)
Definition: EV is a weighted average of the seasonal movement, considering both the probability of the movement (Long/Short ratio) and the average magnitude of these movements.
Usage: This value represents the historical profit/loss expectation for the given period. It is displayed in the Performance Labels and in the table as Average % Change.
Performance Labels
Top Number (%): The percentage of the prevailing direction (e.g., 75.00% Long).
Bottom Number (%): The Expected Value (EV) for the period in percent.
Statistics Table
Data Collected: The number of years from which data has been collected.
Average % Change: The Expected Value (EV) for the current period.
Current % Change: The actual percentage change of the current, yet-to-be-closed, period.
Prediction Next 3: The average Expected Value (EV) for the next 3 periods (a quick seasonal outlook).
⚠️ Important Note
Timeframe: For correct aggregation and accurate results, the chart must be set to the Daily (D) timeframe.
Top-line % MovesOverview
A clean, text-only overlay that shows price momentum at a glance. It prints one line at the top-center of your chart:
Movement | Day % | 3-Day % | Wk %
What it shows
Day - Percent change from today’s regular-session open to the latest price
3-Day - Percent change from the daily open 3 trading days ago
Wk - Percent change from the daily open 5 trading days ago
How it works
Pulls daily opens via request.security so it stays consistent across intraday and daily timeframes
Calculates percent moves versus those opens and renders a single centered text line
Transparent background, bright white text, no bars or lines, minimal chart footprint
Notes
“Wk” uses 5 trading days. If you prefer 7 calendar days, change the lookback to your preference
Daily opens follow the symbol’s TradingView session settings. Extended or 24h markets may differ from your broker’s definition of “open”
Best for
Quick momentum read without clutter
Screeners, streaming layouts, and compact dashboards
Inputs
None
Tags
percent change, overlay, momentum, daily open, intraday, text display, minimal, Pine v6
Liquidity Hunter + ShortLiquidity Hunter + Short
Version with Short Trade Signals by Cihan Culha
This indicator is based on the original Liquidity Hunter by ChartPrime (MPL 2.0 license).
It detects potential Long and Short liquidity hunts by analyzing candle body, wick percentages, ATR bands, and slope direction.
Features:
Long signals (original) based on lower wick, body %, slope, and ATR bands
Short signals (added) based on upper wick, body %, negative slope, and ATR bands
Target (TP), Stop Loss (SL), CHOCH, and BOS levels plotted dynamically
Visual boxes highlight potential liquidity zones
Risk/Reward (RR) configurable via input
Usage Notes:
This modified version adds Short trade signals while preserving the original Long logic
Original author ChartPrime is credited; modifications by Cihan Culha
Adjust Body %, Wick %, and RR multiplier to suit your trading timeframe and style
For educational purposes; always use proper risk management
bar color changeThis Pine v5 code allows you to distinguish between candles on the chart. The body/wick/frame of the "live" candle that hasn't yet closed is colored white. When a live candle is present, the body of the immediately preceding candle is colored green with offset = -1. All other candles remain gray (#2e2e2e). plotcandle fixes the wick/frame so that the live and previous candles are selected when following the trend. If there are other conflicting scripts, the most recently added one quickly takes precedence.
neeson CME Gaps CompleteCME Gap Detection & Trading Signals Indicator
Originality & Unique Features
This indicator represents a sophisticated approach to CME gap analysis by combining multiple innovative features not found in standard gap indicators:
Dual Visualization System:
Traditional gap boxes that precisely mark the price void between Friday's close and Monday's open
Intelligent bar coloring that instantly identifies gap days through color differentiation
Comprehensive Time Analysis:
Tracks gaps for up to 4 years, providing unprecedented historical context
Maintains gap memory even through chart reloads and timeframe changes
Advanced Signal Generation:
Real-time gap fill detection with customizable threshold levels
Integrated alert system for both new gap formations and gap fill completions
Functionality & Implementation
Core Detection Mechanism
The indicator automatically identifies CME weekend gaps by comparing Friday's closing price with Monday's opening price. When a significant price discontinuity is detected (configurable threshold), it triggers the visualization and tracking system.
Visual Components:
Gap Boxes: Semi-transparent colored rectangles (green for bullish gaps, red for bearish gaps) that precisely cover the price gap area between Friday's close and Monday's open
Extension Lines: Projection lines that extend from gap boundaries into future price action, helping traders visualize potential support/resistance levels
Bar Coloring: Automatic color coding where gap bars are highlighted (green/red) while normal trading bars appear gray, creating immediate visual distinction
Signal Generation:
Buy Signals: Triggered when bearish gaps are filled (price moves upward through the gap zone)
Sell Signals: Activated when bullish gaps are filled (price moves downward through the gap zone)
Smart Thresholds: Configurable fill percentage (0.1%-5.0%) to avoid false signals from minor price fluctuations
Technical Implementation
The script employs sophisticated array management to track multiple gaps simultaneously while maintaining optimal performance. Each gap stores:
Price boundaries (top/bottom)
Gap type (bullish/bearish)
Detection timestamp
Volume data (for potential future analysis)
Fill status
The automatic cleanup system removes gaps older than the configured maximum age (1-10 years) to prevent memory overload while preserving relevant historical context.
Usage Instructions
Basic Operation
Apply to Chart: Add the indicator to any cryptocurrency or futures chart
Automatic Detection: The script automatically scans for Monday openings relative to Friday closes
Visual Analysis: Observe colored bars for gap days and corresponding gap boxes
Configuration Options
Gap Detection Settings:
Show CME Gaps: Enable/disable the entire detection system
Max Gap Age: Set how long to track gaps (1-10 years)
Only Weekend Gaps: Focus exclusively on CME weekend gaps
Visual Customization:
Bullish/Bearish Gap Colors: Customize gap box appearance
Extension Lines: Control projection line visibility and length
Bar Coloring: Toggle bar color differentiation
Trading Signals:
Show Trading Signals: Enable/disable buy/sell alerts
Gap Fill Threshold: Set sensitivity for gap fill detection
Enable Alerts: Activate platform notifications
Trading Strategy Integration
Gap Fill Strategy:
Monitor for gap fill completion signals
Enter positions in the direction of the fill (buy on bearish gap fills, sell on bullish gap fills)
Use extension lines as potential profit targets or stop-loss levels
Support/Resistance Identification:
Historical gaps often act as future support/resistance
Use the 4-year gap memory to identify key price levels
Combine with other technical analysis tools for confirmation
Core Calculation Philosophy
Market Psychology Foundation
The indicator operates on the well-established market principle that "gaps tend to fill." This phenomenon stems from:
Market Memory: Traders remember significant price discontinuities and often trade to close them
Liquidity Gaps: Gaps represent areas of low liquidity that markets naturally seek to revisit
Psychological Levels: Round numbers and significant price levels often coincide with gap boundaries
Statistical Edge
By systematically tracking gaps across extended timeframes (up to 4 years), the indicator provides:
Probability Assessment: Historical gap fill rates help assess current gap fill probabilities
Risk Management: Clear visual boundaries for stop-loss placement and position sizing
Time Analysis: Understanding how quickly different types of gaps tend to fill
Adaptive Detection
The algorithm incorporates:
Dynamic Thresholds: Configurable sensitivity to ignore insignificant gaps
Multi-Timeframe Awareness: Consistent performance across different chart timeframes
Market Condition Adaptation: Automatic adjustment to varying volatility environments
This comprehensive approach transforms simple gap detection into a sophisticated trading tool that combines visual clarity, historical context, and actionable signals for improved trading decisions.
PLANBXPRESS PSYCHOLOGICAL LEVEL ENTRY MODELThis Indicator merges multiple professional trading concepts into one visual tool — helping traders identify momentum shifts, entry zones, and daily trading plans with volume confirmation.
It automatically detects trend direction, generates dynamic take-profit & stop-loss levels, and overlays key daily reference points such as VWAP, pivot, support, and resistance zones based on ATR and trend context.
⚙️ Main Components
1️⃣ Signal System
Detects trend bias using SMA-based logic.
Generates entry price, TP1–TP3, and SL dynamically from recent impulse ranges.
Updates signals automatically when trend bias changes or previous targets are hit.
Visual levels are drawn directly on the chart.
2️⃣ Volume Analysis
Compares current volume against a moving average (SMA).
Classifies volume as:
🟢 Strong (above 1.5× average)
🟡 Average
🔴 Weak (below 0.8× average)
Displays the current volume strength and trend bias in an on-chart table.
3️⃣ Auto Day Plan
Uses multi-timeframe ATR calculations to define:
Support / Resistance zones
Pivot & Balance areas
Daily VWAP
Auto Targets (ATR-based expansion levels)
Adapts automatically to selected base timeframe (1H, 4H, or Daily).
4️⃣ Trend Context
Dual EMA system (50 & 200) to confirm bullish/bearish structure.
Aligns expected direction with VWAP & pivot location for context-aware bias.
🎯 What You Get on Chart
📈 Automatic LONG/SHORT signals
🎯 TP1, TP2, TP3, and SL levels
📊 Volume strength meter
🧭 VWAP, pivot, support/resistance & balance zones
🎨 Clean visual layout for intraday and swing traders
🧩 Inputs
Parameter Description
lenImpulse Impulse range length
smaLen SMA length for trend bias
levelRatio SL/TP ratio multiplier
volLen Volume SMA length
baseTF Base timeframe for zones/VWAP
atrMult1 / atrMult2 ATR multipliers for target levels
fwdBars Extension range for future projection
💡 How to Use
Add the script to your chart and choose your preferred timeframe.
Observe signal direction (📈 LONG / 📉 SHORT) and TP/SL levels.
Confirm entries when:
Trend aligns with VWAP direction, and
Volume category shows Strong or Average.
Use Auto Day Plan levels (pivot, balance, VWAP) as intraday reaction zones.
Sessions High & Low LevelsAutomatically plots high & low levels for multiple sessions. Clear session structure for intraday traders using price action, liquidity concepts, or session-based strategies.
Automatically plots the High & Low, for sessions such as London, New York, and Asia, with full customization for any custom session or timezone. These levels extend forward and adapt in real time, giving you a clear view of session-based structure and liquidity behavior.
Perfect for traders using ICT concepts, session narratives, or intraday market structure. Session ranges often act as key liquidity pools, breakout zones, and directional guides, this tool makes them easy to see at a glance.
Features:
Auto-plots High & Low for NY, London, and Asia sessions (customizable)
Fully customizable session times, colors, labels, and visibility options
Works across any assets
古诗缠论-10.2版ChanLun---gushi
Strokes (笔): Identifies the foundational directional movements (upward and downward strokes) that form the basis of all price action.
Segments (线段): Automatically combines strokes into more significant trend structures, representing a complete directional move.
Pivots / Centers (中枢): Detects and draws "pivots," which are overlapping price ranges created by three consecutive segments. Pivots are the core of the theory, representing market equilibrium or consolidation zones. The interaction of price with these pivots is crucial for analysis.
Buy & Sell Points (买卖点): Automatically identifies and labels the three distinct types of trading signals according to the theory:
1st Type Buy/Sell Points: Based on MACD divergence after a trend creates a new price high or low. These are primary trend-reversal signals.
2nd Type Buy/Sell Points: The first pullback after a 1st Type signal that does not create a new price extreme. These are confirmation entry points for a new trend.
3rd Type Buy/Sell Points: The first pullback that occurs after price leaves a pivot area without re-entering it. These signals confirm the continuation of the current trend.
Dashboard: A clean on-screen panel displays key statistics, including the number of strokes, segments, and pivots identified, as well as the current trend direction and the last trading signal detected.
Enhanced Oversold | 超跌信号 + 历史统计 + 模拟入出场 (v2.4)Enhanced Oversold | Oversold Signal + Historical Stats + Simulated Entries/Exits (v2.4) – Release Notes (EN)
1. Overview
This script is an advanced “buy-the-dip” toolkit for US stocks and ETFs. It detects rare, deep intraday selloffs on fundamentally strong names, then simulates a three-tier entry strategy around the event and tracks different exit paths.
The goal is to answer three questions:
* When did similar crashes happen in the past?
* How would a disciplined laddered entry have performed?
* How long did it take for price to recover under different exit rules?
2. Core idea
* Define an 8-hour “crash” relative to a robust reference price yBase = min(previous-day VWAP, previous close).
* Combine this with short-term RSI and 15m Z-score filters to avoid “random noise” dips.
* Filter out regime-level risk (index / sector crash, volatility spikes, liquidity stress, bad long-term trend).
* When a valid oversold event appears, simulate staged entries (E1/E2/E3) and exits, then record everything into a historical table and JSON for external analysis.
3. Signal logic (summary)
* Timeframe: designed for 15m / 5m charts, using US RTH session 09:30–16:00.
* Crash trigger (must all be true):
* 8h drawdown from yBase ≤ fixed threshold (default −6%) and the 8h low is recent within N×15m bars.
* RSI(1h) below an oversold level (default < 30).
* 15m return Z-score ≤ threshold (default ≤ −1.5) over a configurable window.
* Optional filters:
* Circuit breaker: SPY + sector ETF + VIX/VIX3M + VVIX conditions to avoid market-wide panic regimes.
* Liquidity stress: SPY 1h “stress index” (ATR/price, intraday range vs volume, and VIX Z-score) normalised to 0–100, with a user threshold.
* Shape filter: only accept “A-type” healthy long-term trend set-ups (6m / 12m performance vs VWAP/EMA and daily 200SMA slope).
4. Simulated entries (E1 / E2 / E3)
* E1: first ladder price anchored to the first RTH after the event, with optional “same-day RTH” entry if the event happens during RTH.
* E2: only becomes valid from the next RTH day onward, and only if the new RTH low breaks the E1-execution-day low. The target depth is based on E1 discount × (1+α).
* E3: only after E2, on a different day (not the E1 “anchor” day). Depth is based on the max discount of E1/E2 × (1+β).
* Stair and cap rules:
* A minimum tick step between ladders, adjustable in ticks.
* Optional cap so that every entry price must be below a multiple of the event price.
* Optional “chase on first RTH bar”: if nothing fills on the first RTH bar, prices can be lifted once toward the intraday low, while keeping ladder spacing and cap constraints.
* All actual fills are simulated against bar lows. The script records:
* Whether E1/E2/E3 filled.
* Actual execution prices.
* Average entry price and the entry sequence string (e.g. “13”, “123”).
5. Exit logic and timing metrics
Two exit rules are tracked in parallel:
* Exit Ref: exit when close returns to yBase.
* Exit Open+Y%: exit when close reaches min(event close, first post-event open) × (1+Y%).
For each event the script records:
* t_ref_d: days from event to first touch of yBase.
* tY_d: days until Open+Y% level is reached.
* tUp_d: days until price turns “bullish again” (RTH VWAP ≥ previous daily VWAP and close > previous close).
* tLow_d: days until the minimum price between event and t_ref (or end of window) is reached.
* lowToRef: that minimum price.
* ddMinPct: maximum drawdown (in %) from average entry to lowToRef.
Additional intraday stats for the first RTH after the event:
* dayFirstLow: low of the first RTH bar from the chosen statistics start.
* rthLow: overall RTH low of that day.
* eqFirst: whether the overall low equals the first-bar low.
* postDipAvg: average close after the daily low is formed (equal-weighted).
6. Historical table on chart
* The on-chart table shows up to maxRows events, most recent first.
* Columns include:
* Date, 8h drawdown, yBase, stress, circuit conditions, shape (A/B/C).
* Entry sequence and actual execution prices.
* Average entry price.
* Exit prices and PnL (in % and absolute) for both exit modes.
* Timing metrics (t_ref, tY, tUp, tLow).
* Min price to t_ref, max drawdown vs average entry.
* First RTH low, day RTH low, equality flag, post-dip average, and market flag (US/HK).
The table is only redrawn on bar close to reduce CPU load.
7. Liquidity stress pane
* Optional lower pane that plots the SPY-based liquidity stress index (0–100).
* Components (all on 60m SPY/VIX data):
* rvZ: Z-score of ATR/price.
* rpvZ: Z-score of intraday range divided by volume.
* vixZ: Z-score of VIX.
* Stress index = 50 + 10 × (rvZ + rpvZ + vixZ), clipped to .
* A horizontal line marks the current filter threshold.
8. Webhook JSON outputs
The indicator can send three types of alerts via alert():
* Signal
* Emitted only when a new oversold event fires.
* Contains ticker, market flag, event time, drop8h, RSI1h, Z15, yBase, shape, circuit reason, and stress.
* History
* Emitted when requested, containing a full snapshot of the latest event:
* All key metrics used in the table, including absolute PnL for both exit modes, timing metrics, drawdown stats, and post-dip averages.
* HistoryAll
* Compressed bulk export of all events as a compact JSON object:
* Short keys (d, dr8, yb, st, c, sh, e, px, avg, xr, pr, absR, xy, py, absY, tr, ty, tu, tl, l2r, dd, fl, rl, eq, pavg).
* Numbers rounded to 3 decimals to reduce payload size.
* Because TradingView enforces a payload size limit, HistoryAll is automatically split into multiple chunks (up to ~3200 characters each).
* When HistoryAll is selected and a manual “dump all” flag is turned on, the script will emit multiple alerts on the same bar until all chunks are sent.
9. What is new in v2.3
Compared with previous versions, v2.3 adds:
* Deeper risk metrics:
* Tracking of the minimum price until recovery (lowToRef) and its timing (tLow_d).
* Max drawdown vs average entry (ddMinPct) for each event.
* E1-execution-day RTH low tracking, used to decide whether later days truly “make a new low” before adding E2.
* Absolute PnL fields:
* absRef and absOY for both exit modes, calculated using user-defined share/contract sizes for E1/E2/E3.
* More compact and robust HistoryAll:
* Short-key JSON objects, 3-decimal numeric formatting, chunked output suitable for 3rd-party storage and analysis.
* Performance optimisations:
* Array length normalisation is done once per bar instead of inside the per-event loop.
* Table rendering only happens on bar close, and no longer clears the whole grid every bar.
* Same-day RTH pricing for event-day entries is restricted to the latest event only, reducing redundant work on historical events.
10. Usage notes and disclaimer
* Recommended canvas: 15m or 5m chart, US stocks / ETFs, with RTH session set to 09:30–16:00.
* For stable operation on TradingView’s servers, avoid extremely large lookback windows and oversized history tables if your symbol has very long history.
* This script is for educational and research purposes only.
* It is not financial advice and does not guarantee profitability. Always combine it with your own risk management, fundamental research, and market context.
Previous Day OHLC with Fib LevelThe Previous Day OHLC indicator is designed to help traders identify key price levels from the previous trading session. These levels often act as important zones of support, resistance, and market reaction points during the current day’s price action.
This indicator automatically plots the Previous Day’s Open, High, Low, and Close on any intraday timeframe, making it a powerful tool for day traders, scalpers, and swing traders who rely on market structure and session behavior.
PLANBXPRESS ENTRYThe Combined Signal + Auto Day Plan + Volume indicator merges multiple professional trading concepts into one visual tool — helping traders identify momentum shifts, entry zones, and daily trading plans with volume confirmation.
It automatically detects trend direction, generates dynamic take-profit & stop-loss levels, and overlays key daily reference points such as VWAP, pivot, support, and resistance zones based on ATR and trend context.
⚙️ Main Components
1️⃣ Signal System
Detects trend bias using SMA-based logic.
Generates entry price, TP1–TP3, and SL dynamically from recent impulse ranges.
Updates signals automatically when trend bias changes or previous targets are hit.
Visual levels are drawn directly on the chart.
2️⃣ Volume Analysis
Compares current volume against a moving average (SMA).
Classifies volume as:
🟢 Strong (above 1.5× average)
🟡 Average
🔴 Weak (below 0.8× average)
Displays the current volume strength and trend bias in an on-chart table.
3️⃣ Auto Day Plan
Uses multi-timeframe ATR calculations to define:
Support / Resistance zones
Pivot & Balance areas
Daily VWAP
Auto Targets (ATR-based expansion levels)
Adapts automatically to selected base timeframe (1H, 4H, or Daily).
4️⃣ Trend Context
Dual EMA system (50 & 200) to confirm bullish/bearish structure.
Aligns expected direction with VWAP & pivot location for context-aware bias.
🎯 What You Get on Chart
📈 Automatic LONG/SHORT signals
🎯 TP1, TP2, TP3, and SL levels
📊 Volume strength meter
🧭 VWAP, pivot, support/resistance & balance zones
🎨 Clean visual layout for intraday and swing traders
🧩 Inputs
Parameter Description
lenImpulse Impulse range length
smaLen SMA length for trend bias
levelRatio SL/TP ratio multiplier
volLen Volume SMA length
baseTF Base timeframe for zones/VWAP
atrMult1 / atrMult2 ATR multipliers for target levels
fwdBars Extension range for future projection
💡 How to Use
Add the script to your chart and choose your preferred timeframe.
Observe signal direction (📈 LONG / 📉 SHORT) and TP/SL levels.
Confirm entries when:
Trend aligns with VWAP direction, and
Volume category shows Strong or Average.
Use Auto Day Plan levels (pivot, balance, VWAP) as intraday reaction zones.
300/200 EMA Spread HeatmapHighlights the difference between 300 and 200 EMA to indicated potential over extensions in breakout structures.






















