Daytrading Suite v6.4: Neon TPO + FVG + IB Lines (Stable)Here is the complete **Trading Manual & Strategy Guide** for the **Master Daytrading Suite (Neon + IB Edition)**.
This guide explains exactly **when** to trade and **how** to execute trades using the tools in the script.
---
# 📘 MASTER TRADING MANUAL (Neon + IB)
### 1. THE BASICS
* **Best Assets:** BTCUSDT & ETHUSDT (Futures).
* **Best Timeframe:** 5 Minutes (Entry) / 15 Minutes (Trend).
* **Key Session:** New York Session (High Volatility).
* **Golden Rule:** Never go **LONG** inside a Red Supply Zone. Never go **SHORT** inside a Green Demand Zone.
---
### 2. THE INDICATORS (Legend)
| Indicator | Color | Function | How to use |
| --- | --- | --- | --- |
| **Supply Zone** | 🟥 **Red Box** | Resistance | Look for Short setups here. |
| **Demand Zone** | 🟩 **Green Box** | Support | Look for Long setups here. |
| **Golden Pocket** | 🟧 **Orange** | Retracement | The "Sweet Spot" for trend entries (Fib 0.618). |
| **VWAP** | 🔵 **Blue Line** | Trend Anchor | Price > VWAP = Bullish. Price < VWAP = Bearish. |
| **Initial Balance (IB)** | 🟨 **Yellow Box** | Opening Range | Breakout above = Bullish. Breakdown below = Bearish. |
| **FVG (Gap)** | 🟩/🟥 **Tiny Box** | Trigger | **Green FVG** = Entry Signal for Longs. **Red FVG** = Entry Signal for Shorts. |
---
### 3. STRATEGY A: The Trend Pullback (High Win Rate)
*Use this when the market is trending smoothly.*
#### ✅ HOW TO ENTER A LONG (BUY) POSITION
1. **Trend Check:** Price is trading **ABOVE** the VWAP (Blue Line) and EMA 9 (Yellow Line).
2. **The Wait:** Wait for the price to drop back down (pullback).
3. **The Zone:** Price touches the **Green Demand Zone** OR the **Orange Golden Pocket**.
4. **The Trigger:** A **Green FVG Box** appears on the 5-minute chart.
5. **Execution:** Enter Long. Stop Loss below the recent low. Take Profit at the next Red Zone.
#### 🔻 HOW TO ENTER A SHORT (SELL) POSITION
1. **Trend Check:** Price is trading **BELOW** the VWAP (Blue Line) and EMA 9 (Yellow Line).
2. **The Wait:** Wait for the price to rally up (pullback).
3. **The Zone:** Price touches the **Red Supply Zone** OR the **Orange Golden Pocket**.
4. **The Trigger:** A **Red FVG Box** appears on the 5-minute chart.
5. **Execution:** Enter Short. Stop Loss above the recent high. Take Profit at the next Green Zone.
---
### 4. STRATEGY B: The IB Breakout (Volatility)
*Use this specifically after the first hour of the New York Session (approx. 10:30 NY time).*
* **The Setup:** Look at the **Yellow Box (Initial Balance)** which marks the high/low of the first hour.
* **Bullish Breakout:** If a candle closes **above** the Yellow Box + Price is above VWAP → **Go Long**.
* **Bearish Breakdown:** If a candle closes **below** the Yellow Box + Price is below VWAP → **Go Short**.
* **The Trap (Fakeout):** If price breaks out but immediately falls back inside the Yellow Box, close the trade immediately.
---
### 5. DAILY ROUTINE (Checklist)
1. **Open TradingView:** Switch to the **15m Chart**.
2. **Check Context:** Where are we? Are we near a big Red Box (Supply) or Green Box (Demand)?
3. **Check Trend:** Is price above or below the Blue VWAP line?
4. **Wait for the Open:** Let the first hour of New York pass (to form the Yellow IB Box).
5. **Set Alerts:** Right-click the chart and set alerts for "IB Breakout" or "Golden Pocket".
6. **Execute:** Switch to the **5m Chart** to find your entry trigger (FVG).
---
### 6. RISK MANAGEMENT RULES
* **Stop Loss:** NEVER trade without one. Place it just outside the FVG box or the Zone.
* **Risk per Trade:** 1% to 2% of your account maximum.
* **No Trade Zone:** If the price is "chopping" (moving sideways) inside the Yellow IB Box, **do not trade**. Wait for a breakout.
Göstergeler ve stratejiler
ORB + Sector Screener This script provides bullish/bearish indication based on 90 min ORB and PDH/PDL. Most of the time the price is in the range of 90 min as per Frank Ochoa. And if it breaks this range it gives a strong move. Break of PDH or PDL gives further confirmation.
Two lines belong to PDH/PDL and other two lines belong to 90 min ORB. The 10 sectors of NSE can be replaced by any stock/index.
It does not give any buy/sell signal. Not to be used for any investment/trading. Only for education purpose.
Credit: Mayank Sir and Chatgpt along with legendary Frank Ochoa.
thanks.
Adjustable Price Line Size with Countdown Timer (Larger)Adjustable Size and Color for the Price Line and Timer so I Can See it Better From Across the Room...
Adjustments include: Price Line Width Size and Color (Small, Normal, Large, Huge)
Adjustment for: Solid Line, Dashed or Dotted Line
Countdown Timer: ON/OFF
I Can Now See The Price and Price Line From Across the Room!!
lww Crossover Strategy Strategy Description
This strategy is based on the confluence of VWAP, MVWAP, and EMA crossover structure, designed to identify short-term trend continuation opportunities in both long and short directions.
A trade signal is generated only when the fast EMA, slow EMA, and smoothed VWAP are all positioned on the same side of the MVWAP, indicating directional alignment and structural confirmation. Entries occur only at the moment the condition first becomes true, which helps reduce overtrading during ranging or choppy market conditions.
The strategy enforces a one-trade-at-a-time rule, ensuring that no new positions are opened while an existing trade is active.
Risk management is handled through predefined take-profit and stop-loss levels, which are automatically placed upon entry to maintain clear and consistent risk control. An optional setting allows positions to be closed early if an opposite signal appears.
This strategy is suitable for short-term and intraday trading, emphasizing disciplined execution, structural confirmation, and controlled risk exposure.
NIFTY 5m Bull Ratio + SL/TP Trackersimple, practical Bull Ratio formula tailored for NIFTY (index or NIFTY futures) on a 5-minute timeframe.
Session High/Low [gdad]There are many strategies that use the 5 min, 10 min or 15 min opening candle. There are also strategies that look at the behavior of other markets such as Tokyo and London as well as the pre-market. Along with these strategies, there is one by The Rumers (@the.rumers) that also looks at the Day ATR with his Padder Scalp strategy.
I trade Futures and like to see how the market has done for varying trading sessions.
I found it was time consuming and distracting to my trading to manually mark all these different things up. This indicator takes TradingView's Trading Sessions indicator and combined ideas borrowed the idea of taking the opening range breakout and extending it to the end of the trading session from Opening Range & Prior Day High/Low along with some additional enhancements and provided information.
It comes pre-built with eight different sessions:
Session 1: Futures Session
Session 2: Tokyo
Session 3: London
Session 4: NY Pre-Market
Session 5: New York
Session 6: 5 min open
Session 7: 10 min open
Session 8: 15 min open
The names, time spans, time zones, colors, whether to show the mid-line or averages and whether and how far to extend them are all customizable once you click Show Session. You can show none, one or multiple sessions. You can also choose which text shows up in the text box (the same will show for each session).
Warning: The Extend to Time range must start during the Session Time. You cannot have a Session Time of 9:30-9:45 and an Extend Time from 10:00-4:00.
Average is calculated by the sum of the close divided by the number of bars for the session.
Market Regime | NY Session Killzones Indicator [ApexLegion]Market Regime | NY Session Killzones Indicator
Introduction and Theoretical Background
The Market Regime | NY Session Killzones indicator is designed exclusively for New York market hours (07:00-16:00 ET). Unlike universal indicators that attempt to function across disparate global sessions, this tool employs session-specific calibration to target the distinct liquidity characteristics of the NY trading day: Pre-Market structural formation (08:00-09:30), the Morning breakout window (09:30-12:00), and the Afternoon Killzone (13:30-16:00)—periods when institutional order flow exhibits the highest concentration and most definable technical structure. By restricting its operational scope to these statistically significant time windows, the indicator focuses on signal relevance while filtering the noise inherent in lower-liquidity overnight or extended-hours trading environments.
I. TECHNICAL RATIONALE: THE PRINCIPLE OF CONTEXTUAL FUSION
1. The Limitation of Acontextual Indicators
Traditional technical indicators often fail because they treat every bar and every market session equally, applying static thresholds (e.g., RSI > 70) without regard for the underlying market structure or liquidity environment. However, institutional volume and market volatility are highly dependent on the time of day (session) and the prevailing long-term risk environment.
This indicator was developed to address this "contextual deficit" by fusing three distinct yet interdependent analytical layers:
• Time and Structure (Macro): Identifying high-probability trading windows (Killzones) and critical structural levels (Pre-Market Range, PDH/PDL).
• Volatility and Scoring (Engine): Normalizing intraday momentum against annual volatility data to create an objective, statistically grounded AI Score.
• Risk Management (Execution): Implementing dynamic, volatility-adjusted Stop Loss (SL) and Take Profit (TP) parameters based on the Average True Range (ATR).
2. The Mandate for 252-Day Normalization (Z-Score)
What makes this tool unique is its 252-day Z-Score normalization engine that transforms raw momentum readings into statistically grounded probability scores, allowing the same indicator to deliver consistent, context-aware signals across any timeframe—from 1-minute scalping to 1-hour swing trades—without manual recalibration.
THE PROBLEM OF SCALE INVARIANCE
A high Relative Strength Index (RSI) reading on a 1-minute chart has a completely different market implication than a high RSI reading on a Daily chart. Simple percentage-based thresholds (like 70 or 30) do not provide true contextual significance. A sudden spike in momentum may look extreme on a 5-minute chart, but if it is statistically insignificant compared to the overall volatility of the last year, it may be a poor signal.
THE SOLUTION: CROSS-TIMEFRAME Z-SCORE NORMALIZATION
This indicator utilizes the Pine Script function request.security to reference the Daily timeframe for calculating the mean (μ) and standard deviation (σ) of a momentum oscillator (RSI) over the past 252 trading days (one year).
The indicator then calculates the Z-Score (Z) for the current bar's raw momentum (x): Z = (x - μ) / σ
Core Implementation: float raw_rsi = ta.rsi(close, 14) // x
= request.security(syminfo.tickerid, "D",
, // σ (252 days)
lookahead=barmerge.lookahead_on)
float cur_rsi_norm = d_rsi_std != 0 ? (raw_rsi - d_rsi_mean) / d_rsi_std : 0.0 // Z
This score provides an objective measurement of current intraday momentum significance by evaluating its statistical extremity against the yearly baseline of daily momentum. This standardized approach provides the scoring engine with consistent, global contextual information, independent of the chart's current viewing timeframe.
II. CORE COMPONENTS AND TECHNICAL ANALYSIS BREAKDOWN
1. TIME AND SESSION ANALYSIS (KILLZONES AND BIAS)
The indicator visually segments the trading day based on New York (NY) trading sessions, aligning the analysis with periods of high institutional liquidity events.
Pre-Market (PRE)
• Function: Defines the range before the core market opens. This range establishes structural support and resistance levels (PMH/PML).
• Technical Implementation: Uses a dedicated Session input (ny_pre_sess). The High and Low values (pm_h_val/pm_l_val) within this session are stored and plotted for structural reference.
• Smart Extension Logic: PMH/PML lines are automatically extended until the next Pre-Market session begins, providing continuous support/resistance references overnight.
NY Killzones (AM/PM)
• Function: Highlights high-probability volatility windows where institutional liquidity is expected to be highest (e.g., NY open, lunch, NY close).
• Technical Implementation: Separate session inputs (kz_ny_am, kz_ny_pm) are utilized to draw translucent background fills, providing a clear visual cue for timing.
Market Regime Bias
• Function: Determines the initial directional premise for the trading day. The bias is confirmed when the price breaks either the Pre-Market High (PMH) or the Pre-Market Low (PML).
• Technical Implementation: Involves the comparison of the close price against the predefined structural levels (check_h for PMH, check_l for PML). The variable active_bias is set to Bullish or Bearish upon confirmed breakout.
Trend Bar Coloring
• Function: Applies a visual cue to the bars based on the established regime (Bullish=Cyan, Bearish=Red). This visual filter helps mitigate noise from counter-trend candles.
• Technical Implementation: The Pine Script barcolor() function is tied directly to the value of the determined active_bias.
2. VOLATILITY NORMALIZED SCORING ENGINE
The internal scoring mechanism accumulates points from multiple market factors to determine the strength and validity of a signal. The purpose is to apply a robust filtering mechanism before generating an entry.
The score accumulation logic is based on the following factors:
• Market Bias Alignment (+3 Points): Points are awarded for conformance with the determined active_bias (Bullish/Bearish).
• VWAP Alignment (+2 Points): Assesses the position of the current price relative to the Volume-Weighted Average Price (VWAP). Alignment suggests conformity with the average institutional transaction price.
• Volume Anomaly (+2 Points): Detects a price move accompanied by an abnormally high relative volume (odd_vol_spike). This suggests potential institutional participation or significant order flow.
• VIX Integration (+2 Points): A score derived from the CBOE VIX index, assessing overall market stability and stress. Stable VIX levels add points, while high VIX levels (stress regimes) remove points or prevent signal generation entirely.
• ML Probability Score (+3 Points): This is the core predictive engine. It utilizes a Log-Manhattan Distance Kernel to compare the current market state against historical volatility patterns. The script implements a Log-linear distance formula (log(1 + |Δ|) ). This approach mathematically dampens the impact of extreme volatility spikes (outliers), ensuring that the similarity score reflects true structural alignment rather than transient market noise.
Core Technical Logic (Z-Score Normalization)
float cur_rsi_norm = d_rsi_std != 0 ? (raw_rsi - d_rsi_mean) / d_rsi_std : 0.0
• Technical Purpose: This line calculates the Z-Score (cur_rsi_norm) of the current momentum oscillator reading (raw_rsi) by normalizing it against the mean (d_rsi_mean) and standard deviation (d_rsi_std) derived from 252 days of Daily momentum data. If the standard deviation is zero (market is perfectly flat), it safely returns 0.0 to prevent division by zero runtime errors. This allows the AI's probability score to be based on the current signal's significance within the context of the entire trading year.
3. EXECUTION AND RISK MANAGEMENT (ATR MODEL)
The indicator utilizes the Average True Range (ATR) volatility model. This helps risk management scale dynamically with market volatility by allowing users to define TP/SL distances independently based on the current ATR.
Stop Loss Multiplier (sl_mult)
• Function: Sets the Stop Loss (SL) distance as a configurable multiple of the current ATR (e.g., 1.5 × ATR).
• Technical Logic: The price level is calculated as: last_sl_price := close - (atr_val * sl_mult). The mathematical sign is reversed for short trades.
Take Profit Multiplier (tp_mult)
• Function: Sets the Take Profit (TP) distance as a configurable multiple of the current ATR (e.g., 3.0 × ATR).
• Technical Logic: The price level is calculated as: last_tp_price := close + (atr_val * tp_mult). The mathematical sign is reversed for short trades.
Structural SL Option
• Function: Provides an override to the ATR-based SL calculation. When enabled, it forces the Stop Loss to the Pre-Market High/Low (PMH/PML) level, aligning the stop with a key institutional structural boundary.
• Technical Logic: The indicator checks the use_struct_sl input. If true, the calculated last_sl_price is overridden with either pm_h_val or pm_l_val, dependent on the specific trade direction.
Trend Continuation Logic
• Function: Enables signal generation in established, strong trends (typically in the Afternoon session) based on follow-through momentum (a new high/low of the previous bar) combined with a high Signal Score, rather than exclusively relying on the initial PMH/PML breakout.
• Technical Logic: For a long signal, the is_cont_long logic specifically requires checks like active_bias == s_bull AND close > high , confirming follow-through momentum within the established regime.
Smart Snapping & Cleanup (16:00 Market Close)
• Function: To maintain chart cleanliness, all trade boxes (TP/SL), AI Prediction zones, Killzone overlays (NY AM/PM), and Liquidity lines (PDH/PDL) are automatically "snapped" and cut off precisely at 16:00 NY Time (Market Close).
• Technical Logic: When is_market_close condition is met (hour == 16 and minute == 0), the script executes cleanup logic that:
◦ Closes active trades and evaluates final P&L
◦ Snaps all TP/SL box widths to current bar
◦ Truncates AI Prediction ghost boxes at market close
◦ Cuts off NY AM/PM Killzone background fills
◦ Terminates PDH/PDL line extensions
◦ Prevents visual clutter from extending into post-market sessions
4. LIQUIDITY AND STRUCTURAL ANALYSIS
The indicator plots key structural levels that serve as high-probability magnet zones or areas of potential liquidity absorption.
• Pre-Market High/Low (PMH/PML): These are the high and low established during the configured pre-market session (ny_pre_sess). They define the primary structural breakout level for the day, often serving as the initial market inflection point or the key entry level for the morning session.
• PDH (Previous Day High): The high of the calendar day immediately preceding the current bar. This represents a key Liquidity Pool; large orders are often placed above this level, making it a frequent target for stop hunts or liquidity absorption by market makers.
• PDL (Previous Day Low): The low of the calendar day immediately preceding the current bar. This also represents a key Liquidity Pool and a high-probability reversal or accumulation point, particularly during the Killzones.
FIFO Array Management
The indicator uses FIFO (First-In-First-Out) array structures to manage liquidity lines and labels, automatically deleting the oldest objects when the count exceeds 500 to comply with drawing object limits.
5. AI PREDICTION BOX (PREDICTIVE MODEL)
Function: Analyzes AI scores and volatility to project predicted killzone ranges and duration with asymmetric directional bias.
A. DIRECTIONAL BIAS (ASYMMETRIC EXPANSION)
The prediction model calculates directional probability using the ML kernel's 252-day Normalized RSI (Z-Score) and Relative Volume (RVOL). The prediction box dynamically adjusts its range based on this probability to provide immediate visual feedback on high-probability direction.
Bullish Scenario (ml_prob > 1.0):
• Upper Range: Expands significantly (1.5x multiplier) to show the aggressive upside target
• Lower Range: Tightens (0.5x multiplier) to show the invalidation level
• Visual Intent: The box is visibly skewed upward, immediately communicating bullish bias without requiring numerical analysis.
Bearish Scenario (ml_prob < -1.0):
• Upper Range: Tightens (0.5x multiplier) to show the invalidation level
• Lower Range: Expands significantly (1.5x multiplier) to show the aggressive downside target
• Visual Intent: The box is visibly skewed downward, immediately communicating bearish bias.
Neutral Scenario (-1.0 < ml_prob < 1.0):
Both ranges use balanced multipliers, creating a symmetrical box that indicates uncertainty.
B. DYNAMIC VOLATILITY BOOSTER (SESSION-BASED ADAPTATION)
The prediction box adjusts its volatility multiplier based on the current session and market conditions to account for intraday volatility patterns.
AM Session (Morning: 07:00-12:00):
• Base Multiplier: 1.0x (Neutral Base)
• Logic: Morning sessions often contain false breakouts and noise. The base multiplier starts neutral to avoid over-projecting during consolidation.
• Trend Booster: Multiplier jumps to 1.5x when:
Price > London Session Open AND AI is Bullish (ml_prob > 0), OR
Price < London Session Open AND AI is Bearish (ml_prob < 0)
• Logic: When the London trend (typically 03:00-08:00 NY time) aligns with the AI model's directional conviction, the indicator aggressively targets higher volatility expansion. This filters for "institutional follow-through" rather than random morning chop.
PM Session (Afternoon: 13:00-16:00):
• Fixed Multiplier: 1.8x
• Logic: The PM session, particularly the 13:30-16:00 ICT Silver Bullet window, often contains the "True Move" of the day. A higher baseline multiplier is applied to emphasize this session's significance over morning noise.
Safety Floor:
A minimum range of 0.2% of the current price is enforced regardless of volatility conditions.
• Purpose: Maintains the prediction box visibility during extreme low-volatility consolidation periods where ATR might collapse to near-zero values.
Volatility Clamp Protection:
Maximum volatility is capped at three times the current ATR value. During flash crashes, circuit breaker halts, or large overnight gaps, raw volatility calculations can spike to extreme levels. This clamp prevents prediction boxes from expanding to unrealistic widths.
Technical Implementation:
f_get_ai_multipliers(float _prob) =>
float _abs_prob = math.abs(_prob)
float _range_mult = 1.0
float _dur_mult = 1.0
if _abs_prob > 30
_range_mult := 1.8
else if _abs_prob > 10
_range_mult := 1.2
else
_range_mult := 0.7
C. PRACTICAL INTERPRETATION
• Wide Upper Range + Tight Lower Range: Strong bullish conviction. The model expects significant upside with limited downside risk.
• Tight Upper Range + Wide Lower Range: Strong bearish conviction. The model expects significant downside with limited upside.
• Symmetrical Range: Neutral/uncertain market. Wait for directional confirmation before entry.
• Large Box (Extended Duration): High-confidence prediction expecting sustained movement.
• Small Box (Short Duration): Low-confidence or choppy conditions. Expect quick resolution.
III. PRACTICAL USAGE GUIDE: METHODOLOGY AND EXECUTION
A. ESTABLISHING TRADING CONTEXT (THE THREE CHECKS)
The primary goal of the dashboard is to filter out low-probability trade setups before they occur.
• Timeframe Selection: Although the core AI is normalized to the Daily context, the indicator performs optimally on intraday timeframes (e.g., 5m, 15m) where session-based volatility is most pronounced.
• PHASE Check (Timing): Always confirm the current phase. The highest probability signals typically occur within the visually highlighted NY AM/PM Killzones because this is when institutional liquidity and volume are at their peak. Signals outside these zones should be treated with skepticism.
• MARKET REGIME Check (Bias): Ensure the signal (BUY/SELL arrow) aligns with the established MARKET REGIME bias (BULLISH/BEARISH). Counter-bias signals are technically allowed if the score is high, but they represent a higher risk trade.
• VIX REGIME Check (Risk): Review the VIX REGIME for overall market stress. Periods marked DANGER (high VIX) indicate elevated volatility and market uncertainty. During DANGER regimes, reducing position size or choosing a wider SL Multiplier is advisable.
B. DASHBOARD INTERPRETATION (THE REAL-TIME STATUS DISPLAY)
The indicator features a non-intrusive dashboard that provides real-time, context-aware information based on the core analytical engines.
PHASE: (PRE-MARKET, NY-AM, LUNCH, NY-PM)
• Meaning: Indicates the current institutional session time. This is derived from the customizable session inputs.
• Interpretation: Signals generated during NY-AM or NY-PM (Killzones) are generally considered higher-probability due to increased institutional participation and liquidity.
MARKET REGIME: (BULLISH, BEARISH, NEUTRAL)
• Meaning: The established directional bias for the trading day, confirmed by the price breaking above the Pre-Market High (PMH) or below the Pre-Market Low (PML).
• Interpretation: Trading with the established regime (e.g., taking a BUY signal when the regime is BULLISH) is the primary method. NEUTRAL indicates that the PMH/PML boundary has not yet been broken, suggesting market ambiguity.
VIX REGIME: (STABLE, DANGER)
• Meaning: A measure of overall market stress and stability, based on the CBOE VIX index integration. The thresholds (20.0 and 35.0 default) are customizable by the user.
• Interpretation: STABLE indicates stable volatility, favoring momentum trades. DANGER (VIX > 35.0) indicates extreme stress; signals generated in this environment require caution and often necessitate smaller position sizing.
SIGNAL SCORE: (0 to 10+ Points)
• Meaning: The accumulated score derived from the VOLATILITY NORMALIZED AI SCORING ENGINE, factoring in bias, VWAP alignment, volume, and the Z-Score probability.
• Interpretation: The indicator generates a signal when this score meets or exceeds the Minimum Entry Score (default 3). A higher score (e.g., 7+) indicates greater statistical confluence and a stronger potential entry.
AI PROBABILITY: (Bull/Bear %)
• Meaning: Directional probability derived from the ML kernel, expressed as a percentage with Bull/Bear label.
• Interpretation: Higher absolute values (>20%) indicate stronger directional conviction from the ML model.
LIVE METRICS SECTION:
• STATUS: Shows current trade state (LONG, SHORT, or INACTIVE)
• ENTRY: Displays the entry price for active trades
• TARGET: Shows the calculated Take Profit level
• ROI | KILL ZONE:
◦ For Active Trades: Displays real-time P&L percentage during NY session hours.
◦ At Market Close (16:00 NY): Since this is a NY session-specific indicator, any active position is automatically evaluated and closed at 16:00. The final result (VALIDATED or INVALIDATED) is determined based on whether the trade reached profit or loss at market close.
◦ Result Persistence: The killzone result (VALIDATED/INVALIDATED) remains displayed on the dashboard until the next NY AM KILLZONE session begins, providing a clear performance reference for the previous trading day.
Note: If a trade is still trending at 16:00, it will be force-closed and evaluated at that moment, as the indicator operates strictly within NY trading hours.
C. SIGNAL GENERATION AND ENTRY LOGIC
The indicator generates signals based on two distinct technical setups, both of which require the accumulated SIGNAL SCORE to be above the configured Minimum Entry Score.
Breakout Entry
• Trigger Condition: Price closes beyond the Pre-Market High (PMH) or Low (PML).
• Rationale: This setup targets the initial directional movement for the day. A breakout confirms the institutional bias by decisively breaking the first major structural boundary, making the signal high-probability.
Continuation Entry
• Trigger Condition: The market is already in an established regime (e.g., BULLISH), and the price closes above the high (or below the low) of the previous bar, while the SIGNAL SCORE remains high. Requires the Allow Trend Continuation parameter to be active.
• Rationale: This setup targets follow-through trades, typically in the afternoon session, capturing momentum after the morning's direction has been confirmed. This filters for sustainability in the established trend.
Execution: Execute the trade immediately upon the close of the bar that prints the BUY or SELL signal arrow.
D. MANAGING RISK AND EXITS
1. RISK PARAMETER SELECTION
The indicator immediately draws the dynamic TP/SL zones upon entry.
• Volatility-Based (Recommended Default): By setting the SL Multiplier (e.g., 1.5) and the TP Multiplier (e.g., 3.0), the indicator enforces a constant, dynamically sized risk-to-reward ratio (e.g., 1:2 in this example). This helps that risk management scales proportionally with the current market volatility (ATR).
• Structural Override: Selecting the Use Structural SL parameter fixes the stop-loss not to the ATR calculation, but to the more significant structural level of the PMH or PML. This is utilized by traders who favor institutional entry rules where the stop is placed behind the liquidity boundary.
2. EXIT METHODS
• Hard Exit: Price hits the visual TP or SL box boundary.
• Soft Exit (Momentum Decay Filter): If the trade is active and the SIGNAL SCORE drops below the Exit Score Threshold (default 3), it indicates that the momentum supporting the trade has significantly collapsed. This serves as a momentum decay filter, prompting the user to consider a manual early exit even if the SL/TP levels have not been hit, thereby preserving capital during low-momentum consolidation.
• Market Close Auto-Exit: At 16:00 NY time, any active trade is automatically closed and classified as VALIDATED (profit) or INVALIDATED (loss) based on current price vs. entry price.
IV. PARAMETER REFERENCE AND CONFIGURATION
A. GLOBAL SETTINGS
• Language (String, Default: English): Selects the language for the dashboard and notification text. Options: English, Korean, Chinese, Spanish, Portuguese, Russian, Ukrainian, Vietnamese.
B. SESSION TIMES (3 BOX SYSTEM)
• PRE-MARKET (Session, Default: 0800-0930): Defines the session range used for Pre-Market High/Low (PMH/PML) structural calculation.
• REGULAR (Morning) (Session, Default: 0930-1200): Defines the core Morning trading session.
• AFTERNOON (PM) (Session, Default: 1300-1600): Defines the main Afternoon trading session.
• Timezone (String, Default: America/New_York): Sets the timezone for all session and time-based calculations.
C. NY KILLZONES (OVERLAYS)
• Show NY Killzones (Bool, Default: True): Toggles the translucent background fills that highlight high-probability trading times (Killzones).
• NY AM Killzone (Session, Default: 0700-1000): Defines the specific time window for the first key liquidity surge (Open overlap).
• NY PM Killzone (Session, Default: 1330-1600): Defines the afternoon liquidity window, aligned with the ICT Silver Bullet and PM Trend entry timing.
• Allow Entry in Killzones (Bool, Default: True): Enables or disables signal generation specifically during the defined Killzone hours.
• Activate AI Prediction Box (Bool, Default: True): Toggles the drawing of the predicted target range boxes on the chart.
D. CORE SCORING ENGINE
• Minimum Entry Score (Int, Default: 3): The lowest accumulated score required for a Buy/Sell signal to be generated and plotted.
• Allow Trend Continuation (Bool, Default: True): Enables the secondary entry logic that fires signals based on momentum in an established trend.
• Force Ignore Volume (Bool, Default: False): Overrides the volume checks in the scoring engine. Useful for markets where volume data is unreliable or nonexistent.
• Force Show Signals (Ignore Score) (Bool, Default: False): Debug mode that displays all signals regardless of score threshold.
• Integrate CBOE:VIX (Bool, Default: True): Enables the connection to the VIX index for market stress assessment.
• Stable VIX (<) (Float, Default: 20.0): VIX level below which market stress is considered low (increases score).
• Stress VIX (>) (Float, Default: 35.0): VIX level above which market stress is considered high (decreases score/flags DANGER).
• Use ML Probability (Bool, Default: True): Activates the volatility-normalized AI Z-Score kernel. Disabling this removes the cross-timeframe normalization filter.
• Max Learning History (Int, Default: 2000): Maximum number of bars stored in the ML training arrays.
• Normalization Lookback (252 Days) (Int, Default: 252): The number of DAILY bars used to calculate the Z-Score mean and standard deviation (representing approximately 1 year of data).
E. RISK MANAGEMENT (ATR MODEL)
• Use Structural SL (Bool, Default: False): Overrides the ATR-based Stop Loss distance to use the Pre-Market High/Low as the fixed stop level.
• Stop Loss Multiplier (x ATR) (Float, Default: 1.5): Defines the Stop Loss distance in multiples of the current Average True Range (ATR).
• Take Profit Multiplier (x ATR) (Float, Default: 3.0): Defines the Take Profit distance in multiples of the current Average True Range (ATR).
• Exit Score Threshold (<) (Int, Default: 3): The minimum score below which an active trade is flagged for a Soft Exit due to momentum collapse.
F. VISUAL SETTINGS
• Show Dashboard (Bool, Default: True): Toggles the real-time data panel.
• Show NY Killzones (Bool, Default: True): Toggles killzone background fills.
• Show TP/SL Zones (Bool, Default: True): Toggles the drawing of Take Profit and Stop Loss boxes.
• Show Pre-Market Extensions (Bool, Default: True): Extends PM High/Low lines across the entire chart for support/resistance reference.
• Activate AI Prediction Box (Bool, Default: True): Enable or disable the predictive range projection.
• Light Mode Optimization (Bool, Default: True): Toggles dashboard and plot colors for optimal visibility on white (light) chart backgrounds.
• Enforce Trend Coloring (Bool, Default: True): Forces candle colors based on Market Regime (Bullish=Cyan, Bearish=Pink) to emphasize trend direction.
• Label Size (String, Default: Normal): Options: Tiny, Small, Normal.
G. LIQUIDITY POOLS (PDH/PDL)
• Show Liquidity Lines (Bool, Default: True): Toggles the display of the Previous Day High (PDH) and Low (PDL) lines.
• Liquidity High Color (Color, Default: Green): Color setting for the PDH line.
• Liquidity Low Color (Color, Default: Red): Color setting for the PDL line.
🔔 ALERT CONFIGURATION GUIDE
The indicator is equipped with specific alert conditions.
How to Set Up an Alert:
Click the "Alert" (Clock icon) in the top TradingView toolbar.
Select "Market Regime NY Session " from the Condition dropdown menu.
Choose one of the specific trigger conditions below depending on your strategy:
🚀 Available Alert Conditions
1. BUY (Long Entry)
Trigger: Fires immediately when a confirmed Bullish Setup is detected.
Conditions: Market Bias is Bullish (or valid Continuation) + Signal Score ≥ Minimum Entry Score.
Usage: Use this alert to open new Long positions or close existing Short positions.
2. SELL (Short Entry)
Trigger: Fires immediately when a confirmed Bearish Setup is detected.
Conditions: Market Bias is Bearish (or valid Continuation) + Signal Score ≥ Minimum Entry Score.
Usage: Use this alert to open new Short positions or close existing Long positions.
V. IMPORTANT TECHNICAL LIMITATIONS
⚠️ Intraday Only (Timeframe Compatibility)
This indicator is strictly designed for Intraday Timeframes (1m to 4h).
Daily/Weekly Charts: The session logic (e.g., "09:30-16:00") cannot function on Daily bars because a single bar encompasses the entire session. Session boxes, TP/SL zones, and AI prediction boxes will NOT draw on the Daily timeframe. Only the PDH/PDL liquidity lines remain visible on Daily charts. This is expected behavior, not a limitation.
Maximum Supported Timeframe: All visual components (session boxes, killzone overlays, TP/SL zones, AI prediction boxes) are displayed up to the 4-hour timeframe. Above this timeframe, only PDH/PDL lines and the dashboard remain functional.
⚠️ Drawing Object Limit (Max 500)
A single script can display a maximum of 500 drawing objects (boxes/lines) simultaneously.
On lower timeframes (e.g., 1-minute), where many signals and session boxes are generated, older history (typically beyond 10-14 days) will automatically disappear to make room for new real-time data.
For deeper historical backtesting visualization, switch to higher timeframes (e.g., 15m, 1h).
The indicator implements FIFO array management to comply with this limit while maintaining the most recent and relevant visual data.
VI. PRACTICAL TRADING TIPS AND BEST PRACTICES
• Killzone Confirmation: The highest statistical validity is observed when a high-score signal occurs directly within a visible NY AM/PM Killzone. Use the Killzones as a strict time filter.
• Liquidity Awareness (PDH/PDL): Treat the Previous Day High (PDH) and Low (PDL) lines as magnets. If your dynamic Take Profit (TP) is placed just above PDH, consider adjusting your target slightly below PDH or utilizing the Soft Exit, as liquidity absorption at these levels often results in sudden, sharp reversals that stop out a trade just before the target is reached.
• VIX as a Position Sizer: During DANGER VIX regimes, the resulting high volatility means the ATR value will be large. It is prudent to either reduce the SL Multiplier or, more commonly, reduce the overall position size to maintain a constant currency risk exposure per trade.
• Continuation Filter Timing: Trend Continuation signals are most effective during the Afternoon (PM) session when the morning's directional breakout has had time to establish a strong, clear, and sustainable trend. Avoid using them in the initial AM session when the direction is still being contested.
• 16:00 Market Close Rule: All trades, boxes, and lines are automatically cleaned up at 16:00 NY time. This prevents overnight chart clutter and maintains visual clarity.
VII. DISCLAIMER & RISK WARNINGS
• Educational Purpose Only
This indicator, including all associated code, documentation, and visual outputs, is provided strictly for educational and informational purposes. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments.
• No Guarantee of Performance
Past performance is not indicative of future results. All metrics displayed on the dashboard (including "ROI" and trade results) are theoretical calculations based on historical data. These figures do not account for real-world trading factors such as slippage, liquidity gaps, spread costs, or broker commissions.
• High-Risk Warning
Trading cryptocurrencies, futures, and leveraged financial products involves a substantial risk of loss. The use of leverage can amplify both gains and losses. Users acknowledge that they are solely responsible for their trading decisions and should conduct independent due diligence before executing any trades.
• Software Limitations
The software is provided "as is" without warranty. Users should be aware that market data feeds on analysis platforms may experience latency or outages, which can affect signal generation accuracy.
Vortex Trend Matrix [JOAT]Vortex Trend Matrix - Multi-Factor Trend Confluence System
Introduction and Purpose
Vortex Trend Matrix is an open-source overlay indicator that combines Ichimoku-style equilibrium analysis with the Vortex Indicator to create a comprehensive trend confluence system. The core problem this indicator solves is that single trend indicators often give conflicting signals. Price might be above a moving average but momentum might be weakening.
This indicator addresses that by combining five different trend factors into a single composite score, making it easy to identify when multiple factors align for high-probability trend trades.
Why These Components Work Together
Each component measures trend from a different perspective:
1. Cloud Position - Price above/below the equilibrium cloud indicates overall trend bias. The cloud acts as dynamic support/resistance.
2. TK Relationship - Conversion line vs Base line (like Tenkan/Kijun in Ichimoku). Conversion above Base = bullish momentum.
3. Lagging Span - Current price compared to price N bars ago. Confirms whether current move has follow-through.
4. Vortex Indicator - VI+ vs VI- measures directional movement strength. Provides momentum confirmation.
5. Base Direction - Whether the base line is rising or falling. Indicates medium-term trend direction.
How the Trend Score Works
float trendScore = 0.0
// Cloud position (+2/-2)
trendScore += aboveCloud ? 2.0 : belowCloud ? -2.0 : 0.0
// TK relationship (+1/-1)
trendScore += conversionLine > baseLine ? 1.0 : conversionLine < baseLine ? -1.0 : 0.0
// Lagging span (+1/-1)
trendScore += laggingBull ? 1.0 : laggingBear ? -1.0 : 0.0
// Vortex (+1.5/-1.5)
trendScore += vortexBull ? 1.5 : vortexBear ? -1.5 : 0.0
// Base direction (+0.5/-0.5)
trendScore += baseDirection * 0.5
Score ranges from approximately -6 to +6:
- +4 or higher = STRONG BULL
- +2 to +4 = BULL
- -2 to +2 = NEUTRAL
- -4 to -2 = BEAR
- -4 or lower = STRONG BEAR
Signal Types
TK Cross Up/Down - Conversion line crosses Base line (momentum shift)
Base Direction Change - Base line changes direction (medium-term shift)
Strong Bull/Bear Trend - Score reaches +4/-4 (high confluence)
Dashboard Information
Trend - Overall status with composite score
Cloud - Price position (ABOVE/BELOW/INSIDE)
TK Cross - Conversion vs Base relationship
Lagging - Lagging span bias
Vortex - VI+/VI- relationship
VI+/VI- - Individual vortex values
How to Use This Indicator
For Trend Following:
1. Enter long when trend score reaches +4 or higher (STRONG BULL)
2. Enter short when trend score reaches -4 or lower (STRONG BEAR)
3. Use cloud as dynamic support/resistance for entries
For Momentum Timing:
1. Watch for TK Cross signals for entry timing
2. Base direction changes indicate medium-term shifts
3. Vortex confirmation adds conviction
For Risk Management:
1. Exit when trend score drops to neutral
2. Use cloud edges as stop-loss references
3. Reduce position when score weakens
Input Parameters
Conversion Period (9) - Fast equilibrium line
Base Period (26) - Slow equilibrium line
Lead Span Period (52) - Cloud projection period
Displacement (26) - Cloud and lagging span offset
Vortex Period (14) - Period for vortex calculation
VI+ Strength (1.10) - Threshold for strong bullish vortex
VI- Strength (0.90) - Threshold for strong bearish vortex
Timeframe Recommendations
4H-Daily: Best for equilibrium-based analysis
1H: Good for intraday trend following
Lower timeframes may require adjusted periods
Limitations
Equilibrium calculations have inherent lag
Cloud displacement means signals are delayed
Works best in trending markets
May whipsaw in ranging conditions
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Trend analysis does not guarantee profitable trades. Always use proper risk management.
- Made with passion by officialjackofalltrades
[GYTS] Volatility Toolkit Volatility Toolkit
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- INTRODUCTION --------- 🌸
💮 What is Volatility Toolkit?
Volatility Toolkit is a comprehensive volatility analysis indicator featuring academically-grounded range-based estimators. Unlike simplistic measures like ATR, these estimators extract maximum information from OHLC data — resulting in estimates that are 5-14× more statistically efficient than traditional close-to-close methods.
The indicator provides two configurable estimator slots, weighted aggregation, adaptive threshold detection, and regime identification — all with flexible smoothing options via
GYTS FiltersToolkit integration.
💮 Why Use This Indicator?
Standard volatility measures (like simple standard deviation) are highly inefficient, requiring large amounts of data to produce stable estimates. Academic research has shown that range-based estimators extract far more information from the same price data:
• Statistical Efficiency — Yang-Zhang achieves up to 14× the efficiency of close-to-close variance, meaning you can achieve the same estimation accuracy with far fewer bars
• Drift Independence — Rogers-Satchell and Yang-Zhang correctly isolate variance even in strongly trending markets where simpler estimators become biased
• Gap Handling — Yang-Zhang properly accounts for overnight gaps, critical for equity markets
• Regime Detection — Built-in threshold modes identify when volatility enters elevated or suppressed states
↑ Overview showing Yang-Zhang volatility with dynamic threshold bands and regime background colouring
🌸 --------- HOW IT WORKS --------- 🌸
💮 Core Concept
The toolkit groups volatility estimators by their output scale to ensure valid comparisons and aggregations:
• Log-Return Scale (σ) — Close-to-Close, Parkinson, Garman-Klass, Rogers-Satchell, Yang-Zhang. These are comparable and can be aggregated. Annualisable via √(periods_per_year) scaling.
• Price Unit Scale ($) — ATR. Measures volatility in absolute price terms, directly usable for stop-loss placement.
• Percentage Scale (%) — Chaikin Volatility. Measures the rate of change of the trading range — whether volatility is expanding or contracting.
Only estimators with the same scale can be meaningfully compared or aggregated. The indicator enforces this and warns when mixing incompatible scales.
💮 Range-Based Estimator Overview
Range-based estimators utilise High, Low, Open, and Close prices to extract significantly more information about the underlying diffusion process than close-only methods:
• Parkinson (1980) — Uses High-Low range. ~5× more efficient than close-to-close. Assumes zero drift.
• Garman-Klass (1980) — Incorporates Open and Close. ~7.4× more efficient. Assumes zero drift, no gaps.
• Rogers-Satchell (1991) — Drift-independent. Superior in trending markets where Parkinson/GK become biased.
• Yang-Zhang (2000) — Composite estimator handling both drift and overnight gaps. Up to 14× more efficient.
💮 Theoretical Background
• Parkinson, M. (1980). The Extreme Value Method for Estimating the Variance of the Rate of Return. Journal of Business, 53 (1), 61–65. DOI
• Garman, M.B. & Klass, M.J. (1980). On the Estimation of Security Price Volatilities from Historical Data. Journal of Business, 53 (1), 67–78. DOI
• Rogers, L.C.G. & Satchell, S.E. (1991). Estimating Variance from High, Low and Closing Prices. Annals of Applied Probability, 1 (4), 504–512. DOI
• Yang, D. & Zhang, Q. (2000). Drift-Independent Volatility Estimation Based on High, Low, Open, and Close Prices. Journal of Business, 73 (3), 477–491. DOI
🌸 --------- KEY FEATURES --------- 🌸
💮 Feature Reference
Estimators (8 options across 3 scale groups):
• Close-to-Close — Classical benchmark using closing prices only. Least efficient but useful as baseline. Log-return scale.
• Parkinson — Range-based (High-Low), ~5× more efficient than close-to-close. Assumes zero drift. Log-return scale.
• Garman-Klass — OHLC-optimised, ~7.4× more efficient. Assumes zero drift, no gaps. Log-return scale.
• Rogers-Satchell — Drift-independent, handles trending markets where Parkinson/GK become biased. Log-return scale.
• Yang-Zhang — Gap-aware composite, most comprehensive (up to 14× efficient). Uses internal rolling variance (unsmoothed). Log-return scale.
• Std Dev — Standard deviation of log returns. Log-return scale.
• ATR — Average True Range in absolute price units. Useful for stop-loss placement. Price unit scale.
• Chaikin — Rate of change of range. Measures volatility expansion/contraction, not level. Percentage scale.
Smoothing Filters (10 options via FiltersToolkit):
• SMA / EMA — Classical moving averages
• Super Smoother (2-Pole / 3-Pole) — Ehlers IIR filter with excellent noise reduction
• Ultimate Smoother (2-Pole / 3-Pole) — Near-zero lag in passband
• BiQuad — Second-order IIR with configurable Q factor
• ADXvma — Adaptive smoothing, flat during ranging periods
• MAMA — MESA Adaptive Moving Average (cycle-adaptive)
• A2RMA — Adaptive Autonomous Recursive MA
Threshold Modes:
• Static — Fixed threshold values you define (e.g., 0.025 annualised)
• Dynamic — Adaptive bands: baseline ± (standard deviation × multiplier)
• Percentile — Threshold at Nth percentile of recent history (e.g., 80th percentile for high)
Visual Features:
• Level-based colour gradient — Line colour shifts with percentile rank (warm = high vol, cool = low vol)
• Fill to zero — Gradient fill intensity proportional to volatility level
• Threshold fills — Intensity-scaled fills when thresholds are breached
• Regime background — Chart background indicates HIGH/NORMAL/LOW volatility state
• Legend table — Displays estimator names, parameters, current values with percentile ranks (P##)
💮 Dual Estimator Slots
Compare two volatility estimators side-by-side. Each slot independently configures:
• Estimator type (8 options across three scale groups)
• Lookback period and smoothing filter
• Colour palette and visual style
This enables direct comparison between estimators (e.g., Yang-Zhang vs Rogers-Satchell) or between different parameterisations of the same estimator.
↑ Yang-Zhang (reddish) and Rogers-Satchell (greenish)
💮 Flexible Smoothing via FiltersToolkit
All estimators (except Yang-Zhang, which uses internal rolling variance) support configurable smoothing through 10 filter types. Using Infinite Impulse Response (IIR) filters instead of SMA avoids the "drop-off artefact" where volatility readings crash when old spikes exit the window.
Example: Same estimator (Parkinson) with different smoothing filters
Add two instances of Volatility Toolkit to your chart:
• Instance 1: Parkinson with SMA smoothing (lookback 14)
• Instance 2: Parkinson with Super Smoother 2-Pole (lookback 14)
Notice how SMA creates sharp drops when volatile bars exit the window, while Super Smoother maintains a gradual transition.
↑ Two Parkinson estimators — SMA (red mono-colour, showing drop-off artefacts) vs Super Smoother (turquoise mono colour, with smooth transitions)
↑ Garman-Klass with BiQuad (orangy) and 2-pole SuperSmoother filters (greenish)
💮 Weighted Aggregation
Combine multiple estimators into a single weighted average. The indicator automatically:
• Validates scale compatibility (only same-scale estimators can be aggregated)
• Normalises weights (so 2:1 means 67%:33%)
• Displays clear warnings when scales differ
Example: Robust volatility estimate
Combine Yang-Zhang (handles gaps) with Rogers-Satchell (handles drift) using equal weights:
• E1: Yang-Zhang (14)
• E2: Rogers-Satchell (14)
• Aggregation: Enabled, weights 1:1
The aggregated line (with "fill to zero" enabled) provides a more robust estimate by averaging two complementary methodologies.
↑ Yang-Zhang + Rogers-Satchell with aggregation line (thicker) showing combined estimate (notice how opening gaps are handled differently)
Example: Trend-weighted aggregation
In strongly trending markets, weight Rogers-Satchell more heavily since it's drift-independent:
• Estimator 1: Garman-Klass (faster, higher weight in ranging)
• Estimator 2: Rogers-Satchell (drift-independent, higher weight in trends)
• Aggregation: weights 1:2 (favours RS during trends)
💮 Adaptive Threshold Detection
Three threshold modes for identifying volatility regime shifts. Threshold breaches are visualised with intensity-scaled fills that grow stronger the further volatility exceeds the threshold.
Example: Dynamic thresholds for regime detection
Configure dynamic thresholds to automatically adapt to market conditions:
• High Threshold Mode: Dynamic (baseline + 2× std dev)
• Low Threshold Mode: Dynamic (baseline - 2× std dev)
• Show threshold fills: Enabled
This creates adaptive bands that widen during volatile periods and narrow during calm periods.
Example: Percentile-based thresholds
Use percentile mode for context-aware regime detection:
• High Threshold Mode: Percentile (96th)
• Low Threshold Mode: Percentile (4th)
• Percentile Lookback: 500
This identifies when volatility enters the top/bottom 4% of its recent distribution.
↑ Different threshold settings, where the dynamic and percentile methods show adaptive bands that widen during volatile periods, with fill intensity varying by breach magnitude. Regime detection (see next) is enabled too.
💮 Regime Background Colouring
Optional background colouring indicates the current volatility regime:
• High Volatility — Warm/alert background colour
• Normal — No background (neutral)
• Low Volatility — Cool/calm background colour
Select which source (Estimator 1, Estimator 2, or Aggregation) drives the regime display.
Example: Regime filtering for trade decisions
Use regime background to filter trading signals from other indicators:
• Regime Source: Aggregation
• Background Transparency: 90 (subtle)
When the background shows HIGH volatility (warm), consider tighter stops. When LOW (cool), watch for breakout setups.
↑ Regime background emphasis for breakout strategies. Note the interesting A2RMA smoothing for this case.
🌸 --------- USAGE GUIDE --------- 🌸
💮 Getting Started
1. Add the indicator to your chart
2. Estimator 1 defaults to Yang-Zhang (14) — the most comprehensive estimator for gapped markets
3. Keep "Annualise Volatility" enabled to express values in standard annualised form
4. Observe the legend table for current values and percentile ranks (P##). Hover over the table cells to see a little more info in the tooltip.
💮 Choosing an Estimator
• Trending equities with gaps — Yang-Zhang. Handles both drift and overnight gaps optimally.
• Crypto (24/7 trading) — Rogers-Satchell. Drift-independent without Yang-Zhang's multi-period lag.
• Ranging markets — Garman-Klass or Parkinson. Simpler, no drift adjustment needed.
• Price-based stops — ATR. Output in price units, directly usable for stop distances.
• Regime detection — Combine any estimator with threshold modes enabled.
💮 Interpreting Output
• Value (P##) — The volatility reading with percentile rank. "0.1523 (P75)" means 0.1523 annualised volatility at the 75th percentile of recent history.
• Colour gradient — Warmer colours = higher percentile (elevated volatility), cooler colours = lower percentile.
• Threshold fills — Intensity indicates how far beyond the threshold the current reading is.
• ⚠️ HIGH / 🔻 LOW — Table indicators when thresholds are breached.
🌸 --------- ALERTS --------- 🌸
💮 Direction Change Alerts
• Estimator 1/2 direction change — Triggers when volatility inflects (rising to falling or vice versa)
💮 Cross Alerts
• E1 crossed E2 — Triggers when the two estimator lines cross
💮 Threshold Alerts
• E1/E2/Aggr High Volatility — Triggers when volatility breaches the high threshold
• E1/E2/Aggr Low Volatility — Triggers when volatility falls below the low threshold
💮 Regime Change Alerts
• E1/E2/Aggr Regime Change — Triggers when the volatility regime transitions (High ↔ Normal ↔ Low)
🌸 --------- LIMITATIONS --------- 🌸
• Drift bias in Parkinson/GK — These estimators overestimate variance in trending conditions. Switch to Rogers-Satchell or Yang-Zhang for trending markets.
• Yang-Zhang minimum lookback — Requires at least 2 bars (enforced internally). Cannot produce instantaneous readings like other estimators.
• Flat candles — Single-tick bars produce near-zero variance readings. Use higher timeframes for illiquid assets.
• Discretisation bias — Estimates degrade when ticks-per-bar is very small. Consider higher timeframes for thinly traded instruments.
• Scale mixing — Different scale groups (log-return, price unit, percentage) cannot be meaningfully compared or aggregated. The indicator warns but does not prevent display.
🌸 --------- CREDITS --------- 🌸
💮 Academic Sources
• Parkinson, M. (1980). The Extreme Value Method for Estimating the Variance of the Rate of Return. Journal of Business, 53 (1), 61–65. DOI
• Garman, M.B. & Klass, M.J. (1980). On the Estimation of Security Price Volatilities from Historical Data. Journal of Business, 53 (1), 67–78. DOI
• Rogers, L.C.G. & Satchell, S.E. (1991). Estimating Variance from High, Low and Closing Prices. Annals of Applied Probability, 1 (4), 504–512. DOI
• Yang, D. & Zhang, Q. (2000). Drift-Independent Volatility Estimation Based on High, Low, Open, and Close Prices. Journal of Business, 73 (3), 477–491. DOI
• Wilder, J.W. (1978). New Concepts in Technical Trading Systems . Trend Research.
💮 Libraries Used
• VolatilityToolkit Library — Range-based estimators, smoothing, and aggregation functions
• FiltersToolkit Library — Advanced smoothing filters (Super Smoother, Ultimate Smoother, BiQuad, etc.)
• ColourUtilities Library — Colour palette management and gradient calculations
BBQ Levels - Options Spread Diversification GridOverview
BBQ Levels (also known as "The Grill") is a price-level tracking indicator designed for options traders who use iron condors, put credit spreads, or other spread strategies. It divides the price chart into horizontal zones and tracks which "level" the market currently occupies, helping traders diversify their positions across different price ranges rather than concentrating risk at a single strike.
The indicator uses a playful Star Wars naming convention: upward-trending levels are called "Jedi Levels" (JL) and downward-trending levels are called "Sith Levels" (SL). This terminology originated from a trading mentor who found it easier to remember than directional abbreviations.
How It Works
Level Grid System
The indicator creates a grid of horizontal price levels based on your chosen spacing (default: 10 points). Each level represents a price zone where you might consider placing a spread trade.
Trend State Tracking
The indicator operates in one of two modes:
Jedi Mode (Bullish): When price is advancing upward through levels. Each time price breaks above the current level's top boundary, the indicator advances to the next Jedi Level (JL1 to JL2 to JL3, etc.).
Sith Mode (Bearish): When price is declining through levels. Each time price breaks below the current level's bottom boundary, the indicator advances to the next Sith Level (SL1 to SL2 to SL3, etc.).
Level Transitions
Transitions between modes occur when price reverses and touches the opposing level boundary. The indicator uses high/low touches (not closes) to determine level breaks, providing faster signals.
Trade Visualization Boxes
You can overlay up to 10 colored rectangles representing your actual options positions. Each box shows:
- Opening date (when you entered the trade)
- Expiration date (when the options expire)
- Upper and lower strikes (defining your spread's range)
- Custom label (e.g., "Jan IC" or "Feb Put Spread")
This lets you see at a glance which price zones you have covered and where gaps exist in your "grill."
Practical Application
Vertical Diversification Strategy
The core idea is to diversify iron condors across multiple price levels rather than placing all trades at the current market price:
When market reaches extended Jedi Levels (JL3 or higher): Consider reducing delta on new put credit spreads, as the market may be overextended to the upside.
When market reaches extended Sith Levels (SL3 or higher): Consider increasing delta on new positions, anticipating potential mean reversion.
Coverage Visualization
By drawing boxes for your active positions, you can see which price ranges are "protected" by existing spreads and identify gaps where additional positions might provide better coverage.
Settings Guide
Main Settings
Level Spacing - Distance between horizontal levels in price points. Default is 10. For SPY, 10 points creates meaningful zones; for SPX, consider 50-100 points.
Trade Boxes (1-10)
Each trade slot has these settings:
Show Trade - Toggle visibility of this position box
Label - Custom name for the trade (e.g., "Jan 17 IC")
Opening Date - When you entered the position
Expiration Date - Options expiration date
Upper Strike - Top of your spread range
Lower Strike - Bottom of your spread range
Visual Elements
Green labels (JL1, JL2...) - Mark upward level progressions
Red labels (SL1, SL2...) - Mark downward level progressions
Blue labels - Mark trend reversal points (JL1 after Sith mode, SL1 after Jedi mode)
Dashed blue grid lines - Show level boundaries extending into the future
Colored boxes - Your configured trade positions
Status table (top right) - Current price, level, and trend direction
What Makes This Different
Unlike standard support/resistance indicators, BBQ Levels is specifically designed for options spread traders. It provides:
A systematic framework for diversifying positions across price levels
Visual overlay of actual trade positions against the level grid
State-based tracking that distinguishes between bullish and bearish market phases
Actionable context for adjusting spread deltas based on market extension
Best Used On
SPY, SPX, or other index products where you trade iron condors
Daily or 4-hour timeframes for position planning
Lower timeframes (1H, 15m) for timing entries within levels
Limitations
This indicator does not predict price direction - it only tracks which level price currently occupies
The level spacing is fixed and does not adapt to volatility
Trade boxes are manual inputs - you must update them as you open/close positions
Level progression rules may generate frequent signals during choppy, range-bound markets
This is a visualization and organizational tool, not a trading signal generator
Disclaimer
This indicator is for educational and organizational purposes only. It does not constitute financial advice and should not be used as the sole basis for trading decisions.
Options trading involves substantial risk and is not suitable for all investors
Past performance does not guarantee future results
Iron condors and credit spreads have defined risk but can still result in significant losses
Always conduct your own research and consider consulting a financial professional
The author is not responsible for any trading losses incurred using this tool
Version History
v1.0 - Initial release with level tracking
v1.1 - Bug fix: levels now update on touch, not close
v1.2 - Added trade visualization boxes (up to 10 positions)
v1.3 - Fixed expiration date rendering for trade boxes
HTF Double BOS + Inducement (XAU) ebenThis indicator is a market structure and inducement scanner designed to assist discretionary traders.
It identifies:
• Higher-timeframe market regime using a double Break of Structure (BOS) on the Daily and 4H timeframes.
• Lower-timeframe Break of Structure (BOS).
• Valid inducement based on a minimum 70% retracement rule.
The script is intended to be used as a confirmation and alert tool, not as a standalone buy/sell system.
⸻
How It Works
1. The indicator first confirms directional bias using Daily and 4H BOS alignment.
2. When higher-timeframe bias is valid, it scans the active chart timeframe for:
• a Break of Structure,
• followed by inducement using a retracement-based rule.
3. When conditions align, the script displays a visual marker and can trigger an alert.
⸻
Important Notes
• This indicator does not predict price.
• It does not automatically execute trades.
• It should be used in conjunction with proper risk management and personal analysis.
• Signals may appear less frequently due to strict filtering logic.
⸻
Recommended Usage
• Best suited for trend-following strategies.
• Works well on Gold (XAUUSD) and other liquid markets.
• Designed for use on 30m, 15m, and 5m charts.
• Alerts should be treated as areas of interest, not direct trade instructions.
⸻
Disclaimer
This script is provided for educational and analytical purposes only.
The author is not responsible for trading losses. Use at your own risk.
Simple PDH / PDL Clean Entries (NZ Time)Simple PDH / PDL Liquidity Entry Indicator
This indicator is designed for clean, stress-free intraday trading on Gold. It identifies high-probability buy and sell opportunities based on a liquidity sweep and reclaim of the previous day’s high or low (PDH / PDL). Signals are limited to one trade per session using New Zealand time, helping prevent overtrading. Each signal prints a clear BUY or SELL icon directly on the candle, along with a concise label showing entry price, stop loss, and take profit. No indicators, no clutter — just key levels, disciplined execution, and institutional-style simplicity.
Mean Reversion Covered Call Zones (Holdmybirra)Sell call when the market is frothy to try make a premium on a bunch of degenerates pure 10ampro alpha
ORB 15 Min Fixed (09:30 EST/EDT-NY OPEN)This script is for the ORB 15 min strategy. It starts (initializes) at 09:30AM US Eastern Time(New York Open).
VIXO - VIX OscillatorVIXO (VIX Oscillator) is a volatility oscillator built from the CBOE Volatility Index (symbol: TVC:VIX). It helps visualize volatility regime shifts by combining a smoothed VIX RSI with a normalized VIX momentum component, plus a VIX histogram that becomes more/less prominent depending on how far VIX is from its moving average. It helps you assess whether market conditions may be approaching rare but powerful squeeze phases.
WHAT THIS INDICATOR PLOTS
1) VIX RSI (cyan line)
- RSI is calculated on the VIX close and then smoothed (SMA) to reduce noise.
- Use it to observe short-term momentum in volatility rather than price.
2) VIX Normalized Momentum (gray line)
- Momentum is measured as ROC (rate of change) of the VIX close.
- That ROC is normalized to a 0–100 scale using a rolling lookback window:
- 50 is the midpoint of the recent momentum range (neutral within the selected window).
- Values near 0/100 indicate momentum near the low/high of that lookback window.
3) VIX Value Bars (histogram)
- Histogram shows the raw VIX value.
- Bar visibility is dynamically adjusted (transparency changes) based on the ratio of VIX to its 21-period SMA:
- When VIX is close to its MA, bars are more transparent.
- When VIX deviates more from its MA (within a capped range), bars become more visible.
- If VIX High is below 30, the script intentionally keeps bars fully transparent to reduce visual clutter.
LEVELS (REFERENCE ONLY)
The horizontal levels are visual guides to help segment oscillator zones. They are not guarantees and should not be treated as standalone trade signals:
- 80: “Panic of Market”
- 60: “VIX says BUY” (label only; not financial advice)
- 50: “Neutral / Momentum Mid”
- 40: “Get Ready”
HOW TO USE
- Apply VIXO to any chart. The indicator always pulls TVC:VIX data, regardless of the chart symbol.
- Typical interpretation:
- Rising VIX RSI and/or rising normalized momentum can indicate increasing volatility pressure.
- Falling readings can indicate volatility easing.
- Compare changes in VIXO with your chart’s price structure, trend filters, or risk management framework.
INPUTS
- RSI Length: RSI period on VIX close (smoothed afterward).
- Momentum Length: ROC period on VIX close.
- Momentum Normalization Lookback: window used to scale ROC into 0–100.
DATA & BEHAVIOR NOTES
- Data source: request.security("TVC:VIX", timeframe.period, OHLC).
- The script does not use lookahead to access future data.
- On realtime bars, values can update while the current bar is forming; historical bars remain fixed once closed.
- Availability of TVC:VIX data depends on your TradingView data access.
IMPORTANT DISCLAIMER
This indicator is provided for educational and informational purposes only and does not constitute financial, investment, or trading advice. It does not predict the future, does not guarantee results, and should not be used as the sole basis for any trading decision. Always validate signals with additional analysis and use appropriate risk management.
MTF MACD( TF0 cross 0 ) MULTI TIMEFRAME MACD Checking with OSMA TF+1 Momentum check
and TF+2 Trend Check to clarify the clean signal
Position Size Calc - Prime Hour Trading v2Descriptive Summary:
The tool acts as a "cockpit dashboard" for your trades, visually mapping out entry, stop-loss, and take-profit levels directly on your chart. It eliminates manual math by instantly converting your personal risk parameters—such as account balance and risk percentage (e.g., 1–2%)—into the exact number of shares, lots, or contracts required for the trade.
Core Features & Functionality
Dynamic Visual Planning: Users can drag entry and exit lines in real-time, with position sizes automatically recalculating as the distance between entry and stop-loss changes.
Automated Risk Modeling: It provides a real-time Risk-to-Reward Ratio (RRR) and precise dollar amounts for potential profit or loss, helping traders stay disciplined and avoid emotional overleveraging.
Advanced Calculation Modes:
Fixed Risk: Risking a set dollar amount or percentage of total equity.
How to Use It
Select the Tool: In the left-hand toolbar, select the Long Position or Short Position drawing tool.
Define Levels: Click on the chart to set your entry, then drag the shaded regions to set your target prices or Take Profit and then Stop Loss.
Input Account Data: Double-click the tool to open "Settings" and enter your Account Size and Risk % or Amount.
Shares to Stop Loss📊 Shares to Stop Loss Calculator
This indicator automatically calculates the optimal number of shares to trade based on your predefined risk amount and dynamic stop loss levels.
🎯 Key Features:
Automatic Position Sizing: Calculates exact number of shares for both LONG and SHORT positions based on your risk tolerance
Dynamic Stop Loss Levels: Uses relative highs and lows from a customizable lookback period
Visual Reference Lines: Displays horizontal lines showing your stop loss levels on the chart
Real-time Updates: Position size adjusts automatically with price movement
Clean Interface: Compact table showing all relevant information without cluttering your chart
⚙️ How It Works:
For SHORT positions:
Stop loss is placed at the relative high (highest price in the lookback period)
Calculates shares needed to risk your specified dollar amount
For LONG positions:
Stop loss is placed at the relative low (lowest price in the lookback period)
Calculates shares needed to risk your specified dollar amount
📝 Inputs:
Amount for stop loss ($): Your maximum risk per trade in dollars (default: $100)
Look back candles for rel. HIGH: Period to calculate the relative high for SHORT stops (default: 20)
Look back candles for rel. LOW: Period to calculate the relative low for LONG stops (default: 20)
Line colors: Customize the appearance of reference lines
💡 Use Case:
Perfect for traders who practice proper risk management and want to maintain consistent dollar risk across different price levels and volatility conditions. Simply set your risk amount once, and the indicator does the math for you on every candle.
⚠️ Note: This indicator calculates position sizes based on technical levels. Always consider liquidity, account size, and broker requirements before entering positions.
Weekly Swing Trading Signals - DP V1.0This script generates swing trading signals on weekly charts based on 200 SMA and RSI values.
Scalp PRO Visual momentum through the candlestick pattern. Gradients to show acceleration and deceleration to assist with entry and exits. Different color settings and optimizations. Enjoy!
Bullish Engulfing at Daily Support (Pivot Low) - R Target (v6)1. What this strategy really is (in human terms)
This strategy is not about predicting the market.
It’s about waiting for proof that buyers are stepping in at a price where they already should.
Think of it like this:
“I only buy when price falls into a known ‘floor’ and buyers visibly take control.”
That’s it.
Everything in the script enforces that idea.
2. The two ingredients (nothing else)
Ingredient #1: Daily Support (the location)
Support is an area where price previously fell and then reversed upward.
In the script:
Support is defined as the most recent confirmed daily swing low
A swing low means:
Price went down
Stopped
Then went up enough to prove that buyers defended that level
This matters because:
You’re not guessing where support might be
You’re using a level where buyers already proved themselves
“At support” doesn’t mean exact
Markets don’t bounce off perfect lines.
So the script allows a small zone (the “support tolerance”):
Example: 0.5% tolerance
If support is at 100
Anywhere between ~99.5–100.5 counts
This prevents missing good trades just because price was off by a few ticks.
Ingredient #2: Bullish Engulfing Candle (the trigger)
This is the confirmation.
A bullish engulfing candle means:
Sellers were in control
Buyers stepped in hard enough to fully overpower them
The bullish candle’s body “swallows” the previous candle
Psychologically, it says:
“Sellers tried, failed, and buyers just took control.”
That’s why this candle works only at support.
A bullish engulfing in the middle of nowhere means nothing.
3. Why daily timeframe matters
The daily chart:
Filters out noise
Reflects decisions made by institutions, not random scalpers
Produces fewer but higher-quality signals
That’s why:
The script uses daily data
You typically get very few trades per month
Most days: no trade
That “boredom” is the edge.
4. When a trade is taken (exact conditions)
A trade happens only if ALL are true:
Price drops into a recent daily support zone
A bullish engulfing candle forms on the daily chart
Risk is clearly defined (entry, stop, target)
If any one is missing → no trade
5. How risk is controlled (this is crucial)
The stop loss (where you admit you’re wrong)
The stop is placed:
Below the support level
Or below the low of the engulfing candle
With a small ATR buffer so normal noise doesn’t stop you out
Meaning:
“If price breaks below this area, buyers were wrong. I’m out.”
No hoping. No moving stops. No exceptions.
Position sizing (why this strategy survives losing streaks)
Each trade risks a fixed % of your account (default 1%).
So:
Big stop = smaller position
Small stop = larger position
This keeps every trade equal in risk, not equal in size.
That’s professional behavior.
6. The take-profit logic (why 2.8R matters)
Instead of guessing targets:
The strategy uses a multiple of risk (R)
Example:
Risk = $1
Target = $2.80
You can lose many times and still come out ahead.
This is why:
Win rate ≈ 60% is more than enough
Even 40–45% could still work if discipline is perfect
7. Why patience is the real edge (not the pattern)
The bullish engulfing is common.
Bullish engulfing at daily support is rare.
Most people fail because they:
Trade engulfings everywhere
Ignore location
Lower standards when bored
Add “just one more indicator”
Your edge is:
Saying no 95% of the time
Taking only trades that look obvious after they work
8. How to use this strategy effectively (rules to follow)
Rule 1: Only take “clean” setups
Skip trades when:
Support is messy or unclear
Price is chopping sideways
The engulfing candle is tiny
The market is news-chaotic (earnings, FOMC, etc.)
If you have to convince yourself, skip it.
Rule 2: One trade at a time
This strategy works best when:
You’re not stacked in multiple correlated trades
You treat each setup like it matters
Quality > quantity.
Rule 3: Journal screenshots, not just numbers
After each trade, save:
Daily chart screenshot
Support level marked
Entry / stop / target
After 50–100 trades, patterns jump out:
Best tolerance %
Best stop buffer
Markets that behave well vs poorly
That’s how the original trader refined it.
Rule 4: Expect boredom and drawdowns
You will have:
Weeks with zero trades
Clusters of losses
Long flat periods
That’s normal.
If you “fix” it by adding more trades:
You destroy the edge.
9. Who this strategy is perfect for
This fits you if:
You don’t want screen addiction
You prefer process over excitement
You’re okay being wrong often
You want something you can execute for years
It is not for:
Scalpers
Indicator collectors
People who need action every day
10. The mindset shift (the real lesson of that story)
The money didn’t come from bullish engulfings.
It came from:
Defining one repeatable behavior
Removing everything else
Trusting math + patience
Doing nothing most of the time
If you want, next we can:
Walk through real example trades bar-by-bar
Optimize settings for a specific market you trade
Add filters that increase quality without adding complexity






















