SmartVPSGTitle: Identifying Volume Spikes, Price Movements and Gap Ups: A TradingView Script
Introduction:
In the world of trading, identifying volume spikes and price movements can provide valuable insights into market trends and potential trading opportunities. In this article, we'll explore a TradingView script that helps traders visualize volume spikes, price up moves with volume spikes, and gap-up days on their charts.
Detecting Price Up Moves:
The script starts by calculating price up moves. It compares the current day's closing price with the previous day's closing price and checks if it has increased by 3% or more. This helps traders spot significant upward price movements.
Detecting Volume Spurts:
Next, the script focuses on detecting volume spikes, which are often associated with increased market activity and potential trading opportunities. It compares the current day's volume with the highest volume of the previous nine sessions. If the current volume exceeds all the volumes of the previous nine sessions, it is considered a volume spurt.
Example:
Let's consider a hypothetical scenario where we have the following volume data for a stock:
Day 1: 100,000
Day 2: 80,000
Day 3: 120,000
Day 4: 150,000
Day 5: 200,000
Day 6: 90,000
Day 7: 110,000
Day 8: 130,000
Day 9: 140,000
Day 10: 250,000 (current day)
To determine if there is a volume spurt on Day 10, the script compares the current day's volume (250,000) with the highest volume of the previous nine sessions. In this case, the highest volume among the previous nine sessions is 200,000 (on Day 5). Since the current day's volume (250,000) exceeds the highest volume of the previous nine sessions (200,000), it is considered a volume spurt.
Identifying Gap-Up Days:
Gap-up days occur when the market opens significantly higher than the previous day's close. To identify these days, the script compares the current day's low price with the previous day's high price. If the low price is greater than the previous day's high, it is marked as a gap-up day.
Visualizing the Findings:
To provide a clear visual representation of the identified patterns, the script uses different shapes and colors. First, it plots small red dots above the candles whenever a volume spurt is detected. These dots help traders quickly identify periods of increased volume activity.
For price up moves with volume spikes, the script utilizes blue triangular shapes below the candles. This allows traders to pinpoint instances where both price and volume are showing positive signs, indicating potential bullish movements.
Additionally, the script incorporates green candles to represent gap-up days. These candles help traders recognize days when the market opens with a significant upward gap, suggesting a potential shift in market sentiment.
Conclusion:
The TradingView script discussed in this article provides traders with a visual representation of volume spikes , price up moves with volume spikes , and gap-up days . By incorporating these visual cues into their analysis, traders can gain valuable insights into market trends and potential trading opportunities.
Remember, this script should be used for educational and informational purposes only and does not serve as financial advice or recommendations. Traders are encouraged to customize and modify the script according to their specific trading strategies and risk tolerance.
Share this script with other traders on TradingView to enhance their chart analysis and trading decisions.
PS: This TradingView script is designed to work specifically on the daily timeframe (daily candles). It calculates and identifies volume spurts based on the volume data of the daily timeframe. Since it is designed for the daily timeframe, it may not produce accurate results or work as intended on other timeframes.
Komut dosyalarını "session" için ara
[DisDev] Tactical Analysis Part I: High-Volume Recovery🟩 Tactical Analysis Part I: High-Volume Recovery . Introducing the Tactical Analysis Indicator Suite , a comprehensive three-indicator system designed to provide traders with insights into high-volume candles, Induction Recovery Zones™, market sessions, and more. This versatile tool combines elements from PVSRA, Market Maker Method by Steve Mauro, and Tino from Traders Reality's Hybrid System, to enhance your trading performance.
⚡ OVERVIEW ⚡
Key Features 🔑
Induction Candles
Induction Recovery Zones™
Session - High & Low
Tactical Windows
EMA’s
Induction Table
Benefits 💸
Gain a better understanding of market dynamics through high-volume candle analysis.
Identify potential areas of liquidity and price recovery with Induction Recovery Zones™.
Keep track of major market sessions and their impact on price action.
Enhance your trading strategies with additional insights from Tactical Windows and EMA analysis.
Monitor the performance of top cryptocurrencies at a glance with the Induction Table.
⚙️ CONFIGURATION & SETTINGS ⚙️
Inputs 🔧
Customize the settings for Induction Candles, Induction Recovery Zones™, Session lines, Tactical Windows, and the Induction Table.
Adjust the EMA periods to match your preferred trading style.
Alerts 🔔
Set up alerts for Induction Candles and Induction Recovery Zone events.
Configure alerts for session openings and Tactical Windows to stay informed of market activity.
💡 USAGE & STRATEGY 💡
Trading Strategies 📈
Incorporate high-volume candle analysis into your existing trading strategies to better understand market conditions.
Use Induction Recovery Zones™ to identify potential price reversal areas and plan entries or exits accordingly.
Monitor market sessions, Tactical Windows, and the 4hr - 50 EMA to make informed decisions about trade timing.
Timeframes and Symbols ⌚
Recommended for use on timeframes of 30 minutes or lower for accurate session line representation.
Designed for all cryptocurrency markets. Forex and other major markets are currently under development.
🤖 DETAILS & METHODOLOGY 🤖
Algorithm and Calculation 🛡️
The algorithm identifies Induction Candles based on two conditions, taking into consideration volume and candle range.
Induction Recovery Zones™ are calculated based on the Induction Candles and their potential for price recovery.
📚 ADDITONAL RESOURCES 📚
Tutorials and Guides 📖
Our website provides comprehensive tutorials and guides to help users get the most out of this three-indicator suite.
Chart Examples 📊
London Tactical Window impulse break of the high, reversal
Induction Table - Monitor up to 12 other symbol’s Induction activity
EMA Crosses, Tactical Window, Future Sessions, Static EMA’s, and Recovery Zones
TA Part 1 and Part 2 integration
🚀 CONCLUSION 🚀
The Tactical Analysis Pt 1 - High Volume Recovery indicator offers a comprehensive and powerful toolset for traders, combining high-volume candle analysis, Induction Recovery Zones™, market session tracking, Tactical Windows, and EMA analysis. This unique combination of features is designed to help you make more informed trading decisions and enhance your overall trading performance. We encourage you to try out this indicator suite and experience the benefits it can bring to your trading journey.
The complete Tactical Analysis Indicator Suite
⚠️ DISCLAIMER ⚠️
This indicator is provided as a tool for traders and should not be used as the sole basis for making trading decisions. Always conduct your own research and consider your risk tolerance before entering any trades.
Ext/Non EMA SignalsThis allows for one EMA to reference the regular session well the other references the extended session. A green arrow will appear above a bear candle closing above both the EMAs and a Red arrow on bull candles closing below both.
This saves me time from jumping back and forth from extended sessions and regular session.
Let me know if you have any questions, I just recently started using Pine Editor to build indicators I was not able to find in the library.
Koalafied Initial Balance Levels and ExtensionsShows the Initial Balance and range extensions for either the Daily session or individual market sessions (Asia, London, New York).
Initial Balance is the range represented by the first two segments (typically half-hour segments) of a trading session. Range extensions are a function of the longer-term trader participation, pushing price outside of the beginning 'fair' range established by the local traders. With the introduction of 24/7 markets the initial balance is often now regarded as less important than in the past, however re-calculating IB for multiple trading sessions may reinstitute insight to Market Direction and Confidence
CandelaCharts - Turtle Soup Model📝 Overview
The ICT Turtle Soup Model indicator is a precision-engineered tool designed to identify high-probability reversal setups based on ICT’s renowned Turtle Soup strategy.
The Turtle Soup Model is a classic reversal setup that exploits false breakouts beyond previous swing highs or lows. It targets areas where retail traders are trapped into breakout trades, only for the price to reverse sharply in the opposite direction.
Price briefly breaks a previous high (for short setups) or low (for long setups), triggering stop orders and pulling in breakout traders. Once that liquidity is taken, smart money reverses price back inside the range, creating a high-probability fade setup.
📦 Features
Liquidity Levels: Projects forward-looking liquidity levels after a Turtle Soup model is formed, highlighting potential price targets. These projected zones act as magnet levels—areas where price is likely to reach based on the liquidity draw narrative. This allows traders to manage exits and partials with more precision.
Market Structure Shift (MSS): Confirms reversal strength by detecting a bullish or bearish MSS after a sweep. Acts as a secondary confirmation to filter out weak setups.
Custom TF Pairing: Choose your own combination of entry timeframe and context timeframe. For example, trade 5m setups inside a 1h HTF bias — perfect for aligning microstructure with macro intent.
HTF & LTF PD Arrays: Displays HTF PD Arrays (e.g., Fair Value Gaps, Inversion Fair Value Gaps) to serve as confluence zones.
History: Review and backtest past Turtle Soup setups directly on the chart. Toggle historical models on/off to study model behavior across different market conditions.
Killzone Filter: Limit signals to specific trading sessions or time blocks (e.g., New York AM, London, Asia, etc). Avoid signals in low-liquidity or choppy environments.
Standard Deviation: Calculates and projects four levels of standard deviation from the point of model confirmation. These zones help identify overextended moves, mean-reversion opportunities, and confluence with liquidity or PD arrays.
Dashboard: The dashboard displays the active model type, remaining time of the HTF candle, current bias, asset name, and date—providing real-time context and signal clarity at a glance.
⚙️ Settings
Core
Status: Filter models based on status
Bias: Controls what model type will be displayed, bullish or bearish
Fractal: Controls the timeframe pairing that will be used
High Probability Models: Detects and plots only the high-probability models
Sweeps
Sweep: Shows the sweep that forms a model
I-sweep: Controls the visibility of invalidated sweeps
D-purge: Plots the double purge sweeps
S-area: Highlights the sweep area
Liquidity
Liquidity: Displays the liquidity levels that belong to the model
MSS
MSS: Displays the Market Structure Shift for a model
History
History: Controls the number of past models displayed on the chart
Filters
Asia: Filter models based on Asia Killzone hours
London: Filter models based on London Killzone hours
NY AM: Filter models based on NY AM Killzone hours
NY Launch: Filter models based on NY Launch Killzone hours
NY PM: Filter models based on NY PM Killzone hours
Custom: Filter models based on user Custom hours
HTF
Candles: Controls the number of HTF candles that will be visible on the chart
Candles T: Displays the model’s third timeframe candle, which serves as a confirmation of directional bias
NY Open: Display True Day Open line
Offset: Controls the distance of HTF from the current chart
Space: Controls the space between HTF candles
Size: Controls the size of HTF candles
PD Array: Displays ICT PD Arrays
CE Line: Style the equilibrium line of PD Array
Border: Style the border of the PD Array
LTF
H/L Line: Displays on the LTF chart the High and Low of each HTF candle
O/C Line: Displays on the LTF chart the Open and Close of each HTF candle
PD Array: Displays ICT PD Arrays
CE Line: Style the equilibrium line of PD Array
Border: Style the border of the PD Array
Standard Deviation
StDev: Controls standard deviation of available levels
Labels: Controls the size of standard deviation levels
Lines: Controls the line widths and color of standard deviation levels
Dashboard
Panel: Display information about the current model
💡 Framework
The Turtle Soup Model is designed to detect and interpret false breakout patterns by analyzing key price action components, each playing a vital role in identifying liquidity traps and generating actionable reversal signals.
The model incorporates the following timeframe pairing:
15s - 5m - 15m
1m - 5m - 1H
2m - 15m - 2H
3m - 30m - 3H
5m - 60m - 4H
15m - 1H - 8H
30m - 3H - 12H
1H - 4H - 1D
4H - 1D - 1W
1D - 1W - 1M
1W - 1M - 6M
1M - 6M - 12M
Below are the key components that make up the model:
Sweep
D-purge
MSS
Liquidity
Standard Deviation
HTF & LTF PD Arrays
The Turtle Soup Model operates through a defined lifecycle that identifies its current state and determines the validity of a trade opportunity.
The model's lifecycle includes the following statuses:
Formation (grey)
Invalidation (red)
Pre-Invalidation (purple)
Success (green)
By incorporating the phases of Formation, Invalidation, and Success, traders can effectively manage risk, optimize position handling, and capitalize on the high-probability opportunities presented by the Turtle Soup Model.
⚡️ Showcase
Introducing the Turtle Soup Model — a powerful trading tool engineered to detect high-probability false breakout reversals. This indicator helps you pinpoint liquidity sweeps, confirm market structure shifts, and identify precise entry and exit points, enabling more confident, informed, and timely trading decisions.
LTF PD Array
LTF PD Arrays are essential for model formation—a valid Turtle Soup setup will only trigger if a qualifying LTF PD Array is present near the sweep zone.
HTF PD Array
HTF PD Arrays provide macro-level context and are used to validate the direction and strength of the potential reversal.
Timeframe Alignment
In the Turtle Soup trading model, timeframe alignment is an essential structural component. The model relies on multi-timeframe context to identify high-probability reversal setups based on failed breakouts.
High-Probability Model
A high-probability setup forms when key elements align: a Sweep, Market Structure Shift (MSS), LTF and HTF PD Arrays.
Killzone Filters
Filter Turtle Soup Models based on key market sessions: Asia, London, New York AM, New York Launch, and New York PM . This allows you to focus on high-liquidity periods where smart money activity is most likely to occur, improving both the quality and timing of your trade setups.
Unlock your trading edge with the Turtle Soup Model — your go-to tool for sharper insights, smarter decisions, and more confident execution in the markets.
🚨 Alerts
This script offers alert options for all model types. The alerts need to be set up manually from TradingView.
Bearish Model
A bearish model alert is triggered when a model forms, signaling a high sweep, MS,S and LTF PD Array.
Bullish Model
A bullish model alert is triggered when a model forms, signaling a low sweep, MSS and LTF PD Array.
⚠️ Disclaimer
These tools are exclusively available on the TradingView platform.
Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.
By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.
We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.
By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.
Closing Range BreakoutIndicator Description:
This tool tracks the closing price range of a trading session (like New York or London market hours) and highlights potential breakout opportunities. It shows:
Extended Range Lines: Drawn after the session closes, marking the high/low of the session's final hour.
Breakout Arrows: Appear when prices close above/below the range for a user-defined number of consecutive bars.
Session Background: Gray highlight during the selected market's closing hour.
It helps traders spot momentum shifts by focusing on price behavior relative to the closing range, with customizable alerts for confirmed breakouts.
How to Use:
Select Session: Choose your market's closing hour (e.g., New York/London).
Set Confirmation: Adjust how many closes are needed to confirm a breakout.
Watch Visuals:
Gray background = Active closing session
Blue range = Extended high/low from last session
Arrows = First breakout signal
Trade Signals: Price closing outside the range triggers alerts (labels update automatically).
Focus on breakouts with momentum, using the range as support/resistance.
Multi TimelinesMulti Timeline Indicator
The Customizable Multi-Line Indicator is a versatile tool designed to help traders mark specific dates and times directly on their charts with visually distinct vertical lines. This indicator provides three fully customizable lines, each equipped with its own unique settings for visibility, color, style, and width. It is ideal for traders who want to highlight key events, track important price levels, or organize their charts around time-based triggers.
Features:
Three Customizable Lines:
Each line can be toggled on or off independently, allowing for a clutter-free chart.
Fully configurable settings for each line:
Date and Time: Specify the exact timestamp for the line placement.
Color: Choose any color to distinguish between the lines.
Line Width: Adjustable line thickness for better visibility.
Line Style: Options include solid, dashed, and dotted lines.
User-Friendly Inputs:
Intuitive input settings enable quick customization without needing to modify the script.
Simple checkboxes to control line visibility.
Clean and Efficient Design:
No labels or annotations clutter the chart.
The indicator ensures all lines are drawn precisely at the specified timestamps.
Lightweight and Optimized:
Designed to run efficiently without slowing down your chart, even with multiple lines.
Use Cases:
Mark Key Events: Highlight earnings dates, news events, or market open/close times.
Track Important Price Levels: Align lines with specific price action triggers for enhanced analysis.
Organize Trading Sessions: Define the start and end of trading sessions with visual markers.
Reminders for Strategy Execution: Use lines as visual reminders for executing trading strategies at predefined times.
How to Use:
Add the indicator to your chart.
Use the input panel to configure each line:
Toggle visibility with the checkbox.
Set the desired timestamp for each line.
Customize the color, style, and width.
Adjust your chart view to align with your analysis.
Compliance with TradingView Guidelines:
This indicator:
Does not include proprietary calculations or intellectual property from other indicators.
Avoids misleading titles or claims of guaranteed performance.
Does not use or reference any external data feeds or signals.
Focuses solely on providing charting tools for visual organization and analysis.
Disclaimer:
This tool is intended for informational purposes only and should not be considered financial advice. Always perform your due diligence and consult a financial advisor before making trading decisions.
First 15-Min Candle Detector [With Breakout Alerts]Indicator: First 15-Minute Candle Detector
Purpose
This indicator helps traders by identifying and marking the high, low, and mid-point of the first 15-minute candle of the market session. It also provides visual aids and alerts for price breakouts above or below these levels, making it ideal for intraday trading strategies.
This script is suitable for traders focusing on early session momentum or reversal strategies.
Key Features
Market Start Customization: Configure the market start time (hour and minute) to align with your trading session or exchange timezone.
Visual Aids:
Horizontal lines to mark the High , Low , and Mid-point of the first 15-minute candle.
Background highlighting to identify the first 15-minute candle.
Configurable colors and line widths for clear visuals.
Breakout Alerts:
Real-time alerts for breakouts above the high or below the low of the first 15-minute candle.
Customizable alert messages.
Alerts configured using alertcondition .
Dynamic Adjustments:
Adapts dynamically to timeframes of 15 minutes or lower.
Resets and recalculates at the start of each new session.
Inputs and Configurations
Market Settings:
Market Start Hour: Default is 9.
Market Start Minute: Default is 30.
Visual Settings:
Enable/disable background highlighting.
Set colors for the background, high line, low line, and mid-line.
Adjust line width (1 to 5).
Toggle the visibility of the mid-line.
Alert Settings:
Enable breakout alerts.
Set custom alert messages for high and low breakouts.
How It Works
// First 15-Minute Candle Detection
The indicator monitors the first 15-minute candle after the market opens based on the configured start time. It records the high , low , and calculates the mid-point of this candle.
// Visual Markings
Horizontal lines are drawn at the high, low, and mid-point of the first 15-minute candle, extending to the right for the rest of the session.
// Breakout Detection
The indicator checks for price breakouts above the high or below the low of the first 15-minute candle and triggers alerts if enabled.
// Dynamic Reset
The indicator resets values and deletes previous session lines at the start of each new session.
Conditions and Alerts
Breakout Conditions:
High Breakout: The closing price exceeds the high of the first 15-minute candle.
Low Breakout: The closing price falls below the low of the first 15-minute candle.
Alert Triggers: Configurable alerts notify you of breakouts in real-time.
Use Cases
Intraday Traders: Ideal for early-session momentum or reversal strategies.
Breakout Traders: Helps identify entry points when price breaks key levels.
Visual Clarity: Simplifies tracking important session levels.
Limitations
Works only on 15-minute or lower timeframes.
Requires accurate market start time configuration.
Gold IBH/IBL with IBM, Overnight Levels, OVM, and ONVPOCThe Initial Balance (IB) indicator for gold trading is a valuable tool for identifying key price levels and potential trade setups. Here's an overview of how it works:
Initial Balance Calculation
The Initial Balance for gold is calculated from 8:20 AM to 9:20 AM EST, coinciding with the COMEX open. This one-hour period establishes crucial reference points for the trading day.
Key Levels
The indicator displays several important price levels:
IB High: The highest price reached during the Initial Balance period
IB Low: The lowest price reached during the Initial Balance period
IB Midpoint: The average of the IB High and IB Low
These levels often serve as significant support and resistance areas, with many traders placing stop-losses around them.
Overnight Levels
In addition to the IB levels, the indicator shows overnight price action:
ONH: Overnight High
ONL: Overnight Low
ONM: Overnight Midpoint
Overnight VWAP: Volume Weighted Average Price from the overnight session
These overnight levels have a high probability of being tested during the COMEX trading session, making them valuable reference points for traders.
Trading Applications
Traders can use the IB and overnight levels for various purposes:
Setting profit targets
Identifying potential trade entry points
Managing risk by placing stop-losses at key levels
Gauging overall market sentiment and volatility
The levels established during both the Initial Balance and overnight sessions are likely to be touched during the COMEX trading session. This insight allows traders to make more informed decisions and enhances their trading strategies.
If you have more questions about the trading strategy, please DM me, and I can explain further. I also have probabilities of all these levels being broken during the COMEX trading hours, which gives us confidence to hold our trades to targets.
Understanding and utilizing these levels can provide traders with a competitive edge in gold trading, helping them make more informed decisions based on early market dynamics and overnight price action.
STRX - Macro TimesSTRX - Macro Times
The STRX - Macro Times is an advanced indicator designed to highlight key moments in financial markets based on specific macroeconomic time frames for Forex, Indices, and Gold. With this tool, you can optimize your trading decisions by monitoring periods of increased volatility and activity in the markets, leveraging the most strategic time windows to operate.
Key Features:
Highlighting Forex, Indices, and Gold Sessions:
The STRX - Macro Times automatically colors the candles on the chart during crucial time intervals for Forex, Indices, and Gold markets, helping you easily spot periods of heightened economic and financial activity. This allows you to focus on times when the market is most liquid and volatile, enhancing your trading performance.
Pre-set Macro Times:
The indicator is programmed to highlight three different key time windows for each market:
Forex: Major sessions from 8:30 to 10:00, 12:00 to 13:00, and 15:00 to 15:30.
Indices: Key times from 9:00 to 10:00, 15:45 to 16:15, and 19:00 to 20:00.
Gold: Strategic moments from 8:30 to 10:00, 14:30 to 16:00, and 20:00 to 21:30.
Total Customization:
You can enable or disable the coloring for different markets (Forex, Indices, Gold) based on your trading preferences. This allows you to focus only on the markets you follow, simplifying chart analysis and optimizing your response time to market changes.
Clear and Intuitive Visual Coloring:
The chart bars are colored in white, creating a clear visual distinction to recognize the most relevant time windows. This makes it easy to identify macroeconomic periods without wasting time manually calculating opportunity windows.
With STRX - Macro Times, you’ll have a strategic advantage in trading by focusing on periods of high volatility and improving the efficiency of your operations in the most active markets. This indicator is perfect for those looking to enhance their strategy and operate in sync with the key moments of the global market.
OVN H/L OVN H/L (Overnight High/Low)
Description:
The "OVN H/L" indicator is designed to plot the highest and lowest price levels within a specified time interval on your chart. This tool is especially useful for traders who focus on key support and resistance levels established during specific trading sessions, such as overnight or pre-market hours.
Features:
Custom Time Interval: Input your desired start and end times in HH
format (UTC+0). Handles intervals that span midnight seamlessly. Session Count Control: Choose the number of past sessions to display on the chart. Helps keep your chart organized by limiting the number of lines. Line Extension Options: Option to extend lines indefinitely to the right. If disabled, lines can be set to end or be interrupted upon price crossing. Upper and Lower Line Customization: Color Selection: Customize the color of the upper (high) and lower (low) lines separately. Line Width: Adjust the thickness of the lines from 1 to 5. Line Style: Choose between solid, dashed, or dotted lines for both upper and lower lines. Dynamic Line Management: Automatically updates high and low levels during the specified interval. Draws lines after the interval ends, reflecting the captured high and low. Price Interaction Detection: If line extension is disabled, lines will adjust if the price crosses them, providing visual cues.
Usage:
Overnight Trading: Identify key high and low levels from overnight sessions that may influence the upcoming trading day. Intraday Analysis: Customize the time interval to focus on specific market sessions (e.g., London or New York sessions). Support and Resistance Levels: Use the plotted lines as potential support and resistance zones for trading strategies.
How to Use:
Apply the Indicator: Add the "OVN H/L" indicator to your chart from the TradingView indicator library. Configure Time Settings: In the indicator settings, set the start and end times for the interval you're interested in. Adjust Appearance: Customize the colors, widths, and styles of the upper and lower lines to your preference. Set Session Display: Determine how many previous sessions' lines you wish to display. Line Extension Preference: Decide whether you want the lines to extend indefinitely or to end/interact based on price movement. Analyze Price Action: Use the high and low lines to identify key levels for potential entries, exits, or stop-loss placements.
Notes:
Time Zones: The script uses UTC+0 for time calculations. Ensure you adjust the input times accordingly if your chart is in a different timezone. Compatibility: Best used on intraday timeframes where sessions and intervals are relevant. Limitations: The indicator may not display correctly on historical data beyond the number of sessions specified.
Conclusion:
The "OVN H/L" indicator is a versatile tool that enhances your chart analysis by highlighting significant price levels within custom time intervals. By visualizing these critical zones, traders can make more informed decisions and refine their trading strategies.
NITS - NIFTY INTRADAY TRADING SYSTEMNSE:NIFTY
Hello Traders..!
This is another indicator / system to make use for NIFTY & BANK NIFTY Intra day trading.
This is my Gift to the traders for this New Year 2024. Use this to your Edge and make some profits. All explained below.
NIFTY INTRA-DAY TRADING SYSTEM
Explanation of Arrays:
-------------------------------
## FIRST 15 MIN SESSION BOX ##
From 09:15 to 09:30 where the initial orders will get collected and Auction takes place.
DO NOT engage into any trade in this session. Let the Box develop.
## INITIAL HIGH / LOW FORMATION SESSION ##
This session is from 09:15 to 10:30.
We can observe the Initial High or Low being formed for the day, that is VALID TILL 11:30.
## NO-TRADE ZONE / ACC. AREA / DAY’S H OR L CONFIRMATION SESSION ##
From 11:30 to 12:30
90% of time this is the session where the whole Day’s High or Low will get confirmed. Sometimes the market may violate this Session!
DO NOT engage into any fresh trade in this area.
Once the box is developed, you can see the Mid price line will be formed which is valid for the afternoon Trading session till 15:30.
## SIGNAL LINE, MIDDLE PRICE LINE, SESSION HIGH LOW LINES ##
Middle Price Line – the dotted line (Red colour) is Mid Price Line for the Initial session box. This acts as an important price level for the whole day.
Signal Line – the Solid line that will form after 10:30. Consider this price line as very important price line to which the price reacts with a good momentum, either break through or rejection and valid for the whole trading day.
Session High Low price line – high and low prices of the Initial session box which acts as a good Support / Resistance / Target / Stop loss. Even previous session’s price lines can also be used for the current day too.
## TREND BOX ##
Multi-Time frame trend box will show the real-time trend on different time frames. This box will be very helpful in trade decision. Please note that at least THREE HIGHER TIME FRAME TRENDS must be in the same direction to support your trade criteria for the better confirmation.
## VOLUME IMBALANCE ##
These orange coloured boxes are very tiny imbalances between prices that were formed during price movements. Algorithm will try to fill these imbalances on its way of filling orders. These price imbalances can be used for our edge while taking trades.
SOME TIPS:
---------------------------
1) Avoid Break out trades
2) Always trade the pull backs
3) Keep your Stops above / below the KEY LEVELS
4) Always follow the Higher Time frame trend while taking a trade.
If you trade in 1m TF consider 5m trend
If you trade in 5m TF consider 1H or 15m trend
5) Consider the higher TF closure of prices only, to validate the break out.
6) Trade what you see, market can do anything it wants.
7) Do not worry about losses. It happens and that is the business.
8) End your trading week in green no matter how big or small the profit is. Consistency is the key this business.
9) Keep in mind that the Market does two things only, either it will FILL THE GAP or GRAB THE LIQUIDITY. Just plan your trades accordingly. Liquidity levels like Previous Session / Day / Week / highs and lows.
10) The Market is a continuous business. It does not end for the specific day. It will not end its Buy or Sell model unless it completes its cycle, hence TRADE WHAT YOU SEE and not WHAT YOU THINK!
11) Unless the key swing high / low is broken and closed, DO NOT consider that move as a reversal. Consider that as a Liquidity grab. And it will continue in its previous trend.
HOW TO TAKE TRADE USING NITS: (one of the Techniques)
--------------------------------------------------------------------------------
As explained above, Do not engage in trade for the first 15 minutes.
Once the 15m box forms then look for divergence between NIFTY and BANK NIFTY.
Both Indices are supposed to trade in the same direction but at key levels and times, these instruments will make DIVERGENCE with its Highs and Lows.
Ex: one Index will make LOW AND LOWER LOW and at the same time other will make LOW AND HIGHER LOW. This deflection can be used for taking Buy Trades.
Ex:
If the Divergence forms at the Bottom then the market will move upwards.
If the Divergence forms at the Top then the market makes down move.
To confirm this divergence, the price will move away from that deflected Lows or Highs.
-----------------------------------
POINTS TO OBSERVE
------------------------------------
Mostly the first 15 min range that forms will either be very large candles or normal candles with rejection wicks or Shaved bar (open and H/L same)
Whenever you observe a very large wide range bars within the 15min range, consider the Day’s high and Low is already formed. And the market will be hovering inside that range only. Very useful for taking 50 points scalping here and there by using the signal line and middle line or Acc box mid line. In this scenario you have three important info of the day, OPEN HIGH & LOW established already, The market will only look for its close.
Ex:
If the market trades with normal candles, then consider your trades in two parts.
From 09:30 to 11:30 and from 12:30 to 15:30 as 11:30 to 12:30 will confirm the current day’s High / Low hence do not take a fresh position within that time.
1) Initial session trade – If the price does not break and close the 15 min range high/low, consider it is going to reverse and continue its trend till 10:30
Ex:
2) Mid session Trade – mostly the market accumulates positions and collects orders between 11:30 to 12:30 for the afternoon session. Once the session box is developed, the middle price line will form. Wait for the market breakout and close off this session’s high or low in Higher TF. The market will continue in the direction of breakout from this session and continue till 15:30. Hence wait for pull back till its mid price / high or low price lines of this Acc box and take trade in the initial breakout direction keeping stop above or below the session’s high or low.
Ex:
## Fixed Range Volume Profile as a Tool ##
-----------------
Note:
-----------------
Kindly do not ask for any codes or script details. The one technique what I explained (Divergence method) is more than enough for making a consistent earnings. Please study and back test / forward test for yourself for atleast 2 weeks time. Every traders aspect and mindset is different in seeing the market movements. Please design your own methodology and CONSIDER this as a BUSINESS..!
JUST.....
Believe the System
Be patient
Be Disciplined &
Be a Successful Earner..!!
LET YOUR ENDS MEET
(Hope I explained well)
ICT Silver Bullet with signals
The "ICT Silver Bullet with signals" indicator (inspired from the lectures of "The Inner Circle Trader" (ICT)),
goes a step further than the ICT Silver Bullet publication, which I made for LuxAlgo :
• uses HTF candles
• instant drawing of Support & Resistance (S/R) lines when price retraces into FVG
• NWOG - NDOG S/R lines
• signals
The Silver Bullet (SB) window which is a specific 1-hour interval where a Fair Value Gap (FVG) pattern can be formed.
When price goes back to the FVG, without breaking it, Support & Resistance lines will be drawn immediately.
There are 3 different Silver Bullet windows (New York local time):
The London Open Silver Bullet (03 AM — 04 AM ~ 03:00 — 04:00)
The AM Session Silver Bullet (10 AM — 11 AM ~ 10:00 — 11:00)
The PM Session Silver Bullet (02 PM — 03 PM ~ 14:00 — 15:00)
🔶 USAGE
This technique can visualise potential support/resistance lines, which can be used as targets.
The script contains 2 main components:
• forming of a Fair Value Gap (FVG)
• drawing support/resistance (S/R) lines
🔹 Forming of FVG
When HTF candles forms an FVG, the FVG will be drawn at the end (close) of the last HTF candle.
To make it easier to visualise the 2 HTF candles that form the FVG, you can enable
• SHOW -> HTF candles
During the SB session, when a FVG is broken, the FVG will be removed, together with its S/R lines.
The same goes if price did not retrace into FVG at the last bar of the SB session
Only exception is when "Remove broken FVG's" is disabled.
In this case a FVG can be broken, as long as price bounces back before the end of the SB session, it will remain to be visible:
🔹 Drawing support/resistance lines
S/R target lines are drawn immediately when price retraces into the FVG.
They will remain updated until they are broken (target hit)
Potential S/R lines are formed by:
• previous swings (swing settings (left-right)
• New Week Opening Gap (NWOG): close on Friday - weekly open
• New Day Opening Gap (NWOG): close previous day - current daily open
Only non-broken lines are included.
Broken =
• minimum of open and close below potential S/R line
• maximum of open and close above potential S/R line
NDOG lines are coloured fuchsia (as in the ICT lectures), NWOG are coloured white (darkmode) or black (lightmode ~ ICT lectures)
Swing line colour can be set as desired.
Here S/R includes NDOG lines:
The same situation, with "Extend Target-lines to their source" enabled:
Here with NWOG lines:
This publication contains a "Minimum Trade Framework (mTFW)", which represents the best-case expected price delivery, this is not your actual trade entry - exit range.
• 40 ticks for index futures or indices
• 15 pips for Forex pairs
The minimum distance (if applicable) can be shown by enabling "Show" - "Minimum Trade Framework" -> blue arrow from close to mTFW
Potential S/R lines needs to be higher (bullish) or lower (bearish) than mTFW.
🔶 SETTINGS
(check USAGE for deeper insights and explanation)
🔹 Only last x bars: when enabled, the script will do most of the calculations at these last x candles, potentially this can speeds calculations.
🔹 Swing settings (left-right): Sets the length, which will set the lookback period/sensitivity of the ZigZag patterns (which directs the trend and points for S/R lines)
🔹 FVG
HTF (minutes): 1-15 minutes.
• When the chart TF is equal of higher, calculations are based on current TF.
• Chart TF > 15 minutes will give the warning: "Please use a timeframe <= 15 minutes".
Remove broken FVG's: when enabled the script will remove FVG (+ associated S/R lines) immediately when FVG is broken at opposite direction.
FVG's still will be automatically removed at the end of the SB session, when there is no retrace, together with associated S/R lines,...
~ trend: Only include FVG in the same direction as the current trend
Note -> when set 'right' (swing setting) rather high ( > 3), he trend change will be delayed as well (default 'right' max 5)
Extend: extend FVG to max right side of SB session
🔹 Targets – support/resistance
Extend Target-lines to their source: extend lines to their origin
Colours (Swing S/R lines)
🔹 Show
SB session: show lines and labels of SB session (+ colour)
• Labels can be disabled separately in the 'Style' section, colour is set at the 'Inputs' section
Trend : Show trend (ZigZag, coloured ~ trend)
HTF candles: Show the 2 HTF candles that form the FVG
Minimum Trade Framework: blue arrow (if applicable)
🔶 ALERTS
There are 4 signals provided (bullish/bearish):
FVG Formed
FVG Retrace
Target reached
FVG cancelled
You can choose between dynamic alerts - only 1 alert needs to be set for all signals, or you can set specific alerts as desired.
💜 PURPLE BARS 😈
• Since TradingView has chosen to give away our precious Purple coloured Wizard Badge, bars are coloured purple 😊😉
Time Matrix [Pro+] (DRxICT)Description:
The Time Matrix Pro is an automated Time-based trading tool adaptable to futures, forex, and bond markets. This indicator is inspired by concepts taught by the Inner Circle Trader (ICT) and ICT_Concepts.
ICT’s repertoire encompasses the concepts of liquidity and couples them with Time. The Time Matrix helps the analyst to locate key Time-based price levels to determine bias and recurring price patterns within the market. Analysts can use levels like Previous Day’s Highs and Lows, Weekly Highs and Lows, Session Openings, and Macros to base and qualify Premium and Discount arrays in intraday analysis.
Session Boxes are Time opportunities of the day that identify the market mechanics of consolidation, expansion, retracement, and reversals.
ICT_Concepts's Session Boxes are described as the Premarket, AM Session, PM session:
Premarket is defined as 9:30pm to 1:30am
AM session is defined as 4:00am to 11:00am
PM Session is defined as 11:30am to 2:15pm
Understanding how Time is crucial for identifying intraday profiling, the analyst is able to toggle price levels in conjunction with Time-based macros. These help analyze key market turning points that can correspond to unique market mechanics.
Beyond the Time-based liquidity levels, and the Time macros, there are also predefined Time clusters.
These clusters highlight a significant lower Timeframe candle which was found to hold significant value by ICT_Concepts. Very much alike Time-based liquidity levels, analysts will notice how price reacts to support or negate existing orderflow, trend and direction.
Key Features:
Customizable Extension: the analyst is given the choice to toggle the ending Time Offset to either Noon NY Time or at the end of the trading day.
Time-Based Toggles: choose individual Time-based prices to highlight on your chart.
Time Table: depending on the Timeframe, the Time Table will display the number of bars and the Time elapsed since the Time-based liquidity levels were established.
Other Features
Customize Session Boxes Color
Customize Time-Based Liquidity Line Style
Customize Time-Based Liquidity Level Color
Customize Time-Based Liquidity Line Width
Customize Table Size and Location
Usage Guidance:
Add Time Matrix to your Tradingview chart.
Customize your desired settings of Time-Based Liquidity Levels to align with your personal preference.
Observe where the Time-Based Liquidity Levels as well as Previous Day, Week, and Macros play a role in intraday narrative.
Analysts can choose to utilize Time-Based Liquidity Levels as automated framework to organize models and layouts.
These tools are available ONLY on the TradingView platform.
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 the Toodegrees Premium Suite subscription. 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.
[co.n.g.] ADR 5/10/14/20Average Daily Range (ADR) over 5/10/14/20 Days
What it is
One of the oldest measurements of price volatility that is being used in technical and statistical trading is the range of a specific period of past days to estimate probability of chances, risk and price movements, as seen f.e. in
Molodovsky, N. (1967). Building a Stock Market Measure—A Case Study. Financial Analysts Journal, 23:3, 43-46 , DOI: 10.2469/faj.v23.n3.43.
Problem
After having tried all available community scripts I've encountered various indifferences, especially since Pine v5.
First, the anchor period changed, when I've switched between regular and extended trading hours.
- This meant, that the anchor switched between the official open of the day and the first bar of a new day beginnig at 00:00 UTC (or the corresponding timezone).
Second, thus in some scripts also changed the calculated average range, including or excluding pre market and after hours.
And therefor third, in many cases the distance between open and ADR high/low was indiffferent, putting one closer and the other further away.
Why is that?
After having tried seven different modes of calulation - from ta. to array, it appeared that especially since Pine v5 the calulation is lagging when calling
the request.security function and is thus rendering the calculations indifferent.
Especially the open is lagging and plotting delayed, about 15 minutes on a M1-chart or about 45 minutes on a M15 chart, which made id difficult to spot open (test) drives
- as f.e. described in Dalton, J. F., Jones, E. T., & Dalton, R. B. (1990). Mind over markets: power trading with market generated information. 1st edition . Probus. -
and estimating extremely strong or weak open moves.
While switching between regular and extended intraday charts, the open was either calculated on the open as request of "D" (open of the regular session)
and "1440" (which means full intraday since 00:00 UTC or the corresponding timezone), leading to undesired anchoring.
After having tried about five different anchoring periods and comparing the adr to @TradingView 's stock screener, there was no proper calulation or plotting possible,
if not partially hardcoded (being the least desired, elegant or flexible method).
Visualizing the problem
As described in the picture:
@sherwind 's ADR is plotting entirely wrong! I couldn't even figure out (even the source is available) whre the problem is rooted.
@treypeng 's ADR is anchored properly, but unfortunately the calculation is wrong.
Originality
As evident in the attached picture - and you are able to compare this to @TradingView 's stock screener - in this script as well the ADR is calculated PROPERLY
as well as the anchoring is set PROPERLY within the first tick of the session.
As matter of fact, you don't have to examine different timeframes, charts or sessions simoultaneously to see the correct levels and
you're able to ease observations and focus on your trading.
Innovation
There is no innovative approach, as described above, simply because this statistical approach is around since the 1960's.
Considering coding, neither is, but it is properly calculated and anchored.
What this script does
Anchoring at the first tick of the new New York session
Plotting the actual - not the past nor future - average day range (gray lines in picture)
Plotting the actual - not the past nor future - 75% average day range ( silver lines in picture)
Vizualising ADR breakouts by colouring the backround green (long breakout) or read (short breakout)
Selection methods
Keeping it simple stupid, as of now:
Abiliy to chose between 5/10/14/20 days
Additional
Theory says, that we are staying within the ADR of 75% every day.
_
Alas, there are some exceptions.
If price is breaking out of the ADR, we are likely to move in this direction for the rest of the day.
If price has broken out of the ADR on the previous day, ist highly unlikely to expect another ADR breakout day,
which doesn't mean that there might not appear a strong or weak second day.
Notes
Designed for intraday stock trading of the U.S. market.
Best (and easiest) chances are to be spotted in special conditions.
//Cheers,
//Constantine
Earnings Price Move Cheat Sheet [KT]Hello!
This script looks to distinguish replicable sequences and correlations between earnings releases and price. The indicator calculates the average 1-session to 20-session performance of an asset prior to an earnings release, and the 1-session to 20-session performance of an asset subsequent an earnings release.
You can select the number of sessions the script calculates for asset performance.
In the image above the script calculates the average 1-session performance following an earnings surprise, earnings miss, and in general. 20 sessions is the maximum value!
Also measured is the average performance of an asset before and after earnings, in addition to the average performance following an earnings surprise "green earnings" and the average performance following an earnings miss "red earnings".
I included VaR and CVaR calculations - using the historical method - in the script. For those of you unfamiliar with the metrics, both look to quantify the risk of financial loss for a portfolio, or even a particular position.
The script also calculates the 1st - 5th percentile for earnings losses. A more comprehensive explanation of the metrics is stored in tooltips in the user input tab.
The script also calculates the highest high and lowest low following an earnings release, up to 20 sessions, and calculates the difference between the two.
Keep in mind that a company might not have a significant number of earnings misses, or may have only traded publicly for a short while. If true, the resulting earnings/price calculations *will* be misleading - there is an insufficient sample size; no correlations are ascertainable.
I will be working on this script more, so let me know if there is anything you would like included!
Automatic half priceJapanese below / 日本語説明は下記
This indicator automatically draws half price lines based on the logic below.
Today’s half price: Half price between today’s high and low
Yesterday’s half price: Half price between yesterday’s high and low
Half price as hidden support and resistance
As a characteristic of market, price sometimes tests previous day’s half price first when previous day ends with bullish candle, then tries new high.
Example1: USDJPY Daily chart: New high after testing previous day’s half price
July9 ends with bullish candle. July10 candle tests previous day’s half first, then records new high.
Example2: USDJPY 1H chart: New high after testing today’s half price
Another example is that today’s half is tested by NY session.
In this case, Asian & European session is an uptrend. When the NY session starts, it tests the half of Asian & Euro sessions’ gain then records new high.
———————————————————————
押し目戻り目として意識される半値を自動描画するインジケーターです。
当日半値: 当日日足ローソク足の高値と安値の半値
先日半値: 先日日足ローソク足の高値と安値の半値
<参考>
押し目戻り目として意識される半値
相場の動きの特徴として、例えば前日の日足ローソク足が陽線で引けた場合、前日の陽線の半値付近を一度試してから上昇するという動きがよく見られます。
例1 ドル円日足: 前日の半値を試してから上昇
7/9は陽線で引けています。翌日7/10のローソク足は前日の半値付近を試した後、高値更新をしています。
例2 ドル円 1時間足: 当日の半値を試してから上昇
8/10のアジア時間と欧州時間は上昇トレンドです。NY時間がスタートした時、アジア時間と欧州時間の上昇の半値付近を試した後、高値更新をしています。
Cumulative Intraday Volume with Long/Short LabelsThis indicator calculates a running total of volume for each trading day, then shows on the price chart when that total crosses levels you choose. Every day at 6:00 PM Eastern Time, the total goes back to zero so it always reflects only the current day’s activity. From that moment on, each time a new candle appears the indicator looks at whether the candle closed higher than it opened or lower. If it closed higher, the candle’s volume is added to the running total; if it closed lower, the same volume amount is subtracted. As a result, the total becomes positive when buyers have dominated so far today and negative when sellers have dominated.
Because futures markets close at 6 PM ET, the running total resets exactly then, mirroring the way most intraday traders think in terms of a single session. Throughout the day, you will see this running total move up or down according to whether more volume is happening on green or red candles. Once the total goes above a number you specify (for example, one hundred thousand contracts), the indicator will place a small “Long” label at that candle on the main price chart to let you know buying pressure has reached that level. Similarly, once the total goes below a negative number you choose (for example, minus one hundred thousand), a “Short” label will appear at that candle to signal that selling pressure has reached your chosen threshold. You can set these threshold numbers to whatever makes sense for your trading style or the market you follow.
Because raw volume alone never turns negative, this design uses candle direction as a sign. Green candles (where the close is higher than the open) add volume, and red candles (where the close is lower than the open) subtract volume. Summing those signed volume values tells you in a single number whether buying or selling has been stronger so far today. That number resets every evening, so it does not carry over any buying or selling from previous sessions.
Once you have this indicator on your chart, you simply watch the “summed volume” line as it moves throughout the day. If it climbs past your long threshold, you know buyers are firmly in control and a long entry might make sense. If it falls past your short threshold, you know sellers are firmly in control and a short entry might make sense. In quieter markets or times of low volume, you might use a smaller threshold so that even modest buying or selling pressure will trigger a label. During very active periods, a larger threshold will prevent too many signals when volume spikes frequently.
This approach is straightforward but can be surprisingly powerful. It does not rely on complex formulas or hidden statistical measures. Instead, it simply adds and subtracts daily volume based on candle color, then alerts you when that total reaches levels you care about. Over several years of historical testing, this formula has shown an ability to highlight moments when intraday sentiment shifts decisively from buyers to sellers or vice versa. Because the indicator resets every day at 6 PM, it always reflects only today’s sentiment and remains easy to interpret without carrying over past data. You can use it on any intraday timeframe, but it works especially well on five-minute or fifteen-minute charts for futures contracts.
If you want a clear gauge of whether buyers or sellers are dominating in real time, and you prefer a rule-based method rather than a complex model, this indicator gives you exactly that. It shows net buying or selling pressure at a glance, resets each session like most intraday traders do, and marks the moments when that pressure crosses the levels you decide are important. By combining a daily reset with signed volume, you get a single number that tells you precisely what the crowd is doing at any given moment, without any of the guesswork or hidden calculations that more complicated indicators often carry.
Congestion Indicator - Oscillator by saurabh maggoCore Functionality
Market State Detection:
Congestion: Identifies periods of low volatility (price consolidation) where the price range is tight relative to the Average True Range (ATR). Visualized with a blue background in the oscillator panel.
Breakout Up: Detects upward breakouts from congestion zones, requiring conditions like price movement above the congestion high, volume spikes, and volatility increases. Visualized with a green background.
Breakdown (Breakout Down): Detects downward breakouts from congestion zones, with similar conditions as Breakout Up but for downward movement. Visualized with a red background.
Post-Congestion: Identifies the period after a congestion zone ends but before a breakout occurs (if extend_until_breakout is disabled). Visualized with a yellow background.
Pullback: Detects pullbacks after breakouts or breakdowns, useful for identifying potential entry points (if use_pullback_entry is enabled). Visualized with a purple background.
Visualization:
Oscillator Panel: Displays the market state in a separate panel below the chart.
Background Color: The panel’s background color changes to reflect the current state (e.g., blue for Congestion, green for Breakout Up).
Histogram Plot: Optionally plots the state value as a histogram (e.g., 1 for Congestion, 2 for Breakout Up), toggleable via TradingView’s "Style" tab ("Market State"). The histogram provides a numerical representation of the state:
Congestion: 1.0
Breakout Up: 2.0
Breakdown: -2.0
Post-Congestion: 0.5
Pullback: 1.5
None: 0.0
Alerts:
Generates alerts for state changes (Congestion, Breakout Up, Breakdown).
Supports enhanced alerts (if use_enhanced_alerts is enabled), including additional context like breakout level, volatility state, and trend direction.
Includes an alert cooldown period (if use_alert_cooldown is enabled) to prevent excessive alerts.
Key Features and Filters
Customizable Parameters:
Lookback Period: Adjusts the number of bars used to calculate the price range for congestion detection.
Range Threshold: Sets the maximum price range (as a percentage of ATR) for a congestion zone.
Dynamic Threshold: Optionally uses a percentile-based dynamic threshold for more adaptive congestion detection.
Minimum Congestion Bars: Requires a minimum number of bars for a congestion zone to be confirmed.
Volume Filter: Optionally requires low volume during congestion zones.
Volume Breakout Filter: Requires a volume spike for breakouts/breakdowns.
Volatility Breakout Filter: Requires an ATR spike for breakouts/breakdowns.
Minimum Price Movement: Optionally requires a minimum price movement for breakouts/breakdowns.
RSI Filter: Optionally requires RSI to be in a neutral range during congestion.
Max Price Range Filter: Limits the absolute price range for congestion zones.
Trend Filter: Optionally filters breakouts/breakdowns based on a higher timeframe trend (using a moving average).
Momentum Filter: Optionally requires MACD momentum confirmation for breakouts/breakdowns.
Pullback Detection: Optionally detects pullbacks after breakouts/breakdowns for entry opportunities.
Timeframe Adjustment: Adjusts parameters based on the chart’s timeframe.
Auto-Settings: Automatically adjusts parameters based on market volatility.
Show Current Day Only: Optionally limits the indicator’s display to the current trading day (NSE session).
Presets: Offers predefined configurations (Default, Aggressive, Conservative) for quick setup.
Session Support: Operates within the NSE session (9:15 AM–3:30 PM IST) by default, ensuring relevance for Indian markets.
Visual Output
The oscillator panel uses color-coded backgrounds to indicate the market state:
Blue: Congestion
Green: Breakout Up
Red: Breakdown
Yellow: Post-Congestion
Purple: Pullback
Transparent (None): No state detected
The histogram plot (optional) provides a numerical representation of the state, which can be toggled on/off in TradingView’s settings.
Alerts
Alerts are triggered for significant state changes (Congestion, Breakout Up, Breakdown).
Enhanced alerts include additional details like price levels, volatility, and trend direction, making them more informative for traders.
Step 2: Craft the Description for Publishing
Based on the analysis, here’s a concise, user-friendly description you can use when publishing the indicator on TradingView:
Congestion Indicator - Oscillator by Saurabh Maggo
This indicator identifies market congestion zones, breakouts, breakdowns, post-congestion periods, and pullbacks in a separate oscillator panel below your chart. Designed for traders, it helps you spot key market states and potential trading opportunities with clear visual cues and customizable alerts.
Key Features:
Market States: Detects Congestion (Blue), Breakout Up (Green), Breakdown (Red), Post-Congestion (Yellow), and Pullbacks (Purple).
Visual Display: Shows market states using background colors in an oscillator panel, with an optional histogram plot (toggleable in settings).
Alerts: Generates alerts for state changes, with enhanced options to include price levels, volatility, and trend context.
Customizable Filters: Includes volume, volatility, RSI, trend, momentum, and price movement filters to refine signals.
Adaptable Settings: Supports dynamic thresholds, timeframe adjustments, auto-settings based on volatility, and predefined presets (Default, Aggressive, Conservative).
NSE Session: Optimized for Indian markets with a default session time of 9:15 AM–3:30 PM IST.
How can Grok help?
Multi-Timeframe Horizontal LinesMulti-Timeframe Horizontal Lines - User Guide
This indicator draws horizontal support/resistance lines based on opening prices at specific New York times, regardless of your chart's timezone.
How to Use:
Enter up to 4 custom times in NY timezone using HH:MM format (e.g., "09:30", "14:00", "20:00")
Lines automatically capture the opening price when each specified time hits
Toggle the After-Hours Day Open line (6 PM NY start) on/off as needed
Key Features:
Evening Times (16:00-23:59): Lines extend overnight until next day 3:59 PM NY
Morning/Day Times (00:00-15:59): Lines extend until same day 3:59 PM NY
Timezone Independent: Always uses NY time regardless of chart timezone
Clean Visualization: Lines appear with breaks during inactive periods
Perfect For:
Marking key session opens (Asian, London, NY)
Tracking overnight levels and gaps
Setting reference levels that persist across trading sessions
Simply input your desired NY times and let the indicator automatically manage when lines appear and disappear based on market sessions.
Auto Price Action SR Levels by Chaitu50cAuto Price Action SR Levels by Chaitu50c:
This is a session-based support and resistance indicator that identifies price levels based on actual candle activity, without relying on traditional indicators. It works by clustering open, high, low, or close values of past candles that frequently occur within a defined price range, making it a reliable price action-based tool for intraday traders.
The indicator calculates these levels at the start of each new trading session (based on NSE 09:15 time) and keeps them static throughout the session. This avoids unnecessary noise or flickering due to live price action, giving traders consistent zones to work with during the day.
FEATURES:
* Automatic detection of support and resistance levels based on candle price hits
* Cluster formation using high/low or open/close logic
* Static levels: calculated once per session and remain unchanged until the next session
* Adjustable settings for:
* Cluster range (in points)
* Number of lookback candles
* Line width
* Line color (default: black)
* Minimalist design for a clean chart experience
HOW IT WORKS:
The indicator looks back over a defined number of candles at the beginning of each session. It clusters prices that fall within a specified range (e.g., 250 points) and counts how many times they appear as open, high, low, or close values. If a price level is hit at least once (default), it is considered significant and a line is plotted.
Because clustering is done once per session, the lines do not shift during the session. This allows traders to base decisions on fixed, stable levels formed by prior market structure.
RECOMMENDED FOR:
* Intraday traders
* Price action traders
* Traders who prefer clean charts with logical SR zones
* Nifty, BankNifty, and stock-based day trading
Created by Chaitu50c for traders who rely on logic and structure, not signals.
Disclaimer:
This indicator is intended for educational and informational purposes only. It does not constitute financial advice or trading recommendations. Use at your own discretion and always manage risk responsibly.
---
Let me know if you’d like to include use-case examples or screenshots before publishing.
ETH to RTH Gap DetectorETH to RTH Gap Detector
What It Does
This indicator identifies and tracks custom-defined gaps that form between Extended Trading Hours (ETH) and Regular Trading Hours (RTH). Unlike traditional gap definitions, this indicator uses a specialized approach - defining up gaps as the space between previous session close high to current session initial balance low, and down gaps as the space from previous session close low to current session initial balance high. Each detected gap is monitored until it's touched by price.
Key Features
Detects custom-defined ETH-RTH gaps based on previous session close and current session initial balance
Automatically identifies both up gaps and down gaps
Visualizes gaps with color-coded boxes that extend until touched
Tracks when gaps are filled (when price touches the gap area)
Offers multiple display options for filled gaps (color change, border only, pattern, or delete)
Provides comprehensive statistics including total gaps, up/down ratio, and touched gap percentage
Includes customizable alert system for real-time gap filling notifications
Features toggle options for dashboard visibility and weekend sessions
Uses time-based box coordinates to avoid common TradingView drawing limitations
How To Use It
Configure Session Times : Set your preferred RTH hours and timezone (default 9:30-16:00 America/New York)
Set Initial Balance Period : Adjust the initial balance period (default 30 minutes) for gap detection sensitivity
Monitor Gap Formation : The indicator automatically detects gaps between the previous session close and current session IB
Watch For Gap Fills : Gaps change appearance or disappear when price touches them, based on your selected style
Check Statistics : View the dashboard to see total gaps, directional distribution, and touched percentage
Set Alerts : Enable alerts to receive notifications when gaps are filled
Settings Guide
RTH Settings : Configure the start/end times and timezone for Regular Trading Hours
Initial Balance Period : Controls how many minutes after market open to calculate the initial balance (1-240 minutes)
Display Settings : Toggle gap boxes, extension behavior, and dashboard visibility
Filled Box Style : Choose how filled gaps appear - Filled (color change), Border Only, Pattern, or Delete
Color Settings : Customize colors for up gaps, down gaps, and filled gaps
Alert Settings : Control when and how alerts are triggered for gap fills
Weekend Session Toggle : Option to include or exclude weekend trading sessions
Technical Details
The indicator uses time-based coordinates (xloc.bar_time) to prevent "bar index too far" errors
Gap boxes are intelligently limited to avoid TradingView's 500-bar drawing limitation
Box creation and fill detection use proper range intersection logic for accuracy
Session detection is handled using TradingView's session string format for reliability
Initial balance detection is precisely calculated based on time difference
Statistics calculations exclude zero-division scenarios for stability
This indicator works best on futures markets with extended and regular trading hours, especially indices (ES, NQ, RTY) and commodities. Performs well on timeframes from 1-minute to 1-hour.
What Makes It Different
Most gap indicators focus on traditional open-to-previous-close gaps, but this tool offers a specialized definition more relevant to ETH/RTH transitions. By using the initial balance period to define gap edges, it captures meaningful price discrepancies that often provide trading opportunities. The indicator combines sophisticated gap detection logic with clean visualization and comprehensive tracking statistics. The customizable fill styles and integrated alert system make it practical for both chart analysis and active trading scenarios.
Volume & ATR Projection Tracker w/ Table & Alerts# README: Volume & ATR Projection Tracker (Pine Script Indicator)
## Overview
This Pine Script indicator for TradingView is designed to help traders analyze volume activity and potential short-term price volatility. It plots volume bars, calculates a moving average of volume, highlights unusual volume spikes (differentiating between up and down bars), and projects potential price ranges for upcoming hours based on Average True Range (ATR). It also provides a status table and configurable alerts.
**Disclaimer:** This indicator provides informational analysis and projections based on historical data and volatility. It does **not** provide guaranteed price predictions or financial advice. Trading involves substantial risk. Always do your own research and consult with a qualified financial advisor.
## Features
* **Volume Plotting:** Displays volume as a histogram in a separate panel.
* **Volume Moving Average:** Calculates and plots a configurable MA (SMA, EMA, WMA) of volume.
* **Unusual Volume Detection:** Identifies bars where volume significantly exceeds its moving average (based on a user-defined multiplier).
* **Differentiated Volume Analysis:**
* Colors volume bars differently based on whether unusual volume occurred on an up-bar (Close > Open), down-bar (Close < Open), or neutral bar (Close == Open).
* Plots different spike markers (up/down triangles) on the price chart for unusual volume on up/down bars.
* **ATR Volatility Projections:**
* Calculates the Average True Range (ATR) as a measure of recent volatility.
* Projects a potential price range (Close +/- ATR \* Multiplier) for a specified number of future hours.
* Plots these ranges as dashed lines and labels on the price chart.
* **Important:** These are volatility-based *ranges*, not directional predictions.
* **Status Table:** Displays a concise summary table on the chart including:
* Current Volume Status (Normal, High (Up), High (Down), High (Neut)).
* Current Volume compared to its MA (as a percentage).
* The projected ATR range for the next hour.
* **Configurable Alerts:** Provides alert conditions for:
* Unusual Volume detection.
* Volume crossing above its MA.
* Volume crossing below its MA.
* **Customizable Inputs:** Allows users to configure MA settings, volume threshold, ATR settings, projection hours, trading session times, and colors.
## How it Works
1. **Volume Analysis:**
* Calculates a Moving Average (SMA, EMA, or WMA) of the volume over a specified length (`MA Length`).
* Compares the current bar's volume to this MA. If `Volume > MA * Unusual Vol Multiplier`, the volume is flagged as "unusual".
* Checks if the unusual volume occurred on a bar where `Close > Open` (Up), `Close < Open` (Down), or `Close == Open` (Neutral).
* Colors the volume bars and plots spike markers based on this differentiated status.
2. **ATR Projections:**
* Calculates the ATR over a specified length (`ATR Length`).
* At the start of each hour *within the defined Trading Session*:
* Calculates an upper projection level: `Current Close + (Current ATR * ATR Multiplier)`.
* Calculates a lower projection level: `Current Close - (Current ATR * ATR Multiplier)`.
* Stores these levels for the specified number of `Projection Hours Ahead`.
* Draws dashed lines and labels on the price chart representing these hourly ranges for the future, but only if they are within TradingView's 500-bar drawing limit from the current bar.
3. **Status Table:**
* Updates on the last bar of the chart.
* Displays the current differentiated volume status, the percentage difference between current volume and its MA, and the calculated ATR range for the *next* hour.
4. **Alerts:**
* Uses `alertcondition()` to create trigger conditions based on `unusualVolumeBase`, `vol_cross_above`, and `vol_cross_below`. Users can create alerts based on these conditions in the TradingView UI.
## Input Settings
The indicator settings are organized into groups:
**Group 1: Volume Analysis Settings**
* **MA Length:** (Default: 20) Number of bars for the volume MA calculation.
* **MA Type:** (Default: SMA) Type of moving average (SMA, EMA, WMA).
* **Unusual Vol Multiplier:** (Default: 2.0) Threshold for detecting unusual volume (Volume > MA * Multiplier).
* **Show Volume Spikes:** (Default: true) Toggle visibility of triangle markers on the price chart.
* **Show Volume MA:** (Default: true) Toggle visibility of the MA line on the volume panel.
**Group 2: ATR Projection Settings**
* **ATR Length:** (Default: 14) Number of bars for the ATR calculation.
* **ATR Multiplier:** (Default: 1.5) Factor applied to ATR to determine the projection range width. Higher values create wider ranges.
* **Projection Hours Ahead:** (Default: 8) How many hours forward to calculate and display projections.
* **Show Projections:** (Default: true) Toggle visibility of projection lines and labels on the price chart.
**Group 3: Session & Colors**
* **Trading Session:** (Default: "0930-1600") Defines the hours during which projections are calculated. **Crucial:** Format is HHMM-HHMM based on the exchange timezone (see Timezone Note below).
* **Normal Vol Color:** (Default: blue) Color for volume bars when volume is not unusual.
* **Volume MA Color:** (Default: yellow) Color of the volume MA line.
* **Unusual Vol (Up Bar) Color:** (Default: light green) Color for unusual volume bars where Close > Open.
* **Unusual Vol (Down Bar) Color:** (Default: light red) Color for unusual volume bars where Close < Open.
* **Unusual Vol (Neutral Bar) Color:** (Default: light gray) Color for unusual volume bars where Close == Open.
* **Projection Line Color:** (Default: orange) Color of the dashed projection range lines.
* **Proj Label Bg Color:** (Default: semi-transparent gray) Background color for projection labels.
* **Proj Label Text Color:** (Default: white) Text color for projection labels.
## Timezone Note
The `Trading Session` input relies on a timezone setting within the `is_in_session` function in the code (currently hardcoded to `"UTC-4"` as an example for US Eastern Time). **You may need to edit the script code** to change this timezone string (e.g., `"America/New_York"`, `"Europe/London"`, `"Asia/Tokyo"`) to match the exchange time of the instrument you are trading. Consult Pine Script documentation for valid timezone strings.
## Limitations
* **Drawing Limit:** TradingView limits drawing objects (lines, labels) to a maximum of ~500 bars into the future from the current bar. On lower timeframes, the script automatically stops drawing projections that exceed this limit.
* **Projection vs. Prediction:** The ATR ranges are based on past volatility and are *not* price predictions. The market can easily move outside these projected ranges.
* **Alerts:** Alerts for price crossing the projected future levels are not implemented due to technical complexity in Pine Script.
## Disclaimer
Trading financial markets involves substantial risk of loss and is not suitable for all investors. The information provided by this indicator is for educational and informational purposes only and does not constitute financial advice, investment advice, trading advice, or any other sort of advice. You should not make any investment decision based solely on the information provided by this indicator. Past performance is not indicative of future results.