Macro+ ExtMacros+ (Time Sessions & Alerts)
Macros+ is a powerful and highly customizable tool designed to highlight specific time windows—often referred to as "macros"—directly on your chart. It is built for traders who operate on time-based strategies, such as those targeting specific liquidity periods like the ICT Silver Bullet or other institutional timeframes.
By visualizing these key sessions historically and in real-time, traders can better anticipate market volatility, identify potential trade setups, and maintain discipline. The script is clean, efficient, and built with flexibility in mind.
Key Features
This indicator goes beyond simple time boxes and includes several advanced features to fit your specific trading style:
1. Historical & Real-Time Display
The script is designed to plot all selected macro sessions across the entire historical data loaded on your chart, not just the current day. This allows for comprehensive backtesting and analysis of how price behaves during these specific time windows.
2. Fully Customizable Macro Sessions
You have full control over which time sessions you want to display. The indicator includes 14 pre-configured 20-minute sessions, which you can easily toggle on or off from the settings menu. This allows you to focus only on the timeframes that are relevant to your strategy.
3. Adjustable "Extended Macro" Time
Flexible Time Extension: Instead of a fixed session duration, you can now dynamically extend the start and end times of all macros.
Numerical Input: In the settings, under "Time Settings," you'll find an "Extend Minutes" input. This number lets you add minutes to both the beginning and the end of each session.
Example: A standard macro from 09:50 - 10:10 with an "Extend Minutes" value of 5 will be automatically adjusted to 09:45 - 10:15. Setting it to 0 will keep the default 20-minute sessions.
4. Multiple Display Styles
Adapt the indicator's appearance to your preference for a clean and readable chart. All styles are designed to span the full vertical height of the chart for maximum visibility.
Solid Line: Clear, solid vertical lines marking the start and end of a session.
Dashed Line: A more subtle, dashed-line alternative.
Dotted Line: The most subtle line style for a minimalist chart.
Background: Fills the entire session window with a semi-transparent color.
Outline: Draws a colored border around the session window without filling it.
5. Real-Time Alerts
Never miss the start of a key session again. You can enable an alert that will trigger once at the beginning of any active macro session. This is perfect for traders who may not be watching the charts constantly.
6. Timezone Correction
All times are calculated based on the timezone you select in the settings (default is "America/New_York"). This ensures the sessions are always plotted accurately according to the market you are trading (e.g., New York session times).
How to Use
Add to Chart: Add the "Macros+" indicator to your chart.
Open Settings:
General Settings: Choose your preferred Timezone, Display Style, and Color.
Active Macro Sessions: Check the boxes for the time sessions you wish to monitor.
Time Settings: Enter a value in Extend Minutes if you want to widen the time windows. A value of 5 will create 30-minute sessions.
Alert Settings: Enable the Alert On Macro Start option if you wish to receive alerts.
Create Alert: To activate the pop-up alert, click the clock icon on the TradingView right-hand panel, select "Macros+" in the "Condition" dropdown, choose "Sesi Makro Dimulai," and set it to trigger "Once Per Bar."
This tool was designed to be both powerful and user-friendly. I hope it becomes a valuable part of your trading toolkit. Happy trading!
Cari dalam skrip untuk "session"
Range Averages [Blu_Ju]Using Ranges
A popular analysis technique among traders is to use statistical price data over a given time range. For example, a trader might want to examine the average price range for the time period of 9:30 am - 10:00 am EST (commonly referred to as the Opening Range), and compare the average range to the current, live range as it forms.
What this Script Does
This script allows a user to monitor the current price range against the average price range of up to six different periods of time (sessions). The data is presented in a table in the chart window, with four stats listed per session:
Range: This is the most recent (or current) price range for the session. This value is updated in real-time as the price range forms.
Avg: This is the average price range for the session. (See below for how this is calculated.)
Diff: This is the price difference between the most recent (or current) price range of the session and the average price range of the session. When the most recent price range is smaller than the average, this will be a negative number. This value is updated in real-time as the price range forms.
Range %: This is the percent value of the most recent (or current) price range of the session compared to the average price range of the session. For example, If the most recent price range was half that of the average price range, the Range % would be 50%. If the most recent price range was twice that of the average price range, the Range % would be 200%. A Range % value of 100% indicates that the most recent price range is equal to the average price range. This value is updated in real-time as the price range forms.
What Makes this Script Unique
While this is not the only publicly available average range script, what makes it unique is the complete user control over up to six sessions (including overlapping sessions) and the display of that data.
Scope of this Script
This script is intended for use on intraday timeframes only. It will not calculate properly on daily or higher timeframes. Additionally, for the calculation to be correct, the input session must be evenly divisible by the chart timeframe. For example, if the user inputs a session that is 30 minutes long (e.g., 9:30 am - 10:00 am), then the calculations would be correct on the 1, 2, 3, 5, 10, 15, and 30-minute timeframes only.
User Inputs
This script was written to provide the user with maximum control over the range data and how that data is displayed. These are the user inputs:
Data - Input the number of days used to calculate the average price range of the sessions. This input is applied to all six sessions. The default value is 10.
Sessions - There are six sessions the user can set. Checking the box next to a session will cause that session data to be calculated and displayed. This allows the user to turn on or off a session at their discretion. The default value are displayed in the chart image above.
Visibility - Checking this box will cause the range data to be displayed only when the range is currently forming (i.e., live price is within the session). This allows the user to display the data from multiple sessions only when needed.
Visual Styles - This section has controls for how the data table is displayed. The user can select the table position, colors and border, and text size.
Zinc Model [Mr Zinc x MMT]The Zinc Model is a TradingView indicator designed to assist traders by plotting key price levels from two defined trading sessions: the previous day's session (4:00 AM to 8:00 PM) and the current day's London session (4:00 AM to 9:15 AM). It overlays horizontal lines for session highs, lows, and midpoints (EQ levels), along with a vertical anchor line to mark session starts. The indicator is highly customizable, allowing traders to tailor its appearance and focus on specific sessions for strategic analysis.
Features
Session-Based Levels : Tracks and displays high, low, and midpoint (50% EQ) levels for two sessions: the previous day's session and the current day's London session.
Customizable Display : Users can toggle visibility of high, low, EQ levels, and session anchor lines, with options to adjust line styles, colors, and widths.
Session Selection : Configurable session show times (default: 8:00 AM to 4:00 PM in New York time) for displaying levels, with a projection offset to extend lines into future bars.
Labels: Optional labels for each level (High, Low, EQ) with customizable sizes (Tiny, Small, Normal, Large) for clear identification.
Time Zone Support : Anchors sessions to a specified time zone (default: America/New_York).
How It Works
The indicator calculates key price levels based on two user-defined sessions:
- Previous Day Session (4:00 AM–8:00 PM) : Tracks the high, low, and midpoint (50% of the range) of the previous day's session.
- London Session (4:00 AM–9:15 AM) : Tracks the high, low, and midpoint of the current day's London session.
- Levels Displayed :
High/Low Levels : Horizontal lines at the highest and lowest prices of each session.
EQ Level : A horizontal line at the 50% midpoint of the session's range.
Anchor Line : A vertical line marking the start of the user-defined display session.
- Levels are plotted during a user-specified "Show Session" time window (default: 8:00 AM–4:00 PM) and extended forward by a configurable number of bars (default: 15).
- The indicator updates dynamically as new highs or lows occur within the active session.
Usage
- Add to Chart : Apply the indicator to any TradingView chart.
- Configure Settings :
Session Settings : Adjust the "Session Show Time" (default: 8:00 AM–4:00 PM) and time zone to align with your trading strategy.
Projection Offset : Set the number of bars to extend level lines into the future.
Anchor Line : Toggle the vertical line at session start and customize its style, color, and width.
High/Low/EQ Levels : Enable or disable lines and labels for each session's high, low, and midpoint, and customize their appearance.
Label Size : Choose from Tiny, Small, Normal, or Large for level labels.
- Interpret Levels :
High/Low Lines : Act as potential resistance (high) or support (low) levels.
EQ Line : Represents the session's midpoint, often a pivot point for price action.
Anchor Line : Marks the start of the display session for context.
- Trading Application : Use levels to identify support/resistance zones, set entry/exit points, or confirm breakouts during the specified session.
Settings
- Session Settings :
Session Show Time : Defines when levels are displayed (default: 8:00 AM–4:00 PM).
Projection Offset : Extends lines forward (default: 15 bars).
Time Zone : Sets the session time zone (default: America/New_York).
- Anchor Line Settings : Toggle visibility, style (Solid, Dashed, Dotted), color, and width.
- High/Low/EQ Settings : Separate controls for previous day and London sessions to toggle visibility, adjust line styles (Solid, Dashed, Dotted), colors, widths, and label visibility.
- Label Size : Options for Tiny, Small, Normal, or Large to adjust label appearance.
Ideal Use Case
The Zinc Model is ideal for day traders and swing traders focusing on session-based price action, particularly those trading forex, indices, or other markets with significant activity during the London session. It helps identify key support, resistance, and pivot levels for intraday strategies, with flexible settings to suit various timeframes and trading styles.
Trading StreetTrading Street Indicator
Trading Street is a comprehensive trading indicator that combines session timing analysis with technical trend analysis. It provides traders with visual cues for optimal trading times and market direction, making it perfect for forex and crypto trading.
Key Features
🕐 Trading Session Detection
Asia Session: 05:30 - 14:30 IST (Indian Standard Time)
London Session: 12:30 - 20:30 IST
New York Session: 18:30 - 02:30 IST (overnight)
Visual Session Backgrounds: Each session is highlighted with distinct colors
Session Overlap Handling: Smart precedence system (NY > London > Asia)
📊 Technical Analysis
50 EMA (Exponential Moving Average): Default golden line for trend analysis
Customizable EMA: Adjustable length (1-200 periods)
Trend Background: Green when price > EMA (bullish), Red when price < EMA (bearish)
Visual Trend Signals: Background colors change based on price vs EMA relationship
🎨 Customization Options
Session Colors: Customize Asia (green), London (blue), New York (orange)
EMA Settings: Adjust color, width, and length
Transparency Control: Adjust background opacity (0-100%)
Individual Toggles: Turn sessions and EMA on/off independently
How to Use
For Session Trading:
Identify Active Sessions: Look for colored backgrounds indicating active trading sessions
Session Overlaps: London-New York overlap (18:30-20:30 IST) is typically high volatility
Session Transitions: Watch for session changes for potential breakout opportunities
For Trend Analysis:
EMA Trend: Golden EMA line shows overall market direction
Background Colors:
Green background = Bullish trend (price above EMA)
Red background = Bearish trend (price below EMA)
Trend Confirmation: Use EMA alignment with session timing for better entries
Trading Strategy:
Session + Trend Alignment: Best trades when session activity aligns with EMA trend
Session Transitions: Look for breakouts during session changes
High Volatility Periods: London-New York overlap often provides best opportunities
Settings
Session Settings:
Show Asia Session: Toggle Asia session background
Show London Session: Toggle London session background
Show New York Session: Toggle New York session background
Background Transparency: Adjust opacity (0-100%)
EMA Settings:
Show EMA: Toggle EMA line on/off
EMA Length: Adjust period (1-200, default: 50)
EMA Color: Customize line color
EMA Line Width: Adjust thickness (1-4)
Best Timeframes
Recommended: 15M, 1H, 4H, Daily
Best for: Forex pairs, Crypto, Major indices
Optimal Use: Combine with price action and support/resistance levels
Pro Tips
Session Awareness: Trade during active sessions for better liquidity
Trend Confirmation: Use EMA trend to confirm session-based setups
Risk Management: Avoid trading during low-activity periods
Multi-Timeframe: Use on higher timeframes for trend, lower for entries
Technical Details
Pine Script Version: v5
Overlay: True (displays on main chart)
Timezone: IST (Indian Standard Time)
Compatibility: All TradingView instruments
Perfect for traders who want to combine session timing with technical analysis for better trading decisions! 🚀
High Low Levels by JZCustom High Low Levels Indicator - features
Clearly plotted high and low levels for specific trading sessions. This indicator provides visual representations of key price levels during various trading periods. Below are the main features and benefits of this indicator:
1. Display high and low levels for each session
- previous day high/low: display the high and low from the previous day, giving you a better understanding of how the price moves compared to the prior day.
- asia, london, and custom sessions: track the high and low levels for the major trading sessions (asian and london) and two custom user-defined sessions.
2. Complete line and label customization
- custom line appearance: choose the color, line style (solid, dashed, dotted), and line thickness for each trading session. you can also decide if the lines should extend beyond the current price action.
- custom labels: define your own label texts for each custom session. this way, you can label the levels precisely and easily track price movements.
3. Define your own trading sessions
- add up to two custom sessions (custom and custom 2), which can be defined using precise start and end times (hour and minute).
- each custom session allows you to specify the label text for the high and low levels, enabling you to easily differentiate different parts of the day on the chart.
4. Clear and intuitive design
- grouped settings: all settings are grouped based on trading sessions, so you can easily customize every aspect of the visual representation.
- simple toggle on/off: you can easily enable or disable each line (previous day, asia, london, custom 1, custom 2). this allows you to keep your chart clean and focus only on the important levels you need at any moment.
5. Flexible time zones
- time zone settings: set the time zone (utc, europe/london, america/new_york, asia/tokyo) to properly align the timeframes for each level depending on the market you're focusing on.
6. Automatic cleanup of old lines and labels
- old levels removal: automatically remove old lines and labels to prevent clutter on your chart. this ensures that only current, relevant levels for each trading day or session are displayed.
7. Precise plotting and line extension
- accurate level markings: the indicator calculates the precise times when the high and low levels were reached and plots lines that visually represent these levels.
- line extension options: you have the option to extend the high/low lines beyond their point of calculation, which helps with identifying price action trends beyond the current period.
Dec 7, 2024
Release Notes
Changes and Improvements for Users:
1. Customizable Offset for Lines and Labels:
- A new input, `Line and Label Offset`, allows users to control how far the lines and their associated text labels extend. This ensures the labels and lines remain aligned and can be adjusted as needed.
2. Unified Offset Control:
- The same offset value is applied to all types of lines and labels (e.g., Previous Day High/Low, Asia High/Low, London High/Low, and custom sessions). Users can change this in one place to affect the entire script consistently.
3. Enhanced Flexibility:
- Users now have more control over the appearance and position of their lines and labels, making the indicator adaptable to different chart setups and personal preferences.
These updates aim to enhance user convenience and customization, ensuring a more tailored charting experience.
GibbsFunctional Categories
Time Management
Timezone Settings: Configurable to adjust for different global time zones (e.g., GMT, GMT+1).
Daily and Weekly Resets: Functions to detect new days and weeks, used to mark specific periods on the chart.
Session Range Calculation: Ability to determine timeframes in minutes, hours, days, weeks, and months for precise market analysis.
Day and Week Separators
Daily Separators: Option to display daily separators that demarcate different trading days on the chart.
Weekends Highlight: Automatically grays out weekends for easy visual distinction.
Trading Sessions
Custom Sessions: Display trading sessions, such as:
Kill Zones: Morning and afternoon trading zones with customizable time ranges and background highlights.
Asian Session: Highlights the Asian market hours with liquidity data.
Session Background: Customizable colors for different sessions to visually separate them on the chart.
Liquidity Management
High and Low Points: Tracks previous day and week high/low prices, marking them for reference.
Labeling: Uses labels and lines to indicate if significant liquidity levels have been breached.
Session Liquidity: Identifies areas where liquidity is likely to accumulate, marking high and low ranges for Asian, CBDR, and other sessions.
Session-Specific Features
CBDR (Central Bank Dealers Range): Marks specific ranges based on sessions relevant for market analysis.
Range Projections: Projects key levels based on the size of the CBDR range for additional price targets.
Previous Day CBDR: Option to display CBDR from the previous day, aiding in historical price movement analysis.
Header and Display Customization
Header Text: Customizable text for the indicator's header to provide a quick reference.
Table Management: Simple table for organizing and displaying important textual information.
This indicator is ideal for traders who focus on session-based strategies and wish to have comprehensive visibility of previous liquidity points, trading zones, and day/week high and low levels on their charts.
skThis Pine Script is an indicator designed to mark and highlight specific trading sessions on a TradingView chart. Here's a description of the script's functionality:
1. *Session Selection*: The script allows you to select a session time frame using the `session_input` input. The available options for session time frames are "D" (daily), "W" (weekly), "M" (monthly), "H" (hourly), "15" (15 minutes), "5" (5 minutes), and "1" (1 minute).
2. *Session Times*: You can specify the start and end times for three different trading sessions - CBDR (Central Bank Dealer Range), Asia, and London - using the corresponding input options. These times are specified in Indian Standard Time (IST).
3. *Time Calculation*: The script calculates the start and end times for each session based on the specified hours and minutes. It uses the `timestamp` function to create time objects for these sessions.
4. *Session Highlighting*: The script creates rectangles on the chart to highlight each session:
- CBDR Session: A gray rectangle is drawn during the CBDR session time.
- Asia Session: Another gray rectangle is drawn during the Asia session time.
- London Session: A green rectangle is drawn at the top of the chart during the London session time.
5. *Transparency*: The rectangles have a transparency level of 90%, allowing you to see the price data beneath them while still marking the sessions.
6. *Overlay*: The indicator is set to overlay on the price chart, so it doesn't obstruct the price data.
7. *Customization*: You can customize the session times and appearance by adjusting the input values in the settings panel of the indicator.
Overall, this script provides a visual way to identify and highlight specific trading sessions on your TradingView chart, helping traders understand price action in different market sessions.
Monday range by MatboomThe "Monday Range" Pine Script indicator calculates and displays the lowest and highest prices during a specified trading session, focusing on Mondays. Users can configure the trading session parameters, such as start and end times and time zone. The indicator visually highlights the session range on the chart by plotting the session low and high prices and applying a background color within the session period. The customizable days of the week checkboxes allow users to choose which days the indicator should consider for analysis.
Session Configuration:
session = input.session("0000-0000", title="Trading Session")
timeZone = input.string("UTC", title="Time Zone")
monSession = input.bool(true, title="Mon ", group="Trading Session", inline="d1")
tueSession = input.bool(true, title="Tue ", group="Trading Session", inline="d1")
Users can configure the trading session start and end times and the time zone.
Checkboxes for Monday (monSession) and Tuesday (tueSession) sessions are provided.
SessionLow and SessionHigh Functions:
SessionLow(sessionTime, sessionTimeZone=syminfo.timezone) => ...
SessionHigh(sessionTime, sessionTimeZone=syminfo.timezone) => ...
Custom functions to calculate the lowest (SessionLow) and highest (SessionHigh) prices during a specified trading session.
InSession Function:
InSession(sessionTimes, sessionTimeZone=syminfo.timezone) => ...
Determines if the current bar is inside the specified trading session.
Days of Week String and Session String:
sessionDays = ""
if monSession
sessionDays += "2"
if tueSession
sessionDays += "3"
tradingSession = session + ":" + sessionDays
Constructs a string representing the selected days of the week for the session.
Fetch Session Low and High:
sessLow = SessionLow(tradingSession, timeZone)
sessHigh = SessionHigh(tradingSession, timeZone)
Calls the custom functions to obtain the session low and high prices.
Plot Session Low and High and Background Color for Session
plot(sessLow, color=color.red, title="Session Low")
plot(sessHigh, color=color.red, title="Session Low")
bgcolor(InSession(tradingSession, timeZone) ? color.new(color.aqua, 90) : na)
Time of Day Background with Bar Count & TableDescription:
This indicator provides a comprehensive overview of market activity by dynamically displaying the time-of-day background and tracking bullish and bearish bar counts across different sessions. It also features a table summarizing the market performance for the last 7 days, segmented into four time-based sessions: Morning, Afternoon, Evening, and Night.
Key Features:
Time of Day Background:
The chart's background color changes based on the time of day:
Evening (12 AM - 6 AM) is shaded blue.
Morning (6 AM - 12 PM) is shaded aqua.
Afternoon (12 PM - 6 PM) is shaded yellow.
Night (6 PM - 12 AM) is shaded silver.
Bullish and Bearish Bar Counting:
It tracks the number of bullish (closing higher than opening) and bearish (closing lower than opening) candles.
The sum of the price differences (bullish minus bearish) for each session is displayed as a dynamic label, indicating overall market direction for each session.
Session Breakdown:
The chart is divided into four sessions, each lasting 6 hours (Morning, Afternoon, Evening, Night).
A new label is generated at the start of each session, indicating the bullish/bearish performance and the net difference in price movements for that session.
Historical Session Performance:
The indicator tracks and stores the performance for each session over the past 7 days.
A table is generated in the top-right corner of the chart, summarizing the performance for each session (Morning, Afternoon, Evening, Night) and the price changes for each of the past 7 days.
The values are color-coded to indicate positive (green) or negative (red) results.
Dynamic Table:
The table presents performance data for each time session over the past week with color-coded cells:
Green cells indicate positive performance.
Red cells indicate negative performance.
Empty cells represent no data for that session.
Use Case:
This indicator is useful for traders who want to track market activity and performance across different times of day and monitor how each session contributes to the overall market trend. It provides both visual insights (through background color) and numerical data (via the table) for better decision-making.
Settings:
The background color and session labels update automatically based on the time of day.
The table updates every day, tracking the performance of each session over the past week.
Volume Profile (Simple)Simple Volume Profile (Simple)
Master the Market's Structure with a Clear View of Volume
by mercaderoaurum
The Simple Volume Profile (Simple) indicator removes the guesswork by showing you exactly where the most significant trading activity has occurred. By visualizing the Point of Control (POC) and Value Area (VA) for today and yesterday, you can instantly identify the price levels that matter most, giving you a critical edge in your intraday trading.
This tool is specifically optimized for day trading SPY on a 1-minute chart, but it's fully customizable for any symbol or timeframe.
Key Features
Multi-Day Analysis: Automatically plots the volume profiles for the current and previous trading sessions, allowing you to see how today's market is reacting to yesterday's key levels.
Automatic Key Level Plotting: Instantly see the most important levels from each session:
Point of Control (POC): The single price level with the highest traded volume, acting as a powerful magnet for price.
Value Area High (VAH): The upper boundary of the area where 50% of the volume was traded. It often acts as resistance.
Value Area Low (VAL): The lower boundary of the 50% value area, often acting as support.
Extended Levels: The POC, VAH, and VAL from previous sessions are automatically extended into the current day, providing a clear map of potential support and resistance zones.
Customizable Sessions: While optimized for the US stock market, you can define any session time and time zone, making it a versatile tool for forex, crypto, and futures traders.
Core Trading Strategies
The Simple Volume Profile helps you understand market context. Instead of trading blind, you can now make decisions based on where the market has shown the most interest.
1. Identifying Support and Resistance
This is the most direct way to use the indicator. The extended lines from the previous day are your roadmap for the current session.
Previous Day's POC (pPOC): This is the most significant level. Watch for price to react strongly here. It can act as powerful support if approached from above or strong resistance if approached from below.
Previous Day's VAH (pVAH): Expect this level to act as initial resistance. A clean break above pVAH can signal a strong bullish trend.
Previous Day's VAL (pVAL): Expect this level to act as initial support. A firm break below pVAL can indicate a strong bearish trend.
Example Strategy: If SPY opens and rallies up to the previous day's VAH and stalls, this is a high-probability area to look for a short entry, with a stop loss just above the level.
2. The "Open-Drive" Rejection
How the market opens in relation to the previous day's value area is a powerful tell.
Open Above Yesterday's Value Area: If the market opens above the pVAH, it signals strength. The first pullback to test the pVAH is often a key long entry point. The level is expected to flip from resistance to support.
Open Below Yesterday's Value Area: If the market opens below the pVAL, it signals weakness. The first rally to test the pVAL is a potential short entry, as the level is likely to act as new resistance.
3. Fading the Extremes
When price pushes far outside the previous day's value area, it can become overextended.
Reversal at Highs: If price rallies significantly above the pVAH and then starts to lose momentum (e.g., forming bearish divergence on RSI or a topping pattern), it could be an opportunity to short the market, targeting a move back toward the pVAH or pPOC.
Reversal at Lows: Conversely, if price drops far below the pVAL and shows signs of bottoming, it can be a good opportunity to look for a long entry, targeting a reversion back to the value area.
Recommended Settings (SPY Intraday)
These settings are the default and are optimized for scalping or day trading SPY on a 1-minute chart.
Value Area (%): 50%. This creates a tighter, more sensitive value area, perfect for identifying the most critical intraday zones.
Number of Rows: 1000. This high resolution is essential for a low-volatility instrument like SPY, ensuring that the profile is detailed and the levels are precise.
Session Time: 0400-1800 in America/New_York. This captures the full pre-market and core session, which is crucial for understanding the day's complete volume story.
Ready to trade with an edge? Add the Simple Volume Profile (Multi-Day) to your chart now and see the market in a new light!
ICT Average Daily Range (ADR)📊 ICT Average Daily Range (ADR) Indicator
This indicator implements the Average Daily Range (ADR) concept taught by ICT (Inner Circle Trader). It calculates the average range of previous trading days and projects key levels for the current session, helping traders identify high-probability targets and reversal zones.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ KEY FEATURES
- Accurate ADR Calculation - Uses only completed trading sessions (excludes current incomplete day)
- ICT Judas Swing Levels - Highlights the critical 1/3 ADR levels where institutional manipulation often occurs
- Two Calculation Modes - New York Midnight (ICT recommended) or Classic Daily
- Customizable Fractional Levels - 1/3, 2/3, 25%, 50%, 75% of ADR
- Smart Labels - Display price levels and percentage from open
- Flexible Visual Style - Separate line styles for different level groups
- Session Dividers - Optional vertical lines at session start
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📅 WEEKEND SESSION HANDLING
How Forex Sessions Work:
- Monday-Thursday: Full 24-hour sessions
- Friday: Partial session (00:00 to ~17:00 NY time)
- Sunday: Partial session (~17:00 NY to Monday 00:00)
- Saturday: No trading
Impact on ADR:
Both Friday and Sunday are partial sessions which can lower your ADR average. For example: Mon-Thu average 100 pips, Fri 70 pips, Sun 30 pips = 5-day ADR of 80 pips.
Other Markets:
- Crypto: 24/7 trading, no partial days
- Futures/Stocks: No Sunday session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 ICT CONCEPTS
Average Daily Range (ADR)
Statistical measure of average price movement per day. Acts as a "magnet" for price - markets tend to fulfill their ADR.
1/3 ADR Levels - "Judas Swing"
ICT's signature concept for identifying manipulation zones. Price often sweeps these levels to trap retail traders before reversing. High-probability reversal areas during London/NY sessions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS GUIDE
ADR Period: Number of days for calculation (default 5)
- Lower values = More responsive
- Higher values = Smoother levels
Calculation Mode:
- New York Midnight - ICT standard, best for Forex
- Classic Daily - Exchange timezone
Level Display:
- ADR High/Low - Primary targets
- 1/3 Levels - Judas Swing zones
- 2/3 Levels - Trending day targets
- Quarter Levels - 25% and 75%
- 50% Level - Mid-range
Visual Options:
- Separate line styles for each level group
- Customizable colors and width
- Optional labels with price/percentage
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TRADING TIPS
1. Early Session: If price moves to 1/3 ADR quickly, watch for Judas Swing reversal
2. Mid Session: Use 2/3 levels as continuation targets in trending markets
3. Late Session: ADR completion often marks session extremes
4. Risk Management: Use fractional levels for scaling positions
5. Confluence: Combine with Fair Value Gaps, Order Blocks, and Liquidity Pools
Best Timeframes: 15m, 30m, 1H, 4H for intraday trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
- Based on concepts taught by ICT (Inner Circle Trader)
- Requires at least 5 completed sessions for full accuracy
- ICT suggested using "New York Midnight" mode
- Weekend sessions handled based on actual market hours
- Be aware that Friday/Sunday partial sessions may lower ADR average
Created with focus on clean implementation and ICT's core teachings.
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).
IME's Community First Presented FVGsIME's Community First Presented FVGs v1.5 - Advanced Implementation
ORIGINALITY & INNOVATION
This indicator advances beyond basic Fair Value Gap detection by implementing a sophisticated 24-hour FVG lifecycle management system aligned with institutional trading patterns. While many FVG indicators simply detect gaps and extend them indefinitely, this implementation introduces temporal intelligence that mirrors how institutional algorithms actually manage these inefficiencies.
Key Innovations that set this apart:
- 24-Hour Lifecycle Management: FVGs extend dynamically until 16:59, then freeze until removal at 17:00 next day
- Institutional Day Alignment: Recognizes 18:00-16:59 trading cycles vs standard calendar days
- Multi-Session Detection: Simultaneous monitoring of Midnight, London, NY AM, and NY PM sessions
- Advanced Classification System: A.FVG detection with volume imbalance analysis vs classic FVG patterns
- Volatility Settlement Logic: Blocks contamination from opening mechanics (3:01+, 0:01+, 13:31+ rules)
- Visual Enhancement System: C.E. lines, contamination warnings, dark mode support with proper transparency handling
BASED ON ICT CONCEPTS
This indicator implements First Presented Fair Value Gap methodology taught by ICT (Inner Circle Trader). The original F.P. FVG concepts, timing rules, and session-based detection are credited to ICT's educational material. This implementation extends those foundational concepts with advanced lifecycle management and institutional alignment features.
ICT's Core F.P. FVG Rules Implemented:
- First clean FVG after session opening (avoids opening contamination)
- 3-candle pattern requirement for valid detection
- Session-specific timing windows and volatility settlement
- Consequent Encroachment level identification
IME's Advanced Enhancements:
- Automated lifecycle management with institutional day recognition
- Multi-session simultaneous monitoring with proper isolation
- Advanced visual system with transparency states for aged FVGs
- A.FVG classification with volume imbalance detection algorithms
HOW IT WORKS
Core Detection Engine
The indicator monitors four key institutional sessions using precise timing windows:
- Midnight Session: 00:01-00:30 (blocks 00:00 contamination)
- London Session: 03:01-03:30 (blocks 03:00 contamination)
- NY AM Session: 09:30-10:00 (configurable 9:30 detection)
- NY PM Session: 13:31-14:00 (blocks 13:30 contamination)
During each session window, the algorithm scans for the first valid FVG pattern using ICT's 3-candle rule while applying volatility settlement principles to avoid false signals from opening mechanics.
Advanced Classification System
Classic FVG Detection:
Standard 3-candle wick-to-wick gap where candle 1 and 3 don't overlap, creating an inefficiency that institutions must eventually fill.
A.FVG (Advanced FVG) Detection:
Enhanced pattern recognition that includes volume imbalance analysis (deadpool detection) to identify more significant institutional inefficiencies. A.FVGs incorporate both the basic gap plus additional price imbalances between candle bodies, creating larger, more significant levels.
24-Hour Lifecycle Management
Phase 1 - Dynamic Extension (Creation Day):
From detection until 16:59 of creation day, FVGs extend in real-time as new bars form, maintaining their relevance as potential support/resistance levels.
Phase 2 - Freeze Period (Next Day):
At 16:59, FVGs stop extending and "freeze" at their final size, remaining visible as reference levels but no longer growing. This prevents outdated levels from contaminating fresh analysis.
Phase 3 - Cleanup (17:00 Next Day):
Exactly 24+ hours after creation, FVGs are automatically removed to maintain chart clarity. This timing aligns with institutional trading cycle completion.
Institutional Day Logic
The algorithm recognizes that institutional trading days run from 18:00-16:59 (not midnight-midnight). This alignment ensures FVGs are managed according to institutional timeframes rather than arbitrary calendar boundaries.
Contamination Avoidance System
Volatility Settlement Principle:
Opening mechanics create artificial volatility that can produce false FVG signals. The indicator automatically blocks detection during exact session opening times (X:00) and requires settlement time (X:01+) before identifying clean institutional inefficiencies.
Special NY AM Handling:
Provides configurable 9:30 detection for advanced users who want to capture potential opening range FVGs, with clear visual warnings about contamination risk.
VISUAL SYSTEM
Color Intelligence
- Current Day FVGs: Full opacity with session-specific colors
- Previous Day FVGs: 70% transparency for historical reference
- Special Timing (9:30): Dedicated warning color with alert labels
- Dark Mode Support: Automatic text/line color adaptation
Enhanced Visual Elements
C.E. (Consequent Encroachment) Lines:
Automatically calculated 50% levels within each FVG, representing the most likely fill point based on institutional behavior patterns. These levels extend and freeze with their parent FVG.
Contamination Warnings:
Visual alerts when FVGs are detected during potentially contaminated timing, helping traders understand signal quality.
Session Identification:
Clear labeling system showing FVG type (FVG/A.FVG), session origin (NY AM, London, etc.), and creation date for easy reference.
HOW TO USE
Basic Setup
1. Session Selection: Enable/disable specific sessions based on your trading strategy
2. FVG Type: Choose between Classic FVGs or A.FVGs depending on your analysis preference
3. Visual Preferences: Adjust colors, text size, and enable dark mode if needed
Trading Applications
Intraday Reference Levels:
Use current day FVGs as potential support/resistance for price action analysis. The dynamic extension ensures levels remain relevant throughout the trading session.
Multi-Session Analysis:
Monitor how price interacts with FVGs from different sessions to understand institutional flow and market structure.
C.E. Level Trading:
Focus on the 50% consequent encroachment levels for high-probability entry points when price approaches FVG zones.
Historical Context:
Previous day FVGs (shown with transparency) provide context for understanding market structure evolution across multiple trading days.
Advanced Features
9:30 Special Detection:
For experienced traders, enable 9:30 FVG detection to capture opening range inefficiencies, but understand the contamination risks indicated by warning labels.
A.FVG vs Classic Toggle:
Switch between detection modes based on market conditions - A.FVGs for trending environments, Classic FVGs for ranging conditions.
Best Practices
- Use on 1-minute to 15-minute timeframes for optimal session detection
- Combine with other institutional concepts (order blocks, liquidity levels) for comprehensive analysis
- Pay attention to transparency states - current day FVGs are more actionable than previous day references
- Consider C.E. levels as primary targets rather than full FVG fills
TECHNICAL SPECIFICATIONS
Platform: Pine Script v6 for optimal performance and reliability
Timeframe Compatibility: All timeframes (optimized for 1M-15M)
Market Compatibility: 24-hour markets (Forex, Crypto, Futures)
Session Management: Automatic trading day detection with weekend handling
Memory Management: Intelligent capacity limits with automatic cleanup
Performance: Optimized algorithms for smooth real-time operation
CLOSED SOURCE JUSTIFICATION
This indicator is published as closed source to protect the proprietary algorithms that enable:
- Precise 24-hour lifecycle timing calculations with institutional day alignment
- Advanced A.FVG classification with sophisticated volume imbalance detection
- Complex multi-session coordination with contamination filtering
- Optimized memory management preventing performance degradation
- Specialized visual state management for transparency and extension logic
The combination of these advanced systems creates a unique implementation that goes far beyond basic FVG detection, warranting protection of the underlying computational methods while providing full transparency about functionality and usage.
PERFORMANCE CHARACTERISTICS
Real-Time Operation: Smooth performance with minimal resource usage
Accuracy: Precise session detection with timezone consistency
Reliability: Robust error handling and edge case management
Scalability: Supports multiple simultaneous FVGs without performance impact
This advanced implementation represents significant evolution beyond basic FVG indicators, providing institutional-grade analysis tools for serious traders while maintaining the clean visual presentation essential for effective technical analysis.
IMPORTANT DISCLAIMERS
Past performance does not guarantee future results. This indicator is an educational tool based on ICT's Fair Value Gap concepts and should be used as part of a comprehensive trading strategy. Users should understand the risks involved in trading and consider their risk tolerance before making trading decisions. The indicator identifies potential support/resistance levels but does not predict market direction with certainty.
2 days ago
Release Notes
IME's Community First Presented FVGs v1.5.2 - Critical Bug Fixes
Bug Fixes:
v1.5.1 - Fixed 9:30 Contamination Blocking:
Issue: When 9:30 detection toggle was OFF, script still detected 9:30 candles as F.P. FVGs
Fix: Added proper contamination blocking logic that prevents 9:30 middle candle detection when toggle is OFF
Result: Toggle OFF now correctly shows clean F.P. FVGs at 9:31+ (proper ICT volatility settlement)
v1.5.2 - Fixed A.FVG Box Calculation Accuracy:
Issue: A.FVG boxes incorrectly included ALL body levels even when no actual deadpool existed between specific candles
Fix: Implemented selective body level inclusion - only adds body prices where actual volume imbalances exist
Result: A.FVG boxes now accurately represent only areas with real institutional volume imbalances
Impact:
More Accurate Detection: 9:30 contamination properly blocked when disabled
Precise A.FVG Zones: Boxes only include levels with actual deadpools/volume imbalances
Institutional Accuracy: Both fixes align detection with true institutional trading principles
Technical Details:
Enhanced contamination blocking checks middle candle timing in normal mode
A.FVG calculation now selectively includes body levels based on individual deadpool existence
Maintains backward compatibility with all existing features and settings
These fixes ensure the indicator provides institutionally accurate FVG detection and sizing for professional trading analysis.
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.
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!
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.
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! ✨
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!
Globex Trap w/ percentage [SLICKRICK]Globex Trap w/ Percentage
Overview
The Globex Trap w/ Percentage indicator is a powerful tool designed to help traders identify high-probability trading opportunities by analyzing price action during the Globex (overnight) session and regular trading hours. By combining Globex session ranges with Supply & Demand zones, this indicator highlights potential "trap" areas where significant price reactions may occur. Additionally, it calculates the Globex session range as a percentage of the daily Average True Range (ATR), providing valuable context for assessing market volatility.
This indicator is ideal for traders in futures markets or other instruments traded during Globex sessions, offering a visual and analytical edge for spotting key price levels and potential reversals or breakouts.
Key Features
Globex Session Tracking:
Visualizes the high and low of the Globex session (default: 3:00 PM to 6:30 AM PST) with customizable time settings.
Displays a semi-transparent box to mark the Globex range, with labels for "Globex High" and "Globex Low."
Calculates the Globex range as a percentage of the daily ATR, displayed as a label for quick reference.
Supply & Demand Zones:
Identifies Supply & Demand zones during regular trading hours (default: 6:00 AM to 8:00 AM PST) with customizable time settings.
Draws semi-transparent boxes to highlight these zones, aiding in the identification of key support and resistance areas.
Trap Area Identification:
Highlights potential trap zones where Globex ranges and Supply & Demand zones overlap, indicating areas where price may reverse or consolidate due to trapped traders.
Customizable Settings:
Adjust Globex and Supply & Demand session times to suit your trading preferences.
Toggle visibility of Globex and Supply & Demand zones independently.
Customize box colors for better chart readability.
Set the lookback period (default: 10 days) to control how many historical zones are displayed.
Configure the ATR length (default: 14) for the percentage calculation.
PST Timezone Default:
All times are based on Pacific Standard Time (PST) by default, ensuring accurate session tracking for users in this timezone or those aligning with U.S. West Coast market hours.
Recommended Usage
Timeframes: Best used on 1-hour charts or lower (e.g., 15-minute, 5-minute) for precise entry and exit points.
Markets: Optimized for futures (e.g., ES, NQ, CL) and other instruments traded during Globex sessions.
Historical Data: Ensure at least 10 days of historical data for optimal visualization of zones.
Strategy Integration: Use the indicator to identify potential reversals or breakouts at Globex highs/lows or Supply & Demand zones. The ATR percentage provides context for whether the Globex range is significant relative to typical daily volatility.
How It Works
Globex Session:
Tracks the high and low prices during the user-defined Globex session (default: 3:00 PM to 6:30 AM PST).
When the session ends, a box is drawn from the start to the end of the session, capturing the high and low prices.
Labels are placed at the midpoint of the session, showing "Globex High," "Globex Low," and the range as a percentage of the daily ATR (e.g., "75.23% of Daily ATR").
Supply & Demand Zones:
Tracks the high and low prices during the user-defined regular trading hours (default: 6:00 AM to 8:00 AM PST).
Draws a box to mark these zones, which often act as key support or resistance levels.
ATR Percentage:
Calculates the Globex range (high minus low) and divides it by the daily ATR to express it as a percentage.
This metric helps traders gauge whether the overnight price movement is significant compared to the instrument’s typical volatility.
Time Handling:
Uses PST (UTC-8) for all time calculations, ensuring accurate session timing for users aligning with this timezone.
Properly handles overnight sessions that cross midnight, ensuring seamless tracking.
Input Settings
Globex Session Settings:
Show Globex Session: Enable/disable Globex session visualization (default: true).
Globex Start/End Time: Set the start and end times for the Globex session (default: 3:00 PM to 6:30 AM PST).
Globex Box Color: Customize the color of the Globex session box (default: semi-transparent gray).
Supply & Demand Zone Settings:
Show Supply & Demand Zone: Enable/disable zone visualization (default: true).
Zone Start/End Time: Set the start and end times for Supply & Demand zones (default: 6:00 AM to 8:00 AM PST).
Zone Box Color: Customize the color of the zone box (default: semi-transparent aqua).
General Settings:
Days to Look Back: Number of historical days to display zones (default: 10).
ATR Length: Period for calculating the daily ATR (default: 14).
Notes
All times are in Pacific Standard Time (PST). Adjust the start and end times if your market operates in a different timezone or if you prefer different session windows.
The indicator is optimized for instruments with active Globex sessions, such as futures. Results may vary for non-24/5 markets.
A typo in the label "Globe Low" (should be "Globex Low") will be corrected in future updates.
Ensure your TradingView chart is set to display sufficient historical data to view the full lookback period.
Why Use This Indicator?
The Globex Trap w/ Percentage indicator provides a unique combination of session-based range analysis, Supply & Demand zone identification, and volatility context via the ATR percentage. Whether you’re a day trader, swing trader, or scalper, this tool helps you:
Pinpoint key price levels where institutional traders may act.
Assess the significance of overnight price movements relative to daily volatility.
Identify potential trap zones for high-probability setups.
Customize the indicator to fit your trading style and market preferences.
ATR Dashboard (Pane Only)🔧 Core Logic
ATR Source: Multi-timeframe ATR (default 1H while trading 5m/15m).
Threshold Rule:
TREND = ATR > (ATR_SMA × k)
NORMAL = otherwise
Sessions: Only evaluates during London (02:00–07:00 ET) and New York (07:00–11:30 ET) by default.
Smoothing: ATR compared against its SMA (default 10-period).
k Multiplier: Controls sensitivity (default 1.20).
🖥️ Visuals
✅ TREND: Green label (or green background if enabled).
⚪ NORMAL: Gray label.
⏸️ OUT OF SESSION: Dim label, so you don’t force trades off-hours.
📊 Optional panel shows ATR, ATR_SMA, and Threshold values in real time.
📊 Dashboard + Overlay Combo
Use this overlay on your chart TF for tactical entries.
Pair with an ATR Dashboard (pane) on a higher TF (like 1H) for the strategic backdrop.
Overlay TREND + Dashboard TREND → High conviction trending environment.
Overlay TREND but Dashboard NORMAL → Fragile breakout, trade smaller or pass.
Both NORMAL → Chop/range → stick to 1:1.4 BE rules.
⚖️ Trading Playbook Integration
NORMAL Mode (ATR below threshold)
50% partial at 1R.
BE @ 1:1.4.
Runner capped at 2R.
TREND Mode (ATR above threshold)
50% partial at 1R.
BE @ 1:1.6.
Remainder trails ATR ×1.5.
Reserve ~15% of trend trades as no-partials for fat-tail home runs (4R–6R+).
🔔 Alerts
ATR Trend ON (in session) → “ATR > Threshold → Switch to TREND BE (1:1.6).”
ATR Trend OFF (in session) → “ATR ≤ Threshold → Switch to NORMAL BE (1:1.4).”
Perfect for getting pinged the moment volatility regime flips.
📌 Tips
k = 1.20 → balanced (default).
k = 1.10–1.15 → more TREND calls (sensitive).
k = 1.30+ → only strongest trends count.
Run it with overlay ON chart TF for execution, and dashboard on HTF for context.
Best used during active London/NY sessions.
✅ This isn’t a signal generator. It’s a regime filter + risk manager.
It keeps you from chasing chop and helps you mechanically switch BE rules without hesitation.
⚡ Pro tip: Combine with a Trend Continuation HUD, Elliott Wave Convergence overlay, or a Bollinger+RSI/MFI reversal scanner for a full tactical playbook.
STOCK EXCHANGE + SILVER BULLET FRAMESThis script is an updated version of the " NY/LDN/TOK Stock Exchange Opening Hours " script.
Objective
Displays global stock exchange sessions (New York, London, Tokyo) with session frames, highs/lows, and opening lines. Includes ICT Silver Bullet windows (NY, London, Tokyo) with configurable shading. Past sessions are frozen at close, ongoing sessions update dynamically until closure, and upcoming sessions are pre-drawn. Fully customizable with options for weekends, labels, padding, opacity, and individual session toggles.
It is designed to help traders quickly interpret market context, liquidity zones, and session-based price behavior.
Main Features
Past sessions (historical data)
• Session Frames:
• Each box is frozen at the session’s close.
• The left edge aligns with the opening time, while the right edge is fixed at the closing time.
• The top and bottom reflect the highest and lowest prices during the session.
• Session Labels:
• Names (NY, LDN, TOK) displayed above the frame, aligned left, in the same color as the frame.
• Opening Lines:
• Vertical dotted lines mark the start of each session.
Ongoing and upcoming sessions (live market)
• Dynamic Session Frames:
• The right edge is locked at the future close time.
• The top and bottom update in real time as new highs and lows form.
• Labels and Lines:
• The session label is visible above the active frame.
• Opening lines are drawn as soon as the session begins.
Silver Bullet Time Windows (ICT concept)
• Highlights key liquidity windows within sessions:
• New York: 10:00–11:00 and 14:00–15:00
• London: 08:00–09:00
• Tokyo: 09:00–10:00
• Silver Bullet zones are shaded with configurable opacity (default 5%).
Customization and Options
• Enable or disable individual sessions (NY, London, Tokyo).
• Toggle weekend display (frames and Silver Bullets).
• Adjust label size, padding, and text visibility.
• Control frame opacity (default 0%).
• Optimized memory management with automatic pruning of old graphical objects.
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! 🚀