Flow Dashboard PRO ( 79 Fx Create ) sakada//@version=5
indicator("Multi TF Flow Dashboard PRO (Stable)", overlay=true)
// ===== GET CLOSED CANDLES =====
d_open = request.security(syminfo.tickerid, "D", open)
d_close = request.security(syminfo.tickerid, "D", close)
h4_open = request.security(syminfo.tickerid, "240", open)
h4_close = request.security(syminfo.tickerid, "240", close)
h1_open = request.security(syminfo.tickerid, "60", open)
h1_close = request.security(syminfo.tickerid, "60", close)
m15_open = request.security(syminfo.tickerid, "15", open)
m15_close = request.security(syminfo.tickerid, "15", close)
// ===== FLOW LOGIC =====
dailyFlow = d_close > d_open ? 1 : -1
h4Flow = h4_close > h4_open ? 1 : -1
h1Flow = h1_close > h1_open ? 1 : -1
m15Flow = m15_close > m15_open ? 1 : -1
// ===== COUNT =====
bullCount = (dailyFlow == 1 ? 1 : 0) + (h4Flow == 1 ? 1 : 0) + (h1Flow == 1 ? 1 : 0) + (m15Flow == 1 ? 1 : 0)
bearCount = (dailyFlow == -1 ? 1 : 0) + (h4Flow == -1 ? 1 : 0) + (h1Flow == -1 ? 1 : 0) + (m15Flow == -1 ? 1 : 0)
// ===== TOTAL FLOW =====
string totalFlow = bullCount > bearCount ? "TOTAL BULLISH" :
bearCount > bullCount ? "TOTAL BEARISH" :
"NEUTRAL"
// ===== CREATE TABLE =====
var table t = table.new(position.top_right, 2, 6, border_width=1)
// ===== UPDATE TABLE =====
if barstate.islast
table.cell(t, 0, 0, "Timeframe", bgcolor=color.gray, text_color=color.white)
table.cell(t, 1, 0, "Flow", bgcolor=color.gray, text_color=color.white)
table.cell(t, 0, 1, "Daily")
table.cell(t, 1, 1, dailyFlow == 1 ? "Bullish" : "Bearish", text_color=dailyFlow==1?color.lime:color.red)
table.cell(t, 0, 2, "4H")
table.cell(t, 1, 2, h4Flow == 1 ? "Bullish" : "Bearish", text_color=h4Flow==1?color.lime:color.red)
table.cell(t, 0, 3, "1H")
table.cell(t, 1, 3, h1Flow == 1 ? "Bullish" : "Bearish", text_color=h1Flow==1?color.lime:color.red)
table.cell(t, 0, 4, "15M")
table.cell(t, 1, 4, m15Flow == 1 ? "Bullish" : "Bearish", text_color=m15Flow==1?color.lime:color.red)
table.cell(t, 0, 5, "TOTAL FLOW")
table.cell(t, 1, 5, totalFlow,
text_color = totalFlow=="TOTAL BULLISH"?color.lime:
totalFlow=="TOTAL BEARISH"?color.red:
color.orange,
bgcolor = totalFlow=="TOTAL BULLISH"?color.new(color.green,80):
totalFlow=="TOTAL BEARISH"?color.new(color.red,80):
color.new(color.orange,80))
インジケーターとストラテジー
Smart Money Flow: Automated Liquidity & Fair Value GapsOverview
This script is a comprehensive Smart Money Concepts (SMC) toolkit designed specifically for high-volatility assets like Gold (XAUUSD/MGC) on the 4-Hour timeframe. It automates the identification of institutional "traps" and entry zones by tracking Liquidity Sweeps and Fair Value Gaps (FVG).
Key Features
Liquidity Sweep Detection (SSL/BSL): Automatically identifies "Stop Hunts" where price wicks beyond recent swing points to grab liquidity before a reversal.
Automated Fair Value Gaps (FVG): Draws and labels institutional imbalances where price is likely to return for a re-entry.
Market Structure Shift (MSS): Signals the "Change of Character" (CHoCH) following a liquidity sweep, confirming a potential trend reversal.
Scannable Visuals: Includes clear labels and box projections to help traders identify "Discount" and "Premium" zones at a glance.
How to Trade with this Tool
Wait for a Sweep: Look for the SSL Sweep (Green Triangle) or BSL Sweep (Red Triangle) on the 4H chart.
Confirm the Shift: Wait for the MSS (Star) to appear, signaling that the "Smart Money" has shifted the trend.
The Entry: Place your limit orders within the Labeled FVG Boxes created by the move.
Risk Management: Place your Stop Loss below the wick of the Liquidity Sweep.
Disclaimer
This script is a tool to assist in technical analysis. It does not guarantee profits. Trading futures, especially Gold, involves significant risk. Always use proper risk-to-reward ratios.
Volume Conviction Index v1.0Volume Conviction Index (VCI) v1.0
This indicator helps answer a simple question: Does this price move have real strength behind it, or is the volume too weak to trust???
It measures "conviction" through how many participants are in the marketplace by looking at volume in a smart, reliable way:
- Spots unusual volume surges (buying or selling pressure) that stand out from normal (median line plotted) levels.
- visually helps with discretionary calls and allows the median avg of participation not just volume to be 'seen'
- Blends recent volume changes with how volume compares to its typical range.
How to read the chart (super straightforward):
- Teal columns above the zero line: Strong buying conviction — volume supporting the up move (good sign for breakouts or holds).
- Orange columns below zero: Strong selling conviction — heavy participation on the downside (watch for reversals or weakness on rallies).
- Flat/small bars near zero: Low conviction — price might be moving on fumes (often leads to fakeouts or quick fades).
- Optional white dashed line (the "median conviction"): A smoothed version over the last few bars. If it crosses zero or diverges from price, it can signal shifting momentum.
index works the same for both bears and bulls. teal bars in the positive are above participation or conviction in both bearish and bullish participation. also allows identifying exhaustion in both bearish and bullish scenarios.
works well equally on lower TFs and higher TFs
Why use it:
It uses robust statistics (rolling median volume + Median Absolute Deviation for a "z-like" score) instead of plain averages — much better at handling noisy or outlier-heavy markets like crypto, forex, or stocks during news events. Then it adds a weighted mix of short-term volume acceleration and relative volume for better context.
Great for:
- Beginners: Start with defaults — the colors and zero line make it easy to see at a glance.
- Day/swing traders: Filter entries/exits with real participation (e.g., teal spike on support bounce = higher odds).
- Anyone learning volume: Shows clearly when moves have "muscle" vs. when they're suspect.
Quick usage tips:
- Best on 5m to 4h charts with good volume data.
- Combine with price action, levels, or your favorite tools — use VCI to confirm conviction.
- Toggle the median line in settings if your timeframe is noisy.
Defaults work well across most assets — adjust "Volume Window" for longer/shorter lookback, or "Recent Weight" to emphasize sudden changes more/less.
I personally like using it on 1min / 5min / 30min charts. Has a microscope / high-rez feel about it when I'm on quicker TFs.
Open-source under © RU55IANROUL3TT3 — feel free to study, fork, or build on it!
Feedback welcomed — what markets/timeframes does it help you with?
Moving Average ExponentialDAYAAn Exponential Moving Average (EMA) is a technical chart indicator used in trading to identify market trends by averaging asset prices over a specific timeframe, placing higher weight and significance on the most recent price data. Unlike a Simple Moving Average (SMA), the EMA is more responsive to recent price changes, making it ideal for identifying reversals or short-term trends.
Heston Multi-Slot PeriodicityHESTON INTRADAY PERIODICITY STRATEGY
ACADEMIC BASIS:
Based on research by Heston, Korajczyk & Sadka (Journal of Finance, 2010).
Finding: "Stock returns in a specific half-hour window show continuation at the SAME time window the next day, persisting for 40+ trading days."
CORE CONCEPT:
If NQ went UP during 10:00-10:30 AM yesterday → likely goes UP during 10:00-10:30 AM today
If NQ went DOWN during 10:00-10:30 AM yesterday → likely goes DOWN during 10:00-10:30 AM today
WHY IT WORKS:
- Institutional VWAP trading (Volume Weighted Average Price algorithms)
- Index rebalancing flows occur at predictable times
- Market-on-close orders create patterns
- Institutions CAUSE the pattern but can't arbitrage it (position size, slippage, mandate restrictions)
STRATEGY RULES:
1. Track yesterday's return in 6 specific half-hour slots
2. At start of each slot today, if yesterday was UP → GO LONG
3. Exit: 30pt stop loss, 90pt target (3:1 R:R), or slot end (whichever first)
4. Longs only (proven 60%+ win rate vs shorts 50%)
TIME SLOTS:
S1: 9:30-10:00 AM (opening flows)
S2: 10:00-10:30 AM (post-open institutional)
S3: 11:00-11:30 AM (mid-morning)
S4: 1:00-1:30 PM (post-lunch)
S5: 2:00-2:30 PM (afternoon rebalancing)
S6: 3:00-3:30 PM (approaching close)
BACKTEST PERFORMANCE (5 months):
- Win Rate: 60.36%
- Profit Factor: 2.537
- Total Trades: 338
- Avg Win: $241 vs Avg Loss: $148 (1.6:1)
- Max Drawdown: $1,240 (0.12%)
EXECUTION:
- 3-6 setups per day
- Fully mechanical (no discretion)
- Scalable to multiple accounts
- Works on NQ futures (NASDAQ 100)
ACADEMIC REFERENCE:
Heston, S.L., Korajczyk, R.A., Sadka, R. (2010). "Intraday Patterns in the Cross-Section of Stock Returns." Journal of Finance, 65(4), 1369-1407.
8:30 AM CST Vertical LineVertical line @ open New York market. It let's everyone know when to start trading in order to catch major moves in the market for the most part.
Monthly 14th Line (Past & Future)This utility indicator automatically draws a vertical line on a specific day of every month (default is the 14th). It is designed for traders who track monthly cycles, recurring economic events, or specific expiration dates.
DCA Zones: MA100 Buffer (Buy-the-Dip Highlight)Highlights potential DCA buy zones when price drops X% below the 100-period MA.
DafePatternsLibDafePatternLib: The Adaptive Pattern Recognition Engine
DafePatternLib is not a static pattern library. It is an adaptive recognition engine. It doesn't just find patterns; it tracks, weights, and filters them based on their performance in the live market.
█ CHAPTER 1: THE PHILOSOPHY — BEYOND STATIC RULES, INTO DYNAMIC LEARNING
For decades, chart pattern analysis has been trapped in a rigid paradigm. An indicator coded to find a "Bullish Engulfing" will signal that pattern with the same confidence every time, regardless of whether it has been failing consistently for weeks. It has no memory and no ability to adapt.
DafePatternLib was created to change this. It is built on a performance-based reinforcement framework. This library is not just a collection of detection functions; it is a self-weighting logic system. It tracks outcomes. It remembers what works. Over time, it amplifies the signals of high-probability patterns and filters out those that are failing in the current market regime.
This is not a black box. It is an open-source, observable learning system. It strengthens and weakens its own internal weights based on positive and negative feedback, evolving into a tool adapted to the specific asset you are trading.
█ CHAPTER 2: CORE INNOVATIONS
This library introduces several advanced concepts for algorithmic analysis:
Reinforcement Learning Engine: The core of the system. Every high-confidence pattern is logged into "Active Memory." The library tracks the outcome against projected stops and targets. If successful, the weight for that pattern category is strengthened. If it fails, the weight is reduced. This creates a continuous feedback loop.
Adaptation Rate (Plasticity): You have direct control over the engine's "plasticity"—its ability to learn. High plasticity allows fast adaptation to new conditions; lower plasticity creates a stable, long-term model.
Dynamic Volatility Scaling (DVS): Markets breathe. DVS is a proprietary function that calculates a real-time volatility scalar by comparing current ATR to historical averages. This scalar automatically adjusts lookback periods and sensitivities. In high volatility, engines look for larger structures; in low volatility, they tighten focus.
Smart Confidence Score: The output is not a simple "true/false." Every pattern includes two scores:
• Raw Confidence: Static confidence based on the pattern's textbook definition.
• Net Confidence: The adaptive score (Raw Confidence × Learned Bias). A performing pattern sees its confidence boosted; a failing pattern gets penalized.
Intelligent Filtering: If the learned bias for a category (e.g., "Candle") drops below a threshold (e.g., 0.8), the library automatically filters those signals, treating them as low-probability noise until performance improves.
█ CHAPTER 3: ANATOMY OF THE LOGIC — HOW IT THINKS
The LogicWeights (The Core)
The central data structure holding the system's "memory." It stores a floating-point weight or "bias" for each of the five major categories (Candle, Harmonic, Structure, Geometry, VSA). Initialized at 1.0 (neutral).
update_core() (The Learning Process)
The heart of the reinforcement loop. When a pattern resolves (win/loss), this function applies a positive or negative adjustment to the corresponding category weight. Weights are constrained between 0.5 (distrust) and 2.0 (trust).
manage_memory() (Short-Term Memory)
Maintains an array of active signals. On every bar, it checks if targets or stops have been hit. Resolved patterns trigger update_core(). Unresolved patterns eventually expire, applying a minor penalty to discourage stagnation.
scan_pattern_universe() (Master Controller)
The main exported function. On every bar, it:
Calculates the Dynamic Volatility Scalar (DVS).
Runs all pattern detection engines (VSA, Geometry, Candles, etc.) adapted to DVS.
Identifies the single best pattern based on raw confidence.
Passes it to memory for tracking.
Applies the learned bias to calculate Net Confidence.
Returns the final, adaptively weighted PatternResult.
█ CHAPTER 4: DEVELOPER INTEGRATION GUIDE
Designed for simplicity and power.
1. Import the Library:
import DskyzInvestments/DafePatternLib/1 as pattern
2. Call the Scanner:
The library handles DVS, scanning, memory, and learning internally.
pattern.PatternResult signal = pattern.scan_pattern_universe()
3. Use the Result:
if signal.is_active
label.new(bar_index, signal.entry, "Conf: " + str.tostring(signal.net_confidence, "#") + "%")
With just these lines, you integrate a self-weighting, multi-pattern recognition engine.
█ INPUTS TEMPLATE (COPY INTO YOUR SCRIPT)
// ═══════════════════════════════════════════════════════════
// INPUT GROUPS
// ═══════════════════════════════════════════════════════════
string G_AI_ENGINE = "══════════ 🧠 LOGIC ENGINE ══════════"
string G_AI_PATTERNS = "══════════ 🔬 PATTERN SELECTION ══════════"
string G_AI_VISUALS = "══════════ 🎨 VISUALS & SIGNALS ══════════"
string G_AI_DASH = "══════════ 📋 LOGIC STATE DASHBOARD ══════════"
string G_AI_ALERTS = "══════════ 🔔 ALERTS ══════════"
// ═══════════════════════════════════════════════════════════
// LOGIC ENGINE CONTROLS
// ═══════════════════════════════════════════════════════════
bool i_enable_ai = input.bool(true, "✨ Enable Adaptive Engine", group = G_AI_ENGINE,
tooltip="Master switch to enable the pattern recognition and learning system.")
float i_plasticity = input.float(0.03, "Adaptation Rate", minval=0.01, maxval=0.1, step=0.01, group = G_AI_ENGINE,
tooltip="Controls adaptation speed. • Low (0.01-0.02): Stable learning. • Medium (0.03-0.05): Balanced. • High (0.06+): Fast adaptation.")
float i_filter_threshold = input.float(0.8, "Adaptive Filter Threshold", minval=0.5, maxval=1.0, step=0.05, group = G_AI_ENGINE,
tooltip="Hide signals from categories with a learned bias below this value.")
// ═══════════════════════════════════════════════════════════
// PATTERN SELECTION
// ═══════════════════════════════════════════════════════════
bool i_scan_candles = input.bool(true, "🕯️ Candlestick Patterns", group = G_AI_PATTERNS, inline="row1")
bool i_scan_vsa = input.bool(true, "📦 Volume Spread Analysis", group = G_AI_PATTERNS, inline="row1")
bool i_scan_geometry = input.bool(true, "📐 Geometric Patterns", group = G_AI_PATTERNS, inline="row2")
bool i_scan_structure = input.bool(true, "📈 Market Structure (SMC)", group = G_AI_PATTERNS, inline="row2")
bool i_scan_harmonic = input.bool(false, "🦋 Harmonic Setups", group = G_AI_PATTERNS, inline="row3")
// ═══════════════════════════════════════════════════════════
// VISUALS & DASHBOARD
// ═══════════════════════════════════════════════════════════
bool i_show_signals = input.bool(true, "Show Signals", group = G_AI_VISUALS)
bool i_show_dashboard = input.bool(true, "Show Logic Dashboard", group = G_AI_DASH)
█ DEVELOPMENT PHILOSOPHY
DafePatternLib was born from a vision to bring dynamic logic to technical analysis. We believe an indicator should not be a static tool, but an intelligent partner that adapts. This library is an open-source framework empowering developers to build the next generation of smart indicators.
█ DISCLAIMER
• LIBRARY FOR DEVELOPERS: This script produces no visual output on its own. It is an engine for developers.
• ADAPTIVE, NOT PREDICTIVE: Reinforcement learning optimizes based on recent history. It is a statistical edge, not a crystal ball.
• RISK WARNING: Patterns and confidence scores are for informational purposes.
"The key to trading success is emotional discipline. If intelligence were the key, there would be a lot more people making money trading." — Victor Sperandeo
Create with DAFE.
5, 8, 21, 200 EMA Daily 200 SMA Daily VWAPMulti-timeframe EMA stack with Daily VWAP & 200 SMA
This clean overlay indicator combines popular exponential moving averages (5, 8, 21, 200 EMA on current timeframe) with a higher-timeframe Daily 200 SMA and session-resetting Daily VWAP — perfect for trend following, dynamic support/resistance, and intraday bias on stocks, forex, crypto, or futures.
Key Features:
• 5 EMA (very fast) – quick momentum & scalping filter (default lime)
• 8 EMA (fast) – short-term trend & pullback entries (default blue)
• 21 EMA (medium) – intermediate trend & confluence zone (default orange)
• 200 EMA (long) – major trend direction & big-picture support/resistance (default purple)
• Daily 200 SMA – smooth higher-timeframe trend line that stays constant on lower TFs (default teal, thicker line)
• Daily VWAP – volume-weighted average price that resets each trading day (default yellow)
All lines feature right-edge labels that auto-refresh daily and follow price action (toggleable + size adjustable).
Common uses:
- Trend alignment: Trade in direction of higher EMAs + Daily 200 SMA
- Pullbacks: Enter near 5/8/21 EMA when aligned with 200s
- Intraday mean reversion: Use Daily VWAP as fair value anchor
- Dynamic S/R: Watch reactions at these levels
Fully customizable colors, lengths, and label visibility. Clean code, no repainting issues on historical bars.
Happy trading!
Sessions Gold Sniper MGC1!Overview
The MGC1! Sniper Time Zones is a specialized intraday precision tool designed for Gold futures traders (MGC/GC). It visually segments the trading day into four critical high-volatility windows based on ICT/SMC Killzones and Market Profile auction logic.
Core Functionality
The script automatically highlights specific time blocks on the chart to identify where "Smart Money" is likely to inject liquidity. It assists the trader in avoiding "chop" (low volatility periods) and focusing execution only during high-probability hours.
Highlighted Sessions
London Open (06:00 – 10:00): Captures the initial trend setting and European liquidity raids.
Pre-NY Lunch (12:00 – 13:00): Monitors mid-day rebalancing or potential position squaring before the NY open.
NY Open (14:00 – 16:00): The primary volatility window for ICT/SMC setups (Silver Bullet & Judat Swing).
NY PM Session (16:30 – 18:00): Focuses on the afternoon expansion or daily close reversals.
Key Features
Dynamic Labels: Clear, top-aligned text labels identify each session, ensuring you never lose track of the current market context across any timeframe (M1 to H1).
Customizable Aesthetics: Fully adjustable color palette via the settings menu to match any dark or light chart theme.
Visual Scannability: Uses transparent background fills (bgcolor) to allow price action and candlesticks to remain the primary focus while providing structural time-context.
Technical Setup
Platform: TradingView (Pine Script v5).
Timezone: Set to UTC+1 (Central European Time) by default to align with the MGC1! Sniper methodology.
Predictive Moving Average Convergence Divergence - RyderPredictive MACD that uses EMA math to forecast 1-3 bars ahead, assuming price remains constant. Shows current MACD (5/34/5 default) plus three forward-projected values. Useful for seeing momentum trends and potential early crossover signals, but predictions assume zero price change so they're best used as directional indicators rather than precise forecasts.
DkS Morning Start PRO 3.0DkS Morning Start PRO — FX Live Guide (Auto Entry / SL / TP + Asia Range)
DkS Morning Start PRO is a professional trading tool designed for Forex and intraday traders who want precise, rule-based entries using the Asian session breakout, with fully automated Entry, Stop Loss, and Take Profit levels.
The script automatically detects the Asian session range, monitors breakout conditions during the morning session, and generates a complete trading plan with clean, continuous visual levels directly on the chart.
Key Features
• Automatic Asian Range (Daily High & Low)
Draws the current day’s Asian High and Low and automatically removes previous levels, keeping your chart clean and focused.
• Automatic Entry, Stop Loss, and Take Profit
Calculated using professional logic based on:
Asian range breakout
Optional retest confirmation
Configurable risk management
Custom Risk/Reward ratio
• Clean and Professional Visual Display
Includes:
Continuous Entry, SL, and TP lines
Professional labels (Entry / SL / TP)
Real-time informational panel
Clear and minimal chart design
• Live Trading Plan (Before Confirmation)
Displays potential Entry, SL, and TP levels in advance, allowing traders to prepare before the signal confirms.
• Professional Confirmation Filters
Built-in filters for higher-probability setups:
Fast and Slow EMA trend filter
RSI confirmation filter
One trade per day option (ideal for FTMO and prop firms)
• Designed for Forex Intraday and Scalping
Highly effective on:
EURUSD
GBPUSD
AUDUSD
XAUUSD
Recommended timeframes:
M5
M15
M30
Advantages
• Eliminates emotional decision-making
• Provides clear, rule-based entries
• Improves consistency and discipline
• Ideal for FTMO and prop firm trading
• Clean, professional interface
• Non-repainting logic
How It Works
Detects the Asian session range
Waits for breakout during morning session
Confirms retest (optional)
Calculates Entry, Stop Loss, and Take Profit
Displays full trading plan automatically
Hidden Divergence with BB & Triple Filterthis stargies use for intraday best for structure trading and breakout and breakdown helpful for all beginer and expernices trader
Damodaran_EV_EBITLibrary "Damodaran_EV_EBIT"
sector_sigma(sector)
Parameters:
sector (string)
ev_ebit_base(industry)
Parameters:
industry (string)
ev_ebit_band(industry, sector)
Parameters:
industry (string)
sector (string)
ev_ebit_low(industry, sector)
Parameters:
industry (string)
sector (string)
ev_ebit_high(industry, sector)
Parameters:
industry (string)
sector (string)
AURORA PRIME Alerts (Indicator)/@version=6
indicator("AURORA PRIME Alerts (Indicator)", overlay=true)
// --- inputs and logic copied from your strategy (only the parts needed for signals) ---
tfHTF = input.timeframe("60", "HTF for Structure")
// ... copy any inputs you want exposed ...
// Example: assume longEntry, shortEntry, canAdd are computed exactly as in your strategy
// (paste the same computations here or import them)
// For demonstration, placeholder signals (replace with your real conditions)
longEntry = false // <-- replace with your strategy's longEntry expression
shortEntry = false // <-- replace with your strategy's shortEntry expression
canAdd = false // <-- replace with your strategy's canAdd expression
inPosLong = false // <-- replace with your strategy's inPosLong expression
inPosShort = false // <-- replace with your strategy's inPosShort expression
// Alert conditions exposed to TradingView UI
alertcondition(longEntry, title="AURORA PRIME Long Entry", message="AURORA PRIME Long Entry")
alertcondition(shortEntry, title="AURORA PRIME Short Entry", message="AURORA PRIME Short Entry")
alertcondition(canAdd and inPosLong, title="AURORA PRIME Long Add", message="AURORA PRIME Long Add")
alertcondition(canAdd and inPosShort, title="AURORA PRIME Short Add", message="AURORA PRIME Short Add")
// Optional visuals to match strategy
plotshape(longEntry, title="Long", style=shape.triangleup, color=color.new(color.lime, 0), size=size.small, location=location.belowbar)
plotshape(shortEntry, title="Short", style=shape.triangledown, color=color.new(color.red, 0), size=size.small, location=location.abovebar)
UK NQ: Custom Day, Dynamic BreakThe Problem
For UK-based traders focusing on the Nasdaq (NQ) or S&P 500 (ES), the trading day is usually split into two high-probability windows: the London Morning and the New York Open. However, every year in March and October, the US and UK change their clocks on different dates. During these 4 "Mismatch Weeks," the US market opens at 13:30 UK time instead of the usual 14:30.
If your session highlighter is fixed, your lunch break will be out of sync, causing you to miss the critical US pre-market volatility or trade during the "Lunch Lull."
The Solution
This indicator is a "Smart" session manager specifically designed for the UK timezone (Europe/London). It allows you to set your preferred working hours (e.g., 09:15 to 17:15) but dynamically recalculates your internal lunch break based on the live relationship between the London and New York exchange clocks.
Key Features
Dynamic "Smart Break" Logic: The script identifies when the US has "Sprung Forward" or the UK has "Fallen Back" earlier than the other. It automatically shifts your 90-minute lunch break 1 hour earlier (from 12:00 to 11:00) during those weeks.
Fixed Work Window: Your overall trading day (Start/End times) remains fixed to your local UK clock, while only the internal high-volume windows shift to stay aligned with Wall Street.
Universal Backtesting (2020–2030): Unlike basic highlighters, this script contains a built-in mathematical calendar for DST shifts. It is 100% accurate for historical backtesting across the last 5 years and the next 5 years.
Customizable Inputs: Easily adjust your start time (e.g., 09:00 vs 09:15) and finish time to suit your personal trading plan.
How to Read the Chart
Blue Zone (London Morning): Highlights the trend established by European institutional flow.
Uncolored Zone (The Break): Represents the "Lunch Lull." A visual cue to stay flat during lower liquidity.
Green Zone (US Open/Overlap): Highlights the surge in volume starting with US Economic Data (13:30/12:30) and the New York Opening Bell.
Perfect For:
Intraday traders based in the UK who want a "set and forget" solution that ensures they are always at their desk exactly 1 hour before the US market opens, regardless of what the clocks are doing.
UK Dual-Session Highlighter (Fixed Day, Dynamic Break)Overview
Specifically engineered for UK-based Nasdaq (NQ) and US Index traders who operate on a fixed professional schedule (09:15 – 17:15 UK Time).
The primary challenge for UK traders is the 4-week annual "Timezone Mismatch" between London and New York (occurring in March and October). During these weeks, the US market opens at 13:30 UK time instead of the usual 14:30. This indicator solves that problem by automatically shifting your 90-minute lunch break to ensure you are always back at your desk exactly 1 hour before the Wall Street opening bell.
The "Smart Break" Logic
The indicator maintains a strict 09:15 start and 17:15 finish, but dynamically re-calculates the internal "Lunch Lull" based on the live US/UK offset:
Standard Weeks (5hr Offset):
Morning: 09:15 – 12:00 | Break: 12:00 – 13:30 | Afternoon: 13:30 – 17:15
Mismatch Weeks (4hr Offset):
Morning: 09:15 – 11:00 | Break: 11:00 – 12:30 | Afternoon: 12:30 – 17:15
Key Features (2020–2030 Ready)
Universal Backtesting: Unlike basic session highlighters, this script uses a mathematical calendar to identify DST mismatch dates for any year between 2020 and 2030. Perfect for verifying historical strategy performance.
Zero-Maintenance: Automatically detects when the US "Springs Forward" or the UK "Falls Back" earlier than the other.
Volatility Sync: Ensures your afternoon trading session always begins during the high-volume US Pre-Market window (1 hour before the NYSE open).
Visual Clarity: Uses distinct colors to separate the London Morning trend from the New York Open overlap.
How to Use
Blue Zone (Morning): Trade the London session momentum.
Uncolored Zone (Break): The "Lunch Lull." Step away from the screens during lower liquidity.
Green Zone (Afternoon): Focus on US Economic Data (8:30 AM ET) and the 14:30 (or 13:30) New York Open.
Settings
All times are hard-coded to Europe/London standards. No manual timezone adjustments are required on your chart settings.
_MyLibraryV1Library "_MyLibraryV1"
maStackedBull(src, fastLen, midLen, slowLen)
Parameters:
src (float)
fastLen (int)
midLen (int)
slowLen (int)
maStackedBear(src, fastLen, midLen, slowLen)
Parameters:
src (float)
fastLen (int)
midLen (int)
slowLen (int)
bullCross(src1, src2)
Parameters:
src1 (float)
src2 (float)
bearCross(src1, src2)
Parameters:
src1 (float)
src2 (float)
bullRegime(src, len)
Parameters:
src (float)
len (int)
bearRegime(src, len)
Parameters:
src (float)
len (int)
rsiBull(len)
Parameters:
len (simple int)
rsiBear(len)
Parameters:
len (simple int)
atrExpansion(len)
Parameters:
len (simple int)
atrContraction(len)
Parameters:
len (simple int)
Candle Countdown TimerShows the remaining time left for the current candle based on the chart’s selected timeframe.
TorHzpk EMA with Config & Values (v5) + Cross AlertsTorHzpk EMA with Config & Values (v5) + Cross Alerts






















