FIRST-HOUR TOOL V.1.8.08.23Three horizontal lines are drawn on the chart to represent session prices. These prices are calculated based on the user-specified session:
"FirstHour Session High" represents the highest price reached during the firsthour session.
"FirstHour Session Open" represents the opening price of the firsthour session
"FirstHour Session Low" represents the lowest price reached during the firsthour session.
These prices are respectively colored with light blue, light yellow, and light pink.
The chart background can change color based on whether the current time is within the specified session. If the current time is within the session, the background will be colored in semi-transparent aqua green. Otherwise, it will remain transparent.
Upward-pointing triangle markers are used to highlight points where the closing price crosses above (crossover) or below (crossunder) the session levels.
These markers appear below the corresponding bar.
They are colored based on the type of crossover:
Yellow for crossover above the "FirstHour High"
Red for crossover above the "FirstHour Open"
Green for crossover above the "FirstHour Low"
Alerts:
Alert messages are generated when crossovers or crossunders of the closing price relative to the session levels occur.
The alerts appear once per bar. Alerts are generated for the following events:
Crossover of the price above the "Session High" with the message "High First Hour Crossover."
Crossunder of the price below the "Session Open" with the message "Open First Hour Crossunder."
Crossunder of the price below the "Session Low" with the message "Low First Hour Crossunder."
Crossover of the price above the "Session Low" with the message "Low First Hour Crossover."
In summary, this indicator provides a visual representation of session prices and events, helping traders spot significant crossovers and crossunders relative to key price levels.
Author @tumiza999
Pesquisar nos scripts por "session"
Binary Option Ultimate Backtester-V.1[tanayroy]The Binary Option strategy backtester gives the user extensive power to test any kind of strategy with advance trade management rules.
The strategy tester accepts external scripts as strategy sources. You can add your strategy and test it for historical stats.
Few assumption regarding strategy tester:
We are opening position at next candle after signal come
We are taking the position at opening price
Our call will be profitable if we get a green candle and put will be profitable if we get a red candle
We can open only one trade at a time. So if we are in trade, subsequent signals will be ignored.
How to make your strategy code compatible for strategy backtesting?
In your strategy code file add following lines:
Signal = is_call ? 1 : is_put ? -1 : 0
plot(Signal, title="🔌Connector🔌", display = display.none)
Is_call and is_put is your buy and sell signal. Plot the signal without displaying it in the chart. The new TradingView feature display = display.none, will not display the plot.
All Input options
Group: STRATEGY
Add Your Binary Strategy: External strategy to back test.
Trade Call/Put: Select CALL, to trade Call, PUT, to trade Put. Default is BOTH, Trading Call and Put both.
Number of Candles to Hold: How many candles to hold per trade. Default 1. If you want to hold the option for 30 minutes and you are testing your strategy in 15m intervals, use 2 candle holding periods.
GROUP: MARTINGALE
Martingale Level: Select up to 15 Martingale. Select 1 for no Martingale.
Use Martingale At Strategy Level: Instead of using Martingale per trade basis, using Martingale per signal basis. Like if we make a loss in the first signal, instead of starting martingale immediately we’ll wait for the next signal to put the martingale amount. For example if you start with $1 and you lose, at the next signal you will invest $2 to recover your losses.
Strategy Martingale Level: Select up to 15 Martingale at strategy signal level. Only workable if Use Martingale At Strategy Level is selected.
Type of Trade: Martingale trade type. Only workable if we are using Martingale Level more than 1.
It can be:
“SAME”: If you are trading CALL and incur a loss, you are taking CALL in subsequent Martingale levels.
“OPSITE”: if you are trading CALL and incur a loss, you are taking PUT in subsequent Martingale levels.
“FOLLOW CANDLE COLOR”: You are following candle color in Martingale levels, i.e if the loss candle is RED, you are taking PUT in subsequent candles.
“OPPOSITE CANDLE COLOR”: You are taking opposite candle color trade, i.e if the loss candle is RED, you are taking CALL in subsequent candle.
GROUP: TRADE MANAGEMENT
Initial Investment Per Option: Initial investment amount per trade
Payout: Per trade payout in percentage
Use Specific Session: Select to test trade on specific session.
Trading Session: Select trading session. Only workable if Use Specific Session is selected.
Use Date Range: Select to use test trades between dates.
Start Time: Select Start Time. Only workable if Use Date Range is selected.
End Time: Select end Time. Only workable if Use Date Range is selected.
Early Quit: Select to quit trade for the day after consecutive win or loss
Quit Trading after Consecutive Win: Number of consecutive wins. Only workable if early Early Quit is selected.
Quit Trading after Consecutive Loss: Number of consecutive losses. Only workable if early Early Quit is selected.
Buy/Sell Flip: Use buy signal for sell and sell signal for buy.
GROUP:STATS
Show Recent Stats: Show win trades in last 3,5,10,15,25 and 30 trades.
Show Daily Stats: Day wise win trades and total trades.
Show Monthly Stats: Month wise win trades and total trades.
Result and stat output:
Back tester without any strategy.
Strategy added with default option.
Stats with 7 Martingales. You can test up to 15.
Optional Stats:
Example Strategy code used :
//@version=5
indicator("Binary Option Strategy",overlay = true)
length = input.int(7, minval=1)
src = input(close, title="Source")
mult = input.float(3.0, minval=0.001, maxval=50, title="StdDev")
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper = basis + dev
lower = basis - dev
fab_candle_upcross=(high< upper and low>basis)
fab_candle_downcross= (high< basis and low>lower)
up_cross=ta.barssince(ta.crossover(close,basis))
down_cross=ta.barssince(ta.crossunder(close,basis))
is_first_up=false
is_first_down=false
if fab_candle_upcross
for a=1 to up_cross
if fab_candle_upcross
is_first_up:=false
break
else
is_first_up:=true
if fab_candle_downcross
for a=1 to down_cross
if fab_candle_downcross
is_first_down:=false
break
else
is_first_down:=true
//strategy for buying call
is_call=(is_first_up or is_first_down ) and close>open
//strategy for selling call
is_put=(is_first_up or is_first_down ) and close<open
Signal = is_call ? 1 : is_put ? -1 : 0
plot(Signal, title="🔌Connector🔌", display = display.none)
The Daily Profiler v2.0This indicator serves as a multi-faceted analysis tool for TradingView, geared towards day traders who need context based on daily cycles and key price levels, especially in markets like futures that follow the NY trading schedule (18:00 ET daily reset).
Core Functionality Breakdown:
Session & Opening Range Analysis:
It defines and visually demarcates four key trading sessions: Asia (ASN: 1800-0230), London (LDN: 0230-0730), NY1 (0730-1130), and NY2 (1130-1615), using the "America/New_York" timezone.
For each session, it identifies an "Opening Range" (OR) period (e.g., 1800-1930 for ASN).
Users can opt to display background boxes for the full sessions and/or the OR periods.
It plots horizontal lines marking the High and Low reached during each session and OR period.
Crucially, it calculates the midpoint of each Opening Range (the "O/U" or Over/Under line) and tracks whether subsequent price action "breaks" this level, updating line styles and status information accordingly.
Key Price Level Plotting:
Previous Day Context: Plots the High (PDH), Low (PDL), and Midpoint (PDM) of the previous trading day, providing immediate reference points.
Daily Anchor Points: Draws lines for the Globex Open (18:00 ET start), the previous day's Settlement price, and the Midnight Open (00:00 ET), offering insight into key daily cycle starting points.
P12 Session (18:00-06:00): Tracks this overnight period and, after 06:00 ET, projects extended lines for its High, Low, and Midpoint.
High/Low of Day (HOD/LOD) Features:
Actual Tracking: Identifies and marks the actual HOD and LOD achieved during the main trading day (18:00-16:15 window) with labels showing the price, time occurred, and percentage move from the open.
User Projections: Allows users to configure multiple sets of potential HOD/LOD target zones (categorized as Long/True, Long/False, Short/True, Short/False). These are defined by specific time windows and percentage ranges from the daily open, displayed as colored projection boxes.
Statistical Projections:
ADR/MDR: Calculates the Average Daily Range (ADR) or Median Daily Range (MDR) over a user-set lookback period. It then plots projected High/Low levels for the current day based on adding/subtracting half this range value from the daily open price.
ASN OR Standard Deviations: Uses the range of the Asian session's OR to calculate and plot standard deviation levels (+/- 1.0, 2.5, 5.0, 8.0). These lines appear after the ASN OR concludes and change appearance if price crosses them.
09:30 NY Open Focus:
Provides specific analysis for the 09:30 ET 1-minute candle, often significant for US equity index futures.
Draws a box around this candle's range, optionally recoloring the bar, and draws internal percentage levels (25/50/75%) and minor offset lines for the subsequent 15 minutes.
Informational Tables:
Model Table: Summarizes the OR breakout dynamics for each session, indicating the initial break direction (Long/Short), whether the session maintained that direction without breaking the opposite side (True/False), and whether the OR midpoint was later broken (Broken/None).
Distribution Table: Presents range and percentage statistics for each session (and the 0930-1000 window). It shows the current day's values alongside historical Average or Median values, which can be filtered by day of the week or shown as a weekly total.
Customization & Management:
Offers extensive inputs to toggle nearly every visual element and feature.
Allows detailed customization of colors, line styles/widths, label content/size, and table appearance/position.
Incorporates logic to clean up drawings from the previous day at the 18:00 ET reset, ensuring chart clarity.
Global Market Opens by Koenigsegg🧠 Global Market Opens Filter by Koenigsegg
Track the pulse of global capital flows with surgical precision, on business days only.
This powerful tool maps the exact open levels of the world's four major trading hubs: Europe, New York, Asia, and Australia — right onto your chart in real time, while intelligently filtering out weekends when global markets are closed.
Designed for professional traders who value clarity and timing, the indicator plots clean horizontal lines at the precise open of each session (based on your defined time), with customizable visuals and fixed projection logic to keep your levels consistent and readable. The built-in weekend filter ensures you only see relevant session opens during active trading days.
Whether you're trading forex, indices, crypto, or equities, this tool gives you the tactical edge to anchor your intraday playbook around session opens — when volatility, volume, and opportunity align.
🛠️ Core Features
✅ Weekday-only filtering - Automatically excludes weekend session opens in UTC time
✅ Plotted session opens for:
- London (LSE/Europe) – "LON/AMS/PAR"
- New York (NYSE) – "NEWYORK"
- Tokyo (TSE) – "TOKYO"
- Sydney (ASX) – "AUSTRALIA"
✅ Precise horizontal lines with fixed future projection for clean chart structure
✅ Real-time session detection based on your time inputs
✅ Adjustable line length with a set number of bars ahead
✅ Custom color selection per session for clear differentiation
✅ Minimal labels for a clean, pro-grade interface
✅ Toggle each session individually to tailor it to your market hours
✅ Toggle weekend filtering to suit your specific analysis needs
✅ Built to maintain chart performance – lightweight and optimized
🌍 Why It Matters
Markets move when sessions change hands. With this tool, you can:
- Align your entries and exits with institutional activity zones
- See where price anchors or rejects during session opens
- Filter out noise from weekend sessions when markets are closed
- Build confluence with structure, liquidity grabs, and narrative shifts
This isn't just another visual tool. It's a precision clock for those who know what time it is — and trade accordingly.
⚙️ Configuration Options
Session Times - Set custom open hours and minutes for each global market open
Color Selection - Choose distinctive colors for each session line
Fixed End Position - Define how far ahead lines should project (in bars)
Weekend Filter - Toggle UTC weekend filtering on/off based on your needs
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading is risky and can result in significant losses. Use at your own discretion.
💡 Pro Tip
Pair this tool with your order flow, CVD, or liquidity maps to see where price respects or breaks session anchors during active trading days. The moment a session opens, watch if the buyers are in control or if the sellers are in control. With the weekend filter, you'll focus solely on market-relevant session opens when institutions are actually trading. Timing is everything — and now, you control it.
📊 Hashtags
#KoenigseggTools #TradingView #MarketOpenLines #WeekdayFilter #LSE #NYSE #TSE #ASX #SessionTrading #PriceAction #PrecisionTrading #SmartMoney #InstitutionalZones #Forex #Crypto #Equities #IntradayStrategy #GlobalOpens
5-Minute YEN Pivot Bars 1.0The 5-Minute YEN Pivot Bars indicator is designed to identify and highlight low-range pivot bars on 5-minute charts, specifically tailored for Yen-based pairs (e.g., GBPJPY, USDJPY). By focusing on precise pip thresholds, this tool helps traders detect potential pivot points within specific trading sessions, while avoiding inside bars and other noise often seen in low-volatility conditions. This can be particularly useful for trend traders and those looking to refine their entry points based on intraday reversals.
Key Features:
- Customized Pip Thresholds for Yen Pairs:
The indicator is pre-configured for Yen pairs, where 1 pip is typically represented by 0.01. It applies these thresholds:
- Limited Range: 4 pips or less between open and close prices.
- High/Low Directionality: At least 3 pips from the close/open to the bar's high or low.
- Open/Close Proximity: 4 pips or less between open and close.
- Inside Bar Tolerance: A tolerance of 3 pips for inside bars, helping reduce false signals from bars contained within the previous bar's range.
- Session-Specific Alerts:
- The indicator allows you to enable alerts for the European Session (6:00-12:00), American Session (12:00-17:00), and London Close (17:00-20:00). You can adjust these times based on your own trading hours or timezone preferences via a time-shift setting.
- Receive real-time alerts when a valid bullish or bearish pivot bar is identified within the chosen sessions, allowing you to respond to potential trade opportunities immediately.
- Time Shift Customization:
- Adjust the "Time Shift" parameter to account for different time zones, ensuring accurate session alignment regardless of your local time.
How It Works:
1. Pivot Bar Identification:
The indicator scans for bars where the difference between the open and close is within the "Limited Range" threshold, and both open and close prices are close to either the high or the low of the bar.
2. Directional Filtering:
It requires the bar to show strong directional bias by enforcing an additional distance between the open/close levels and the opposite end of the bar (high/low). Only bars with this directional structure are considered for highlighting.
3. Exclusion of Inside Bars:
Bars that are completely contained within the range of the previous bar are excluded (inside bars), as are consecutive inside bars. This filtering is essential to avoid marking bars that typically indicate consolidation rather than potential pivot points.
4. Session Alerts:
When a valid pivot bar appears within the selected sessions, an alert is triggered, notifying the trader of a potential trading signal. Bullish and bearish signals are differentiated based on whether the close is near the high or low.
How to Use:
- Trend Reversals: Use this indicator to spot potential trend reversals or pullbacks on a 5-minute chart, especially within key trading sessions.
- Entry and Exit Points: Highlighted bars can serve as potential entry points for traders looking to capitalize on short-term directional changes or continuation patterns.
- Combine with Other Indicators: Consider pairing this tool with momentum indicators or trendlines to confirm the signals, providing a comprehensive analysis framework.
Default Parameters:
- Limited Range: 4 Pips
- High/Low Directionality: 3 Pips
- Open/Close Proximity: 4 Pips
- Inside Bar Tolerance: 3 Pips
- Session Alerts: Enabled for European, American, and London Close sessions
- Time Shift: Default 6 (adjustable to align with different time zones)
This indicator is specifically optimized for Yen pairs on 5-minute charts due to its pip calculation.
Prev Day, Premarket, 5m OpenDescription of the Script
This script is a Pine Script (version 5) indicator designed for use in TradingView. It overlays customizable price range lines and backgrounds on a chart to highlight key trading ranges based on different time periods and sessions. The indicator focuses on the following ranges:
Daily Range: Displays the high and low prices from the previous trading day (9:30 AM to 4:00 PM ET).
Premarket Range: Shows the high and low prices during the premarket session (4:00 AM to 9:29 AM ET) of the current day.
5-Minute Opening Range: Captures the high and low prices during the first 5 minutes of the regular trading session (9:30 AM to 9:35 AM ET).
GC Sessions (Gold Commodity): Optionally displays the high and low of the previous day's GC session (9:00 AM to 2:30 PM ET) and London Fix windows (5:00–6:00 AM and 9:30–10:30 AM ET on the current day).
CL Sessions (Crude Oil): Optionally displays the high and low of the previous day's CL session (9:00 AM to 2:30 PM ET) and the EIA window (10:00–11:00 AM ET on Wednesdays).
Each range is represented by horizontal lines (top and bottom) with customizable colors, styles (solid, dashed, dotted), and widths. Background shading between the high and low lines can also be enabled with adjustable colors and transparency. Labels are added to identify each range (e.g., "PDH" for Previous Day High, "PMH" for Premarket High, etc.). The script adjusts for time zones via a user-defined offset and allows manual override of the previous trading day.
Instructions for Setting the Inputs
The script provides a variety of customizable inputs grouped by range type. Below are instructions for setting each input category:
General Settings
Timezone Offset (hours): Adjusts the script's time calculations to your local timezone relative to UTC. Enter the number of hours to subtract from UTC (e.g., -4 for Eastern Time during Daylight Saving Time, -5 during Standard Time). Range: -12 to +12.
Previous Day Settings
Previous Trading Day Override (YYYY-MM-DD): Allows manual specification of the previous trading day in "YYYY-MM-DD" format (e.g., "2025-03-19"). Leave blank for automatic detection (defaults to the prior day). This override expires at midnight ET the next day.
Daily Range Customization
Daily Top Line Color: Choose the color for the previous day's high line (default: green).
Daily Top Line Style: Select the line style (solid, dashed, dotted; default: solid).
Daily Top Line Width: Set the line thickness (1 to 5; default: 2).
Daily Bottom Line Color: Choose the color for the previous day's low line (default: red).
Daily Bottom Line Style: Select the line style (solid, dashed, dotted; default: solid).
Daily Bottom Line Width: Set the line thickness (1 to 5; default: 2).
Daily Show Background?: Enable/disable background shading between the high and low (default: true).
Daily Background Color: Choose the background color (default: orange).
Daily Background Transparency: Set transparency level (0 = opaque, 100 = fully transparent; default: 92).
Premarket Range Customization
Premarket Top Line Color: Choose the color for the premarket high line (default: green).
Premarket Top Line Style: Select the line style (solid, dashed, dotted; default: solid).
Premarket Top Line Width: Set the line thickness (1 to 5; default: 2).
Premarket Bottom Line Color: Choose the color for the premarket low line (default: red).
Premarket Bottom Line Style: Select the line style (solid, dashed, dotted; default: solid).
Premarket Bottom Line Width: Set the line thickness (1 to 5; default: 2).
Premarket Show Background?: Enable/disable background shading (default: true).
Premarket Background Color: Choose the background color (default: blue).
Premarket Background Transparency: Set transparency level (0 to 100; default: 92).
5-Minute Opening Range Customization
5min Opening Top Line Color: Choose the color for the opening range high line (default: black).
5min Opening Top Line Style: Select the line style (solid, dashed, dotted; default: solid).
5min Opening Top Line Width: Set the line thickness (1 to 5; default: 2).
5min Opening Bottom Line Color: Choose the color for the opening range low line (default: black).
5min Opening Bottom Line Style: Select the line style (solid, dashed, dotted; default: solid).
5min Opening Bottom Line Width: Set the line thickness (1 to 5; default: 2).
GC Special Sessions
Show GC Session Range (9:00 AM - 2:30 PM ET)?: Enable/disable the GC session range from the previous day (default: false).
GC Session Top Color: Choose the color for the GC session high line (default: green).
GC Session Bottom Color: Choose the color for the GC session low line (default: red).
Show London Fix Windows (5-6 AM, 9:30-10:30 AM ET)?: Enable/disable the London Fix windows for the current day (default: false).
London Fix Top Color: Choose the color for the London Fix high line (default: green).
London Fix Bottom Color: Choose the color for the London Fix low line (default: red).
CL Special Sessions
Show CL Session Range (9:00 AM - 2:30 PM ET)?: Enable/disable the CL session range from the previous day (default: false).
CL Session Top Color: Choose the color for the CL session high line (default: green).
CL Session Bottom Color: Choose the color for the CL session low line (default: red).
Show EIA Window (Wed, 10-11 AM ET)?: Enable/disable the EIA window for Wednesdays (default: false).
EIA Window Top Color: Choose the color for the EIA high line (default: green).
EIA Window Bottom Color: Choose the color for the EIA low line (default: red).
How to Use
Add to Chart: Copy the script into TradingView's Pine Editor, then add it to your chart.
Adjust Inputs: Open the indicator settings by double-clicking it on the chart. Modify the inputs as described above to suit your preferences.
Verify Timezone: Ensure the "Timezone Offset" matches your desired timezone for accurate range calculations.
Optional Overrides: Use the "Previous Trading Day Override" if you need to analyze a specific past day, ensuring the format is correct (e.g., "2025-03-19").
This indicator is particularly useful for traders who rely on key price levels from previous sessions, premarket activity, or specific commodity-related time windows (GC and CL).
NYSE, Euronext, and Shanghai Stock Exchange Hours IndicatorNYSE, Euronext, and Shanghai Stock Exchange Hours Indicator
This script is designed to enhance your trading experience by visually marking the opening and closing hours of major global stock exchanges: the New York Stock Exchange (NYSE), Euronext, and Shanghai Stock Exchange. By adding vertical lines and background fills during trading sessions, it helps traders quickly identify these critical periods, potentially informing better trading decisions.
Features of This Indicator:
NYSE, Euronext, and Shanghai Stock Exchange Hours: Displays vertical lines at market open and close times for these three exchanges. You can easily switch between showing or hiding the different exchanges to customize the indicator for your needs.
Background Fill: Highlights the trading hours of these exchanges using faint background colors, making it easy to spot when markets are in session. This feature is crucial for timing trades around overlapping trading hours and volume peaks.
Customizable Visuals: Adjust the color, line style (solid, dotted, dashed), and line width to match your preferences, making the indicator both functional and visually aligned with your chart's aesthetics.
How to Use the Indicator:
Add the Indicator to Your Chart: Add the script to your chart from the TradingView script library. Once added, the indicator will automatically plot vertical lines at the opening and closing times of the NYSE, Euronext, and Shanghai Stock Exchange.
Customize Display Settings: Choose which exchanges to display by enabling or disabling the NYSE, Euronext, or Shanghai sessions in the indicator settings. This allows you to focus only on the exchanges that are relevant to your trading strategy.
Adjust Visual Properties: Customize the appearance of the vertical lines and background fill through the settings. Modify the color of each exchange, adjust the line style (solid, dotted, dashed), and control the line thickness to suit your chart preferences. The background fill can also be customized to clearly highlight active trading sessions.
Identify Key Market Hours: Use the vertical lines and background fills to identify the market open and close times. This is particularly useful for understanding how price action changes during specific trading hours or for finding high liquidity periods when multiple markets are open simultaneously.
Adapt Trading Strategies: By knowing when major stock exchanges are open, you can adapt your trading strategy to take advantage of potential price movements, increased volatility, or volume. This can help you avoid low-liquidity times and capitalize on more active trading periods.
This indicator is especially valuable for traders focusing on cross-market dynamics or those interested in understanding how different sessions influence market liquidity and price action. With this tool, you can gain insight into market conditions and adapt your trading strategies accordingly. The clean visual separation of session times helps you maintain context, whether you're trading Forex, stocks, or cryptocurrencies.
Disclaimer: This script is intended for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. Always conduct your own research and consult with a licensed financial advisor before making any trading decisions. Trading involves risk, and past performance is not indicative of future results.
Time Range### Indicator Name: **Time Range**
#### Description:
The **Time Range** indicator allows users to highlight specific time ranges on a chart for each day of the week. It uses customizable time inputs for every day (Monday to Sunday), allowing the user to define trading sessions or any time-based range. These sessions are visualized by shading the background of the chart within the defined periods.
#### Key Features:
- **Custom Sessions**: For each day of the week (Monday to Sunday), the user can define a unique time session by specifying the start time using the input fields.
- **Day-wise Session Activation**: The user can toggle the activation of sessions for each day by using checkboxes. If the session for a particular day is disabled, no background shading will appear for that day.
- **Background Highlighting**: When a session is active, the background of the chart during the specified session period will be shaded in gray with a 70% transparency. This helps the user visually identify active time ranges across multiple days.
#### Use Cases:
- **Highlighting Trading Sessions**: Traders can use this indicator to easily visualize specific market sessions such as the New York or London trading sessions.
- **Visualizing Custom Time Blocks**: Can be used to highlight any custom time blocks that are important for the trader, such as key trading hours, news release periods, or other time-based strategies.
#### Customizable Parameters:
- **Day Toggles**: Checkboxes to activate or deactivate sessions for each day of the week.
- **Time Range Inputs**: Time range inputs allow the user to set start times for each session, which are applied based on the user's selection for the day.
This indicator helps streamline chart analysis by giving clear visual markers for time-based events or trading windows.
RSI Supreme Multi-Method [MyTradingCoder]Introducing the "RSI Supreme Multi-Method" indicator, a powerful tool that combines the Relative Strength Index (RSI) with selectable manipulation methods to identify overbought and oversold conditions in the market, along with the ability to detect divergences for enhanced trading insights.
The indicator features four distinct manipulation methods for the RSI, each providing valuable insights into market conditions:
1. Standard RSI Method: The indicator uses the traditional RSI calculation to identify overbought and oversold areas.
2. Volatility Weighted RSI Method: This method applies a volatility formula to the RSI calculation, allowing for a more responsive indication of market conditions during periods of heightened volatility. Users can adjust the length of the volatility formula to fine-tune this method.
3. Smoothed RSI Method: The smoothed RSI method utilizes a smoothing algorithm to reduce noise in the RSI values, presenting a clearer representation of overbought and oversold conditions. The length of the smoothing can be adjusted to match your trading preferences.
4. Session Weighted RSI Method: With this innovative method, users can specify multipliers for different time sessions throughout the day to manipulate the base RSI. Each session can be customized with start and end times, enabling or disabling specific sessions, and specifying the multiplier for each session. This feature allows traders to adapt the RSI to different market sessions dynamically.
Additionally, the "RSI Supreme Multi-Method" indicator draws divergences on the oscillator, providing an extra layer of analysis for traders. Divergences occur when the direction of the RSI differs from the direction of the price movement, potentially signaling trend reversals.
Key Settings:
RSI Length: Adjust the length of the base RSI before applying any manipulation.
RSI Source: Determine the data source for the base RSI calculation.
Overbought Value: Set the RSI value at which overbought conditions are indicated.
Oversold Value: Set the RSI value at which oversold conditions are indicated.
RSI Type: Choose from four options: Standard, Smoothed, Volatility Manipulated, or Session Manipulated.
Volatility Manipulated Settings: Adjust the length of the volatility formula (applicable to Volatility Manipulated method).
Smoothed Settings: Adjust the length of the smoothing (applicable to Smoothed method).
Session Manipulated Settings: Customize six different time sessions with start and end times, enable or disable specific sessions, and specify multipliers for each session.
Divergence Color: Adjust the color of the drawn divergences to suit your chart's aesthetics.
Divergence Tuning: Fine-tune the sensitivity of the divergence detection for more accurate signals.
The "RSI Supreme Multi-Method" indicator is a versatile and comprehensive tool that can be used to identify overbought and oversold areas, as well as to spot potential trend reversals through divergences. However, like all technical analysis tools, it should be used in conjunction with other indicators and analysis methods to make well-informed trading decisions.
Enhance your trading insights with the "RSI Supreme Multi-Method" indicator and gain an edge in identifying critical market conditions and divergences with precision.
Breaking Bar [5ema]I reused some functions, made by (i believe that):
@LeviathanCapital: Market Sessions.
-----
How to use?
More suitable for Scalping
1. Plan A: Break out the highest bar
Find the bar with the largest range (high – low) and high volume of the previous N bars.
When the price close breaks down to highest bar, give a SELL signal.
When the price close breaks up the highest, give a BUY signal.
2. Plan B: Break out the bar opened market
The price close breaks through the open bar, give a Buy and Sell signal.
Market sessions: Tokyo, London, Sydney, New York.
-----
How to set up?
Choose the plan.
Lookback bar to find highest bar.
Right bar: What position of signal will appear from the open market bar (or high bar).
Number break: The maximum bars have price close breaked before giving signal.
Session time: The open and close of market.
-----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Open Interest Profile (OI)- By LeviathanThis script implements the concept of Open Interest Profile, which can help you analyze the activity of traders and identify the price levels where they are opening/closing their positions. This data can serve as a confluence for finding the areas of support and resistance , targets and placing stop losses. OI profiles can be viewed in the ranges of days, weeks, months, Tokyo sessions, London sessions and New York sessions.
A short introduction to Open Interest
Open Interest is a metric that measures the total amount of open derivatives contracts in a specific market at a given time. A valid contract is formed by both a buyer who opens a long position and a seller who opens a short position. This means that OI represents the total value of all open longs and all open shorts, divided by two. For example, if Open Interest is showing a value of $1B, it means that there is $1B worth of long and $1B worth of short contracts currently open/unsettled in a given market.
OI increasing = new long and short contracts are entering the market
OI decreasing = long and short contracts are exiting the market
OI unchanged = the net amount of positions remains the same (no new entries/exits or just a transfer of contracts occurring)
About this indicator
*This script is basically a modified version of my previous "Market Sessions and Volume Profile by @LeviathanCapital" indicator but this time, profiles are generated from Tradingview Open Interest data instead of volume (+ some other changes).
The usual representation of OI shows Open Interest value and its change based on time (for a particular day, time frame or each given candle). This indicator takes the data and plots it in a way where you can see the OI activity (change in OI) based on price levels. To put it simply, instead of observing WHEN (time) positions are entering/exiting the market, you can now see WHERE (price) positions are entering/exiting the market. This is the same concept as when it comes to Volume and Volume profile and therefore, similar strategies and ways of understanding the given data can be applied here. You can even combine the two to gain an edge (eg. high OI increase + Volume Profile showing dominant market selling = possible aggressive shorts taking place)
Green nodes = OI increase
Red nodes = OI decrease
A cluster of large green nodes can be used for support and resistance levels (*trapped traders theory) or targets (lots of liquidations and stop losses above/below), OI Profile gaps can present an objective for the price to fill them (liquidity gaps, imbalances, inefficiencies, etc), and more.
Indicator settings
1. Session/Lookback - Choose the range from where the OI Profile will be generated
2. OI Profile Mode - Mode 1 (shows only OI increase), Mode 2 (shows both OI increase and decrease), Mode 3 (shows OI decrease on left side and OI increase on the right side).
3. Show OI Value Area - Shows the area where most OI activity took place (useful as a range or S/R level )
4. Show Session Box - Shows the box around chosen sessions/lookback
5. Show Profile - Show/hide OI Profile
6. Show Current Session - Show/hide the ongoing session
7. Show Session Labels - Show/hide the text labels for each session
8. Resolution - The higher the value, the more refined a profile is, but fewer profiles are shown on the chart
9. OI Value Area % - Choose the percentage of VA (same as in Volume Profile's VA)
10. Smooth OI Data - Useful for assets that have very large spikes in OI over large bars, helps create better profiles
11. OI Increase - Pick the color of OI increase nodes in the profile
12. OI Decrease - Pick the color of OI decrease nodes in the profile
13. Value Area Box - Pick the color of the Value Area Box
14. Session Box Thickness - Pick the thickness of the lines surrounding the chosen sessions
Advice
The indicator calculates the profile based on candles - the more candles you can show, the better profile will be formed. This means that it's best to view most sessions on timeframes like 15min or lower. The only exception is the Monthly profile, where timeframes above 15min should be used. Just take a few minutes and switch between timeframes and sessions and you will figure out the optimal settings.
This is the first version of Open Interest Profile script so please understand that it will be improved in future updates.
Thank you for your support.
** Some profile generation elements are inspired by @LonesomeTheBlue's volume profile script
The Delta with EMAs - Version 2 | CaptJackSparrow📊 The Delta with EMAs - Version 2 16th April 25 working copy it is not finished yet!!!!!!!| CaptJackSparrow
This updated script takes your trading to the next level by merging dynamic volume delta with customizable EMAs and Fibonacci levels, all enhanced with session-based background highlights.
🧩 Cumulative Volume Delta (CVD):
Visualize market sentiment and volume flow with step-line candles, showing the tug-of-war between buyers and sellers.
Real-time tracking of volume dynamics with customizable timeframes and session-specific calculations.
📈 Exponential Moving Averages (EMAs):
EMAs (3, 5, 8, 9, 15, 24, 30, 60, 90) plotted on CVD to reveal trend direction and momentum shifts.
Customizable visibility settings for each EMA, with background coloring when the EMAs align to highlight momentum zones.
📊 Fibonacci Levels:
Overnight and New York sessions: Track the high, low, and midpoint (equilibrium) for each session to gauge market sentiment.
Weekly Fibonacci: See the high, low, and midpoint for the week, with dynamic labels updating as the week progresses.
🌍 Session Highlights:
Display colored backgrounds for New York, Overnight, Europe, Asia, and After Hours sessions, helping you identify active market periods.
Customizable start/end times for each session with visual color options.
🔔 Alerts & Visuals:
EMA crossovers and background colors help spot key momentum shifts.
Tailored alerts based on the crossover of the EMAs, helping you track potential entries or exits.
🧠 Ideal for traders who love:
Understanding market structure through volume analysis.
Using multiple session contexts for more precise trading decisions.
Anticipating breakouts or divergences with dynamic Fibonacci and EMA support.
🏴☠️ Disclaimer: This script is for educational purposes only and is not financial advice. Always trade responsibly and consider market risks.
Normalized VolumeOVERVIEW
The Normalized Volume (NV) is an attempt at visualizing volume in a format that is more understandable by placing the values on a scale of 0 to 100. 0 in this case is the lowest volume candle available on the chart, and 100 being the highest. Calling a candle “high volume” can be misleading without having something to compare to. For example, in scaling the volume this way we can clearly see that a given candle had 80% of the peak volume or 20%, and gauge the validity of price moves more accurately.
FEATURES
NV by session
Allows user to filter the volume values across 4 different sessions. This can add context to the volume output, because what it high volume during London session may not be high volume relative to New York session.
Overlay plotting
When volume boxes are turned on, this will allow you to toggle how they are plotted.
Color theme
A standard color theme will color the NV based on if the respective candle closed green or red. Selecting variables will color the NV plot based on which range the value falls within.
Session inputs
Activated with the “By session?” Input. Allows user to break the day up into 4 sessions to more accurately gauge volume relative to time of day.
Show Box (X)
Toggles on chart boxes on and off.
Show historical boxes
Will plot prior occurrences of selected volume boxes, deleting them when price fully moves through them in the opposite direction of the initial candle.
Color inputs
Allows for intensive customization in how this tool appears visually.
INTERPRETATION
There are 6 pre-defined ranges that NV can fall within.
NV <= 10
Volume is insignificant
In this range, volume should not be a confirmation in your trading strategy.
NV > 10 and <= 20
Volume is low
In this range, volume should not be a confirmation in your trading strategy.
NV > 20 and <= 40
Volume is fair
In this range, volume should not be the primary confirmation in your trading strategy.
NV > 40 and <= 60
Volume is high
In this range, volume can be the primary confirmation in your trading strategy.
NV > 60 and <= 80
Volume is very high
In this range, volume can be the primary confirmation in your trading strategy.
NV > 80
Volume is extreme
In this range, volume is likely news driven and caution should be taken. High price volatility possible.
To utilize this tool in conjunction with your current strategy, follow the range explanations above section in this section. The higher the NV value, the stronger you can feel about your directional confirmation.
If NV = 100, this means that the highest volume candle occurred up to that point on your selected timeframe. All future data points will be weighed off of this value.
LIMITATIONS
This tool will not load on tickers that do not have volume data, such as VIX.
STRATEGY
The Normalized Volume plot can be used in exactly the same way as you would normally utilize volume in your trading strategy. All we are doing is weighing the volume relative to itself.
Volume boxes can be used as targets to be filled in a similar way to commonly used “fair value gap” strategies. To utilize this strategy, I recommend selecting “Plot to Wicks” in Overlay Plotting and toggling on Show Historical Boxes.
Volume boxes can be used as areas for entry in a similar way to commonly used “order block” strategies. To utilize this strategy, I recommend selecting “Open To Close” in Overlay Plotting.
NOTES
You are able to plot an info label on right side of NV plot using the "Toggle box label" input. When a box is toggled on this label will tell you when the most recent box of that intensity occurred.
This tool is deeply visually customizable, with the ability to adjust line width for plotted boxes, all colors on both box overlays, and all colors on NV panel. Customize it to your liking!
I have a handful of additional features that I plan on adding to this tool in future updates. If there is anything you would like to see added, any bugs you identify, or any strategies you encounter with this tool, I would love to hear from you!
Huge shoutout to @joebaus for assisting in bringing this tool to life, please check out his work here on TradingView!
Vertical Lines at Specific Times### **Script Description**
This **Pine Script v6** indicator for **TradingView** plots **vertical dotted lines** at user-specified times, marking key time ranges during the day. It is designed to help traders visually track market movements within specific timeframes.
#### **Features:**
✔ **Custom Timeframes:**
- Two separate time ranges can be defined:
- **Morning Session:** (Default: 9 AM - 10 AM, New York Time)
- **Evening Session:** (Default: 9 PM - 10 PM, New York Time)
✔ **Adjustable Line Properties:**
- **Line Width:** Users can change the thickness of the vertical lines.
- **Line Colors:** Users can select different colors for morning and evening session lines.
✔ **New York Local Time Support:**
- Ensures that the vertical lines appear correctly based on **Eastern Time (ET)**.
✔ **Full-Height Vertical Lines:**
- Lines extend across the **entire chart**, from the highest high to the lowest low, for clear visibility.
- Uses **dotted line style** to avoid cluttering the chart.
#### **How It Works:**
1. The script retrieves the **current date** (year, month, day) in **New York time**.
2. Converts the **user-defined input times** into **timestamps** for accurate placement.
3. When the current time matches a specified session time, a **dotted vertical line** is drawn.
4. The script **repeats this process daily**, ensuring automatic updates.
#### **Customization Options (Inputs):**
- **Morning Start & End Time** (Default: 9 AM - 10 AM)
- **Evening Start & End Time** (Default: 9 PM - 10 PM)
- **Line Width** (Default: 2)
- **Morning Line Color** (Default: Blue)
- **Evening Line Color** (Default: Green)
#### **Use Case Scenarios:**
📈 Marking market **open & close** hours.
📊 Highlighting **key trading sessions** for day traders.
🔎 Identifying time-based **price action patterns**.
Range Chart Time Analyzer by Shresht
DISCLAIMER :
This indicator is provided for informational and educational purposes only. It is not intended as financial, investment, or trading advice. The calculations and data presented by this indicator are based on available historical information and predefined logic, which may not always reflect real-time market conditions accurately.
I do not guarantee the accuracy, reliability, or completeness of the values displayed by this indicator. Users should independently verify any data before making trading decisions. I am not responsible or liable for any losses, damages, or financial consequences resulting from the use of this indicator.
By using this indicator, you acknowledge and accept full responsibility for any actions taken based on its output. Always conduct your own research and consult with a qualified financial professional before making any investment or trading decisions.
Range-Chart Time Analyzer
Make your Range Chart Complete
Overview:
This indicator is specifically designed for Range Charts. Unlike traditional charts, Range Charts plot bars at varying time intervals. This indicator helps visualize these "time warps" by calculating the difference between the opening time of the current bar and the opening time of the previous bar, along with their averages. Additionally, it offers optional settings to display Green-only, Red-only, or Green vs. Red averages .
Time Unit:
This indicator uses seconds as the unit of measurement for time
Logic: At its core, it relies solely on the opening time of each candle. The averages are calculated based on the time difference between consecutive pair of bars. For example, with a length of 3, the average is computed as:
/ 2
Features :
~Three Averages
~Green Candle only Average , Red Candle only Average and Green vs Red Average ( Green only Average minus Red only Average )
Inputs/Settings :
~Reference Bar: When the indicator is first added to the chart, it will prompt you to select a Reference Bar. This selection can be changed later without reapplying the indicator by either specifying the timestamp in the settings or adjusting the slider that appears above the red "R" label when hovering over it. The Reference Bar allows you to calculate an average starting from a specific point in time, such as the beginning of a trading session or a significant event like a news release or an announcement.
~Session Breaker: This feature ensures that averages are not skewed by the large time gap between trading sessions, i.e., the last candle of the previous session and the first candle of the current session. It is measured in seconds, as mentioned earlier. Set it to a large number of seconds, but ensure that it is less than the actual time gap between sessions.
~ Length and Length 2: The default Length is set to 2, allowing you to see individual differences. It is important to understand the following: WHEN LENGTH IS 2, THE AVERAGE DISPLAYED BELOW A CANDLE REPRESENTS THE DIFFERENCE BETWEEN THE PREVIOUS CANDLE'S OPEN TIME AND THE CURRENT/LATEST CANDLE'S OPEN TIME. BECAUSE, IN RANGE CHARTS, THE CLOSE OF THE PREVIOUS CANDLE AND THE OPEN OF THE CURRENT CANDLE ARE THE SAME, THIS MAY RESULT IN A RED-COLORED COLUMN APPEARING BELOW A GREEN CANDLE IF THE PREVIOUS CANDLE WAS RED. HOWEVER, THIS DOES NOT AFFECT THE ACCURACY OF THE RED ONLY OR GREEN ONLY AVERAGES. THIS INDICATOR IS ALWAYS "ONE CANDLE AHEAD" IN ITS PLOTTING.
Length 2 is used to calculate a third, larger average with a custom length of your choice.
~ Length for Green Only Average and Length for Red Only Average: These inputs define the lookback period for calculating the average of a specific candle color. A crucial point to remember is that when displaying the Green vs Red Average, both these inputs must be set to the same value to ensure an accurate comparison .
DISCLAIMER :
This indicator is provided for informational and educational purposes only. It is not intended as financial, investment, or trading advice. The calculations and data presented by this indicator are based on available historical information and predefined logic, which may not always reflect real-time market conditions accurately.
I do not guarantee the accuracy, reliability, or completeness of the values displayed by this indicator. Users should independently verify any data before making trading decisions. I am not responsible or liable for any losses, damages, or financial consequences resulting from the use of this indicator.
By using this indicator, you acknowledge and accept full responsibility for any actions taken based on its output. Always conduct your own research and consult with a qualified financial professional before making any investment or trading decisions.
Time based Insights [Digit23]Description:
The NSE Trading Time Insights indicator is a powerful tool designed for traders on the National Stock Exchange (NSE) of India. It provides a comprehensive overview of different trading sessions throughout the day, offering valuable insights into market characteristics and potential trading strategies for each time period.
Key Features:
1. Dynamic Session Display: The indicator automatically detects the current trading session and highlights it in the table.
2. Customizable Table: Users can choose to display either a full table showing all sessions or focus on the current session only.
3. User-Editable Content: Time ranges, session characteristics, and trading insights are fully customizable by the user.
4. Visual Customization: Table position and color scheme can be adjusted to suit individual preferences.
5. Market Status Indicator: Clearly shows when the market is closed.
Sessions Covered:
1. Opening Bell
2. Mid-Morning
3. Lunch Hour
4. Early Afternoon
5. Power Hour
For each session, the indicator displays:
- Time Range
- Session Name
- Market Characteristics
- Trading Insights
Customization Options:
- Table Position: Choose from top-left, top-right, bottom-left, or bottom-right of the chart.
- Color Scheme: Customize colors for header, cells, highlighting, and market closed status.
- Session Details: Edit time ranges, characteristics, and trading insights for each session.
Usage:
This indicator is particularly useful for:
1. New traders learning about intraday market dynamics on the NSE.
2. Experienced traders looking for a quick reference of session characteristics.
3. Traders developing or refining time-based trading strategies.
4. Anyone seeking to understand the typical flow of the trading day on the NSE.
Note:
The indicator uses the chart's time to determine the current session. Ensure your chart is set to the correct time zone for accurate results.
Disclaimer:
This indicator is for informational purposes only. The provided insights and characteristics are general in nature and may not reflect current market conditions. Always conduct your own analysis and risk assessment before making trading decisions.
Time-based Vertical LinesThe Time-Based Vertical Line Script is a Pine Script tool designed to plot vertical lines at specific times during the trading day. The script allows users to mark important time-based events or price movement patterns by plotting fully customizable vertical lines on the chart. Each line can be configured with a specific time, color, width, and style, providing a clear visual reference for key moments throughout the trading session.
Key Features:
Custom Time Inputs:
Users can specify the hour and minute for each vertical line to mark crucial times, such as the opening or closing of a market session, or events like news releases.
The script can accommodate up to 24 vertical lines, each with individual time settings.
Customizable Appearance:
Color: Select different colors for each line to visually distinguish between important events or trading sessions.
Width: Adjust the thickness of the vertical lines to emphasize specific times.
Style: Choose from solid, dashed, or dotted lines for further customization.
No Built-in UTC Offset:
Important: This script does not automatically adjust for time zones or UTC offsets. The user must manually set the time for each vertical line based on the platform's server time or the desired trading session time.
If you are in a different time zone, you will need to calculate the time difference between your local time and the platform's time zone (which could be UTC or any other time zone).
For example, if the platform is set to UTC and you are in New York (UTC-4 during daylight savings), you will need to manually adjust your time inputs to match the time zone difference.
Static Time Configuration: The times you input for the vertical lines are fixed, meaning they won’t automatically adjust based on daylight savings or time zone shifts. You'll need to manually reconfigure the times if such changes occur.
Use Cases:
Session Marking: Mark the beginning and end of specific market sessions like New York, London, or Asian trading hours.
Event Monitoring: Plot lines to mark important economic events or news releases, ensuring you're prepared for potential market movements.
Strategy Tracking: For traders using time-sensitive strategies, such as the ICT (Inner Circle Trader) models, the script can help you highlight critical time windows for potential setups.
Important Note on Time Zone:
Since the script doesn't automatically apply a UTC offset, users need to figure out the correct time to input based on their own time zone and the platform's time zone. For example:
If you're in New York (UTC-4) and want to mark the New York session open at 9:30 AM, but your platform runs on UTC time, you would input 13:30 as the hour for the vertical line (since 9:30 AM UTC-4 corresponds to 13:30 UTC).
Example:
If your platform’s time is set to UTC, and you want to mark an event that happens at 10:00 AM in your local time zone (UTC-5), you'll need to set the vertical line to 15:00 (because 10:00 AM UTC-5 is 15:00 in UTC).
This means you'll need to calculate the offset based on your location and input the adjusted time into the script manually.
Macro Times [Blu_Ju]About ICT Macro Times:
The Inner Circle Trader (ICT) has taught that there are certain time sessions when the Interbank Price Delivery Algorithm (IPDA) is running a macro. The macro itself could be a repricing macro, a consolidation macro, etc. - this depends on where price currently is in relation to its draw. The times the macro is active do not change however, and are always the following (in New York local time):
8:50-9:10 (premarket macro)
9:50-10:10 (AM macro 1)
10:50-11:10 (AM macro 2)
11:50-12:10 (lunch macro)
13:10-13:40 (PM macro)
15:15-15:45 (final hour macro)
Because these times are fixed, traders can anticipate a setup is likely to form in or around these sessions. Setups may involve sweeps of liquidity (highs/lows), repricing to inefficiencies (e.g., fair value gaps), breaker setups, etc. (The specific setup involved is beyond the scope of this script; this script is concerned with visually marking the time sessions only.)
About this Script:
The scope of this script is to visually identify the macro active time sessions. This script draws vertical lines to mark the start and end of the macro time sessions. Optionally, the user can use a background color for the macro session with or without the vertical lines. The user can also toggle on or off any of the macro sessions, if he or she is only interested in certain ones. The user also has the freedom to change the times of the macro sessions if he or she is interested in a different time.
What makes this script unique is that it plots the macro time sessions after midnight for each day, before the real-time bar reaches the macro times. This is advantageous to the trader, as it gives the trader a visual cue that the macro times are approaching. When watching price it is easy to lose track of time, and the purpose of this script is to help the trader maintain where price is in relation to the macro time sessions in a simple, visual way.
Opening Range Gaps [TFO]This indicator displays Opening Range Gaps with an adjustable time window. Its intention is to capture the discrepancy between the close price of previous and new Real Trading Hours (RTH) sessions, i.e. yesterday's close compared to today's open. A gap will be drawn from this area with a solid line denoting its midpoint, and dashed lines denoting the upper and lower quartiles of its range. Its color is determined by whether the new session open price is above or below the previous session close.
The Gap Session parameter allows users to define the specific time window for which to capture the "gap" in price. Using U.S. index futures as an example, we can use 16:00 - 09:30 (EST) to capture the discrepancy between the previous day's close price and the current day's open price. However, this parameter is left as adjustable for users that may want to observe different markets or simply experiment with different time windows.
Show Session Delineations will draw vertical timestamps denoting the start and end times of the provided Gap Session. Track Start Price serves as a visual aid to track the initial price of the Gap Session until its end price is validated, for easy visual verification of a gap's upper and lower bounds. With both options turned off, the indicator will only display the gap boxes and lines, as shown here:
Extend Boxes will draw all gaps with an indefinite extension to the right. This can get messy with a large number of boxes, which is why we have a Keep Last parameter to limit how many sessions' drawings should be stored. Any drawings that were made beyond this number of sessions in the past will automatically be deleted.
The Timeframe Limit will dictate that the indicator as a whole will only draw objects on timeframes less than or equal to this timeframe, determined by the user. In some cases this may help users avoid resolution errors which may arise from using timeframes that are too large for a given session. For example, if a user wanted to track a Gap Session of 16:15-09:30, the Timeframe Limit should be set to 15 minutes because the close price at 16:15 cannot be observed on a 30 minute chart (or greater).
Supply And DemandThis supply and demand indicator uses sessions, volume spikes, higher timeframe price action and other volume calculations to spot areas on the chart where price will likely react. From the 1 minute and below charts to the daily and up charts, you can get excellent levels for any timeframe.
Why Use Supply And Demand?
One of the safest ways to trade is to wait for price to enter an area of interest where price should react. When we play reversals off of these areas, you increase the likelihood that your trade will be profitable because there was previous price action that told you that the current level is one where price will react. So we look for reversals at or very near these levels to enter into scalp or swing trade positions and look to exit that position when price is at or near the next major supply and demand level.
How To Use
The strategy with this indicator is to wait for price action to reach the levels shown by this supply and demand indicator and then enter trades at these levels, looking for a reversal. The thicker lines and the lines that are from the highest timeframes will be the most important levels on the chart. There is a table on the chart that will help you identify what timeframe the levels are using, with the color of that line next to it for easy identification.
The default settings are designed for scalping the 1-5 minute charts, so there are more levels turned on than necessary if you are using higher timeframes than 5 minutes. If you are using higher timeframes, make sure to turn off some of the lower timeframe levels so that it doesn’t clog up your charts. On the daily timeframe and above, many of the levels are coded to not turn on so that you don’t have to turn them off manually, but be aware that you will need to adjust your charts to suit your preferences, especially if you are on anything above the 5 minute chart.
For scalping, wait for price to react from the supply and demand levels by showing wicks, struggling to break through or getting reversal candles at those levels. Ride those moves to the next major supply and demand area before taking profit. You may want to turn on sessions and some of the lower timeframe levels as well if there are big gaps on the chart that are not suitable for scalping.
For swing trading, you will want to turn some of the lower timeframe and session levels off. Leave it to only higher timeframe OHLC lines and volume spike levels. Then you can swing moves that reverse off of the supply and demand lines.
Customization
This indicator is fully customizable. You can turn on or off any of the levels as well as increase the number specific levels so your charts suit your preferences.
All of the levels used are color coded individually so you can easily tell which type of level it is and these colors can be changed within the settings to suit your preferences. These colors are also reflected in the line identification table that show you exactly which color each type of level is.
There are toggles for the line identification table and session identification table as well if you don’t want them on your chart.
Types Of Levels Used
This indicator uses 4 different types of levels that I have found to be extremely influential on the price action. They are: volume spikes, higher timeframe price action, country based trading sessions and the VWAP. All of these levels have proven to be very important levels in my testing and are very helpful in spotting reversal areas.
Volume Spikes
This indicator is looking for the largest volume spikes and plotting the levels where that volume came in. It checks for the highest volume spikes across multiple different lengths of candles so that you get recent levels as well as the most important levels in the past. There are volume spike calculations for your current chart timeframe, 1 hour charts, 4 hour charts, daily charts, weekly charts, and monthly charts. Each of these looks for volume spikes across various lengths of candles for each timeframe and is color coded so you can identify which levels are which easily. The weekly and monthly volume spike levels are fatter than the normal volume spike levels with a line width of 2 to signify their importance.
OHLC Higher Timeframe Candles
This script plots levels of higher timeframe candles since price usually reacts very strongly to these levels. The levels it will produce are the high, low, open and close of the most recent closed candle of each higher timeframe. You can adjust these to show as many or as few previous HTF candles as you would like. The higher timeframe candles available to use are as follows: 1 hour, 4 hour, daily, 3 day, weekly, monthly, quarterly and yearly. The monthly, quarterly and yearly levels are fatter than the normal levels with a line width of 2 to signify their importance.
Trading Sessions
Trading sessions are very important levels because the market makers of different parts of the world are typically positioning themselves at these specific times. The number of each trading session line can be adjusted to show more or less levels depending on your preference. When you adjust the number, it will affect all lines that are enabled for that specific session. The levels available for each Tokyo, London & New York session are as follows: session premarket open, regular session open, session close, and session high & low. The session close boxes are fatter than the others with a line width of 2 to signify its importance.
VWAP & Previous Close
We all know that the VWAP aka Volume Weighted Average Price is a very important level on any chart, so we included this level as a default. However, we decided to take this a step further and include the previous daily session’s VWAP closing price and plot those levels. These are extremely important levels that you should pay very close attention to, along with the other levels mentioned above. The market makers are hedging their positions based on these levels and you will typically see very strong reactions to these levels, especially in the first hour when the markets open up. The VWAP and previous session VWAP close levels can be turned on or off and the default for the number of previous VWAP session close prices is set to 5. These levels are fatter lines because they are extremely important, so make sure to pay attention to them!
Line & Session Identification Tables
There are two tables to help you identify what is on the chart. The first is a large table in the top right that shows you the color and type of each line that is turned on so you can easily identify which lines are which. The second table is a small one at the bottom center of the chart that tells you which trading session we are currently in and what color that session is on the chart. These tables can be turned on or off and you can also change where they are on the chart by adjusting them at the bottom of the settings page.
Markets
This Supply And Demand indicator can be used on any market with price data such as stocks, crypto, forex and futures.
Timeframes
This Supply And Demand indicator can be used on any timeframe, from the second charts all the way up to the yearly charts.
DD IFVG [Pro+] (Dodgy)Introduction
DD IFVG° is an automated charting tool built to track inversion logic after displacement events—specifically when Fair Value Gaps (FVGs) are closed through and act as an inversion gap. The tool adheres to logic taught by DodgyDD and inspired by Inner Circle Trader (ICT) methodology, offering a clean visual interface to support traders studying price behaviour after liquidity sweeps, FVG closures, and delivery to targets.
This indicator does not draw zones or suggest direction. It operates entirely on confirmed price events and produces logic-bound visuals designed for traders who already understand IFVG-based reasoning and seek visual consistency across sessions and Timeframes.
Key Terms and Definitions
Swing High / Swing Low: A swing high is a local price peak with lower highs on either side. A swing low is a local trough with higher lows on either side. These are used to detect where liquidity may rest and are required for confirming the initial raid condition in the IFVG model.
Liquidity Raid: This occurs when price breaks a prior swing high or low, effectively “sweeping” a level where orders may be clustered. A raid is a required precursor to inversion logic in this model. The tool will not evaluate a potential Fair Value Gap or DD Inversion unless a swing high or low has been taken first.
Fair Value Gap (FVG): A Fair Value Gap is a price imbalance that occurs when a strong move leaves a gap between candles—specifically, when the high of one candle and the low of a later candle do not overlap. FVGs often emerge during displacement and are commonly studied as inefficiencies within a price leg.
DD Inversion: A DD inversion happens when price fully closes through an existing Fair Value Gap after raiding liquidity, suggesting the original imbalance rebalanced, and looks to reverse its original role. For example, when a bearish FVG is closed above after raiding a swing low, it may behave with a change of orderflow (bullish inversion). The tool recognizes IFVGs as “inverted” after a full-body candle closes through the gap post raid.
Displacement: A strong, directional price move—typically with momentum—that leaves a Fair Value Gap behind. Displacement is important in inversion logic, as it creates the context and confidence in comparing and contrasting FVGs and DD Inversions for obvious flips in market behaviour.
DD Line: Once inversion occurs, the tool draws a single horizontal array on the candle's close. It marks the model’s activation level—not a prediction level or a support/resistance zone. It serves as a reference for when model logic is sequentially active.
Opposing Swing: The swing high or low opposite the one that was swept during the initial raid. This becomes the model’s first target for mechanical delivery and is automatically drawn once the DD line is triggered. When price reaches this swing, the model has reached its objective and could offer opportunities for further continuation to additional liquidity pools.
Invalidation: A DD Inversion is considered invalid in one of two scenarios, which the user can toggle individually: a body print back above/below the inversion in bearish/bullish conditions, or trading above/below the most recent swing high/low after the liquidity raid in bearish/bullish conditions. The DD line will continue extending when traded to until the setup is invalidated, or when the Opposing Swing is reached.
Consequent Encroachment (CE): The midpoint (50%) of the FVG or IFVG. This line can be optionally displayed for users who use midpoint reference logic. It is not required by the model’s internal logic but may assist with discretionary interpretation.
Description
At its core, DD IFVG° follows a structured three-step logic sequence: a FVG is created, liquidity is taken, and the Fair Value Gap (FVG) inside of the leg of the raid is closed through, signally a potential orderflow shift. Once inversion is confirmed, a DD line is plotted at the close of the candle that caused the inversion, making it the structural anchor for the model.
The tool does not account for partial fills or candle wicks for FVGs or IFVGs. Only full-body closures through a qualifying FVG are recognized. When this occurs, a bullish or bearish inversion is validated and the model becomes active. From there, the opposing swing (the unswept high or low from the displacement leg) is automatically drawn as the target for the IFVG model.
The model remains active until either the opposing swing is tagged (completion) or Invalidation Condition is triggered (close through DD IFVG, or price violating the liquidity raid swing). Upon invalidation, the DD line turns gray, signalling that the structure is no longer valid for ongoing tracking.
Key Features
The Bias allows traders to define whether to track bullish inversions (closing above bearish FVGs), bearish inversions (closing below bullish FVGs), or neutral for both. This allows isolate directional focus or display all structures on the same chart mechanically.
The Liquidity Timeframe defines the Timeframe for swing highs and lows that are identified for the required liquidity raid. The Chart mode allows analysts to use the active chart Timeframe. Auto enables a custom Timeframe Alignment, explained inside of the setting tooltip. Custom allows for specific frame alignment, which is helpful when syncing with specific higher-Timeframe structure. Session allows the user to use session highs and lows for the liquidity raid. Observe the difference in the DD IFVG's frequency based on different Liquidity Timeframe configurations:
Chart:
Automatic:
Custom (1H):
Session:
The FVG Filter Timeframe requires the DD setup to trade into a FVG before qualifying the raid filter. For instance, setting this to 4H ensures that only setups that form within a 4-hour FVG. This gives analysts an additional filter to qualify the start of the mechanical model.
Session Filter enables traders to define up to four specific Time blocks when the model is permitted to trigger. The Macros Only toggle filters setups further by limiting activation to the first and last 10 minutes of each hour—a filter inspired for intraday traders and scalpers.
The Invalidation Condition determines when a DD inversion is considered not longer valid. Close will maintain the inversion as active until price prints a body past the DD IFVG. Swing will maintain the inversion as active until the most recent swing from the liquidity raid is traded through; in this case a warning will appear once price prints a candle body past the DD IFVG.
Model Style includes customizable controls for the DD line, the opposing swing marker, and invalidated states. Label appearance, line styles, and extension behaviour are fully user-controlled. Traders can also enable the Consequent Encroachment (CE) line, which marks the 50% midpoint of the FVG and IFVG.
An Info Table is available to display current model state, including user bias, active Timeframes, asset, and Time filter. Its position is fully customizable and can be moved to match chart preferences.
How Traders Can Use the Indicator Effectively
DD IFVG° is not meant to identify trade signals, entries, or exits. It is best used as a visual tracker and confluence for structure-based delivery, particularly for those following DodgyDD-style IFVG logic. The tool excels as a companion for:
Journaling and reviewing IFVG-based setups across Timeframes and sessions
Studying structural completion or invalidation behaviour
Tracking delayed deliveries and retracement-based logic
Traders using the tool should be familiar with FVG formation, inversion criteria, and the importance of opposing swing resolution.
Usage Guidance
Add DD IFVG° to a TradingView chart. This is a fractal script and can be applied across any Timeframe or asset pairing depending on your session model and preferences.
Use the DD line to track inversion structure, monitor when inversions are created and negated, and reference the opposing swing to determine whether structural delivery has completed.
Use the DD IFVG° in combination with your own discretion and narrative to assess when the model has flipped, held, or broken.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of any Toodegrees product. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
The Blueprint v.1The Blueprint v.1 is a comprehensive ICT-style session overlay tool designed for precision-based intraday traders. This indicator automatically highlights key institutional trading sessions with dynamic boxes and labels, while tracking the midnight open with customizable horizontal and vertical lines.
🔹 Features:
Auto-detection and marking of major FX sessions: Asia, London, New York, London Close, and Afternoon
Dynamic Midnight Open horizontal line that extends across the full trading day (until 5PM NY on Fridays)
Vertical line to mark Midnight Open candle
Customizable colors, widths, and styles for all midnight lines and session boxes
Smart alignment: session boxes begin at the center of the opening candle and dynamically expand
Supports time zone offset input for traders outside NY time
🔧 Perfect for ICT concepts like Killzones, Judas Swings, and Midnight Open anchors.
VWAP Adaptive (RelVol-Adjusted)This indicator provides an Adaptive VWAP that adjusts volume weighting using RelVol (Relative Volume at Time), offering a more accurate and context-aware price reference during sessions with irregular volume behavior.
Classic VWAP calculates the average price weighted by raw volume, without considering the time of day. This becomes a serious limitation during major market events such as CPI releases, FOMC announcements, NFP, or large-cap earnings. These events often trigger massive volume spikes within one or two candles. As a result, the classic VWAP gets pulled toward those extreme prices and becomes permanently skewed for the rest of the session.
In such conditions, classic VWAP becomes unreliable. It no longer reflects fair value and often misleads traders relying on it for dynamic support, resistance, or reversion signals.
This Adaptive VWAP improves on that by using RelVol, which compares the current volume to the average volume seen at the same time over previous sessions. It gives more weight to price when volume is typical for that moment, and adjusts the influence when volume is statistically abnormal. This reduces the impact of isolated volume spikes and stabilizes the VWAP path, even in high-volatility environments.
For example, on SPY 1-minute or 5-minute charts during a CPI release, a massive spike in volume and price can occur within a single candle. Classic VWAP will immediately anchor itself to that spike. Adaptive VWAP using RelVol softens that effect and maintains a more realistic trajectory.
Key features:
- Adaptive VWAP weighted by time-adjusted Relative Volume (RelVol)
- Designed to maintain VWAP reliability during macroeconomic events
- Flexible anchoring: Session, Week, Month, Quarter, Earnings, etc.
- Optional display of Classic VWAP for comparison
- Up to 3 customizable deviation bands (standard deviation or percentage)
This tool is ideal for intraday traders who need a VWAP that remains usable and unbiased, even in volatile sessions. It adds robustness to VWAP-based strategies by incorporating time-sensitive volume normalization.
Enigma Sniper 369The "Enigma Sniper 369" is a custom-built Pine Script indicator designed for TradingView, tailored specifically for forex traders seeking high-probability entries during high-volatility market sessions.
Unlike generic trend-following or scalping tools, this indicator uniquely combines session-based "kill zones" (London and US sessions), momentum-based candle analysis, and an optional EMA trend filter to pinpoint liquidity grabs and reversal opportunities.
Its originality lies in its focus on liquidity hunting—identifying levels where stop losses are likely clustered (around swing highs/lows and wick midpoints)—and providing visual entry zones that are dynamically removed once price breaches them, reducing clutter and focusing on actionable signals.
The name "369" reflects the structured approach of three key components (session timing, candle logic, and trend filter) working in harmony to snipe precise entries.
What It Does
"Enigma Sniper 369" identifies potential buy and sell opportunities by drawing two types of horizontal lines on the chart during user-defined London and US
session kill zones:
Solid Lines: Mark the swing low (for buys) or swing high (for sells) of a trigger candle, indicating a potential entry point where stop losses might be clustered.
Dotted Lines: Mark the 50% level of the candle’s wick (lower wick for buys, upper wick for sells), serving as a secondary confirmation zone for entries or tighter stop-loss placement.
These lines are plotted only when specific candle conditions are met within the kill zones, and they are automatically deleted once the price crosses them, signaling that the liquidity at that level has likely been grabbed. The indicator also includes an optional EMA filter to ensure trades align with the broader trend, reducing false signals in choppy markets.
How It Works
The indicator’s logic is built on a multi-layered approach:
Kill Zone Timing: Trades are only considered during user-defined London and US session hours (e.g., London from 02:00 to 12:00 UTC, as seen in the screenshots). These sessions are known for high volatility and liquidity, making them ideal for capturing institutional moves.
Candle-Based Momentum Logic:
Buy Signal: A candle must close above its midpoint (indicating bullish momentum) and have a lower low than the previous candle (suggesting a potential liquidity grab below the previous swing low). This is expressed as close > (high + low) / 2 and low < low .
Sell Signal: A candle must close below its midpoint (bearish momentum) and have a higher high than the previous candle (indicating a potential liquidity grab above the previous swing high), expressed as close < (high + low) / 2 and high > high .
These conditions ensure the indicator targets candles that break recent structure to hunt stop losses while showing directional momentum.
Optional EMA Filter: A 50-period EMA (customizable) can be enabled to filter signals based on trend direction.
Buy signals are only generated if the EMA is trending upward (ema_value > ema_value ), and sell signals require a downward EMA trend (ema_value < ema_value ). This reduces noise by aligning entries with the broader market trend.
Liquidity Levels and Deletion Logic:
For a buy signal, a solid green line is drawn at the candle’s low, and a dotted green line at the 50% level of the lower wick (from the candle body’s bottom to the low).
For a sell signal, a solid red line is drawn at the candle’s high, and a dotted red line at the 50% level of the upper wick (from the body’s top to the high).
These lines extend to the right until the price crosses them, at which point they are deleted, indicating the liquidity at that level has been taken (e.g., stop losses triggered).
Alerts: The indicator includes alert conditions for buy and sell signals, notifying traders when a new setup is identified.
Underlying Concepts
The indicator is grounded in the concept of liquidity hunting, a strategy often employed by institutional traders. Markets frequently move to levels where stop losses are clustered—typically just beyond swing highs or lows—before reversing in the opposite direction. The "Enigma Sniper 369" targets these moves by identifying candles that break structure (e.g., a lower low or higher high) during high-volatility sessions, suggesting a potential sweep of stop losses. The 50% wick level acts as a secondary confirmation, as this midpoint often represents a zone where tighter stop losses are placed by retail traders. The optional EMA filter adds a trend-following element, ensuring entries are taken in the direction of the broader market momentum, which is particularly useful on lower timeframes like the 15-minute chart shown in the screenshots.
How to Use It
Here’s a step-by-step guide based on the provided usage example on the GBP/USD 15-minute chart:
Setup the Indicator: Add "Enigma Sniper 369" to your TradingView chart. Adjust the London and US session hours to match your timezone (e.g., London from 02:00 to 12:00 UTC, US from 13:00 to 22:00 UTC). Customize the EMA period (default 50) and line styles/colors if desired.
Identify Kill Zones: The indicator highlights the London session in light green and the US session in light purple, as seen in the screenshots. Focus on these periods for signals, as they are the most volatile and likely to produce liquidity grabs.
Wait for a Signal: Look for solid and dotted lines to appear during the kill zones:
Buy Setup: A solid green line at the swing low and a dotted green line at the 50% lower wick level indicate a potential buy. This suggests the market may have grabbed liquidity below the swing low and is now poised to move higher.
Sell Setup: A solid red line at the swing high and a dotted red line at the 50% upper wick level indicate a potential sell, suggesting liquidity was taken above the swing high.
Place Your Trade:
For a buy, set a buy limit order at the dotted green line (50% wick level), as this is a more conservative entry point. Place your stop loss just below the solid green line (swing low) to cover the full swing. For example, in the screenshots, the market retraces to the dotted line at 1.32980 after a liquidity grab below the swing low, triggering a buy limit order.
For a sell, set a sell limit order at the dotted red line, with a stop loss just above the solid red line.
Monitor Price Action: Once the price crosses a line, it is deleted, indicating the liquidity at that level has been taken. In the screenshots, after the buy limit is triggered, the market moves higher, confirming the setup. The caption notes, “The market returns and tags us in long with a buy limit,” highlighting this retracement strategy.
Additional Context: Use the indicator to identify liquidity levels that may be targeted later. For example, the screenshot notes, “If a new session is about to open I will wait for the grab liquidity to go long,” showing how the indicator can be used to anticipate future moves at session opens (e.g., London open at 1.32980).
Risk Management: Always set a stop loss below the swing low (for buys) or above the swing high (for sells) to protect against adverse moves. The 50% wick level helps tighten entries, improving the risk-reward ratio.
Practical Example
On the GBP/USD 15-minute chart, during the London session (02:00 UTC), the indicator identifies a buy setup with a solid green line at 1.32901 (swing low) and a dotted green line at 1.32980 (50% wick level). The market initially dips below the swing low, grabbing liquidity, then retraces to the dotted line, triggering a buy limit order. The price subsequently rises to 1.33404, yielding a profitable trade. The user notes, “The logic is in the last candle it provides new level to go long,” emphasizing the indicator’s ability to identify fresh levels after a liquidity sweep.
Customization Tips
Adjust the EMA period to suit your timeframe (e.g., a shorter period like 20 for faster signals on lower timeframes).
Modify the session hours to align with your broker’s timezone or specific market conditions.
Use the alert feature to get notified of new setups without constantly monitoring the chart.
Why It’s Useful for Traders
The "Enigma Sniper 369" stands out by combining session timing, momentum-based candle analysis, and liquidity hunting into a single tool. It provides clear, actionable levels for entries and stop losses, removes invalid signals dynamically, and aligns trades with high-probability market conditions. Whether you’re a scalper looking for quick moves during London open or a swing trader targeting session-based reversals, this indicator offers a structured, data-driven approach to trading.