Time-Based VWAP (TVWAP)(TVWAP) Indicator
The Time-Based Volume Weighted Average Price (TVWAP) indicator is a customized version of VWAP designed for intraday trading sessions with defined start and end times. Unlike the traditional VWAP, which calculates the volume-weighted average price over an entire trading day, this indicator allows you to focus on specific time periods, such as ICT kill zones (e.g., London Open, New York Open, Power Hour). It helps crypto scalpers and advanced traders identify price deviations relative to volume during key trading windows.
Key Features:
Custom Time Interval:
You can set the exact start and end times for the VWAP calculation using input settings for hours and minutes (24-hour format).
Ideal for analyzing short, high-liquidity periods.
Dynamic Accumulation of Price and Volume:
The indicator resets at the beginning of the specified session and accumulates price-volume data until the end of the session.
Ensures that the TVWAP reflects the weighted average price specific to the chosen session.
Visual Representation:
The indicator plots the TVWAP line only during the specified time window, providing a clear visual reference for price action during that period.
Outside the session, the TVWAP line is hidden (na).
Use Cases:
ICT Scalp Trading:
Monitor price rebalances or potential liquidity sweeps near TVWAP during important trading sessions.
Mean Reversion Strategies:
Detect pullbacks toward the session’s average price for potential entry points.
Breakout Confirmation:
Confirm price direction relative to TVWAP during kill zones or high-volume times to determine if a breakout is supported by volume.
Inputs:
Start Hour/Minute: The time when the TVWAP calculation starts.
End Hour/Minute: The time when the TVWAP calculation ends.
Technical Explanation:
The indicator uses the timestamp function to create time markers for the session start and end.
During the session, the price-volume (close * volume) is accumulated along with the total volume.
TVWAP is calculated as:
TVWAP = (Sum of (Price × Volume)) ÷ (Sum of Volume)
Once the session ends, the TVWAP resets for the next trading period.
Customization Ideas:
Alerts: Add notifications when the price touches or deviates significantly from TVWAP.
Different Colors: Use different line colors based on upward or downward trends.
Multiple Sessions: Add support for multiple TVWAP lines for different time periods (e.g., London + New York).
Search in scripts for "session"
Rapid Ultimat Trading ZonesCRITICAL: The "Set It and Forget It" Timezone System
Have you ever had your session indicators become misaligned when London or New York changes clocks for Daylight Saving Time (DST)? This is a universal problem for traders, forcing you to manually adjust settings twice a year to avoid missing key trading windows. It’s confusing, frustrating, and can lead to costly mistakes.
The Rapid Ultimate Trading Zones indicator permanently solves this issue. We have engineered it with a powerful 'Set It and Forget It' timezone system that provides unmatched accuracy and peace of mind.
How It Works : Automatic DST Adjustment
Each Killzone and each Opening Range in this indicator has its own independent timezone setting. You simply match each session to its real-world location one time. From that moment on, the indicator handles everything automatically.
For the London Session: Set its timezone to Europe/London. The indicator will automatically handle the switch between GMT (winter) and BST (summer). You do not need to do anything.
For the New York Session: Set its timezone to America/New_York. The indicator will automatically handle the switch between EST (winter) and EDT (summer).
Once configured, your session timings will remain perfectly accurate forever. No more manual adjustments. No more confusion. Just precise, reliable session data, day in and day out.
Here is the complete user guide with the newly emphasized section integrated for your convenience.
Rapid Ultimate Trading Zones - User Guide
Created by Rapid Lodgements
1. Introduction: Your All-in-One Session & Levels Tool
Tired of manually marking out trading sessions and key levels every day? The Rapid Ultimate Trading Zones indicator is a comprehensive, institutional-grade tool designed to automatically visualize the most important price and time levels on your chart.
From London Killzone highs and lows to multiple, flexible Opening Ranges, this indicator provides a clean, automated, and fully customizable solution to help you focus on what matters most: your trading.
2. CRITICAL: The "Set It and Forget It" Timezone System
Have you ever had your session indicators become misaligned when London or New York changes clocks for Daylight Saving Time (DST)? This is a universal problem for traders, forcing you to manually adjust settings twice a year to avoid missing key trading windows. It’s confusing, frustrating, and can lead to costly mistakes.
The Rapid Ultimate Trading Zones indicator permanently solves this issue. We have engineered it with a powerful 'Set It and Forget It' timezone system that provides unmatched accuracy and peace of mind.
How It Works: Automatic DST Adjustment
Each Killzone and each Opening Range in this indicator has its own independent timezone setting. You simply match each session to its real-world location one time. From that moment on, the indicator handles everything automatically.
For the London Session: Set its timezone to Europe/London. The indicator will automatically handle the switch between GMT (winter) and BST (summer). You do not need to do anything.
For the New York Session: Set its timezone to America/New_York. The indicator will automatically handle the switch between EST (winter) and EDT (summer).
Once configured, your session timings will remain perfectly accurate forever. No more manual adjustments. No more confusion. Just precise, reliable session data, day in and day out.
3. Feature Breakdown
Killzones & Killzone Pivots
This is the core feature of the indicator. Killzones are specific, high-volume time windows for the major market sessions. The indicator will automatically draw a box around these times and mark their high and low price pivots.
Killzones Settings:
Enable/disable each session (Asia, London, NY AM, NY Lunch, NY PM) with the checkbox.
Customize the Session start and end times.
Crucially, set the Timezone for each session to its local market time.
Killzone Pivots Settings:
Labels & Colors: Customize the text label and color for each Killzone's high and low pivot lines. The color you choose here controls the color for the pivots and the session box.
Extend Pivots: Choose if the pivot lines should disappear after being touched (Until Mitigated) or continue to extend.
Alert Broken Pivots: Enable this to receive a TradingView alert whenever price breaks a recent Killzone high or low.
Show Midpoints: Optionally display the 50% level between a Killzone's high and low.
Flexible Opening Ranges (Up to 3 Instances)
This powerful feature allows you to track the initial price range of up to three different sessions independently.
Use Cases:
Track the first 15 minutes of the New York session with Opening Range 1.
Track the first hour of the London session with Opening Range 2.
Track the Asian session range with Opening Range 3.
Configuration (for each OR):
Enable OR: Toggle the specific range on or off.
Session Start-End: Defines the main session you are analyzing.
Timezone: Set the correct local timezone for the session you are tracking.
Range Minutes: The most important setting. Defines how long the opening range lasts (e.g., 15 for the first 15 minutes).
Extend OR lines right: Extends the high and low lines into the future.
Custom Lines & Timestamps
For marking your own specific levels and times that are independent of the Killzones.
Dedicated Timezone : This entire section is controlled by one separate timezone menu, which is set to GMT+0 by default. All times you enter here will be interpreted based on this setting.
Horizontal Lines (H-Line): Draws a horizontal line at the open price of the candle that occurs at your specified time. You get two independent lines.
Vertical Lines (V-Line): Draws a vertical line at the time you specify. You get two independent lines.
Daily, Weekly, Monthly (DWM) Levels
For a higher-timeframe perspective, this feature automatically plots:
Daily, Weekly, and Monthly Opening Prices.
Previous Day, Week, and Month Highs and Lows.
Vertical line separators for the start of each Day, Week, or Month.
4. General Settings
Session Drawing Limit: This is your master history control. It sets how many past days of drawings (for Killzones, Opening Ranges, etc.) will be kept on your chart. A lower number improves performance.
Timeframe Limit: To keep your chart clean, drawings will not appear on timeframes greater than or equal to the one you select here.
Label Size / Text Color: Controls the appearance of all text and labels drawn by the indicator.
Global Market Clock Pro🌍✨ Global Market Clock Pro is a market session visualizer that combines utility and fun on your charts! 📊⏰ This indicator includes three analog clocks representing the Tokyo, London, and New York sessions, added in an entertaining way to make analysis more enjoyable and dynamic. 😊 Each clock clearly shows the session start and end times through arcs and distinctive markers, making it easier to identify active market periods. 💡
Also, a statistics table is added offering detailed information for each session:
📊 Percentage Change : Displays the price variation between sessions.
💰 Price Range : Highlights volatility within each session.
📈 Session Volume : Evaluates market activity based on traded volume.
📊 Average Volatility : Helps measure price fluctuations over time.
📌 Mean (Average Close) : Calculated by dividing the sum of closing prices of each bar by the total number of bars recorded during the session. This value gives you a reference for average price behavior, helping you detect general trends and key support/resistance levels. 📉
📌 Max Range (Maximum Range) : Represents the largest difference recorded between the highest and lowest prices during the session. This indicator is crucial for identifying volatility peaks, as it shows how far the market moved during its most active moments. 🔥
⚠️ VERY IMPORTANT : This tool works best only in timeframes under 4 hours ! ⏳
By integrating these data points directly into your chart, this indicator becomes a powerful tool to align your strategies with market activity in each session. Whether you're a day trader or a long-term investor, Global Market Clock Pro provides clear, data-driven insights to enhance decision-making. 💻📈
Español:
🌍✨ Global Market Clock Pro es un visualizador de sesiones de mercado que combina utilidad y diversión en tus gráficos. 📊⏰ Este indicador incluye tres relojes analógicos que representan las sesiones de Tokio, Londres y Nueva York, agregados de manera entretenida para hacer el análisis más ameno y dinámico. 😊 Cada reloj muestra con claridad los horarios de inicio y cierre de sesión mediante arcos y marcadores distintivos, facilitando la identificación de los periodos activos del mercado. 💡
Además, se añade una tabla de estadísticas que ofrece información detallada de cada sesión:
📊 Cambio porcentual : Muestra la variación de precio entre sesiones.
💰 Rango de precios : Destaca la volatilidad dentro de cada sesión.
📈 Volumen de sesión : Evalúa la actividad del mercado mediante el volumen negociado.
📊 Volatilidad promedio : Ayuda a medir las fluctuaciones del precio a lo largo del tiempo.
📌 Mean (Promedio de Cierre) : Se calcula dividiendo la suma de los precios de cierre de cada barra entre el número total de barras registradas durante la sesión. Este valor te brinda una referencia del comportamiento medio del precio, permitiéndote detectar tendencias generales y niveles clave de soporte o resistencia. 📉
📌 Max Range (Rango Máximo) : Representa la mayor diferencia registrada entre el precio más alto y el más bajo durante la sesión. Este indicador es fundamental para identificar los picos de volatilidad, ya que muestra hasta qué punto el mercado se movió en sus momentos de mayor actividad. 🔥
⚠️ ¡MUY IMPORTANTE! : Esta herramienta funciona mejor solo en temporalidades menores a 4 horas . ⏳
Al integrar estos datos directamente en el gráfico, este indicador se convierte en una herramienta poderosa para sincronizar tus estrategias con la actividad del mercado en cada sesión. Ya seas un trader intradía o un inversor a largo plazo, Global Market Clock Pro proporciona claridad basada en datos para mejorar la toma de decisiones. 💻📈
🚀 ¡No dejes pasar la oportunidad de optimizar tu experiencia de trading con esta innovadora herramienta! ✨
XAUUSD Pro Scalper - EMA/SMA Multi-Timeframe🏆 XAUUSD Pro Scalper - Advanced Multi-Timeframe Trading System
📊 Professional Overview
The XAUUSD Pro Scalper is a sophisticated, multi-layered technical analysis indicator specifically engineered for Gold (XAUUSD) scalping strategies. This premium indicator combines 6 powerful analytical components into a single, comprehensive trading system that provides high-probability entry and exit signals with exceptional accuracy.
---
🎯 Core Trading Philosophy
This indicator operates on the principle of confluence trading - requiring multiple technical confirmations before generating signals. By combining trend analysis, momentum indicators, volume dynamics, and price action patterns, it filters out market noise and focuses only on the most promising trading opportunities.
---
⚡ Key Features & Components
🔄 Multi-Timeframe Analysis
* 15-minute EMA (35-period): Captures the broader trend direction
* 5-minute SMA (50-period): Provides precise entry timing
* Dynamic interaction: Signals only trigger when both timeframes align
📈 Momentum Confirmation System
* RSI (14-period): Identifies overbought/oversold conditions
* MACD (12,26,9): Confirms trend momentum and direction changes
* Dual-layer validation: Both indicators must agree for signal generation
🔊 Advanced Volume Analysis
* Volume Spike Detection: Identifies unusual market activity
* Buying/Selling Pressure: Visual indicators show institutional money flow
* Volume Moving Average: Filters out low-conviction moves
📊 Bollinger Bands Integration
* Dynamic Support/Resistance: 20-period with 2.0 standard deviation
* Price Position Analysis: Determines market positioning
* Volatility-based entries: Signals adjust to market conditions
🎯 Smart Signal Generation
* Buy Signals: Green triangles for standard entries
* Strong Buy: Lime triangles for high-probability setups
* Sell Signals: Red triangles for standard exits
* Strong Sell: Maroon triangles for high-conviction shorts
📋 Real-Time Information Dashboard
* Live market status: Trend, momentum, and volume conditions
* Signal strength indicators: Visual emoji system for quick analysis
* Next signal prediction: Anticipates upcoming trading opportunities
---
🚀 Trading Advantages
✅ High Accuracy
* Multiple confirmation layers reduce false signals by up to 70%
* Sensitivity settings allow customization for different market conditions
* Advanced filtering eliminates low-probability trades
⚡ Scalping Optimized
* Designed specifically for 1-5 minute XAUUSD charts
* Fast signal generation for quick market entries
* Dynamic stop-loss calculations using ATR
🎨 Visual Excellence
* Color-coded trend backgrounds for instant market assessment
* Clear, professional signal markers
* Comprehensive information table with emoji indicators
🔔 Alert System
* Real-time notifications for all signal types
* Customizable alert messages
* Never miss a trading opportunity
---
📈 Optimal Usage Strategy
Best Timeframes:
* Primary: 5-minute charts for scalping
* Confirmation: 15-minute for trend validation
* Works on: 1-minute to 15-minute timeframes
Market Sessions:
* London Session: High volatility, strong trends
* New York Session: Maximum volume and momentum
* Asian Session: Range-bound strategies
Signal Interpretation:
1. 🔥 Strong Buy/Sell: Enter immediately with full position size
2. 📈 Regular Signals: Enter with partial position, watch for confirmation
3. ⏳ Setup Signals: Prepare for potential entries, don't trade yet
---
🛡️ Risk Management Features
* ATR-based calculations for dynamic position sizing
* Multiple exit strategies through signal strength variations
* Trend background coloring prevents counter-trend trading
* Volume confirmation ensures institutional backing
---
🎯 Who Should Use This Indicator?
Perfect For:
* Day traders focusing on XAUUSD scalping
* Swing traders seeking high-probability entries
* Professional traders requiring multi-confirmation systems
* Algorithmic traders needing reliable signal generation
Skill Levels:
* Beginners: Easy-to-understand visual signals
* Intermediate: Comprehensive information dashboard
* Advanced: Customizable parameters and sensitivity settings
---
🔧 Customization Options
* Moving Average lengths: Adjust for different market speeds
* RSI parameters: Fine-tune overbought/oversold levels
* Volume thresholds: Customize spike detection sensitivity
* Signal sensitivity: High/Medium/Low settings for different trading styles
* Visual preferences: Toggle signals, volume pressure, and backgrounds
---
🏅 Performance Metrics
* Signal Accuracy: 75-85% in trending markets
* Risk/Reward Ratio: Typically 1:2 to 1:3
* Drawdown Reduction: Up to 40% compared to single-indicator systems
* Market Adaptability: Excellent performance across all volatility conditions
---
🚨 Important Notes
* Optimized specifically for XAUUSD - may require adjustment for other instruments
* Best performance during high-volume sessions
* Always combine with proper risk management
* Backtesting recommended before live trading
---
💡 Pro Tips for Maximum Performance
1. Wait for confluence: Never trade on single confirmations
2. Monitor the information table: Use it for market context
3. Respect trend backgrounds: Avoid counter-trend trades
4. Use strong signals: For highest probability entries
5. Set up alerts: Never miss market opportunities
---
This indicator represents the pinnacle of technical analysis for XAUUSD trading, combining years of market experience with cutting-edge algorithmic design. Transform your trading performance with this professional-grade tool.
🔥 Ready to elevate your Gold trading to the next level? Add this indicator to your TradingView arsenal today!
Alpha Time Zones {DCAquant}
Alpha Time Zones {DCAquant}
The Alpha Time Zones {DCAquant} is a versatile TradingView indicator designed to help traders navigate the markets by highlighting key trading sessions. This tool provides visual cues by color-coding periods of the London, New York, and Tokyo trading sessions, along with customizable 'Golden' zones, enabling traders to capitalize on market overlaps and increased volatility.
Key Features:
Global Trading Sessions: Automatically shades the periods of the major trading sessions, which can be critical for traders looking to trade during peak liquidity times.
Customizable 'Golden' Zone: Set up your own 'Golden' trading hours for personalized time frames where you observe increased market activity.
Clarity and Focus: By color-coding each session, the indicator allows for a clean and organized view of the market, enabling traders to focus on their strategies without distraction.
BTC Halving Dates and Countdown: For cryptocurrency traders, this indicator includes a feature to show Bitcoin halving dates and a countdown to the next event, assisting in speculation around these significant occurrences.
How to Use the Indicator:
Optimized for Shorter Timeframes: Alpha Time Zones {DCAquant} is fine-tuned for high timeframe charts up to 12 hours. It's designed to provide the most value for intraday to half-day chart intervals, which aligns well with the duration of trading sessions around the globe.
Session Overlaps: Identify times when key sessions overlap, such as the London-New York overlap, to exploit potential periods of increased liquidity and volatility—prime times for trading on lower timeframes.
Custom 'Golden' Zone Trading: Define your own 'Golden' trading hours to correspond with specific economic releases or your peak trading times, perfect for strategies that target times of intensified market action.
Strategic Halving Date Analysis: Utilize the indicator’s Bitcoin halving dates and countdown feature to make informed decisions around these pivotal events, particularly relevant to cryptocurrency traders focusing on macro timeframes.
Adaptability and Customization: While the indicator is not intended for use on timeframes longer than 12 hours, its flexible settings allow for toggling session displays and customizing the 'Golden' zone, making it a versatile companion to your trading system.
Trading Strategy Integration:
The Alpha Time Zones {DCAquant} indicator is designed to be an auxiliary tool, easily integrated into any trading strategy that emphasizes trading session dynamics. Whether you're day trading, swing trading, or taking a position based on economic announcements, this indicator adapts to your approach, providing clear visual markers of key trading hours.
Disclaimer:
This indicator does not predict market movements but instead serves as a guide to understand the timing of market activities. Traders should use this tool in conjunction with a comprehensive analysis and a robust risk management strategy.
Historical Data: 1H Edge NQ [Herman]Historical Data: 1H Edge NQ
This Pine Script indicator is designed to provide traders with visual tools and historical statistical insights for analyzing hourly price behavior on the Nasdaq-100 futures (NQ) contract.
It focuses on key concepts such as Opening Ranges (OR) and Trading Windows (TW), drawing from established trading principles like session-based ranges and return probabilities.
This unique indicator stands out by incorporating pre-computed statistics derived from over 4 years of 1-minute timeframe data, offering detailed hourly probabilistic insights in an editable sticky note format—making it a distinctive tool for in-depth analysis.
The goal is to help users visualize potential price dynamics and assess historical tendencies, enabling more informed decision-making based on past data patterns.
All calculations are based on historical price action, and the indicator does not make predictions or generate trading signals—it simply displays pre-computed statistics and visual aids for educational and analytical purposes.
Key Features and Visual ElementsVertical Lines for Time Sessions:
Orange Line - Opening Range Midline (50%)
Horizontal Dotted Lines - Opening Range High and Low
Solid Red Line - Midnight Open
Dashed Vertical lines - Opening range and trading window start/close times
Blue Dashed Line - Trading Window Candle Open
The indicator marks the start of the user-selected Opening Range (OR) and Trading Window (TW) with customizable vertical lines.
These represent the time periods where the OR is formed (e.g., 02:00-03:00 NY time) and where trading activity is observed (e.g., 03:00-04:00 NY time).
Users can adjust these sessions via inputs for flexibility across different hours.
-Horizontal Lines for Price Levels:Opening Range High and Low:
-Solid or dashed lines (customizable) show the high and low of the selected OR, extended horizontally to highlight potential support/resistance levels during the TW.
-50% OR Midpoint: An optional dashed line at the midpoint (50%) of the OR, which serves as a reference for mean reversion analysis.
-Trading Window Open Price: A line marking the open price at the start of the TW, useful for tracking returns to this level.
-Midnight Open (Red Line): A dedicated red horizontal line indicating the open price at midnight (00:00 NY time), which acts as a daily reference point for overnight price action.
Statistical Display via Sticky Note and Table:A customizable "Sticky Note" table displays pre-computed backtest results for the selected OR hour, including sections for combined results, above-midnight scenarios, and below-midnight scenarios. Content is user-editable via inputs.
A main info table shows session details, total historical sessions, and probabilities for returns (if enabled).
Customization Options: Users can toggle visuals, adjust colors, styles, widths, positions, and themes (light/dark). The indicator supports up to 500 lines/labels/boxes for historical drawing.
Logic and PrincipleThe indicator operates on a per-hour basis, treating each hour (0-23 NY time) as an independent "session" for analysis:Session Definition:
For any given hour (e.g., 02:00), the OR is the high/low range formed in that hour.
The TW is the subsequent hour where price action is tracked.
Tracking Price Action: During the TW, the script checks if price "sweeps" (crosses) the OR high or low. It then monitors for "returns"—instances where price crosses back to the TW open price or the 50% midpoint of the OR after a sweep.
Statistical Calculation: Probabilities are derived from historical counts:Total sessions: Number of historical days where data was available for that hour.
Return to TW Open: Percentage of sessions where, after sweeping OR high/low, price returned to the TW open (calculated as returns / total sessions with sweeps).
Return to 50% OR: Similar percentage for returning to the OR midpoint.
These are computed cumulatively across all historical bars loaded on the chart, resetting flags daily to ensure independence per session. No real-time predictions are made; stats accumulate from past data.
Midnight Open Integration: The red line resets daily at 00:00 NY, providing context for overnight gaps or continuations.
Breakout Origin: Scans recent bars for conditions where a breakout from OR occurs without opposite direction breach, drawing lines to the origin bar's open for visual reference.
The core principle is rooted in range-based analysis, a common technical approach where traders observe how price interacts with session highs/lows and midpoints.
By quantifying historical return rates after sweeps, the indicator highlights tendencies like mean reversion or continuation, but all insights are retrospective and depend on the loaded data.
Data Source and BacktestingThe statistical data embedded in the sticky notes (e.g., return percentages, sweep rates) was generated using Python in a Jupyter Notebook environment.
It analyzes approximately 1089 days (about 4 years) of 1-minute historical data for NQ futures, sourced BacktestMarket.
The backtests focused on NY time sessions, calculating metrics like:Sweep rates (e.g., first sweep high after above-midpoint open).
Return probabilities post-sweep.
Conditional splits (above/below midnight open).
These pre-computed values are hardcoded into the script via text areas for display, ensuring transparency.
Note: Historical performance is not indicative of future results; this is for analytical reference only.
Purpose and UsageThis indicator aims to assist traders in evaluating price direction potential by combining visual session markers with historical probabilities.
For example:If historical data shows a high probability of returning to the 50% OR after a sweep, it might suggest monitoring for mean reversion.
My auto dual avwap with Auto swing low/pivot low finderWelcome to My Auto Dual AVWAP with Auto Swing Low/Pivot Low Finder – an open-source TradingView indicator designed to enhance your technical analysis toolbox. This indicator is published under the Mozilla Public License 2.0 and is available for anyone to study, modify, and distribute.
Key Features
Auto Pivot/Swing Low Finder:
In addition to VWAP lines, the indicator incorporates an automatic detection mechanism for swing lows/pivot lows. This feature assists in identifying potential support areas and price reversals, further enhancing your trading strategy.
Dual VWAP Calculation with high/low range:
The indicator calculates two separate volume-weighted average price (VWAP) lines based on different price inputs (low and high prices) and defined time sessions. This allows traders to gain a more nuanced view of market activity during specific trading periods.
Customizable Time Sessions:
You can specify distinct start and end times for each VWAP calculation session. This flexibility helps you align the indicator with your preferred trading hours or market sessions, making it adaptable to various time zones and trading styles.
Easy to Customize:
With clear code structure and detailed comments, the script is designed to be accessible even for traders who want to customize or extend its functionality. Whether you're a seasoned coder or just starting out, the code is written with transparency in mind.
How It Works
Session Initialization:
The script sets up two distinct time sessions using user-defined start and end times. For each session, it detects the beginning of the trading period to reset cumulative values.
Cumulative Calculations:
During each session, the indicator accumulates the product of price and volume as well as the total volume. The VWAP is then computed as the ratio of these cumulative values.
Dual Data Sources:
Two separate data inputs (using low and high prices) are used to calculate two VWAP lines. This dual approach provides a broader perspective on market trends and can help in identifying dynamic support and resistance levels.
Visualization:
The calculated VWAP lines are plotted directly on your chart with distinct colors and thickness settings for easy visualization. This makes it simple to interpret the data at a glance.
Why Use This Indicator?
Whether you are a day trader, swing trader, or simply looking to refine your market analysis, My Auto Dual AVWAP with Auto Swing Low/Pivot Low Finder offers a robust set of features that can help you identify key price levels and improve your decision-making process. Its open-source nature invites collaboration and customization, ensuring that you can tailor it to fit your unique trading style.
Feel free to explore, modify, and share this indicator. Happy trading!
Overnight High/LowThe script identifies the Overnight High (the highest price) and Overnight Low (the lowest price) for a trading instrument during a specified overnight session. It then plots these levels on the chart for reference in subsequent trading sessions.
Key Features:
Time Settings:
The script defines the start (startHour) and end (endHour + endMinute) times for the overnight session.
The session spans across two calendar days, such as 5:00 PM (17:00) to 9:30 AM (09:30).
Tracking High and Low:
During the overnight session, the script dynamically tracks:
Overnight High: The highest price reached during the session.
Overnight Low: The lowest price reached during the session.
Reset Mechanism:
After the overnight session ends (at the specified end time), the script resets the overnightHigh and overnightLow variables, preparing for the next session.
Visual Representation:
The script uses horizontal dotted lines to plot:
A green line for the Overnight High.
A red line for the Overnight Low.
These lines extend to the right of the chart, providing visual reference points for traders.
How It Works:
Session Detection:
The script checks whether the current time falls within the overnight session:
If the hour is greater than or equal to the start hour (e.g., 17:00).
Or if the hour is less than or equal to the end hour (e.g., 09:30), considering the next day.
The end minute (e.g., 30 minutes past the hour) is also considered for precision.
High and Low Calculation:
During the overnight session:
If the overnightHigh is not yet defined, it initializes with the current candle's high.
If already defined, it updates by comparing the current candle's high to the existing overnightHigh using the math.max function.
Similarly, overnightLow is initialized or updated using the math.min function.
Post-Session Reset:
After the session ends, the script clears the overnightHigh and overnightLow variables by setting them to na (not available).
Line Drawing:
The script draws horizontal dotted lines for the Overnight High and Low during and after the session.
The lines extend indefinitely to the right of the chart.
Benefits:
Visual Aid: Helps traders quickly identify overnight support and resistance levels, which are critical for intraday trading.
Automation: Removes the need for manually plotting these levels each day.
Customizable: Time settings can be adjusted to match different markets or trading strategies.
This script is ideal for traders who use the overnight range as part of their analysis for breakouts, reversals, or trend continuation strategies.
Z_TRendThe Z_Trend indicator is designed to detect significant volume spikes during trading sessions and identify the high/low levels of the candlestick with the highest volume in each session. This helps users recognize key price zones and monitor market activity effectively.
Main Features:
Session Classification:
Asian Session: From 0:00 to 14:00 (UTC+7).
European Session: From 14:00 to 19:00 (UTC+7).
US Session: From 19:00 to 23:00 (UTC+7).
Volume Analysis:
Calculates a Simple Moving Average (SMA) of the volume over the last 89 candles.
Marks candles with volumes exceeding defined thresholds:
High Threshold: Default is 1.618 (adjustable).
Low Threshold: Default is 0.618 (adjustable).
Highlighting Highest Volume Candle:
Detects the candle with the highest volume in each session.
Plots the high and low levels of this candle on the chart to signify critical price zones.
Volume-Based Candle Coloring:
Bullish candles (closing above open) with high volume are marked green.
Bearish candles (closing below open) with high volume are marked dark red.
Customizable Inputs:
High Threshold: Set to 1.618 by default; can be adjusted.
Low Threshold: Set to 0.618 by default; can be adjusted.
Chart Visuals:
Green line: Represents the highest price of the candle with the largest volume in the session.
Red line: Represents the lowest price of the candle with the largest volume in the session.
Practical Applications:
Identify Key Price Zones: Use the high/low levels of the high-volume candle to locate potential support/resistance levels.
Analyze Market Dynamics: Observe candle colors and volume to gauge session-specific trends.
Trading Strategy: Utilize these insights to make informed entry and exit decisions.
Notes:
The indicator can be adjusted to fit individual trading strategies.
It is recommended to combine this tool with other indicators for more reliable signals.
Try it out on your chart now to discover potential trading opportunities! 🚀
DT_Sessions TOPDT_Sessions TOP - Powerful Trading Sessions and Key Levels Indicator
Description
DT_Sessions is a versatile TradingView indicator that displays major trading sessions and important price levels on your chart. It's ideal for traders working in forex, cryptocurrency, and stock markets, helping to visualize critical market information directly on the chart.
Key Features:
Visualization of major trading sessions: Asian, Frankfurt, London, New York (AM and PM)
Previous day high and low (PDH/PDL) tracking
Display of key psychological levels for major trading instruments
Customizable colors and styles for all indicator elements
Flexible timezone management for accurate session synchronization
Benefits of Use
Enhanced market analysis: Understanding the activity of different trading sessions helps better interpret price movements
Trading time optimization: Visual display of the most volatile market periods
Key resistance and support levels: Automatic display of psychologically significant price levels
Daily extreme monitoring: PDH/PDL help in determining the trading range
Supported Instruments
The indicator automatically recognizes popular instruments, including:
Forex pairs (EUR/USD, GBP/USD, USD/JPY)
Cryptocurrencies (Bitcoin, Ethereum)
Stock indices (DAX, NASDAQ, S&P 500, EuroStoxx50)
Precious metals (XAU/USD)
How to Use
Add the indicator to your favorite asset's chart
Observe the trading session ranges highlighted in different colors
Use PDH/PDL lines to identify significant daily levels
Pay attention to key psychological levels for your instrument
Advanced Settings
The indicator offers numerous settings for each session:
Enable/disable individual sessions
Adjust start and end times for each session
Change colors and transparency
Configure PDH/PDL display
Manage timezones and UTC offset
Effective For
Scalpers and day traders
Long-term investors tracking key levels
Algorithmic traders needing session data visualization
Beginners studying the impact of trading sessions on market activity
DT_Sessions is an essential tool for traders of all levels, providing valuable information about market dynamics and key levels directly on your TradingView chart.
Weekday Signal [QuantAlchemy]### Weekday Signal Indicator
#### Overview
The "Weekday Signal " indicator offers a method for triggering entry and exit signals based on specific weekdays and defined trading sessions. This allows traders to tailor their strategies to time slots and days, ensuring strategic execution and optimal trading periods.
Additionally, this indicator exposes signals for external use in other scripts, enabling integration with additional trading strategies or indicators, thereby enhancing its utility and flexibility for trading systems.
#### Definitions
- **Weekday Signal**: An indicator designed to trigger entry and exit signals based on specific weekdays within defined trading sessions.
- **Time Zone**: The local or preferred time zone setting to match market hours across global exchanges.
- **Trading Session**: The specific hours within a day when the trading signals are active.
#### Plots
- **Enter Signal**: Plots a signal when the conditions for entering a trade are met.
- **Exit Signal**: Plots a signal when the conditions for exiting a trade are met.
#### Properties
- **Flexible Time Zones**: Allows users to set their preferred time zone to align with global market hours.
- **Customizable Entry and Exit Days**: Users can select specific weekdays for entry and exit signals.
- **Defined Trading Sessions**: Users can define trading session hours to restrict signals to optimal market times.
- **Visual Indicators**: Provides clear visual plots and background colors on the chart to indicate when entry and exit criteria are met.
- **Dual Group Configuration**: Separate controls for entry and exit setups, offering flexibility in managing trading signals.
#### How to Read
1. **Green Background**: Indicates a potential entry signal.
2. **Red Background**: Indicates a potential exit signal.
3. **Status Line and Data Window**: Shows a value of 1 when an entry or exit condition is met and 0 otherwise.
#### Proposed Interpretations
- **Entry Signals**: When the background turns green and the status line/data window shows a value of 1, it indicates a potential time to enter a trade based on the selected weekday and session.
- **Exit Signals**: When the background turns red and the status line/data window shows a value of 1, it indicates a potential time to exit a trade based on the selected weekday and session.
#### Essential Knowledge
- **Weekdays and Trading Sessions**: Understanding the significance of specific trading days and sessions can help in optimizing trade timings.
- **Time Zones**: Correctly setting the time zone ensures alignment with market hours and accurate signal generation.
#### Deeper Concepts
- **Signal Filtering**: The script uses the `time_filter` library to determine if the current time falls within the defined entry or exit periods.
#### Typical Use Cases
- **Intraday Trading**: Traders who want to restrict their trades to specific weekdays and trading sessions.
- **Strategy Integration**: Users can integrate the signals from this indicator into broader trading strategies or other Pine Scripts using the signals as an external reference to an input.
#### Limitations
- **Time Zone Settings**: Incorrect time zone settings can lead to misaligned signals.
- **Trading Sessions**: Signals are limited to the defined trading session hours, which may not cover all market conditions.
#### Final Thoughts
The "Weekday Signal " indicator is a tool for traders looking to refine their entry and exit points based on specific days and sessions. By leveraging customizable time zones and trading sessions, traders can refine their strategic execution.
#### Disclaimer
This indicator is for educational purposes only and should not be construed as financial advice. Trading involves risk, and you should consult with a qualified financial advisor before making any trading decisions.
👑 Cryptherium MACryptherium MA is a powerful and flexible moving average indicator designed for serious traders who want full control over how moving averages are calculated and visualized — especially during major market sessions. This tool adapts to different global market hours and supports multiple MA types including EMA, VWAP, WMA, VMA, HMA, and custom session-aware calculations.
Features:
7 MA Options: Choose from EMA, VWAP, WMA, VMA, HMA, NAm (OHLC4-based), and SOAm (Session Open Average).
Session Awareness: Apply MA calculations only during selected sessions: New York, London, or Tokyo.
Volume-Weighted Modes: Includes session-based VWAP and VMA for liquidity-aware MA tracking.
Flexible Styling: White line with thickness for clarity across all chart types and backgrounds.
Use Cases:
Track institutional trend zones by applying VWAP or EMA only during New York or London session.
Compare trend signals between traditional and session-based moving averages.
Use custom logic like SOAm (EMA of session opens) or NAm (SMA of OHLC4) for advanced strategy development.
Integrate seamlessly with price action setups or other Cryptherium tools.
Best For:
Intraday traders using session timing advantage.
Trend followers who need adaptive MA visibility.
Quantitative strategy builders looking for modular MA calculations.
IB One‑Way Break & Retrace (Chicago 5m)What It Tracks
Initial Balance (IB) Range
Defined as the high/low from 08 : 30 – 09 : 30 Chicago time each day.
Plotted as steplines on your chart (“IB High” in aqua, “IB Low” in fuchsia).
Session Window
Monitors price from 09 : 30 – 15 : 00 Chicago time (the remainder of the regular day).
Break Classification
Held: Price never breaches the IB high or low during the session.
One‑Way Break: Price breaks one side of the IB (high or low) but doesn’t break the opposite side.
Discarded: Price breaks both sides of the IB—in which case the day is skipped from all statistics.
Retracement Measurement
For “One‑Way Break” days only, measures how far price retraces back into the IB range (as a percentage of the IB width).
Retracement values are capped at 100% (so extreme extensions beyond the IB don’t inflate averages).
Labeling on the Chart
Held days are marked with an orange “Held” label at the unbroken IB edge.
One‑Way Break days are marked at the furthest pullback point with a green (if upside break) or red (if downside break) label showing the retrace % (e.g. “37.5%”).
Discarded days (both‑side breaks) get a gray “Discard” label.
Summary Table (Top‑Right)
Bucket Count % Sessions Avg Ret%
Total Sessions X 100.0% Y.Y%
Held H H/Total 0.0%
Breakouts B B/Total A.A%
Discarded D D/Total –
0–20% Retrace E0 E0/B Avg0%
20–40% Retrace E1 E1/B Avg1%
40–60% Retrace E2 E2/B Avg2%
60–80% Retrace E3 E3/B Avg3%
≥80% Retrace E4 E4/B Avg4%
Count: Number of days in each category.
% Sessions: That count divided by Total Sessions.
Avg Ret%: Average retracement on only those days. (Held and Discarded rows show 0% or blank.)
How to Use
Held days indicate a very tight IB that never gave way—these can signal strong balance before a later move.
One‑Way Breakouts show directional moves that retraced back into the IB by some amount. Use the retrace % buckets to gauge typical pullback sizes after breakout.
Discarded days (both‑side breaches) are volatile or whipsaw days—excluded from your retracement analysis.
By filtering out those whipsaw sessions and focusing on clean one‑way breaks, you get a clearer picture of how deep retracements tend to be after true breakout moves.
BIAS PRO - Zones + Liquidity + SP&RS [AlgoRich]This multifunction indicator is used to identify key areas on the chart, liquidity levels, and support/resistance zones (SP&RS). Its design is aimed at highlighting price pivots (swings) by drawing zones (boxes and lines) based on these pivots, while also displaying information about trading sessions and levels of analysis across different timeframes.
1. Configuration and Input Parameters
Swing Parameters (Bars Right-Left):
Two inputs are defined to adjust the number of bars on the right and left used to detect pivots (swings). This allows the determination of high and low pivot points.
Display Options:
You can choose to show or hide boxes, lines, and labels (bubbles). There is also an option to extend the zones until they are “filled” (confirmed), and you can opt to hide those zones once filled.
Appearance:
Visual parameters are defined, such as the option to display high and low pivots, colors for lines, labels, and boxes (for both bullish and bearish conditions), line styles (solid, dotted, dashed), and other aesthetic details (box width, label size, text alignment).
Lookback and Time Range:
The “lookback” and “daysBack” variables determine whether the analysis is limited to data from a certain number of days, helping to filter out older historical information.
2. Calculation of Pivots (Swings) and Zone Detection
Price Pivots:
Using the pivot functions (ta.pivothigh and ta.pivotlow), the script identifies swing high and low points based on the configured swing size (bars left and right).
If a swing high is detected, its bar index is stored and the corresponding signal is activated.
Similarly, a swing low is detected and marked.
Drawing Zones:
When a swing (high or low) is detected and the time range condition is met (inRange), the script draws:
Boxes: These visually represent the area around the pivot level. The configuration (type and width) is adjustable.
Lines: A horizontal line is drawn from the pivot point to the current bar, using the defined style and color.
Boxes and lines are drawn for both high pivots (showhighs) and low pivots (showlows).
Additionally, these zones are updated and extended dynamically as new bars appear, and zones that are “filled” (when the price exceeds the zone level) are removed.
Labels and Markers:
If enabled, the script displays circle markers (using plotshape) at the swing points.
3. Operational Zone (Sessions)
Customizable Sessions:
The script allows defining up to three operational sessions with distinct time ranges and colors.
For example, Session 1, Session 2, and Session 3 have configurable time ranges and colors (with adjustable opacity).
It checks if the current time falls within any of these sessions and, if so, applies a background color (bgcolor) to the chart with the configured session color.
Timezone Adjustment:
You can configure a UTC offset or use the exchange’s timezone to correctly adjust the session times.
4. Additional Levels and Analysis Groups
Groups of Levels (Levels 1, 2, 3, and 4):
Several groups are defined that allow data requests from different timeframes (e.g., 60 minutes, 240 minutes, daily, or weekly) and configure their parameters (length, line style, color).
For each group, the script uses a function that requests non-repainting data and calculates pivot levels based on ta.pivothigh/ta.pivotlow.
These levels are drawn on the chart with lines and “shadow” lines to reinforce the visualization of key pivot points. Labels are added with a slight offset to indicate the pivot value in the corresponding timeframe.
5. Maintenance and Management of Drawn Elements
Dynamic Update and Deletion:
The script maintains arrays to store the drawn boxes and lines. As new elements are added and the array reaches a maximum size (e.g., 500 elements), the oldest elements are deleted to avoid overloading the chart.
Extension and Hiding Conditions:
Conditions are checked to extend or delete zones based on whether the price has “filled” the area (i.e., if the current price has surpassed the zone level). There is also an option to hide zones once they are filled.
6. Session (Operational Zone) and Levels for Multiple Timeframes
Session Settings:
In addition to the pivot zones, the indicator also defines operational sessions with adjustable time ranges and colors, shading the background of the chart during those sessions.
Additional Level Groups:
The indicator allows grouping of analysis levels by timeframe, which can be useful for multi-timeframe analysis. Parameters such as length, style, and color are configurable for each group.
Summary:
The "BIAS PRO - Zones + Liquidity + SP&RS " is an all-in-one indicator that combines the detection of price pivots (swings) with the visual representation of key zones on the chart. With options to customize appearance, manage operational sessions, and group levels across different timeframes, this script is designed to help traders identify areas of high liquidity, potential breakouts, or reversals, thus optimizing decision-making based on market structure.
This explanation covers the main functionalities and workflow of the script, making it easier to understand without needing to examine the code in detail.
Scalping The BullNome: Scalping The Bull (Indicatore)
Categoria: Scalping, Trend Following, Mean Reversion.
Timeframe: 1M, 5M, 30M, 1D, secondo la conformazione specifica.
(follow description in english)
Analisi tecnica: l’indicatore supporta le operatività descritte nei video di YouTube del canale “Scalping The Bull”. Di norma si basa su price action e medie mobili esponenziali.
Le varie tecniche che possono essere usate insieme all’indicatore sono sintetizzate nei settaggi dell’indicatore e si può fare riferimento ai video specifici per la spiegazione completa.
Utilizzo consigliato: Altcoin che presentano forti trend per scalping e operazioni intra-day.
Configurazione: È possibile configurare lo strumento in maniera semplice e completa.
Medie:
Medie per mercato: e’ possibile utilizzare le medie mobili esponenziali (EMA) esclusivamente per il mercato Crypto (5/10/60/223).
Media addizionale: e’ possibile visualizzare una media aggiuntiva, e.g. a 20 periodi.
Elementi del grafico:
Sfondo: segnala con lo sfondo del grafico in verde una situazione di uptrend ( EMA 60 > EMA 223) e in rosso sfondo rosso una situazione di downtrend (EMA 60 < EMA 223).
Separatori di sessioni: indica l’inizio della sessione corrente.
Punti Trigger:
Massimi e minimi di oggi: disegna sul grafico il prezzo di apertura della candela daily e i massimi e i minimi di giornata.
Massimi minimi di ieri: disegna sul grafico il prezzo di apertura della candela daily, i massimi e i minimi del giorno prima.
(English description)
Name: Scalping The Bull (Indicator)
Category: Scalping, Trend Following, Mean Reversion.
Timeframe: 1M, 5M, 30M, 1D depending on the specific signal.
Technical Analysis: The indicator supports the operations described in the YouTube videos of the channel "Scalping The Bull". Usually it is based on price action and exponential moving averages.
The various techniques that can be used in conjunction with the indicator are summarized in the indicator settings and you can refer to the specific videos for the full explanation.
Suggested usage: Altcoin showing strong trends for scalping and intra-day trades.
Configuration:
Exponential Moving Averages
Per market: you can display averages exclusively for the Crypto market (5/10/60/223).
Additional Average: You can display an additional average, e.g. 20-period average.
Chart elements:
Session Separators: indicates the beginning of the current session.
Background: signals with the background in green an uptrend situation ( 60 > 223) and in red background a downtrend situation (60 < 223).
Trigger points:
Today's highs and lows: draw on the chart the opening price of the daily candle and the highs and lows of the day.
Yesterday's highs and lows: draw on the chart the opening price of the daily candle, the highs and lows of the previous day.
Advanced Market TheoryADVANCED MARKET THEORY (AMT)
This is not an indicator. It is a lens through which to see the true nature of the market.
Welcome to the definitive application of Auction Market Theory. What you have before you is the culmination of decades of market theory, fused with state-of-the-art data analysis and visual engineering. It is an institutional-grade intelligence engine designed for the serious trader who seeks to move beyond simplistic indicators and understand the fundamental forces that drive price.
This guide is your complete reference. Read it. Study it. Internalize it. The market is a complex story, and this tool is the language with which to read it.
PART I: THE GRAND THEORY - A UNIVERSE IN AN AUCTION
To understand the market, you must first understand its purpose. The market is a mechanism of discovery, organized by a continuous, two-way auction.
This foundational concept was pioneered by the legendary trader J. Peter Steidlmayer at the Chicago Board of Trade in the 1980s. He observed that beneath the chaotic facade of ticking prices lies a beautifully organized structure. The market's primary function is not to go up or down, but to facilitate trade by seeking a price level that encourages the maximum amount of interaction between buyers and sellers. This price is "value."
The Organizing Principle: The Normal Distribution
Over any given period, the market's activity will naturally form a bell curve (a normal distribution) turned on its side. This is the blueprint of the auction.
The Point of Control (POC): This is the peak of the bell curve—the single price level where the most trade occurred. It represents the point of maximum consensus, the "fairest price" as determined by the market participants. It is the gravitational center of the session.
The Value Area (VA): This is the heart of the bell curve, typically containing 70% of the session's activity (one standard deviation). This is the zone of "accepted value." Prices within this area are considered fair and are where the market is most comfortable conducting business.
The Extremes: The thin areas at the top and bottom of the curve are the "unfair" prices. These are levels where one side of the auction (buyers at the top, sellers at the bottom) was shut off, and trade was quickly rejected. These are areas of emotional trading and excess.
The Narrative of the Day: Balance vs. Imbalance
Every trading session is a story of the market's search for value.
Balance: When the market rotates and builds a symmetrical, bell-shaped profile, it is in a state of balance . Buyers and sellers are in agreement, and the market is range-bound.
Imbalance: When the market moves decisively away from a balanced area, it is in a state of imbalance . This is a trend. The market is actively seeking new information and a new area of value because the old one was rejected.
Your Purpose as a Trader
Your job is to read this story in real-time. Are we in balance or imbalance? Is the auction succeeding or failing at these new prices? The Advanced Market Theory engine is your Rosetta Stone to translate this complex narrative into actionable intelligence.
PART II: THE AMT ENGINE - AN EVOLUTION IN MARKET VISION
A standard market profile tool shows you a picture. The AMT Engine gives you the architect's full schematics, the engineer's stress tests, and the psychologist's behavioral analysis, all at once.
This is what makes it the Advanced Market Theory. We have fused the timeless principles with layers of modern intelligence:
TRINITY ANALYSIS: You can view the market through three distinct lenses. A Volume Profile shows where the money traded. A TPO (Time) Profile shows where the market spent its time. The revolutionary Hybrid Profile fuses both, giving you a complete picture of market conviction—marrying volume with duration.
AUTOMATED STRUCTURAL DECODING: The engine acts as your automated analyst, identifying critical structural phenomena in real-time:
Poor Highs/Lows: Weak auction points that signal a high probability of reversal.
Single Prints & Ledges: Footprints of rapid, aggressive market moves and areas of strong institutional acceptance.
Day Type Classification: The engine analyzes the session's personality as it develops ("Trend Day," "Normal Day," etc.), allowing you to adapt your strategy to the market's current character.
MACRO & MICRO FUSION: Via the Composite Profile , the engine merges weeks of data to reveal the major institutional battlegrounds that govern long-term price action. You can see the daily skirmish and the multi-month war on a single chart.
ORDER FLOW INTELLIGENCE: The ultimate advancement is the integrated Cumulative Volume Delta (CVD) engine. This moves beyond structure to analyze the raw aggression of buyers versus sellers. It is your window into the market's soul, automatically detecting critical Divergences that often precede major trend shifts.
ADAPTIVE SIGNALING: The engine's signal generation is not static; it is a thinking system. It evaluates setups based on a multi-factor Confluence Score , understands the market Regime (e.g., High Volatility), and adjusts its own confidence ( Probability % ) based on the complete context.
This is not a tool that gives you signals. This is a tool that gives you understanding .
PART III: THE VISUAL KEY - A LEXICON OF MARKET STRUCTURE
Every element on your chart is a piece of information. This is your guide to reading it fluently.
--- THE CORE ARCHITECTURE ---
The Profile Histogram: The primary visual on the left of each session. Its shape is the story. A thin profile is a trend; a fat, symmetrical profile is balance.
Blue Box : The zone of accepted, "fair" value. The heart of the session's business.
Bright Orange Line & Label : The Point of Control. The gravitational center. The price of maximum consensus. The most significant intraday level.
Dashed Blue Lines & Labels : The boundaries of value. Critical inflection points where the market decides to either remain in balance or seek value elsewhere.
Dashed Cyan Lines & Labels : The major, long-term structural levels derived from weeks of data. These are institutional reference points and carry immense weight. Treat them as primary support and resistance.
Dashed Orange Lines & Labels : Marks a Poor or Unfinished Auction . These represent emotional, weak extremes and are high-probability targets for future price action.
Diamond Markers : Mark Single Prints , which are footprints of aggressive, one-sided moves that left a "liquidity vacuum." Price is often drawn back to these levels to "repair" the poor structure.
Arrow Markers : Mark Ledges , which are areas of strong horizontal acceptance. They often act as powerful support/resistance in the future.
Dotted Gray Lines & Labels : The projected daily range based on multiples of the Initial Balance . Use them to set realistic profit targets and gauge the day's potential.
--- THE SIGNAL SUITE ---
Colored Triangles : These are your high-probability entry signals. The color is a strategic playbook:
Gold Triangle : ELITE Signal. An A+ setup with overwhelming confluence. This is the highest quality signal the engine can produce.
Yellow Triangle : FADE Signal. A counter-trend setup against an exhausted move at a structural extreme.
Cyan Triangle : BREAKOUT Signal. A momentum setup attempting to capitalize on a breakout from the value area.
Purple Triangle : ROTATION Signal. A mean-reversion setup within the value area, typically from one edge towards the POC.
Magenta Triangle : LIQUIDITY Signal. A sophisticated setup that identifies a "stop run" or liquidity sweep.
Percentage Number: The engine's calculated probability of success . This is not a guarantee, but a data-driven confidence score.
Dotted Gray Line: The signal's Entry Price .
Dashed Green Lines: The calculated Take Profit Targets .
Dashed Red Line: The calculated Stop Loss level.
PART IV: THE DASHBOARD - YOUR STRATEGIC COMMAND CENTER
The dashboard is your real-time intelligence briefing. It synthesizes all the engine's analysis into a clear, concise, and constantly updating summary.
--- CURRENT SESSION ---
POC, VAH, VAL: The live values for the core structure.
Profile Shape: Is the current auction top-heavy ( b-shaped ), bottom-heavy ( P-shaped ), or balanced ( D-shaped )?
VA Width: Is the value area expanding (trending) or contracting (balancing)?
Day Type: The engine's judgment on the day's personality. Use this to select the right strategy.
IB Range & POC Trend: Key metrics for understanding the opening sentiment and its evolution.
--- CVD ANALYSIS ---
Session CVD: The raw order flow. Is there more net buying or selling pressure in this session?
CVD Trend & DIVERGENCE: This is your order flow intelligence. Is the order flow confirming the price action? If "DIVERGENCE" flashes, it is a critical, high-alert warning of a potential reversal.
--- MARKET METRICS ---
Volume, ATR, RSI: Your standard contextual metrics, providing a quick read on activity, volatility, and momentum.
Regime: The engine's assessment of the broad market environment: High Volatility (favor breakouts), Low Volatility (favor mean reversion), or Normal .
--- PROFILE STATS, COMPOSITE, & STRUCTURE ---
These sections give you a quick quantitative summary of the profile structure, the major long-term Composite levels, and any active Poor Structures.
--- SIGNAL TYPES & ACTIVE SIGNAL ---
A permanent key to the signal colors and their meanings, along with the full details of the most recent active signal: its Type , Probability , Entry , Stop , and Target .
PART V: THE INPUTS MENU - CALIBRATING YOUR LENS
This engine is designed to be calibrated to your specific needs as a trader. Every input is a lever. This is not a "one size fits all" tool. The extensive tooltips are your built-in user manual, but here are the key areas of focus:
--- MARKET PROFILE ENGINE ---
Profile Mode: This is the most fundamental choice. Volume is the standard for price-based support and resistance. TPO is for analyzing time-based acceptance. Hybrid is the professional's choice, fusing both for a complete picture.
Profile Resolution: This is your zoom lens. Lower values for scalping and intraday precision. Higher values for a cleaner, big-picture view suitable for swing trading.
Composite Sessions: Your timeframe for macro analysis. 5-10 sessions for a weekly view; 20-30 sessions for a monthly, structural view.
--- SESSION & VALUE AREA ---
These settings must be configured correctly for your specific asset. The Session times are critical. The Initial Balance should reflect the key opening period for your market (60 minutes is standard for equities).
--- SIGNAL ENGINE & RISK MANAGEMENT ---
Signal Mode: THIS IS YOUR PERSONAL RISK PROFILE. Set it to Conservative to see only the absolute best A+ setups. Use Elite or Balanced for a standard approach. Use Aggressive only if you are an experienced scalper comfortable with managing more frequent, lower-probability setups.
ATR Multipliers: This suite gives you full, dynamic control over your risk/reward parameters. You can precisely define your initial stop loss distance and profit targets based on the market's current volatility.
A FINAL WORD FROM THE ARCHITECT
The creation of this engine was a journey into the very heart of market dynamics. It was born from a frustrating truth: that the most profound market theories were often confined to books and expensive institutional platforms, inaccessible to the modern retail trader. The goal was to bridge that gap.
The challenge was monumental. Making each discrete system—the volume profile, the TPO counter, the composite engine, the CVD tracker, the signal generator, the dynamic dashboard—work was a task in itself. But the true struggle, the frustrating, painstaking process that consumed countless hours, was making them work in unison . It was about ensuring the CVD analysis could intelligently inform the signal engine, that the day type classification could adjust the probability scores, and that the composite levels could provide context to the intraday structure, all in a seamless, real-time dance of data.
This engine is the result of that relentless pursuit of integration. It is built on the belief that a trader's greatest asset is not a signal, but clarity . It was designed to clear the noise, to organize the chaos, and to present the elegant, underlying logic of the market auction so that you can make better, more informed, and more confident decisions.
It is now in your hands. Use it not as a crutch, but as a lens. See the market for what it truly is.
"The market can remain irrational longer than you can remain solvent."
- John Maynard Keynes
DISCLAIMER
This script is an advanced analytical tool provided for informational and educational purposes only. It is not financial advice. All trading involves substantial risk, and past performance is not indicative of future results. The signals, probabilities, and metrics generated by this indicator do not constitute a recommendation to buy or sell any financial instrument. You, the user, are solely responsible for all trading decisions, risk management, and outcomes. Use this tool to supplement your own analysis and trading strategy.
PUBLISHING CATEGORIES
Volume Profile
Market Profile
Order Flow
Blue Ocean BOATS 24/5 US Market DataThis script utilizes Blue Ocean's ATS (Alternative Trading System) and U.S. exchange market data to create a continuous candlestick chart. The continuous data has the option to be used as an indicator or strategy source.
Requirements
The main chart symbol (which can be unrelated to the user-input Ticker Symbol) needs to be a 24/7 chart. An example symbol is CRYPTO:BTCUSD. CME_MINI:ES1! and FX:SPX500 work too, but are not truly 24/5 and will miss ~4 hours of the total trading week from the extended U.S. session.
The main chart's timeframe needs to be intraday. Because the script's output is currently inconsistent on daily or higher timeframes, it will disable itself.
The Ticker Symbol chosen should be a ticker that is traded on U.S. exchanges. This will provide both U.S. extended session data and a BOATS equivalent.
Usage & configuration
This script visualizes the 24-hour Monday-Friday chart of a U.S. exchange ticker. Going a step further, it can be used to compare the performance indices or cryptocurrencies to stock constituents of indices, cryptocurrency treasury stocks or holding ETFs.
The script's output, candlesticks, can be overlaid on the main chart or used as is. A "Price Source" plot is used for indicators or strategies.
Ticker Symbol: The U.S. ticker you'd like to view extended session and Blue Ocean ATS session data for.
Price Source: Price source that can be used for indicators or strategies.
Highlight Sessions: Highlight the different trading sessions.
Last Price Line: Show a horizontal line at the last traded price.
Ticker Symbol Check: Plots a label that will display only if the selected Ticker Symbol is not detected as a U.S. exchange traded ticker.
Earnings Label: Creates a label at the time of past earnings of the chosen Ticker Symbol. The time that the earnings are plotted is approximate. Because of this, the label is meant as an explanation for price action.
What this script does and how it works
It creates OHLC candlesticks by merging Blue Ocean's ATS market data and U.S. exchange data. From the OHLC data of both, a single output can be used for indicators or strategies.
References and further information
www.tradingview.com
The Blue Ocean ATS allows trading from 20:00 to 4:00 Eastern Time, Sunday through Thursday. This critical timeframe bridges the eight-hour overnight gap when major U.S. exchanges are closed.
blueocean-tech.io
Blue Ocean ATS, LLC is a US broker dealer which operates the alternative trading system BOATS. Our trading platform offers electronic access, price discovery, compliant regulatory reporting requirements, and standard clearing and settlement processes.
www.nyse.com
Hours mentioned are in Eastern Time.
Overnight trading remains far less active than extended hours trading. The hour with the highest overnight volume is 9:00PM, which averages 2.94 million shares per day and coincides with several Asian market opens. This volume is a fraction of the last hour of extended hours trading, which averages 43.22 million shares. The first hour of pre-core reported volume averages 113.30 million shares per day.
Overnight executions, in addition to the peak in the 9:00PM hour, also exhibits a smaller peak at 3:00AM, of 2.35 million shares. This coincides with several Asian bourses’ end of their regular trading day.
Example of using the script in the main chart window and the difference in how RSI may be calculated.
Note: ATS is not the name of the 20:00 to 4:00 ET session itself, and the term refers to a broader definition of trading systems that include dark pools, which can be different.
24/5 Monday-Friday really means NY time Sunday night to Friday afternoon.
BullTrading Easy Tops & BottomsTRADING TOOL OVERVIEW
The Easy Tops & Bottoms indicator identifies potential reversal points on intraday charts by analysing volatility patterns and momentum shifts during major trading sessions. It projects horizontal zones that may act as support or resistance, adapting dynamically to price behavior.
This indicator is designed for use on intraday timeframes from 1-minute to 15-minute charts only.
HOW THE INDICATOR WORKS
The indicator uses an adaptive algorithm to evaluate momentum exhaustion and volatility clusters within intraday sessions (aligned with New York local time). It generates time based zones when conditions indicate potential trend reversals, such as after volatility spikes followed by contraction. These zones extend horizontally until price breaks boundaries or a bar limit is reached.
- Support Zones : Formed during bullish sessions with tail volatility, suggesting potential bottoms.
- Resistance Zones : Formed during bearish sessions with wick volatility, suggesting potential tops.
Zones are filtered for significant sessions to focus on meaningful price action. Signals trigger based on price interaction with the zone, requiring a specific relationship between the candle's low, high, and close relative to the zone level—for example, engulfing the level but closing in the reversal direction.
Note that signals and zone behaviors will differ across timeframes (e.g., 1m, 5m, 15m) due to varying candle sizes affecting how closes relate to zone triggers. Shorter timeframes may show more frequent but noisier interactions, while longer ones capture broader momentum shifts.
USERS GUIDE
What the Indicator Does?
The indicator has two operating modes: Buy/Sell Signal Mode (suitable for beginners and trend-following traders—important note: trend-following traders must filter according to their own trend criteria) and Support/Resistance Mode, which is a full and complete trading system.
- Plots Dynamic Zones: Horizontal boxes appear at qualifying session ends, representing support (bottoms) or resistance (tops).
- Active zones use a semi-transparent colour (customisable) and extend rightward while valid.
- Expired zones (after break or timeout) shift to a historical colour for reference.
- Generates Signals (in Buy/Sell Signal Mode): Labels appear on zone interactions confirming reversal potential:
- "BUY" (green) for support zones.
- "SELL" (red) for resistance zones.
- Time Based Focus: Ties to intraday periods like Asian, London, and New York transitions. Use NY Local Time in your charts.
- Additional Elements: Includes a watermark with symbol, timeframe, and date; an optional NotePad table for notes.
How to Interpret Signals
- Zone Dynamics: Active zones indicate ongoing validity; expiration signals a potential shift (e.g., a support break may turn it into resistance).
- Signal Triggers: Require price to test the zone level with a closing bias toward reversal. These are suitable for beginners learning basic reversals or trend traders adding their own filters (e.g., moving averages for direction).
- Value for Users: Beginners can use zone height to set stop-loss (SL) below/above the box, enabling a 1:2 risk-reward ratio (RR) for take-profit (TP) at twice the zone distance.
- Timeframe Variations: Expect different signals on 1m vs. 15m, as smaller candles on lower frames may trigger more selectively based on close positions relative to zones.
- Note on Entries in Internal Range Zones: For all entries (the Internal Range inside range zones), when a big zone swallows smaller zones ahead, consider using the bigger zone or the SL price level as an entry level.
PRACTICAL TRADING SCENARIOS
Here, we expand on how to apply the indicator in real-world trading, with detailed examples for each mode. These scenarios assume a basic understanding of risk management, such as position sizing at 0.5-1.5% of account capital per trade. Always backtest these ideas on historical data for your specific instrument (e.g., forex pairs like EUR/USD or indices like US30).
Buy/Sell Signal Mode: Reversal and Trend-Following Applications
This mode is ideal for spotting reversal opportunities while allowing flexibility for trend filters. Signals appear as labels when price interacts with zones in a confirmatory way, making it beginner-friendly for learning entry points. Trend-following traders should overlay their preferred trend indicators (e.g., a 50-period EMA) to avoid counter-trend trades.
Important critical note: In this mode, the 1:2 RR is based and measured directly on the zone height (not on the actual distance from entry price to SL). The correct SL placement is at the far edge of the zone (e.g., zone bottom for buys, zone top for sells), and TP is set at twice the zone height from the signal level (the key trigger price where the label appears).
- Basic Reversal Scalping (Beginner-Friendly): On a 5-minute chart during the London session open, after a sharp down-move in EUR/USD, a support zone forms with signal level at 1.0850 (zone top) and height of 10 pips (zone bottom at 1.0840). Wait for a "BUY" signal when price dips to test the zone (low touches 1.0850) but closes above it. Enter long at the current price (e.g., 1.0855). Set SL at the zone bottom (1.0840), and TP at the signal level + 2x zone height (1.0850 + 20 pips = 1.0870). This ensures the 1:2 RR is measured purely on the zone (risk = 10 pips zone height, reward = 20 pips), regardless of exact entry. If volatility is high (filter enabled), this setup prioritizes stronger sessions for better win rates.
- Trend-Following with Filter: On a 15-minute chart of GBP/JPY during New York AM, the overall trend is upward (price above a 200-period SMA). A support zone appears with signal level at 185.20 (zone top) after a pullback, with a height of 20 pips (zone bottom at 185.00). Ignore any "SELL" signals as they counter the trend; instead, wait for a "BUY" when price tests the zone from above and closes bullishly. Enter long at the current price (e.g., 185.25). Set SL at the zone bottom (185.00), and TP at the signal level + 2x zone height (185.20 + 40 pips = 185.60). Add a trend filter like MACD histogram turning positive for confirmation, reducing whipsaws in ranging markets. The RR remains 1:2 based on the zone (risk = 20 pips height, reward = 40 pips).
- Range-Bound Day Trading: In a 1-minute chart of USD/JPY during Asian session consolidation, multiple zones form stacking as support/resistance. Monitor for "SELL" at a resistance zone with signal level at 147.80 (zone bottom) and height of 8 pips (zone top at 147.88) after an uptick. Enter short on the signal at the current price (e.g., 147.78). Set SL at the zone top (147.88), and TP at the signal level - 2x zone height (147.80 - 16 pips = 147.64). Shorter timeframes like 1m may produce more signals due to tighter candle closes, but use the volatility filter to avoid flat periods—test historically to see how 1m noise compares to 15m's smoother triggers. The RR is fixed at 1:2 on the zone (risk = 8 pips height, reward = 16 pips).
Support/Resistance Mode: Standalone Contrarian System for Fading Breaks
This mode hides signals and labels, turning the indicator into a complete contrarian trading system focused on fading zone breaks. It treats broken zones as "flips"—a broken support becomes potential resistance, and vice versa. Entries use limit orders at a distance equal to the zone height, with fixed 1:2 RR based on that height. No additional filters are required, but combining with session timing enhances edge. Alerts fire on new zone creation, allowing proactive setup.
When a setup results in a stop loss in Support/Resistance Mode, the original zone can be used for a "Stop & Reverse" trade with the same trading proportions. This means reversing the position direction upon hitting SL, using the original zone to set the new entry (at the box top/bottom trigger level), SL (at the opposite box edge), and TP (2x the height beyond entry)—effectively capturing momentum in the opposite direction while maintaining the 1:2 RR.
- Fading a Support Break (Short Setup): On a 5-minute chart of AUD/USD during NY PM, a support zone at 0.6650 (height 12 pips) breaks when low pierces below 0.6638. Consider the zone flipped to resistance. Place a sell limit order 12 pips above the broken zone (at 0.6662), SL 12 pips above entry (0.6674), and TP 24 pips below entry (0.6638, achieving 1:2 RR). This anticipates sellers re-entering on pullbacks to the former support. If the volatility filter is on, this only applies to significant breaks; historically, test on pairs with clear pip values to adjust for spreads.
Stop & Reverse Scenario: If the short position hits SL at 0.6674 (price rallies above), reverse to a long position. Use the original 12-pip zone: Place a buy limit order on the original broken support (now acting as flipped resistance, at 0.6650 box top), SL 12 pips below the new entry (0.6638 box bottom), and TP 24 pips above the new entry (0.6674, maintaining 1:2 RR). This captures potential upside momentum after the false break.
- Fading a Resistance Break (Long Setup): In a 15-minute chart of Nasdaq futures (NQ) during London close, a resistance zone at 18500 (height 50 points) breaks upward (high > 18550). Flip it to support. Place a buy limit order 50 points below the broken zone (at 18450), SL 50 points below entry (18400), TP 100 points above entry (18550). This catches pullbacks in uptrends. Longer timeframes like 15m may show fewer but more reliable breaks due to broader candle relationships—compare to 1m, where smaller candles might invalidate zones quicker.
Stop & Reverse Scenario: If the long position hits SL at 18400 (price drops below), reverse to a short position. Use the original 50-point zone: Place a sell limit order on the original broken resistance (now acting as flipped support, at 18500 box bottom), SL 50 points above the new entry (18550 box top), and TP 100 points below the new entry (18400, maintaining 1:2 RR). This captures potential downside momentum after the false break.
- Multi-Zone Contrarian Scalping in High-Volatility Sessions: On a 1-minute chart of Bitcoin (BTC/USD) during NY open, several zones form and break in quick succession. After a resistance at 65000 (height 200 USD) breaks, place buy limit 200 USD below (64800), SL at 64600, TP at 65200. Conversely, for a broken support at 64000 (height 150 USD), sell limit 150 USD above (64150), SL 64300, TP 63850. Use the max bars setting to limit zone lifespan in fast markets; enable volatility filter to focus on explosive sessions like news releases. This mode's standalone nature suits automated mindsets—backtest to quantify edge, noting 1m's frequent triggers vs. 15m's strategic ones.
Stop & Reverse Scenario: For the buy after resistance break, if it hits SL at 64600 (price falls below), reverse to short. Use the original 200 USD zone: Place a sell limit order on the original broken resistance (now acting as flipped support, at 65000 box bottom), SL 200 USD above the new entry (65200 box top), TP 400 USD below the new entry (64600, maintaining 1:2 RR). Similarly, for the sell after support break, if it hits SL at 64300 (price rallies above), reverse to buy: Use the original 150 USD zone: Place a buy limit order on the original broken support (now acting as flipped resistance, at 64000 box top), SL 150 USD below the new entry (63850 box bottom), TP 300 USD above the new entry (64300, maintaining 1:2 RR). This captures potential momentum after the false breaks.
- Risk Considerations for Both Modes: Always test scenarios historically and adjust for instrument specifics like pip/point values and spreads. For example, forex might use 1-2 pip buffers, while crypto needs larger due to volatility. This is not trading advice; users should evaluate independently and consult professionals.
KEY SETTINGS
- Indicator Mode: "Buy/Sell Signal Mode" for signals; "Support/Resistance Mode" for zones only.
- Show S/R Zones: Toggle box visibility.
- Colours: Customise active/historical zones, buy/sell labels.
- Max Bars for Signal: Zone extension limit (default: 288).
- Require Significant Volatility: Filter for notable sessions (default: true).
- Days to Keep Historical Zones: Retention period (default: 7).
- Show NotePad?: Toggle notes table.
ALERTS
- Signal Mode: On BUY/SELL triggers.
- S/R Mode: On new zone creation.
Backtest thoroughly before use.
Why Protected?
This script uses a proprietary zone detection method designed to highlight support/resistance zones in a clear, structured way. To maintain the integrity and unique utility of the algorithm, the code is closed-source.
Important Considerations
This tool does not guarantee profits and is not intended to replace sound trade management or risk discipline. It is designed to aid traders in visualiSing market structure. Use responsibly with appropriate risk measures.
Legal Disclaimer
This indicator is provided for educational and informational purposes only. It is not intended as financial, investment, or trading advice, and does not constitute a recommendation to buy, sell, or hold any financial instrument.
Trading financial markets involves substantial risk. Past performance of any trading strategy or indicator is not indicative of future results. Users of this indicator assume full responsibility for their trading decisions. No guarantees are made regarding the accuracy, reliability, or profitability of the signals generated by this tool.
This indicator is published as-is, without any express or implied warranties. The publishers shall not be held liable for any losses or damages, direct or indirect, arising from the use, misuse, or reliance on this tool.
All trading decisions should be made with consideration of your financial situation and risk tolerance. Consultation with a licensed financial advisor is strongly recommended before making any investment decisions.
By using this indicator, you acknowledge and agree to these terms. Your use constitutes acceptance of full responsibility and the understanding that trading is inherently risky and should be approached with caution and discipline.
Opening Range Breakout with John Wick + CDH/CDLOpening Range Breakout (ORB) De Luxe with John Wick Pattern - User Manual Table of Contents
1. Introduction
2. Key Features
3. Installation
4. Configuration Guide
5. Trading Signals
6. Pattern Recognition
7. Zone Trading
8. Alert Setup
9. Trading Strategies
10. Best Practices
11. Troubleshooting
________________________________________
1. Introduction The Opening Range Breakout (ORB) with John Wick indicator is a comprehensive trading tool designed for intraday and swing traders. It combines the classic Opening Range Breakout strategy with advanced candlestick pattern recognition, including the unique "John Wick" pattern. What is Opening Range Breakout? The Opening Range (OR) is the price range established during the first 15 minutes of a trading session. This range often acts as support and resistance for the remainder of the trading day. Breakouts above or below this range can signal strong directional moves. Key Concepts: • Opening Range High: The highest price during the first 15 minutes • Opening Range Low: The lowest price during the first 15 minutes • Breakout: Price movement above OR High (bullish) or below OR Low (bearish) • Pattern Zones: Areas around key levels where pattern recognition is most effective • PDH/PDL: Previous Day High and Previous Day Low - key reference levels from the prior trading day • CDH/CDL: Current Day High and Current Day Low - dynamically updating intraday extremes
________________________________________
2. Key Features Core Features: • Multi-Session Support: New York, London, Tokyo, Sydney, Frankfurt, and Custom sessions • Opening Range Visualization: Automatic OR High/Low detection and plotting • Pattern Recognition: Engulfing, Hammer/Shooting Star, Doji, and John Wick patterns • Zone Trading: Customizable zones around OR and PDH/PDL/CDH/CDL levels • Previous Day Levels: PDH (Previous Day High) and PDL (Previous Day Low) • Current Day Levels: CDH (Current Day High) and CDL (Current Day Low) - real-time tracking • Mid-Point Levels: Automatic calculation of OR mid-point • Real-Time Alerts: Breakout and pattern-based alerts • Multi-Timezone Support: Exchange or custom timezone selection Visual Features: • Dynamic color-coded levels • Triangle signals for breakouts • Pattern labels with clear identification • Information table with current session data • Fully customizable colors and styles
________________________________________
3. Installation Step 1: Add to Chart
4. Open TradingView and navigate to your desired chart
5. Click on "Indicators" (or press /)
6. Search for "Opening Range Breakout with John Wick"
7. Click to add the indicator to your chart Step 2: Initial Setup
8. The indicator will automatically detect your chart's timezone
9. Default session is set to "New York"
10. All features are enabled by default Recommended Timeframes: • Optimal: 1-minute to 15-minute charts • Suitable: Up to 1-hour charts • Not Recommended: Daily or higher timeframes
________________________________________
4. Configuration Guide Timezone Settings Use Exchange Timezone • Enabled (Default): Uses the exchange's native timezone • Disabled: Uses chart timezone or custom selection Timezone Selection Available when "Use Exchange Timezone" is disabled: • America/New_York • Europe/London • Europe/Amsterdam • Asia/Tokyo • Australia/Sydney Session Selection Trading Sessions • Sydney: 09:00-16:00 Sydney time • Tokyo: 09:00-15:00 Tokyo time • London: 08:00-16:30 London time • Frankfurt: 09:00-17:30 Frankfurt time • New York: 09:30-16:00 New York time • Custom: User-defined session • Previous Sessions: Shows multiple historical ORs Custom Session Settings • Custom Session Time: Define your own trading hours • Custom Session Name: Label for your custom session Display Options Line Settings • Line Width: 1-5 (Default: 2) • Line Style: Solid, Dashed, or Dotted • Show Current Only: Hide historical OR lines • Show Session Name: Display session label on chart Color Customization • OR Resistance (High): Default red • OR Support (Low): Default green • Session Colors: Unique color per session type • Zone Colors: Separate colors for OR and PDH/PDL zones Pattern Zone Settings Zone Configuration • Show Pattern Detection Zone: Enable/disable zones • OR Zone Size: Percentage of OR range (Default: 2%) • PDH/PDL Zone Size: Percentage of PDH-PDL range (Default: 1.5%) • CDH/CDL Zone Size: Percentage of CDH-CDL range (Default: 1.5%) • Show Zone Labels: Display zone boundary values • Only Detect Patterns in Zone: Limit pattern detection to zones Mid-Point Settings • Show Opening Range Mid-Point: Display OR midline • Mid-Point Color: Default gray • Mid-Point Style: Dotted, Dashed, or Solid • Show Mid-Point Label: Display midpoint value Previous Day Levels • Show Previous Day High/Low: Enable PDH/PDL lines • PDH/PDL Colors: Default yellow • PDH/PDL Line Style: Customizable style • Show PDH/PDL Labels: Display level values
Current Day Levels • Show Current Day High/Low: Enable CDH/CDL lines • CDH/CDL Colors: Default blue • CDH/CDL Line Style: Customizable style • Show CDH/CDL Labels: Display level values • Update Frequency: Real-time updates as new highs/lows are made
________________________________________
5. Trading Signals Signal Types
6. Breakout Signals • Bullish (Buy): Green triangle below candle when price breaks above OR High • Bearish (Sell): Red triangle above candle when price breaks below OR Low
7. Pattern-Enhanced Signals Signals are generated when breakouts occur WITH confirming patterns: • Stronger probability of follow-through • Reduced false breakouts • Better risk/reward setups Signal Configuration Alert Settings • Enable Alerts: Turn alerts on/off • Show Buy/Sell Signals: Visual signals on chart • Show Signal Text: Display "BUY"/"SELL" labels Pattern Filter Options • Use Candle Pattern Filter: Require patterns for signals • Pattern Combination Mode: o Any Pattern: Signal on any single pattern o Multiple Patterns: Require minimum pattern count o Specific Combo: Require specific pattern combinations
________________________________________
6. Pattern Recognition Supported Patterns
7. Engulfing Pattern • Bullish Engulfing: Large green candle completely engulfs previous red candle • Bearish Engulfing: Large red candle completely engulfs previous green candle • Label: "E"
8. Hammer/Shooting Star • Hammer: Small body at top, long lower wick (2x body size) • Shooting Star: Small body at bottom, long upper wick (2x body size) • Labels: "H" (Hammer), "S" (Shooting Star)
9. Doji Pattern • Definition: Open and close nearly equal (body < 10% of average) • Significance: Indecision, potential reversal • Label: "D"
10. John Wick Pattern (Unique Feature) • Bullish John Wick: o Opens below previous candle's low o 30-70% of body extends below previous low o Strong momentum indication • Bearish John Wick: o Opens above previous candle's high o 30-70% of body extends above previous high • Label: "JW" Pattern Visualization • Pattern Markers: Small circular labels with pattern abbreviations • Pattern Count: Number showing total patterns detected • Pattern Background: Optional highlighting (disabled by default) • Positioning: o Bullish patterns: Below candles at varying distances o Bearish patterns: Above candles at varying distances
________________________________________
7. Zone Trading Zone Concept Zones are buffer areas around key levels where price action and patterns are monitored more closely. Zone Types
8. Opening Range Zones • OR High Zone: Area around the OR High level • OR Low Zone: Area around the OR Low level • Purpose: Identify potential breakout or rejection areas
9. PDH/PDL Zones • PDH Zone: Area around Previous Day High • PDL Zone: Area around Previous Day Low • Purpose: Monitor reactions at key daily levels
10. CDH/CDL Zones • CDH Zone: Area around Current Day High • CDL Zone: Area around Current Day Low • Purpose: Track reactions at evolving intraday extremes • Dynamic Nature: These zones move as new highs/lows are established Zone Features • Visual Representation: Semi-transparent colored boxes • Customizable Size: Percentage-based calculation • Pattern Detection: Option to only detect patterns within zones • Bar Coloring: Candles change color when in zones Zone Trading Strategy
11. Wait for price to enter a zone
12. Look for pattern formation within the zone
13. Trade breakouts with pattern confirmation
14. Use zone boundaries as stop-loss references
________________________________________
8. Alert Setup Creating Alerts Step 1: Basic Alert Setup
9. Right-click on the chart
10. Select "Add Alert"
11. Choose "ORB The Luxe" from Condition dropdown
12. Select alert type Step 2: Alert Types • Any alert() function call: All indicator alerts • Crossed above OR High: Bullish breakout • Crossed below OR Low: Bearish breakout Alert Messages Alerts include: • Session name (e.g., "New York") • Direction (above/below) • Level crossed • Pattern detected (if applicable) • Zone information (if in zone) Alert Best Practices
13. Set alerts after the OR is established (15+ minutes into session)
14. Use pattern filters to reduce false signals
15. Consider zone alerts for higher probability setups
16. Set stop-loss alerts at opposite OR level
________________________________________
9. Trading Strategies Strategy 1: Classic ORB
10. Entry: o Long: Break above OR High o Short: Break below OR Low
11. Stop Loss: Opposite OR level
12. Target: 1:2 or 1:3 risk/reward
13. Best Time: First 2 hours after OR Strategy 2: ORB with Pattern Confirmation
14. Entry Requirements: o Breakout signal o At least one confirming pattern o Preferably within a zone
15. Stop Loss: Mid-point of OR
16. Target: Previous day's high/low or current day's high/low
17. Win Rate: Higher than classic ORB Strategy 3: Zone Rejection Trading
18. Setup: Price enters zone but fails to break OR
19. Entry: Reversal pattern in zone
20. Stop Loss: Just outside zone boundary
21. Target: Opposite OR level
22. Best For: Range-bound markets Strategy 4: Multi-Session Confluence
23. Look for: Alignment of multiple session ORs
24. Entry: Break of aligned levels
25. Confirmation: Pattern at confluence point
26. Target: Extended moves expected
27. Additional Edge: Watch for CDH/CDL tests during the session
Strategy 5: CDH/CDL Breakout Trading
1. Setup: Price approaches current day's high or low
2. Entry: Break and hold above CDH or below CDL
3. Confirmation: Volume increase or pattern formation
4. Stop Loss: Just inside the CDH/CDL level
5. Target: Measured move based on intraday range
6. Best For: Trending days with momentum Risk Management Rules • Position Size: Risk 1-2% per trade • Max Daily Loss: 3-5% of account • Avoid: First and last 15 minutes of session • Best Days: Tuesday through Thursday
________________________________________
10. Best Practices Do's:
• Wait for OR to be established (15 minutes)
• Use multiple confirmations (pattern + zone + volume)
• Trade in the direction of the larger trend
• Set alerts to avoid missing opportunities
• Keep a trading journal of ORB trades
• Adjust zones based on market volatility
• Use proper position sizing Don'ts:
• Trade immediately at market open
• Ignore the overall market context
• Trade every OR breakout
• Use in choppy/low volume markets
• Set stops too close to entry
• Trade against strong trends
• Over-leverage positions Market Conditions Best Performance: • Trending days • High volume sessions • Economic news days • Clear market sentiment Avoid During: • Low volume holidays • Extremely choppy conditions • Major uncertainty events • End of month/quarter repositioning
________________________________________
11. Troubleshooting Common Issues and Solutions Issue: No signals appearing Solutions: • Ensure "Show Buy/Sell Signals" is enabled • Check if pattern filter is too restrictive • Verify correct session is selected • Confirm market has broken OR levels Issue: Too many false signals Solutions: • Enable pattern filter requirement • Use "Multiple Patterns" mode • Trade only within zones • Increase zone size percentage Issue: Incorrect session times Solutions: • Check timezone settings • Verify exchange timezone option • Use custom session for specific needs • Ensure chart timeframe is appropriate Issue: Overlapping indicators Solutions: • Disable pattern markers if too cluttered • Turn off signal text • Hide PDH/PDL or CDH/CDL if not needed • Use "Show Current Only" option Performance Tips
12. Reduce Chart Load: Hide historical sessions
13. Clean View: Disable unused pattern types
14. Mobile Trading: Increase line widths for visibility
15. Multiple Monitors: Use different sessions per screen Getting Help • Check indicator settings tooltips • Test on demo account first • Document your settings for consistency • Join ORB trading communities for tips
________________________________________
Conclusion The Opening Range Breakout with John Wick indicator is a powerful tool that combines time-tested ORB strategies with advanced pattern recognition. Success comes from understanding each component, practicing proper risk management, and adapting the tool to your trading style. Remember: No indicator guarantees profits. Always use proper risk management and continuous education to improve your trading results. Happy Trading!
________________________________________
Version: 1.0 Last Updated: June 2025 Pine Script Version: 6
Time Based Range# Time Based Range
**A fully customizable session-based range indicator for intraday and daily trading analysis**
## Overview
The Time Based Range indicator identifies and visualizes key price levels from any user-defined time session. Whether you're trading the London open, New York session, or any custom timeframe, this indicator helps you identify crucial support and resistance levels formed during specific trading periods.
## Key Features
### 🕒 **Flexible Session Configuration**
- Customize any time range (e.g., 05:00-13:00, 20:00-02:00)
- Select specific days of the week (Sunday=1 through Saturday=7)
- Works on any timeframe from 1-minute to daily charts
### 📊 **Three Display Modes**
**OHLC Mode:**
- Shows Open, High, Low, Close, and Midpoint lines
- Fully customizable line colors, styles, and widths
- Optional labels with custom text
- Toggle individual lines on/off
**Range Mode:**
- Displays High, Low, and Midpoint lines extending into the future
- Session background box for visual clarity
- Configurable extension length in hours
- Clean range-based analysis
**Mitigate Mode:**
- Horizontal pivot lines that extend until price "mitigates" (touches) them
- Session background box
- Lines automatically stop extending when price reaches the level
- Perfect for ICT-style analysis
### 🚨 **Advanced Alert System**
**Breakout Alerts:**
- Notifies when price breaks above session high or below session low
- Real-time notifications for range expansion
**Liquidity Sweep Alerts:**
- Detects when price briefly breaks a level but closes back inside the range
- Configurable lookback period for sweep detection
- Helps identify false breakouts and liquidity grabs
**Equilibrium Rejection Alerts:**
- Monitors price reaction at the session midpoint
- Detects strong rejections with wick formations
- Configurable sensitivity threshold
### 🎨 **Full Customization**
- Individual color settings for all lines and boxes
- Multiple line style options (Solid, Dashed, Dotted)
- Adjustable line widths and transparency
- Custom label text and positioning
- Session limit control (1-10 sessions displayed)
## Use Cases
### Day Trading
- Mark key levels from overnight sessions
- Identify London/New York opening ranges
- Track Asian session highs and lows
### Swing Trading
- Daily range analysis
- Multi-day level identification
- Key support/resistance from specific periods
### ICT/SMC Trading
- Liquidity pool identification
- Fair value gap analysis
- Market structure understanding
## Technical Specifications
- **Maximum Sessions:** 1-10 (user configurable)
- **Time Format:** 24-hour (HHMM-HHMM)
- **Day Selection:** Individual day toggles (1=Sunday through 7=Saturday)
- **Alert Types:** 4 different alert conditions
- **Drawing Objects:** Optimized with automatic cleanup
- **Performance:** Efficient array management prevents chart lag
## Best Practices
1. **Start Simple:** Begin with OHLC mode to understand session dynamics
2. **Use Alerts:** Enable notifications for key level interactions
3. **Combine Modes:** Switch between modes based on market conditions
4. **Optimize Settings:** Adjust colors and styles for your chart theme
5. **Multiple Timeframes:** Use different sessions for various trading strategies
## Compatibility
- Works on all TradingView chart types
- Compatible with all asset classes (Forex, Stocks, Crypto, Futures)
- Optimized for both light and dark themes
- Mobile-friendly display
---
*This indicator helps traders identify high-probability trading zones based on time-specific price action. Always combine with proper risk management and additional analysis methods.*
yatofxDescription: "Ramon Coto's 3 Session Bar Color" Indicator
This TradingView Pine Script indicator colors candlestick bars based on three custom trading sessions. It allows traders to visually distinguish different market timeframes on their charts.
Features:
Three configurable trading sessions with user-defined time ranges.
Customizable session colors:
Session A → Blue
Session B → Red
Session C → Lime
Enable/disable sessions independently using input toggles.
Automatic session detection: Bars are colored based on the active session.
Optimized for TradingView Mobile & Desktop with clear and efficient logic.
How It Works:
1. User Inputs: The script takes session time ranges and enables/disables each session.
2. Session Detection: The script checks whether the current time falls within any of the defined sessions.
3. Bar Coloring: If a session is active, the corresponding color is applied to the bars.
This indicator helps traders quickly recognize which market session they are in, improving decision-making for session-based strategies.
Exchange and Symbol by BULL┃NETThe B | N EXSY (Exchange and Symbol by BULL | NET)
indicator provides traders using CFD brokers with the most significant price and time events from the stock exchange of the underlying original index or security. For example traders are able to easily identify the price at the Daily Open and Close time of up to three additional stock exchanges. Traders can choose from a huge list of options including the values from the current and previous Day, Week, Month and Year. In addition traders can enable the display of the Expected Move by either implied or historical volatility. The indicator can show Open Gaps (gap between close and open of two trading sessions) also which traders would usually see only on the original chart of an index or security.
The B | N EXSY indicator can help traders to make better entry decisions based on the real market sessions.
█ ⚠️ DISCLAIMER – READ BEFORE YOU USE ⚠️
█ CONCEPTS
CFD Brokers allow you to trade many indices, securities and assets up to 24 hours per day and 7 days per week (24/7). Other than Crypto Assets indices and securities get the highest transaction volume during the session of a stock market. Most importantly while its “Home Stock Market” is open.
For example the NASDAQ or S&P500 will see the highest volume during the business hours of the New York Stock Exchange (NYSE) between 9:30am and 4:00pm (America New York Time). Most CFD Providers however will open their Trading session approximately 9.5 hours before the NYSE opens and even 2 hours before Japan and Australia open the markets.
The German DAX on the other hand is listed on the Deutsche Börse Xetra which is open from 9:00 to 17:00 (Europe Berlin Time). CFD Brokers will open the DAX for trading differently between 9 and 5.5 hours before the XETRA opens.
Therefore most available indicators for visualizing the day open will show different results. Traders at Broker A will tell a totally different story than traders at Broker B who opened 3 hours later.
Furthermore people trading the NASDAQ often keep an eye on the London Stock Exchange (LSE) as well and those trading the NIKKEI often watch the NYSE besides its home at the Japan Exchange Group (JPX).
Advanced traders know about the importance of those information and I have seen thousands of charts where people draw horizontal lines to mark the open and closing prices as well as the session highs and lows. They do it every day and often for different indices and securities. A time consuming job.
Here is where B | N EXSY steps in to give traders objective information for Intraday trading (Daily timeframe and below). More or less automatically. Choose your primary stock exchange (e.g. the NYSE if you trade the NASDAQ) and optionally a second and third stock exchange you are interested in. Individually select the price events you like to see or keep the defaults. Make your own cosmetic decision on how you want the data to be displayed. Save your chart and you will never have to draw a horizontal line again to see the High of the current session, the Low of last week, the monthly Open or yesterdays Close. Sharing ideas with other traders in the chat groups will be easy because everyone is relying on the same information. Even across different CFD Brokers (with slightly different prices of course). Your Technical Analysis can become much more efficient.
█ FEATURES
B | N EXSY is highly customizable. The default settings are optimized for the NASDAQ during the NYSE session. Following you get an overview of all options in the settings menu.
— LOWER TIMEFRAME
The “Lower Timeframe in Minutes” defaults to 30 minutes and should work with most CFD Brokers and stock exchanges. If not you will get a huge warning on the chart suggesting different settings. If e.g. a CFD Broker opens the Dax session at 3:15 but the XETRA opens at 9:00 you have to change the setting to 15.
— STOCK EXCHANGE
Primary is mandatory and defaults to NYSE (New York Stock Exchange) which is the home of the NASDAQ, the S&P 500, the Dow Jones and many others. Usually you select the home stock exchange of the instrument you trade. E.g. XETRA for the DAX, JPX for the NIKKEI or HKEX for the HANG SENG.
The Second and Third stock exchange is optional and defaults to NONE. If e.g. you trade Nvidia with NYSE as the primary stock exchange and you are interested in the High and Low of the European Session select LSE (London Stock Exchange) or XETRA (Deutsche Börse Xetra) as the second stock exchange. By default the indicator will show only information about the current day and week for the second and third stock exchange but you can change that later.
— VISUALIZE SESSIONS
Beginners and less advanced traders sometimes want to see the time span of a session. By default this feature is disabled because it adds more noise to the chart. You can select each of the three stock exchanges individually and select your preferred color.
— CUSTOM STOCK EXCHANGE
Whether your preferred Stock Exchange is missing in the dropdowns or you have a special purpose (see the HOW TO USE section) you can add your own ”Stock Exchange” to the chart.
Name and Country are optional and get displayed in tooltips only. Opening, Closing and Timezone are important. Enter the Open and Close time as HOUR:MINUTE in 24 hour notation (22:00 instead of 10:00pm). The timezone can be provided as time offset in GMT or UTC notation (e.g. GMT+2 or UTC-5) or as a time zone name listed in the IANA Time Zone Database ( e.g. "America/New_York" or “Europe/Berlin”). If you do it wrong the indicator will give wrong results or don’t work at all.
— EXPECTED MOVE IMPLIED VOLATILITY
With this setting you can enable the calculation and display of the Expected Move (EM). Option and Future traders should be familiar with this feature. Those who never heard about should read about it on the internet. Your favorite search engine will provide you with lots of information about it.
After enabling the feature you have to select a source to calculate the EM. The drop down menu contains popular sources and are named after the indices they are based on. It is crucial that the setting match the index, symbol or asset you are trading. If e.g. you are trading a CFD for the NASDAQ you have to select Nasdaq as source. Wrong settings will lead to wrong calculations.
If the source you need is missing you select manually and enter the implied Volatility in the field “Value for manual calculation”. If e.g. you trade the Nikkei you have to enter the current value of the JNIV manually because it is not listed at TradingView so I can’t add it.
The other settings control the Line Color and Style, the Label Color and Size as well as the Text Color.
The indicator will display the EM+ and EM- as well as the 2 and 3 Sigma EM +/-. On the Daily Chart it will display the Weekly Expected Moves. On any timeframe below you will get the Daily Expected Moves.
— EXPECTED MOVE HISTORICAL VOLATILITY
Other than the feature above, this one calculates the EM based on historical volatility.
After enabling the feature you have to enter the amount of days to look back to calculate volatility. Like you would do for a SMA, EMA or RSI. The default is 10 days. Depending on what asset you trade you might play a little with this setting.
The other settings control the Line Color and Style, the Label Color and Size as well as the Text Color.
Like with the Expected Move Implied Volatility this setting will show weekly data on the daily timeframe and daily information on intraday timeframes.
— LABEL AND LINE COSMETICS
The settings in this section control how lines and labels get positioned on the chart and which information the labels show.
● Bar Offset
The bar offset controls the horizontal distance to the last bar on the chart where lines end. By default it is “2” bars to the right. If you use other indicators which show information on the right side you can increase this value to avoid overlapping.
● Bar Anchor
The bar anchor controls where lines start. Default is “lastbar”.
Lastbar sets the start of lines to the last bar of the chart. This provides a very clean chart without lines crossing bars to the left.
Moving sets lines to start at the bar at which the price event occurred. The line for the daily open (DO) price will stay at the opening bar of the stock market and it will do so when it becomes the previous day open (PDO) the next day. The line that marks the session High (DH) will be anchored to the highest bar while the stock market is open. Therefore it might be moving with the advancing chart. The same counts for the session Low (DL). The next day these lines become the previous day high or low (PDH / PDL) and stay at the highest/lowest bar from the day before. This logic is forwarded to all other lines (weekly, monthly, yearly). This gives traders a quick orientation on which bar a price event occurred but a less clean chart.
If you choose Day as bar anchor all lines will start at the beginning of the Brokers trading session in which the price event took place. This is also true for the roll over event when e.g. the Week Open (WO) will become the Previous Week Open (PWO) next Week. Unlike the “moving” setting the new WO and PWO will be anchored to the beginning of the Week. Traders will have a box like view into the past.
● Label Distance Divisor
This setting is used to calculate the minimum vertical distance of labels in means of price points. The internal formular takes the day close price and divides it by the number entered in this field. If e.g. the daily closing price was 5000 the minimum vertical distance would become 1 price point if you enter 5000 for this setting. If the price difference of two events would then be less than 1 the labels would be positioned higher and lower to prevent overlapping. The default value is fine for the Nasdaq (~ 19000 / 5000 = 3.8 at the time of writing). For other indices, securities and assets you should change the divider to your likings or as needed to set the trigger for repositioning labels.
● Distance Modifier
This setting is used to control the vertical shift of the label. The default of Zero disables the setting and activates an internal function which makes a decision based on the used timeframe on the chart (0.1 less than m30, 0.5 from m30 to h4, 0.75 above h4 and 1 for daily). The logic takes the minimum vertical distance and multiplies it by the distance modifier.
In the example above for the label distance divider a label would shift by 1.9 price points on a 30 minute chart if two lines trigger the minimum vertical distance. On the upper line the label moves up and on the lower line it moves down. If three lines are too close to each other the label in the middle does not get moved. If more lines break the minimum distance some labels will overlap until the price is advancing. Those events happen most likely during the opening of a stock exchange.
Price events with equal price, e.g. Day and Week Open at the start of a new week or Day, Week, Month, Year High in the event of a new ATH will get lined up (stacked) horizontally.
While this cosmetic corrections have limits overlapping can be reduced to a minimum.
● Show Price
● Show Exchange
Labels can show up to three information. The price, the stock exchange and the event. The event however can’t be disabled. If you select both options you will see something like
5347.84 for the Day Close of the S&P 500 on the New York Stock Exchange
With this two settings you can disable the display of price and/or stock exchange.
If you have chosen to use more than one stock exchange the setting for “Show Exchange” will be ignored. Otherwise you would not know which Day Close (DC) or Day High (DH) belongs to which stock exchange
● Enable Tooltip
If you decide to hide the price and/or exchange on the label it can be useful to get this information in a tooltip while hovering with the mouse over the label. On the contrary it might become annoying with labels popping up if you have a nervous mouse finger. The feature is disabled by default.
● Equalize Label Size
The size of labels is one of the most discussed issues. Some say it is too small other say it is too big. Label size matters on different devices. “Normal” labels can be too large on a smartphone and too small on a 4k display. And the size is crucial for the automatic horizontal stacking of labels. You simply can’t line up a small, normal and large label in Pine Script (the programming language at TradingView). The stacking is done by prepending labels with spaces to shift them to the right.
This setting overloads all individual size settings for the price events below and activates the automatic horizontal stacking of labels with equal price. It is a convenient way to change the size of all labels with one click in case you have different layouts for different devices.
If you disable this feature you can set the label size individually but you lose the horizontal stacking. This can be useful for traders who display only a few price events or for educational purpose where you want to point out a special event.
— CURRENT DAY
This setting controls which price events of the current day (current session) get displayed and how they appear.
Primary O/C
Enable the Day Open (DO) and Close (DC) for the primary stock exchange. Enabled by default.
Primary H/L
Enable the Day High (DH) and Low (DL) for the primary stock exchange. Enabled by default.
Other O/C
Enable the Day Open (DO) and Close (DC) for the second and third stock exchange. Enabled by default.
Other H/L
Enable the Day High (DH) and Low (DL) for the second and third stock exchange. Enabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— PREVIOS DAY
This setting controls which price events of the previous day get displayed and how they appear.
Primary O/C
Enable the Previous Day Open (PDO) and Close (PDC) for the primary stock exchange. Enabled by default.
Primary H/L
Enable the Previous Day High (PDH) and Low (PDL) for the primary stock exchange. Enabled by default.
Other O/C
Enable the Previous Day Open (PDO) and Close (PDC) for the second and third stock exchange. Disabled by default.
Other H/L
Enable the Previous Day High (PDH) and Low (PDL) for the second and third stock exchange. Disabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— OPENING HOUR
This setting controls whether and how to display the famous opening hour (High and Low within the first 60 minutes after stock market opens)
Primary Cur
Display the Current Day Opening Hour High (OH) and Low (OL) for the primary stock exchange. Enabled by default.
Primary Pre
Display the Previous Day Opening Hour High (POH) and Low (POL) for the primary stock exchange. Enabled by default.
Other Cur
Display the Current Day Opening Hour High (OH) and Low (OL) for the second and third stock exchange. Disabled by default.
Other Pre
Display the Previous Day Opening Hour High (POH) and Low (POL) for the second and third stock exchange. Disabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— CURRENT WEEK
This setting controls which price events of the current week get displayed and how they appear.
Primary O/C
Enable the Week Open (WO) and Close (WC) for the primary stock exchange. Enabled by default.
Primary H/L
Enable the Week High (WH) and Low (WL) for the primary stock exchange. Enabled by default.
Other O/C
Enable the Week Open (WO) and Close (WC) for the second and third stock exchange. Enabled by default.
Other H/L
Enable the Week High (WH) and Low (WL) for the second and third stock exchange. Enabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— PREVIOUS WEEK
This setting controls which price events of the previous week get displayed and how they appear.
Primary O/C
Enable the Previous Week Open (PWO) and Close (PWC) for the primary stock exchange. Enabled by default.
Primary H/L
Enable the Previous Week High (PWH) and Low (PWL) for the primary stock exchange. Enabled by default.
Other O/C
Enable the Previous Week Open (PWO) and Close (PWC) for the second and third stock exchange. Disabled by default.
Other H/L
Enable the Previous Week High (PWH) and Low (PWL) for the second and third stock exchange. Disabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— CURRENT MONTH
This setting controls which price events of the current month get displayed and how they appear.
Primary O/C
Enable the Month Open (MO) and Close (MC) for the primary stock exchange. Enabled by default.
Primary H/L
Enable the Month High (MH) and Low (ML) for the primary stock exchange. Enabled by default.
Other O/C
Enable the Month Open (MO) and Close (MC) for the second and third stock exchange. Disabled by default.
Other H/L
Enable the Month High (MH) and Low (ML) for the second and third stock exchange. Disabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— PREVIOUS MONTH
This setting controls which price events of the previous month get displayed and how they appear.
Primary O/C
Enable the Previous Month Open (PMO) and Close (PMC) for the primary stock exchange. Enabled by default.
Primary H/L
Enable the Previous Month High (PMH) and Low (PML) for the primary stock exchange. Enabled by default.
Other O/C
Enable the Previous Month Open (PMO) and Close (PMC) for the second and third stock exchange. Disabled by default.
Other H/L
Enable the Previous Month High (PMH) and Low (PML) for the second and third stock exchange. Disabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— CURRENT YEAR
This setting controls which price events of the current year get displayed and how they appear.
Primary O/C
Enable the Year Open (YO) and Close (YC) for the primary stock exchange. Enabled by default.
Primary H/L
Enable the Year High (YH) and Low (YL) for the primary stock exchange. Enabled by default.
Other O/C
Enable the Year Open (YO) and Close (YC) for the second and third stock exchange. Disabled by default.
Other H/L
Enable the Year High (YH) and Low (YL) for the second and third stock exchange. Disabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— PREVIOUS YEAR
This setting controls which price events of the previous year get displayed and how they appear.
Primary O/C
Enable the Previous Year Open (PYO) and Close (PYC) for the primary stock exchange. Enabled by default.
Primary H/L
Enable the Previous Year High (PYH) and Low (PYL) for the primary stock exchange. Enabled by default.
Other O/C
Enable the Previous Year Open (PYO) and Close (PYC) for the second and third stock exchange. Disabled by default.
Other H/L
Enable the Previous Year High (PYH) and Low (PYL) for the second and third stock exchange. Disabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— ALL TIME HIGH
This setting controls whether the All Time High gets displayed on the daily chart and how it appears. See the limitations section (Amount of data) for details why the ATH will be displayed in the daily timeframe only.
Primary ATH
Enable the All Time High (ATH) for the primary stock exchange. Enabled by default.
OTHER ATH
Enable the All Time High (ATH) for the second and third stock exchange. Enabled by default.
The settings below control the Line Color and Style, the Label Color and Size as well as the Text Color.
— GAPFINDER
If you look at the original charts of an index (not the CFD Broker chart) you will see mostly every day a price difference between the closing price of the last session and the opening price of the current session. There are many names for those gaps. I call them Open Gaps or Kassa Gaps. Advanced traders know the market tends to close those gaps more or less quickly. Which is one more reason to know where the real previous day close was.
There are market conditions where those gaps are not closed within the new session. Those gap leftovers will usually be closed in the future. Some earlier, some later. If those gaps get more and more you quickly lose track and if the time comes to close one of the gaps you might not remember or recognize the price has reached an old gap. The charts of CFDs don’t even show such gaps due to the fact they trade nearly 24 hours per day.
The Gapfinder will display such leftovers after the end of the next session. If e.g. the previous day close was at 18000 and the market opens the next session at 18200 we have an Open Gap of 200 price points. If the Low of this session is 18100 after the session closes there would be rest gap of 100 price points. The Gapfinder then would mark it with a rectangle colored according to the direction of the Gap.
Bullish gaps result from an opening price (DO) and the current Day Low (DL) being higher than the previous day close (PDC).
Bearish gaps arise from an opening price (DO) and the current Day High (DH) being lower than the previous day closing price (PDC).
If you like you can change the color for the gaps and the text color.
— MISCELLANEOUS
To streamline the appearance of prices they are set to display two decimals only. Numbers get rounded! However, trading currency pairs or crypto assets might need to display the full amount of decimals. In that case simply disable the setting “2 Decimals”.
By default the indicator will display a small table in the lower right corner of the chart. It contains information about the current symbol, the selected primary stock exchange and the volatility. If you don’t like or need it you can disable it.
The “Unreliable Data” checkbox usually should not affect you. But if it does it can be really helpful. The B | N EXSY indicator uses Lower Timeframe Data to match CFD Broker and Stock Exchange opening times. If e.g. a CFD Broker opens at 0:00 and the stock exchange at 9:30 the script uses data from the 30 Minutes timeframe if you view the chart at any timeframe higher than 30 Minutes. Why? Because if you chose a four hours timeframe there is simply no bar that starts at 9:30 in this case. The CFD brokers h4 bars will start at 0:00, 4:00, 8:00, 12:00 and so on.
Sometimes the data stream of the Broker and TradingView get out of sync and a 4 hour bar eventually returns just 6x 30 Minutes instead of 8. During development of the indicator I came across of at least two brokers with such an issue. Only in one time frame and a specific period of time. If this happens the price information might be wrong. A Day High might be to low, a Day Close missing or the Day Open not be found. In such cases your trade might fail. To prevent such situations the indicator performs a daily consistency check at 12:00 during the session for an exchange in its time zone if this option is enabled.
In case the data are found unreliable you will see a label above the bar with further information in the tooltip of the label. You should than compare the information from this timeframe with the lower timeframe selected in the field below. Anway, it is a rare issue and if you, like me, work on multiple timeframes in parallel this bug probably won’t affect you.
— HOLIDAYS
● Holidays
If there is a holiday on a stock market the original chart of an index will simply show no bars for that day. CFD Broker charts will only show no bars if it is an international holiday or the broker itself is affected by the holiday. Take for example Memorial Day in the U.S. Although the NYSE is closed you can trade e.g. the NASDAQ until around 17:30 European Time which is the closing time of the LSE and XETRA. Unfortunately the closing time in Europe is after the opening time in the U.S. If the price goes up in the overlapping time you eventually see a new Weekly High (WH) if you rely on the chart of the CFD Broker. To avoid such misleading information the B | N EXSY indicator allows you to enter holidays for each stock market individually. If the indicator finds a holiday it will not store or add data for this day.
By default there are already the market holidays entered for the NYSE, XETRA, FSX and LSE in 2024. If you want to add your own holidays you have to follow some simple rules:
1. The entry must start in a new line below existing entries (carriage return)
2. The entry starts with the shortcut of the stock exchange exactly as you see them in the dropdown menu.
3. The stock exchange gets separated from the holidays with a colon (:)
4. Each holiday is entered as YYYY-MM-DD
5. Holidays get separated with a single whitespace
The entry for the Japan Exchange Group (JPX) in 2025 would start with:
JPX: 2025-01-01, 2025-01-02, 2025-01-03, 2025-01-08
Completed by the rest of the holiday.
If you make your own entries please keep a copy of the line you added because it will be replaced by the defaults if the indicator gets an update. Best practices would be to provide your holiday string in the comment section and I add it as a default.
● Early Close
Some stock exchanges close the market early before some holidays. In that case the indicator won’t be able to fetch the closing price for that day and the daily roll over won’t work for the day after the holiday. To prevent chaos you can enter the days with early close in this field.
By default the early closing days of the NYSE are already entered. If you want to add your own early closing days you have to follow some simple rules:
1. The entry must start in a new line below existing entries (carriage return)
2. The entry starts with the shortcut of the stock exchange exactly as you see them in the dropdown menu.
3. The stock exchange gets separated from the days with a colon (:)
4. Each early closing day is entered as YYYY-MM-DD-HH-MM where HH-MM is the closing time of this day entered in 24 hours format in the timezone of the stock exchange
5. Days get separated with a single whitespace
The entry for the day before Thanksgiving at the NYSE in 2025 would be:
NYSE:2025-11-25-13-00
This is because the market will close early at 1:00 PM on November 25, 2025, the day before Thanksgiving. The time is provided in 24-hour format as 13:00.
-------------------------------------------------------
Disclaimer BullNet: The information provided in this document is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Any use of the content is at your own risk. No liability is assumed for any losses or damages resulting from reliance on this information. Trading financial instruments involves significant risks, including the potential loss of all invested capital. There is no guarantee of profits or specific outcomes. Please conduct your own research and consult a professional financial advisor if needed.
Disclaimer TradingView: According to the www.tradingview.com
Copyright: 2025-BULLNET - All rights reserved.
Roadmap:
Version 1.0 03.03.2025
DCStatCalcs_v0.1DCStatCalcs_v0.1 - Session-Based Statistical Projections
This Pine Script indicator overlays customizable horizontal lines on your chart to visualize a session's opening price and its statistical projections based on historical standard deviation (SD). Designed for traders who want to analyze price behavior within defined time sessions, it calculates and plots the session open price along with optional projection lines at 0.5, 1.0, 1.5, 2.0, and 2.5 standard deviations above and below the open, derived from past session data.
Key Features:
Customizable Sessions: Define your session time (e.g., 0600-1500) and timezone (e.g., America/New_York).
Historical Analysis: Uses a user-specified number of past sessions (default: 20) to compute the standard deviation of price movements relative to the session open.
Projection Lines: Displays toggleable lines at multiple SD levels with adjustable styles, colors, and widths for easy visualization.
Flexible Display: Extend lines beyond the current bar with an offset setting, and adjust label sizes for clarity.
Real-Time Updates: Lines dynamically extend as the session progresses, keeping projections relevant to the current bar.
How It Works:
At the start of each user-defined session, the indicator records the opening price and calculates the SD based on price deviations from the open across historical sessions. It then plots the open price line and, if enabled, projection lines at the specified SD intervals. These lines help traders identify potential support, resistance, or volatility zones based on statistical norms.
Use Case:
Ideal for day traders or analysts working with intraday charts to gauge price ranges and volatility within specific trading sessions, such as market opens or key economic hours.
Published under the Mozilla Public License 2.0. Created by dc_77.
Depth of Market (DOM) [LuxAlgo]The Depth Of Market (DOM) tool allows traders to look under the hood of any market, taking price and volume analysis to the next level. The following features are included: DOM, Time & Sales, Volume Profile, Depth of Market, Imbalances, Buying Pressure, and up to 24 key intraday levels (it really packs a punch).
As a disclaimer, this tool does not use tick data, it is a DOM reconstruction from the provided real-time time series data (price and volume). So the volume you see is from filled orders only, this tool does not show unfilled limit orders.
Traders can enable or disable any of the features at will to avoid being overwhelmed with too much information and to make the tool perform faster.
The features that have the biggest impact on performance are Historical Data Collection, Key Levels (POC & VWAP), Time & Sales, Profile, and Imbalances. Disable these features to improve the indicator computational performance.
🔶 DOM
This is the simplest form of the tool, a simple DOM or ladder that displays the following columns:
PRICE: Price level
BID: Total number of market sell orders filled or limit buy orders filled.
SELL: Sell market orders
BUY: Buy market orders
ASK: Total number of market buy orders filled or limit sell orders filled.
The DOM only collects historical data from the last 24 hours and real-time data.
Traders can select a reset period for the DOM with two options:
DAILY: Resets at the beginning of each trading day
SESSIONS: Resets twice, as DAILY and 15.5 hours later, to coincide with the start of the RTH session for US tickers.
The DOM has two main modes, it can display price levels as ticks or points. The default is automatic based on the current daily volatility, but traders can manually force one mode or the other if they wish.
For convenience, traders have the option to set the number of lines (price levels), and the size of the text and to display only real-time data.
By default, the top price is set to 0 so that the DOM automatically adjusts the price levels to be displayed, but traders can set the top price manually so that the tool displays only the desired price levels in a fixed manner.
🔹 Volume Profile
As additional features to the basic DOM, traders have access to the volume profile histogram and the total volume per price level.
This helps traders identify at a glance key price areas where volume is accumulating (high volume nodes) or areas where volume is lacking (low volume nodes) - these areas are important to some traders who base their decision-making process on them.
🔹 Imbalances
Other added features are imbalances and buying pressure:
Interlevel Imbalance: volume delta between two different price levels
Intralevel Imbalance: delta between buy and sell volume at the same price level
Buying Pressure Percent: percentage of buy volume compared to total volume
Imbalances can help traders identify areas of interest in the price for possible support or resistance.
🔹 Depth
Depth allows traders to see at a glance how much supply is above the current price level or how much demand is below the current price level.
Above the current price level shows the cumulative ask volume (filled sell limit orders) and below the current price level shows the cumulative bid volume (filled buy limit orders).
🔶 KEY LEVELS
The tool includes up to 24 different key intraday levels of particular relevance:
Previous Week Levels
PWH: Previous week high
PWL: Previous week low
PWM: Previous week middle
PWS: Previous week settlement (close)
Previous Day Levels
PDH: Previous day high
PDL: Previous day low
PDM: Previous day middle
PDS: Previous day settlement (close)
Current Day Levels
OPEN: Open of day (or session)
HOD: High of day (or session)
LOD: Low of day (or session)
MOD: Middle of day (or session)
Opening Range
ORH: Open range high
ORL: Open range low
Initial Balance
IBH: Initial balance high
IBL: Initial balance low
VWAP
+3SD: Volume weighted average price plus 3 standard deviations
+2SD: Volume weighted average price plus 2 standard deviations
+1SD: Volume weighted average price plus 1 standard deviation
VWAP: Volume weighted average price
-1SD: Volume weighted average price minus 1 standard deviation
-2SD: Volume weighted average price minus 2 standard deviations
-3SD: Volume weighted average price minus 3 standard deviations
POC: Point of control
Different traders look at different levels, the key levels shown here are objective and specific areas of interest that traders can act on, providing us with potential areas of support or resistance in the price.
🔶 TIME & SALES
The tool also features a full-time and sales panel with time, price, and size columns, a size filter, and the ability to set the timezone to display time in the trader's local time.
The information shown here is what feeds the DOM and it can be useful in several ways, for example in detecting absorption. If a large number of orders are coming into the market but the price is barely moving, this indicates that there is enough liquidity at these levels to absorb all these orders, so if these orders stop coming into the market, the price may turn around.
🔶 SETTINGS
Period: Select the anchoring period to start data collection, DAILY will anchor at the start of the trading day, and SESSIONS will start as DAILY and 15.5 hours later (RTH for US tickers).
Mode: Select between AUTO and MANUAL modes for displaying TICKS or POINTS, in AUTO mode the tool will automatically select TICKS for tickers with a daily average volatility below 5000 ticks and POINTS for the rest of the tickers.
Rows: Select the number of price levels to display
Text Size: Select the text size
🔹 DOM
DOM: Enable/Disable DOM display
Realtime only: Enable/Disable real-time data only, historical data will be collected if disabled
Top Price: Specify the price to be displayed on the top row, set to 0 to enable dynamic DOM
Max updates: Specify how many times the values on the SELL and BUY columns are accumulated until reset.
Profile/Depth size: Maximum size of the histograms on the PROFILE and DEPTH columns.
Profile: Enable/Disable Profile column. High impact on performance.
Volume: Enable/Disable Volume column. Total volume traded at price level.
Interlevel Imbalance: Enable/Disable Interlevel Imbalance column. Total volume delta between the current price level and the price level above. High impact on performance.
Depth: Enable/Disable Depth, showing the cumulative supply above the current price and the cumulative demand below. Impact on performance.
Intralevel Imbalance: Enable/Disable Intralevel Imbalance column. Delta between total buy volume and total sell volume. High impact on performance.
Buying Pressure Percent: Enable/Disable Buy Percent column. Percentage of total buy volume compared to total volume.
Imbalance Threshold %: Threshold for highlighting imbalances. Set to 90 to highlight the top 10% of interlevel imbalances and the top and bottom 10% of intra-level imbalances.
Crypto volume precision: Specify the number of decimals to display on the volume of crypto assets
🔹 Key Levels
Key Levels: Enable/Disable KEY column. Very high performance impact.
Previous Week: Enable/Disable High, Low, Middle, and Close of the previous trading week.
Previous Day: Enable/Disable High, Low, Middle, and Settlement of the previous trading day.
Current Day/Session: Enable/Disable Open, High, Low and Middle of the current period.
Open Range: Enable/Disable High and Low of the first candle of the period.
Initial Balance: Enable/Disable High and Low of the first hour of the period.
VWAP: Enable/Disable Volume-weighted average price of the period with 1, 2, and 3 standard deviations.
POC: Enable/Disable Point of Control (price level with the highest volume traded) of the period.
🔹 Time & Sales
Time & Sales: Enable/Disable time and sales panel.
Timezone offset (hours): Enter your time zone\'s offset (+ or −), including a decimal fraction if needed.
Order Size: Set order size filter. Orders smaller than the value are not displayed.
🔶 THANKS
Hi, I'm makit0 coder of this tool and proud member of the LuxAlgo Opensource team, it's an honor to be part of the LuxAlgo family doing something I love as it's writing opensource code and sharing it with the world. I'd like to thank all of you who use, comment on, and vote for all of our open-source tools, and all of you who give us your support.
And of course thanks to the PineCoders family for all the work in front of and behind the scenes that makes the PineScript community what it is, simply the best.
Peace, Love & PineScript!