Multi Time Frame Effective Volume ProfileWHAT DOES THIS INDICATOR DO?
It is a well-known fact that volume often precedes price. As such, if you can spot an increased volume early on, you can take a position before the majority joins the trend. The purpose of this indicator is to show the tactical moves of the insiders and the big players before they become obvious to everyone. Similarly, you should more easily be able to identify trend exhaustion and look to close your position.
This volume indicator is largely inspired by Pascal Willain's concept of Effective Volume described in his book "Value in Time" , which is an improvement over Larry Williams' accumulation/distribution formula. The more robust formula takes into account two very important factors:
1) the gaps that are an inevitable part of almost all securities;
2) the closing price in relation to the spread, which indicates the bull/bear strength;
I have slightly modified Pascal Willain's formula for Effective Volume and introduced a few additional features, which I believe make the indicator easier to use and understand.
HOW DOES THE INDICATOR WORK?
1. Volume Bar Deconstruction
The first significant part of this indicator is that it deconstructs the volume bar of your current trading session into one-minute volume bars, separates the significant volume, and then reconstructs the bar again. As a result, you get a new bar, in which only the significant volume is counted. Not only this, but you also get a more comprehensive view of the relationship between buying and selling that occurred on the smaller time frame.
In the screenshot below you can see that although the bears were stronger, the bulls met them with almost identical force, which resulted in absorbing the supply in 1 and then in 2 the demand drove the price up. In a traditional volume bar chart (which is also plotted), you only see the total traded volume in either red or green depending on the closing of the bar. As you would probably agree, this does not reveal the whole story.
Accumulation/distribution by large players and funds is done with great precision, which is hard to catch intraday and nearly impossible on a daily time frame. However, large orders are hard to conceal on the 1-min chart since any unusual volume sticks out like a sore thumb. The whole idea here is for you to get a comprehensive view of what's going on in the small time frame, reveal any hard to spot transactions, and then make an informed decision on your trading time frame.
To ease your analysis even further, the indicator shows you minor volume as a percent of the major volume . Since your current time frame volume bar is a sum of all buying and selling volume from a smaller time frame, you get to see a more complete picture of the buying and selling that occurred. For example, you have a total volume of 150 BTC in a single 1h volume bar, out of which 100 BTC is in selling volume and 50 BTC is in buying volume. What you will see as parameters are this: 50 (buying volume), 100 (selling volume), 50 (minor volume as a percent of the big volume, since 50/100 = 0.5 = 50%). The higher the percentage, the more even the powers between buying and selling are.
2. Volume Trend
Building upon the first feature of the indicator, you can also choose a cumulative volume trend line. It is constructed by evaluating the type of the significant volume - adding it up if the bar closes positive (green) and subtracting it if the bar closes negative (red). The evaluation is once again done on a 1-min time frame by default, but you can change that along with the count lookback period in settings.
3. Bull / Bear Equilibrium
Based upon the volume bars, Bull/Bear Equilibrium shows you the difference between buying and selling pressure under the form of a smoothed histogram. It is particularly useful not only for spotting trends early in the beginning, but also when those trends start reaching a point of exhaustion. You can then move your Stop Loss accordingly, close part of your position to preserve profits, or even look for a good entry position in the opposite direction.
HOW MUCH DOES THE INDICATOR COST ?
As much as I would like to offer it for free (as some of my other ones), a great deal of work, trading logic, and testing have gone into creating this indicator. More than a few hundred iterations and a few dozen branches were required to reach the end result which is a precise combination of usefulness, simplicity, and practicality. Furthermore, this indicator will continue to be updated and user-requested features that improve its performance will be added.
Disclaimer: The purpose of all indicators is to indicate potential setups, which may lead to profitable results. No indicator is perfect and certainly, no indicator has a 100% success rate. They are subject to flaws, wrongful interpretation, bugs, etc. This indicator makes no exception. It must be used with a sound money management plan that puts the main emphasis on protecting your capital. Please, do not rely solely on any single indicator to take trading decisions instead of you. Indicators are storytellers, not fortune tellers . They help you see the bigger picture, not the future.
To find out more about how to gain access to this indicator, please use the provided information below or just message me. Thank you for your time.
Поиск скриптов по запросу "VOLUME BAR"
Neglected Volume by DGTVolume is one piece of information that is often neglected, however, learning to interpret volume brings many advantages and could be of tremendous help when it comes to analyzing the markets. In addition to technicians, fundamental investors also take notice of the numbers of shares traded for a given security.
What is Volume?
The volume represents all the recorded trades for a security that occurs in a given time interval. It is a measurement of the participation, enthusiasm, and interest in a given security. Think of volume as the force that drives the market. Volume substantiates, energizes, and empowers price. When volume increases, it confirms price direction; when volume decreases, it contradicts price direction.
In theory, increases in volume generally precede significant price movements. However, If the price is rising in an uptrend but the volume is reducing or unchanged, it may show that there’s little interest in the security, and the price may reverse.
A high volume usually indicates more interest in the security and the presence of institutional traders. However, a rapidly rising price in an uptrend accompanied by a huge volume may be a sign of exhaustion.
Traders usually look for breaks of support and resistance to enter positions. When security break critical levels without volume, you should consider the breakout suspect and prime for a reversal off the highs/lows
Volume spikes are often the result of news-driven events. Volume spike will often lead to sharp reversals since the moves are unsustainable due to the imbalance of supply and demand
note : there’s no centralized exchange where trades are recorded, so the volume data represents what happens at a particular exchange only
In most charting platforms, the volume indicator is presented as color-coded bars, green if the security closes up and red if the security closed lower, where the height of the bars show the amount of the recorded trades
Within this study, Relative Volume , Volume Weighted Bars and Volume Moving Average are presented, where Relative Volume relates current trading volume to past trading volume over long period, Volume Weighted Bars presents price bars colored based on short period past trading volume average, and Volume Moving Average is average of volume over shot period
Relative Volume is presented as color-coded bars similar to regular Volume indicator but uses four color codes instead two. Notable increases of volume are presented in green and red while average values with back and gray, hence adding ability to emphasis notable increases in the volume. It is kind of a like a radar for how "in-play" a security is. Users are allowed to change the threshold, default value is set to Fibonacci golden ration standard deviation away from its moving average.
Volume Weighted Bars, a study of Kıvanç Özbilgiç, aims to present if price movements are supported by Volume. Volume Weighted Bars are calculated based on shot period volume moving average which will reflect more recent changes in volume. Price actions with high volume will be displayed with darker colors, average volume values will remain as they are and low volume values will be indicated with lighter colors.
Volume Moving Average, Is short period volume moving average, aims to display visually the volume changes. Please not that Relative Volume bars are calculated based on standard deviation of long volume moving average.
What Else?
Apart from the volume itself, your ability to assess what volume is telling you in conjunction with price action can be a key factor in your ability to turn a profit in the market. It makes little sense to analyze the volume alone. To correctly interpret the volume data, it shall be seen in the light of what the price is doing. there are a lot of other indicators that are based on the volume data as well as price action. Analysing those volume indicators has always helped traders and investors to better understand what is happening in the market.
Here are the ones adapted with this study. Some of them used as a source for our aim, some adapted as they are with slight changes to fit visually to this study and please note that the numerical presentation may differ from their regular use
• On Balance Volume
• Divergence Indicator
• Correlation Coefficient
• Chaikin Money Flow
Shortly;
On Balance Volume
The On Balance Volume indicator, is a technical analysis indicator that relates volume flow to changes in a security’s price. It uses a cumulative total of positive and negative trading volume to predict the direction of price. The OBV is a volume-based momentum oscillator, so it is a leading indicator — it changes direction before the price
Granville, creator of OBV, proposed the theory that changes in volume precede price movements in a measurable way. He believed that volume was the main force behind major market moves and thought of OBV’s prediction of price changes as a compressed spring that expands rapidly when released.
It is believed that the OBV shows the interactions between the institutional and retail traders in the market
If the price makes a new high, the OBV should also make a new high. If the OBV makes a lower high when the price makes a higher high, there’s a classical bearish divergence — indicating that only the retail traders are buying. Another type of bearish divergence occurs when the price remains relatively quiet and fails to make a higher high but the OBV soars higher than the previous high — indicating that the institutional traders are accumulating short positions. On the other hand, if the price makes a lower low and the OBV makes a higher low, there is a classical bullish divergence, showing that the institutional traders don’t believe in that move
With this study, Momentum and Acceleration (optional) of OBV is calculated and presented, where momentum is most commonly referred to as a rate and measures the acceleration of the price and/or volume of a security. It is also referred to as a technical analysis indicator and oscillator that is able to determine market trends.
Additionally, smoothing functionality with Least Squares Method is added
Divergences especially, should always be noted as a possible reversal in the current trend, so the divergence indicator is adapted with this study where the Momentum of OBV is assumed as Oscillator with similar usages as to RSI. Divergence is most often used to track and analyze the momentum in an asset’s price and the odds of a price reversal within the current trend. The divergence indicator warns traders and technical analysts of changes in a price/volume trend, oftentimes that it is weakening or changing direction.
Correlation Coefficient
The correlation coefficient is a statistical measure of the strength of the relationship between the relative movements of two variables. A correlation of -1.0 shows a perfect negative correlation, while a correlation of 1.0 shows a perfect positive correlation. A correlation of 0.0 shows no linear relationship between the movement of the two variables. In other words, the closer the Correlation Coefficient is to 1.0, indicates the instruments will move up and down together as it is mostly expected with volume and price. So the Correlation Coefficient Indicator aims to display when the price and volume (on balance volume) is in correlation and when not. With this study blue represent positive correlation while orange negative correlation. The strength of the correlation is determined by the width of the bands, to emphasis the effect horizontal lines are drawn with values set to 0.5 and -0.5. the values above 0.5 (or below -0.5) shows stronger correlation.
Chaikin Money Flow , provide optionally as a companion indicator
The Chaikin money flow indicator (CMF) is a volume indicator that measures the money flow volume over a chosen period. The money flow volume is a measure of the volume and where the price closed relative to the trading session’s range. It comes from the idea that buying pressure is indicated by a rising volume and recurrent closes in the upper part of the session’s price range while selling pressure is demonstrated by an increasing volume and repeated closes in the lower part of the price range.
Both buying and selling pressures are accompanied by an increase in volume, but the location of the closing prices are in accordance with the direction of price
Special thanks to @InvestCHK and @hjsjshs , who have enormously contributed while preparing this study
related studies:
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Ultimate VolumeThis script can display a lot of different volume statistics. It also colours bars depending on a chosen, customisable criterion. Most options are disabled by default and can be reenabled in the settings menu.
FAQ
Why are the bars slightly higher than the default volume bars?
Due to the limitations of Pinescript.
What are the two last values (including the one in white?)
They're there due to the limitations of Pinescript. It used to be possible to prevent certain values from being plotted, but still display them as indicator values, but the functionality of that option was changed and is now WIP so until it's restored, these values are necessary to scale the bars properly.
Why are the percentages formatted as volume?
Due to the limitations of Pinescript.
Why are there so many options?
I don't know. They sort of happened. But you don't have to switch them on.
What is money volume?
It's an average of the bar price multiplied by the bar volume .
Why does the daily average volume display different values than the standard sma volume?
Because mine doesn't take into account the current day. So it doesn't fluctuate intraday. Which, I think, makes more sense.
What is total volume?
It's a sum of the total volume for that day and is reset on the next. This option only works with intraday timeframes.
What is average 1 bar intraday volume?
It's the average volume for 1 intraday bar, based on the current day's values only. Obviously, it only works intraday and changes dynamically. It's not an SMA , it's a simple average of all bars for a given day.
What is all-time 1 bar intraday volume?
It's the average volume for 1 intraday bar, but based on the whole chart's history. It's impossible to select a length for this, again, because of certain limitations.
What is short volume?
It is approximately 1/3rd of the actual short volume , due to the limitations of FINRA. It's multiplied by 3 in the script and it may be not entirely accurate. The short volume % is calculated differently, using the 1/3rd of short and total volume from FINRA.
What are the default threshold values?
They are 150%, 200%, 1000% of the average for the average bar volume and all-time average bar volume options, 10%, 50%, 100% for the average daily volume option and 100K, 500K and 1M for the volume option.
RedK_Supply/Demand Volume Viewer v1Background
============
VolumeViewer is a volume indicator, that offers a simple way to estimate the movement and balance (or lack of) of supply & demand volume based on the shape of the price bar. i put this together few years ago and i have a version of this published for another platform under different names (Directional Volume, BetterVolume) in case you come across them
what is V.Viewer
=====================
The idea here is to find a "simple proxy" for estimating the demand or supply portions of a volume bar - these 2 forces have the potential to affect the current price trend so we want an easy way to track them - or to understand if a stock is in accumulation or distribution - we want to do this without having access to Level II or bid/ask data, and without having to get into the complexity of exploring the lower timeframe price & volume data
- to achieve that, we depend on a simple assumption, that the volume associated with an up move is "demand" and the volume associated with a down move is "Supply". so we basically extrapolate these supply and demand values based on how the bar looks like - a full "green" price bar / candle will be considered 100% demand, and a full "red" price bar will be considered 100% supply - a bar that opens and closes at the same level will be 50/50 split between supply & demand.
- you may say this is a "too simple" of an assumption to make, but believe me, it works :) at least at the basic scenario we need here: i'm just exploring the volume movement and finding key levels - and it provides a good improvement compared to the classic way we see volume on a chart - which is still available here in VolumeViewer.
in all cases, i consider this to be work in progress, so i'd welcome any ideas to improve (without getting too complicated) - there's already a host of great volume-based indicators that will do the multi timeframe drill down, but that's not my scope here.
Technical Jargon & calculation
===========================
1. first we calculate a score % for the volume portion that is considered demand based on the bar shape
skip this part if it sounds too technical => if you're into coding indicators, you would probably know there are couple of different concepts for that algorithm - for example, the one used in Balance Of Power formula - which i'm a big fan of - but the one i use here is different. (how?) this is my own, ant it simply applies double weight for the "wick" parts of a price bar compared to the "body of the bar" -- i did some side-by-side comparison in past and decided this one works better. you can change it in the code if you like
2. after calculating the Bull vs Bears portion of volume, we take a moving average of both for the length you set, to come up with what we consider to be the Demand vs Supply - as usual, i use a weighted moving average (WMA) here.
3. the balance or net volume between these 2 lines is calculated, then we apply a final smoothing and that's the main plot we will get
4. being a very visual person, i did my best to build up the visuals in the correct order - then also to ensure the "study title" bar is properly organized and is simple and useful (Full Volume, Supply, Demand, Net Volume).
- i wish there was a way in Pine to hide a value that i still need to visually plot but don't want it showing its value on the study title bar, but couldn't find it. so the last plot value is repeated twice.
How to use
===========
- V.Viewer is set up to show the simplified view by default for simplicity. so when you first add it to a chart, you will get only the supply vs demand view you can see in the middle pane in the above chart
- Optional / detailed mode: go into the settings, and expose all other plots, you will be able to add the classic volume histogram, and the Supply / Demand lines - note these 2 lines will be overlay-ed on top of each other - this provides an easy way to see who is in control - especially if you change the display of these 2 lines into "area" style. This is what is showing in the lower pane in the above chart.
** Exploring Key Price Levels
- the premise is, at spots where there's big lack of balance, that's where to expect to find key price levels (support / resistance) and these price levels will come into play in future so can be used to set entry / exit targets for our trades - see the example in the AAPL chart where you can easily locate these "balance or reversal levels" using the tops/bottoms/zero-crossings from the Net Volume line
** Use for longer-term Price Analysis
- we can also use this simple indicator to gain more insights (at a high level) of the price in terms of accumulation vs distribution and if the sellers or buyers are in control - for example, in the above AAPL chart, V.Viewer tells us that buyers have been in control since October 19 - even during the recent drop, demand continued to be in play - compare that to DIS chart below for the same period, where it shows that the market was dumping DIS thru the weakness. DIS was bleeding red most of the time
Final thoughts
=============
- V.Viewer is an attempt to enhance the way we see and use Volume by leveraging the shape of the price bar to estimate volume supply & demand - and the Net between the 2
- it will work for stocks and other instruments as long as there's volume data
- note that V.Viewer does not track trend. each bar is taken in isolation of prior bars - the price may be going down and V.Viewer is showing supply going up (absorption scenario?) - so i suggest you do not use it to make decisions without consulting other trend / momentum indicators - of course this is a possible improvement idea, or can be implemented in another indicator, add in trend somehow, or maybe think of making this a +100 / -100 Oscillator .. feel free to play with these thoughts
- all thoughts welcome - if this is useful to you in your trading, please share with other trades here to learn from each other
- the code is commented - please feel free to use it as you like, or build things on top of it - but please continue to credit the author of this code :)
good luck!
-
Volume+ (RVOL By Time of Day)This script is an enhanced volume indicator.
It calculates relative volume (RVOL) based on the average volume at that time of day (rather than using a moving average).
For example, using this indicator you can see today’s volume during the first 5-minute candle of the market open compared to the previous day’s volume at the market open. Or you can see today’s volume at the market close during the last 15-minute candle compared to the average of the past 20 days of volume at the market close.
Due to the different quantity of candlesticks in a session between Stocks and Forex/Crypto, I separated those markets into separate settings, making this an all-in-one volume indicator that works on all markets.
Settings:
Stocks
If you set the lookback period to 1 on the 5-minute chart and look at the 9:30am candle for a stock, then the current volume bar will show you what today’s volume is compared to yesterday’s 9:30am 5-minute candle.
If you set the lookback period to 15, then the current volume bar will show you what today’s volume is compared to the average of the last 15 days of 9:30am 5-minute candles.
Max Lookback: 64 Sessions
Stocks
This setting is for traders who want to use this indicator on a timeframe lower than the 5-minute chart.
Due to limitations in how many historical bars PineScript can reference, referencing 1-minute and 3-minute bars requires a lot more historical data so I separated the two to allow the 5-minute+ timeframes to have a longer lookback period.
Max Lookback: 12 Sessions
Forex/Crypto
When you set the script to Forex/Crypto, it does the same thing for stocks but calculates based on a 24-hour period.
So if you set the lookback period to 1 on the 1-hour chart and look at the 11:00am candle for a currency pair, then the current volume bar will show you what today’s volume is compared to yesterday’s 11:00am 1-hour candle.
If you set the lookback period to 10, then the current volume bar will show you what today’s volume is compared to the average of the last 10 days of 11:00am 1-hour candles.
Max Lookback: 17 Sessions
What Doesn’t It Work On?
Because I had to manually calculate how many volume candles to look back per timeframe to get the previous session’s candle, I had to hard-code the math in this script.
That means that this indicator will only work on 1m, 3m, 5m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, Daily and Weekly timeframes. If you try to use it on any other timeframe it will revert to a regular volume indicator.
Why Is It Useful?
Similar to volume profile by price, this gives you a volume profile by time in a way that the default volume indicator does not.
For example, you can use this to determine when a stock has a particularly strong opening drive, or when a currency pair has a weak fake-out leading up to the London open, or for general confirmation on trading signals with time-specific volume information to work with.
Colors
The purple line and the faint gray bar is the RVOL value.
The blue number is the percentage of the current volume bar relative to RVOL.
There are four different bar color settings:
Heatmap – Changes color to be brighter based on higher RVOL
Price – Changes color based on price action (like the default TradingView volume indicator)
Traffic – Changes color based on RVOL percentages (for fast visual cues)
Trigger – Changes color only when the specified alert conditions are met
Heatmap:
Traffic:
Trigger:
Price:
Heatmap:
Turns very bright green at 2.0 RVOL
Turns light green at 1.0 RVOL
Turns normal green at 0.75 RVOL
Turns medium green at 0.5 RVOL
Turns very dark green at 0.25 RVOL
Is gray otherwise.
Price:
Turns red if the price action candle closed bearish.
Turns green if the price action candle closed bullish.
Traffic:
Turns red if RVOL is between 1.0 and 1.5.
Turns orange if RVOL is between 1.5 and 2.0.
Turns dark green if RVOL is between 2.0 and 3.0.
Turns bright green if RVOL is above 3.0.
Is gray otherwise.
Trigger:
Turns teal if any of the given alert conditions in the user settings are met.
Alerts
Alerts are optional. You have to set them like any other indicator, by creating a new alert and selecting this indicator.
If you leave the "Alert At RVOL %" setting at 0, then alerts will only be triggered if the current candle exceeds the 1.0 (100%) RVOL level.
If you change the "Alert At RVOL %" setting then alerts will be triggered if the RVOL percentage (blue number) exceeds your given value. The blue number is a percentage of the average, so if it’s at 0.5, then it’s 50% of the average.
Notes
- This indicator only works with regular time bars. It will not work with range, tick, renko etc.
- This script has lookback limitations due to restrictions on how many historical bars PineScript can reference. The lookback limit varies based on the market type you choose. The more bars required for calculation the lower the lookback limit.
- If you use it on the Daily timeframe the lookback period will count as 1 week. If you use it on the Weekly timeframe the lookback period will count as 1 month. So a Lookback of 3 on the Daily would be 3 weeks of averages, a Lookback of 5 on the Weekly would be 5 months of averages (for that Day of Week or Week number).
- Big thanks to @tb12345 for the idea and for helping to field-testing the indicator!
Opening Range Breakout with Multi-Timeframe Liquidity]═══════════════════════════════════════
OPENING RANGE BREAKOUT WITH MULTI-TIMEFRAME LIQUIDITY
═══════════════════════════════════════
A professional Opening Range Breakout (ORB) indicator enhanced with multi-timeframe liquidity detection, trading session visualization, volume analysis, and trend confirmation tools. Designed for intraday trading with comprehensive alert system.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This indicator combines multiple trading concepts:
- Opening Range Breakout (ORB) - Customizable time period detection with automatic high/low identification
- Multi-Timeframe Liquidity - HTF (Higher Timeframe) and LTF (Lower Timeframe) key level detection
- Trading Sessions - Tokyo, London, New York, and Sydney session visualization
- Volume Analysis - Volume spike detection and strength measurement
- Multi-Timeframe Confirmation - Trend bias from higher timeframes
- EMA Integration - Trend filter and dynamic support/resistance
- Smart Alerts - Quality-filtered breakout notifications
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
OPENING RANGE BREAKOUT (ORB):
Concept:
The Opening Range is a period at the start of a trading session where price establishes an initial high and low. Breakouts beyond this range often indicate the direction of the day's trend.
Detection Method:
- Default: 15-minute opening range (configurable)
- Custom Range: Set specific session times with timezone support
- Automatically identifies ORH (Opening Range High) and ORL (Opening Range Low)
- Tracks ORB mid-point for reference
Range Establishment:
1. Session starts (or custom time begins)
2. Tracks highest high and lowest low during the period
3. Range confirmed at end of opening period
4. Levels extend throughout the session
Breakout Detection:
- Bullish Breakout: Close above ORH
- Bearish Breakout: Close below ORL
- Mid-point acts as bias indicator
Visual Display:
- Shaded box during range formation
- Horizontal lines for ORH, ORL, and mid-point
- Labels showing level values
- Color-coded fills based on selected method
Fill Color Methods:
1. Session Comparison:
- Green: Current OR mid > Previous OR mid
- Red: Current OR mid < Previous OR mid
- Gray: Equal or first session
- Shows day-over-day momentum
2. Breakout Direction (Recommended):
- Green: Price currently above ORH (bullish breakout)
- Red: Price currently below ORL (bearish breakout)
- Gray: Price inside range (no breakout)
- Real-time breakout status
MULTI-TIMEFRAME LIQUIDITY:
Two-Tier System for comprehensive level identification:
HTF (Higher Timeframe) Key Liquidity:
- Default: 4H timeframe (configurable to Daily, Weekly)
- Identifies major institutional levels
- Uses pivot detection with adjustable parameters
- Suitable for swing highs/lows where large orders rest
LTF (Lower Timeframe) Key Liquidity:
- Default: 1H timeframe (configurable)
- Provides precision entry/exit levels
- Finer granularity for intraday trading
- Captures minor swing points
Calculation Method:
- Pivot high/low detection algorithm
- Configurable left bars (lookback) and right bars (confirmation)
- Timeframe multiplier for accurate multi-timeframe detection
- Automatic level extension
Mitigation System:
- Tracks when levels are swept (broken)
- Configurable mitigation type: Wick or Close-based
- Option to remove or show mitigated levels
- Display limit prevents chart clutter
Asset-Specific Optimization:
The indicator includes quick reference settings for different assets:
- Major Forex (EUR/USD, GBP/USD): Default settings optimal
- Crypto (BTC/ETH): Left=12, Right=4, Display=7
- Gold: HTF=1D, Left=20
TRADING SESSIONS:
Four Major Sessions with Full Customization:
Tokyo Session:
- Default: 04:00-13:00 UTC+4
- Asian trading hours
- Often sets daily range
London Session:
- Default: 11:00-20:00 UTC+4
- Highest liquidity period
- Major institutional activity
New York Session:
- Default: 16:00-01:00 UTC+4
- US market hours
- High-impact news events
Sydney Session:
- Default: 01:00-10:00 UTC+4
- Earliest Asian activity
- Lower volatility
Session Features:
- Shaded background boxes
- Session name labels
- Optional open/close lines
- Session high/low tracking with colored lines
- Each session has independent color settings
- Fully customizable times and timezones
VOLUME ANALYSIS:
Volume-Based Trade Confirmation:
Volume MA:
- Configurable period (default: 20)
- Establishes average volume baseline
- Used for spike detection
Volume Spike Detection:
- Identifies when volume exceeds MA * multiplier
- Default: 1.5x average volume
- Confirms breakout strength
Volume Strength Measurement:
- Calculates current volume as percentage of average
- Shows relative volume intensity
- Used in alert quality filtering
High Volume Bars:
- Identifies bars above 50th percentile
- Additional confirmation layer
- Indicates institutional participation
MULTI-TIMEFRAME CONFIRMATION:
Trend Bias from Higher Timeframes:
HTF 1 (Trend):
- Default: 1H timeframe
- Uses EMA to determine intermediate trend
- Compares current timeframe EMA to HTF EMA
HTF 2 (Bias):
- Default: 4H timeframe
- Uses 50 EMA for longer-term bias
- Confirms overall market direction
Bias Classifications:
- Bullish Bias: HTF close > HTF 50 EMA AND Current EMA > HTF1 EMA
- Bearish Bias: HTF close < HTF 50 EMA AND Current EMA < HTF1 EMA
- Neutral Bias: Mixed signals between timeframes
EMA Stack Analysis:
- Compares EMA alignment across timeframes
- +1: Bullish stack (lower TF EMA > higher TF EMA)
- -1: Bearish stack (lower TF EMA < higher TF EMA)
- 0: Neutral/crossed
Usage:
- Filters false breakouts
- Confirms trend direction
- Improves trade quality
EMA INTEGRATION:
Dynamic EMA for Trend Reference:
Features:
- Configurable period (default: 20)
- Customizable color and width
- Acts as dynamic support/resistance
- Trend filter for ORB trades
Application:
- Above EMA: Favor long breakouts
- Below EMA: Favor short breakouts
- EMA cross: Potential trend change
- Distance from EMA: Momentum gauge
SMART ALERT SYSTEM:
Quality-Filtered Breakout Notifications:
Alert Types:
1. Standard ORB Breakout
2. High Quality ORB Breakout
Quality Criteria:
- Volume Confirmation: Volume > 1.2x average
- MTF Confirmation: Bias aligned with breakout direction
Standard Alert:
- Basic breakout detection
- Price crosses ORH or ORL
- Icon: 🚀 (bullish) or 🔻 (bearish)
High Quality Alert:
- Both volume AND MTF confirmed
- Stronger probability setup
- Icon: 🚀⭐ (bullish) or 🔻⭐ (bearish)
Alert Information Includes:
- Alert quality rating
- Breakout level and current price
- Volume strength percentage (if enabled)
- MTF bias status (if enabled)
- Recommended action
One Alert Per Bar:
- Prevents alert spam
- Uses flag system to track sent alerts
- Resets on new ORB session
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
OPENING RANGE SETUP:
Basic Configuration:
1. Select time period for opening range (default: 15 minutes)
2. Choose fill color method (Breakout Direction recommended)
3. Enable historical data display if needed
Custom Range (Advanced):
1. Enable Custom Range toggle
2. Set specific session time (e.g., 0930-0945)
3. Select appropriate timezone
4. Useful for specific market opens (NYSE, LSE, etc.)
LIQUIDITY LEVELS SETUP:
Quick Configuration by Asset:
- Forex: Use default settings (Left=15, Right=5)
- Crypto: Set Left=12, Right=4, Display=7
- Gold: Set HTF=1D, Left=20
HTF Liquidity:
- Purpose: Major support/resistance levels
- Recommended: 4H for day trading, 1D for swing trading
- Use as profit targets or reversal zones
LTF Liquidity:
- Purpose: Entry/exit refinement
- Recommended: 1H for day trading, 4H for swing trading
- Use for position management
Mitigation Settings:
- Wick-based: More sensitive (default)
- Close-based: More conservative
- Remove or Show mitigated levels based on preference
TRADING SESSIONS SETUP:
Enable/Disable Sessions:
- Master toggle for all sessions
- Individual session controls
- Show/hide session names
Session High/Low Lines:
- Enable to see session extremes
- Each session has custom colors
- Useful for range trading
Customization:
- Adjust session times for your broker
- Set timezone to match your location
- Customize colors for visibility
VOLUME ANALYSIS SETUP:
Enable Volume Analysis:
1. Toggle on Volume Analysis
2. Set MA length (20 recommended)
3. Adjust spike multiplier (1.5 typical)
Usage:
- Confirm breakouts with volume
- Identify climactic moves
- Filter false signals
MULTI-TIMEFRAME SETUP:
HTF Selection:
- HTF 1 (Trend): 1H for day trading, 4H for swing
- HTF 2 (Bias): 4H for day trading, 1D for swing
Interpretation:
- Trade only with bias alignment
- Neutral bias: Be cautious
- Bias changes: Potential reversals
EMA SETUP:
Configuration:
- Period: 20 for responsive, 50 for smoother
- Color: Choose contrasting color
- Width: 1-2 for visibility
Usage:
- Filter trades: Long above, Short below
- Dynamic support/resistance reference
- Trend confirmation
ALERT SETUP:
TradingView Alert Creation:
1. Enable alerts in indicator settings
2. Enable ORB Breakout Alerts
3. Right-click chart → Add Alert
4. Select this indicator
5. Choose "Any alert() function call"
6. Configure delivery method (mobile, email, webhook)
Alert Filtering:
- All alerts include quality rating
- High Quality alerts = Volume + MTF confirmed
- Standard alerts = Basic breakout only
───────────────────────────────────────
TRADING STRATEGIES
───────────────────────────────────────
CLASSIC ORB STRATEGY:
Setup:
1. Wait for opening range to complete
2. Price breaks and closes above ORH or below ORL
3. Volume > average (if enabled)
4. MTF bias aligned (if enabled)
Entry:
- Bullish: Buy on break above ORH
- Bearish: Sell on break below ORL
- Consider retest entries for better risk/reward
Stop Loss:
- Bullish: Below ORL or range mid-point
- Bearish: Above ORH or range mid-point
- Adjust based on volatility
Targets:
- Initial: Range width extension (ORH + range width)
- Secondary: HTF liquidity levels
- Final: Session high/low or major support/resistance
ORB + LIQUIDITY CONFLUENCE:
Enhanced Setup:
1. Opening range established
2. HTF liquidity level near or beyond ORH/ORL
3. Breakout occurs with volume
4. Price targets the liquidity level
Entry:
- Enter on ORB breakout
- Target the HTF liquidity level
- Use LTF liquidity for position management
Management:
- Partial profits at ORB + range width
- Move stop to breakeven at LTF liquidity
- Final exit at HTF liquidity sweep
ORB REJECTION STRATEGY (Counter-Trend):
Setup:
1. Price breaks above ORH or below ORL
2. Weak volume (below average)
3. MTF bias opposite to breakout
4. Price closes back inside range
Entry:
- Failed bullish break: Short below ORH
- Failed bearish break: Long above ORL
Stop Loss:
- Beyond the failed breakout level
- Or beyond session extreme
Target:
- Opposite end of opening range
- Range mid-point for partial profit
SESSION-BASED ORB TRADING:
Tokyo Session:
- Typically narrower ranges
- Good for range trading
- Wait for London open breakout
London Session:
- Highest volume and volatility
- Strong ORB setups
- Major liquidity sweeps common
New York Session:
- Strong trending moves
- News-driven volatility
- Good for momentum trades
Sydney Session:
- Quieter conditions
- Suitable for range strategies
- Sets up Tokyo session
EMA-FILTERED ORB:
Rules:
- Only take bullish breaks if price > EMA
- Only take bearish breaks if price < EMA
- Ignore counter-trend breaks
Benefits:
- Reduces false signals
- Aligns with larger trend
- Improves win rate
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
OPENING RANGE SETTINGS:
Time Period:
- 15 min: Standard for most markets
- 30 min: Wider range, fewer breakouts
- 60 min: For slower markets or swing trades
Custom Range:
- Use for specific market opens
- NYSE: 0930-1000 EST
- LSE: 0800-0830 GMT
- Set timezone to match exchange
Historical Display:
- Enable: See all previous session data
- Disable: Cleaner chart, current session only
LIQUIDITY SETTINGS:
Left Bars (5-30):
- Lower: More frequent, sensitive levels
- Higher: Fewer, more significant levels
- Recommended: 15 for most markets
Right Bars (1-25):
- Confirmation period
- Higher: More reliable, less frequent
- Recommended: 5 for balance
Display Limit (1-20):
- Number of active levels shown
- Higher: More context, busier chart
- Recommended: 7 for clarity
Extension Options:
- Short: Levels visible near formation
- Current: Extended to current bar (recommended)
- Max: Extended indefinitely
VOLUME SETTINGS:
MA Length (5-50):
- Shorter: More responsive to spikes
- Longer: Smoother baseline
- Recommended: 20 for balance
Spike Multiplier (1.0-3.0):
- Lower: More sensitive spike detection
- Higher: Only extreme spikes
- Recommended: 1.5 for day trading
MULTI-TIMEFRAME SETTINGS:
HTF 1 (Trend):
- 5m chart: Use 15m or 1H
- 15m chart: Use 1H or 4H
- 1H chart: Use 4H or 1D
HTF 2 (Bias):
- One level higher than HTF 1
- Provides longer-term context
- Don't use same as HTF 1
EMA SETTINGS:
Length:
- 20: Responsive, more signals
- 50: Smoother, stronger filter
- 200: Long-term trend only
Style:
- Choose contrasting color
- Width 1-2 for visibility
- Match your trading style
───────────────────────────────────────
BEST PRACTICES
───────────────────────────────────────
Chart Timeframe Selection:
- ORB Trading: Use 5m or 15m charts
- Session Review: Use 1H or 4H charts
- Swing Trading: Use 1H or 4H charts
Quality Over Quantity:
- Wait for high-quality alerts (volume + MTF)
- Avoid trading every breakout
- Focus on confluence setups
Risk Management:
- Position size based on range width
- Wider ranges = smaller positions
- Use stop losses always
- Take partial profits at targets
Market Conditions:
- Best results in trending markets
- Reduce position size in choppy conditions
- Consider session overlaps for volatility
- Avoid trading near major news if inexperienced
Continuous Improvement:
- Track win rate by session
- Note which confluence factors work best
- Adjust settings based on market volatility
- Review performance weekly
───────────────────────────────────────
PERFORMANCE OPTIMIZATION
───────────────────────────────────────
This indicator is optimized with:
- max_bars_back declarations for efficient processing
- Conditional calculations based on enabled features
- Proper memory management for drawing objects
- Minimal recalculation on each bar
Best Practices:
- Disable unused features (sessions, MTF, volume)
- Limit historical display to reduce rendering
- Use appropriate timeframe for your strategy
- Clear old drawing objects periodically
───────────────────────────────────────
EDUCATIONAL DISCLAIMER
───────────────────────────────────────
This indicator combines established trading concepts:
- Opening Range Breakout theory (price action)
- Liquidity level detection (pivot analysis)
- Session-based trading (time-of-day patterns)
- Volume analysis (confirmation technique)
- Multi-timeframe analysis (trend alignment)
All calculations use standard technical analysis methods:
- Pivot high/low detection algorithms
- Moving averages for trend and volume
- Session time filtering
- Timeframe security functions
The indicator identifies potential trading setups but does not predict future price movements. Success requires proper application within a complete trading strategy including risk management, position sizing, and market context.
───────────────────────────────────────
USAGE DISCLAIMER
───────────────────────────────────────
This tool is for educational and analytical purposes. Opening Range Breakout trading involves substantial risk. The alert system and quality filters are designed to identify potential setups but do not guarantee profitability. Always conduct independent analysis, use proper risk management, and never risk capital you cannot afford to lose. Past performance does not indicate future results. Trading intraday breakouts requires experience and discipline.
───────────────────────────────────────
CREDITS & ATTRIBUTION
───────────────────────────────────────
ORIGINAL SOURCE:
This indicator builds upon concepts from LuxAlgo's-ORB
ICT HTF Volume Candles (Based on HTF Candles by Fadi)# ICT HTF Volume Candles - Multi-Timeframe Volume Analysis
## Overview
This indicator provides multi-timeframe volume visualization designed to complement price action analysis. It displays volume data from up to 6 higher timeframes simultaneously in a separate panel, allowing traders to identify volume spikes, divergences, and institutional activity without switching between timeframes.
**Original Concept Credits:** This indicator builds upon the HTF Candles framework by Fadi, adapting it specifically for volume analysis with enhanced features including gap-filling for extended hours, multiple scaling methods, and advanced synchronization.
## What Makes This Script Original
### Key Innovations:
1. **Three Volume Scaling Methods:**
- **Per-HTF Auto Scale:** Each timeframe scales independently for detailed comparison
- **Global Auto Scale:** All timeframes use unified scale for relative volume comparison
- **Manual Scale:** User-defined maximum for consistent analysis across sessions
2. **Bullish/Bearish Volume Differentiation:**
- Volume bars colored based on price movement (close vs open)
- Separate styling for bullish (green) and bearish (red) volume periods
- Helps identify whether volume supports price direction
3. **Advanced Time Synchronization:**
- Custom daily candle open times (Midnight, 8:30 AM, 9:30 AM ET)
- Timezone-aware calculations for New York trading hours
- Real-time countdown timers for each timeframe
- **Gap-filling technology** for continuous display during extended hours and weekends
4. **Flexible Display Options:**
- Configurable spacing and positioning
- Label placement (top, bottom, or both)
- Day-of-week or time interval labels on candles
- Works reliably in backtesting and live trading
## How It Works
### Volume Calculation
The indicator uses `request.security()` with optimized parameters to fetch volume data from higher timeframes:
- **Volume Open/High/Low/Close (OHLC):** Tracks volume changes within each HTF candle
- **Color Logic:** Compares HTF close vs open prices to determine bullish/bearish classification
- **Alignment:** All volume bars share a common baseline for easy visual comparison
- **Gap Handling:** Uses `gaps=barmerge.gaps_off` to maintain continuity during non-trading hours
### Technical Implementation
```
1. Monitors HTF timeframe changes using request.security() with lookahead
2. Creates new VolumeCandle object when HTF bar opens
3. Updates current candle's volume H/L/C on each chart bar
4. Applies selected scaling method to normalize display height
5. Repositions all candles and labels on each bar update
6. Fills gaps automatically during extended hours for consistent display
```
### Scaling Methods Explained
**Method 1 - Auto Scale per HTF:**
Each timeframe displays volume relative to its own maximum. Best for identifying patterns within each individual timeframe.
**Method 2 - Global Auto Scale:**
All timeframes share the same scale based on the highest volume across all HTFs. Best for comparing relative volume strength between timeframes.
**Method 3 - Manual Scale:**
User sets maximum volume value. Best for maintaining consistent scale across different trading sessions or instruments.
## How to Use This Indicator
### Setup
1. Add indicator to your chart (it appears in a separate panel below price)
2. Configure up to 6 higher timeframes (default: 5m, 15m, 1H, 4H, 1D, 1W)
3. Set number of candles to display for each timeframe
4. Choose volume scaling method based on your analysis needs
5. Enable "Fix gaps in non-trading hours" for extended hours trading (enabled by default)
### Interpretation
**Volume Spikes:**
- Sudden increase in volume height indicates institutional activity or strong conviction
- Compare volume between timeframes to identify where the real money is moving
- Look for volume spikes that appear across multiple timeframes simultaneously
**Bullish vs Bearish Volume:**
- **Green volume bars:** Price closed higher (buying pressure)
- **Red volume bars:** Price closed lower (selling pressure)
- High green volume during uptrend = confirmation of strength
- High red volume during downtrend = confirmation of weakness
- High volume opposite to trend = potential reversal warning
**Multi-Timeframe Context:**
- **5m/15m:** Scalping and day trading activity
- **1H/4H:** Swing trading and intraday institutional flows
- **Daily/Weekly:** Major position building and long-term trends
**Divergences:**
- Price making new highs but volume declining = weakening trend
- Volume increasing while price consolidates = potential breakout brewing
- Price breaks level but volume doesn't confirm = likely false breakout
### Practical Examples
**Example 1 - Institutional Confirmation:**
Price breaks above resistance. Check volume across timeframes:
- 5m shows spike = retail interest
- 15m + 1H + 4H all show spikes = institutional confirmation
- **Trade confidence: HIGH**
**Example 2 - False Breakout Detection:**
Price breaks resistance with:
- High volume on 5m only
- Normal/low volume on 1H and 4H
- **Interpretation:** Likely retail trap, institutions not participating
- **Action:** Wait for pullback or avoid
**Example 3 - Accumulation Phase:**
Price ranges sideways but:
- Daily volume gradually increasing
- Weekly volume above average
- **Interpretation:** Smart money accumulating
- **Action:** Prepare for breakout in direction of volume
**Example 4 - Volume Divergence:**
Price makes new high:
- Current high has lower volume than previous high across all timeframes
- **Interpretation:** Weakening momentum
- **Action:** Consider profit-taking or reversal trade
## Configuration Parameters
### Timeframe Settings
- **HTF 1-6:** Select timeframes (must be higher than chart timeframe)
- **Max Display:** Number of candles to show per timeframe (1-50)
- **Limit to Next HTFs:** Display only first N enabled timeframes (1-6)
### Styling
- **Bull/Bear Colors:** Separate colors for body, border, and wick
- **Padding from current candles:** Distance offset from live price action
- **Space between candles:** Gap between individual volume bars
- **Space between Higher Timeframes:** Gap between different timeframe groups
- **Candle Width:** Thickness of volume bars (1-4, multiplied by 2)
### Volume Settings
- **Volume Scale Method:** Choose 1, 2, or 3
- 1 = Auto Scale per HTF (each TF independent)
- 2 = Global Auto Scale (all TF unified)
- 3 = Manual Scale (user-defined max)
- **Auto Scale Volume:** Enable/disable automatic scaling
- **Manual Scale Max Volume:** Set maximum when using Method 3
### Label Settings
- **HTF Label:** Show/hide timeframe names with color and size options
- **Label Positions:** Display at Top, Bottom, or Both
- **Label Alignment:** Align centered or Follow Candles
- **Remaining Time:** Show countdown timer until next HTF candle
- **Interval Value:** Display day-of-week or time on each candle
### Custom Daily Candle
- **Enable Custom Daily:** Override default daily candle timing
- **Open Time Options:**
- **Midnight:** Standard 00:00 ET daily open
- **8:30 AM:** Align with economic data releases
- **9:30 AM:** Align with NYSE market open
- Useful for specific trading strategies or market alignment
### Advanced Settings
- **Fix gaps in non-trading hours:** Maintains alignment during extended hours and weekends (recommended: ON)
- Prevents visual gaps during forex weekend closures
- Ensures consistent display during crypto 24/7 trading
- Improves backtesting reliability
## Best Practices
1. **Pair with Price Action:** Use alongside HTF price candles indicator for complete picture
2. **Start Simple:** Enable 2-3 timeframes initially (e.g., 15m, 1H, 4H), add more as needed
3. **Match Settings:** Use same candle width/spacing as companion price indicator for visual alignment
4. **Scale Appropriately:**
- Use **Global scale** (Method 2) when comparing timeframes
- Use **Per-HTF scale** (Method 1) for pattern analysis within each timeframe
- Use **Manual scale** (Method 3) for consistent day-to-day comparison
5. **Watch for Volume Clusters:** High volume appearing simultaneously across multiple HTFs signals significant market events
6. **Confirm Breakouts:** Always check if volume supports the price movement across higher timeframes
7. **Extended Hours:** Keep "Fix gaps" enabled for 24/7 markets (Forex, Crypto) and weekend analysis
## Technical Notes
- **Timezone:** All calculations use America/New_York timezone for consistency
- **Real-time Updates:** Volume and timers update on each tick during market hours
- **Performance:** Optimized with max_bars_back=5000 for extensive historical analysis
- **Compatibility:** Works on all instruments with volume data (Stocks, Forex, Crypto, Futures)
- **Gap Handling:** Uses `barmerge.gaps_off` to fill data gaps during non-trading periods
- **Backtesting:** Uses `lookahead=barmerge.lookahead_on` for stable historical data without repainting
- **Data Continuity:** Automatically handles market closures, weekends, and extended hours
## Updates & Improvements
**Version 2.0 (Current):**
- ✅ Fixed alignment issues during extended hours and weekends
- ✅ Eliminated repainting in backtesting
- ✅ Added gap-filling technology for continuous display
- ✅ Improved data synchronization across all timeframes
- ✅ Enhanced NA value handling for data integrity
- ✅ Added advanced settings group for user control
## Support
For questions, suggestions, or feedback, please comment on the publication or message the author.
---
**Disclaimer:** This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always perform your own analysis and implement proper risk management before making trading decisions.
Deep in the Tape – VSA Educational (Invite Only)Deep in the Tape – VSA Educational (Invite-Only)
Overview
This invite-only study is built entirely on the Volume Spread Analysis (VSA) methodology developed by Tom Williams. VSA examines the interplay of volume, spread (bar range), and closing position to highlight the footprints of professional activity.
The aim of this tool is educational: to make it easier for traders to study how supply and demand pressures appear on the chart in real time. It does not generate trading advice, but instead plots markers based on classical VSA principles so students of the method can recognize strength, weakness, confirmations, and traps without the cryptic complexity often found in raw VSA study.
What It Displays
Key VSA Events (visual markers on the chart):
Stopping Volume (SV): Wide down bars with climactic volume closing off the lows.
Selling Climax (SC): Exhaustion selling at the end of a decline, often near bottoms.
Shakeout (SO): A sharp push down that springs back to close strong.
No Supply (NS): Narrow down bar on low volume, showing lack of selling pressure.
No Demand (ND): Narrow up bar on low volume, showing lack of buying interest.
Supply Coming In: Volume surge after an up-move, suggesting sellers active.
Buying Climax (BC): Wide up bar with climactic volume and weakness into the close.
Upthrust (UT): False break above prior highs with a weak close.
End of Rising Market (EoRM): Narrow up bar on very high volume, closing weak, often signaling distribution.
Test Bar: Down bar on very low volume in an uptrend, testing for lack of supply.
Contextual Tools:
Trigger Levels: High/low of ultra-high volume bars projected forward, serving as natural support/resistance levels.
Cluster Zones: Optional shading to mark zones of repeated high-volume activity (potential accumulation/distribution).
Background MA: A simple moving average for context only — not a signal generator.
Interpreting the Markers (Tom Williams Style)
Bullish Background (professional strength):
Events such as SV, SC, SO, and NS.
Best studied when price is trading above trigger levels and above the MA, showing demand in control.
Bearish Background (professional weakness):
Events such as BC, UT, Supply Coming In, and EoRM.
Best studied when price is below trigger levels and below the MA, showing supply dominance.
Multi-Timeframe Context & Market Behavior
A key principle to study with this tool is that higher-timeframe context usually outweighs signals on smaller timeframes. For example:
A short marker on a 5-minute chart often fails if the hourly background is bullish.
Likewise, a bullish signal on a small timeframe is less reliable if higher-timeframe background is bearish.
This highlights an important discipline lesson: not every small signal should be acted upon in isolation. Patience and alignment with the broader background improves study of how professional activity develops.
Channeling & Probing Behavior After Climactic Volume:
After a Stopping Volume (SV) bar on ultra-high volume, the market often enters a sideways channel between the blue (support) and red (resistance) trigger lines.
Professionals may probe the market — for example, dropping price through the lower red line on low volume to test for active sellers. If no significant supply is found, price rallies back inside the channel.
This absorption process may repeat until weakness is removed. Only then do No Supply (NS) or Test bars appear, providing stronger bullish confirmation.
The reverse applies in a bearish background, where No Demand (ND) or weakness confirmations appear after probing and absorption.
Studying these patterns helps traders recognize the probing nature of professional activity, why markets often pause after climactic signals, and how strength or weakness is confirmed over time.
Aggressive Trades (Educational Extension)
In addition to classical confirmations, this study also highlights aggressive follow-through conditions — situations where professionals act quickly after a major VSA event, before the “clean” confirmation appears.
Aggressive Longs may include:
Breakouts immediately above a Stopping Volume (SV) or Selling Climax (SC) high with strong volume.
Shakeout confirmations (price closes above the SO high on effort).
Failure of weakness (e.g., BC/UT/Supply signals that get overrun on strength).
Aggressive Shorts may include:
Confirmed follow-through after Supply Coming In.
Breakdowns after a Buying Climax (BC) or Upthrust (UT).
Shakeout failures where the rally attempt collapses.
End of Rising Market (EoRM) breaks on weakness.
These are marked separately for study. They are not “signals” but rather examples of how strength or weakness can assert itself early.
Failures (Educational Study Only)
Not all setups confirm. In VSA, Tests sometimes fail, and NS/ND bars can be absorbed. These are marked as Failure markers.
Their purpose is purely educational:
To show where expectations do not play out.
To help students see how traps or absorptions form.
To illustrate Tom Williams’ lesson that the market is a testing ground — not a perfect pattern machine.
Why It’s Original
Built directly from Tom Williams’ VSA logic — spread, volume relative to average, wick size, close location, and background context.
Adds projected trigger levels, cluster zones, and aggressive trade markers for educational context.
Designed for clarity and study, removing unnecessary complexity while staying faithful to VSA principles.
Not a mash-up of public scripts — a purpose-built framework for studying supply and demand dynamics.
Disclaimer
This script is for educational and analytical purposes only.
It does not generate buy/sell/alert signals, nor does it provide financial advice.
Always perform your own analysis and risk management before making trading decisions.
成交量分布与行为分析(VP)# 📊 成交量分布与价格行为分析指标使用说明
## 🌟 指标概述
**成交量分布与价格行为分析**是一个专业的TradingView指标,结合了传统的成交量分布分析(Volume Profile)和现代价格行为技术,为交易者提供全面的市场分析工具。
### ✨ 核心功能
- 📈 **成交量分布分析** - 显示特定价格区间的成交量集中度
- 🎯 **价格行为识别** - 智能识别关键价格水平和市场行为
- 📊 **情绪分布分析** - 展示买卖双方在不同价格的力量对比
- 🔄 **支撑阻力转换** - 自动检测支撑阻力的转换
- 📋 **专业统计信息** - 提供详细的市场数据统计
---
## 🛠️ 功能模块详解
### 1. 📊 成交量与情绪分布
#### 成交量分布
- **用途**: 显示在特定价格水平的成交量密度
- **解读**:
- 🟢 **绿色条形** = 上涨成交量(买盘主导)
- 🔴 **红色条形** = 下跌成交量(卖盘主导)
- 📏 **条形长度** = 成交量大小
#### 价值区域 (Value Area)
- **💎 价值区域上涨/下跌**: 68%成交量集中的区域
- **📈 VAH (Value Area High)**: 价值区域上边界
- **📉 VAL (Value Area Low)**: 价值区域下边界
- **🎯 POC (Point of Control)**: 成交量最大的价格水平
#### 情绪分布
- **🐂 看涨情绪**: 买盘力量占优势的价格区域
- **🐻 看跌情绪**: 卖盘力量占优势的价格区域
#### 供需区域
- **🔻 供应区域**: 卖压集中的低成交量区域
- **🔺 需求区域**: 买盘集中的低成交量区域
### 2. 🎯 价格行为分析
#### 关键价格提醒
- **🎯 POC附近**: 价格接近控制点时显示橙色圆点
- **⚡ VAH测试**: 价格测试价值区域高点时显示红色三角
- **🔥 VAL测试**: 价格测试价值区域低点时显示绿色三角
#### 成交量突破信号
- **🚀 突破确认**: 成交量异常放大时K线边框高亮
- **颜色含义**:
- 🟢 **绿色边框** = 上涨突破
- 🔴 **红色边框** = 下跌突破
#### 支撑阻力转换
- **🔄 阻力转支撑**: 突破VAH后显示蓝色虚线
- **🔄 支撑转阻力**: 跌破VAL后显示紫色虚线
### 3. 📊 成交量直方图
- **📈 绿色柱状**: 上涨K线的成交量
- **📉 红色柱状**: 下跌K线的成交量
- **📊 黄色线条**: 成交量移动平均线
- **🔄 翻转方向**: 可选择向上或向下显示
- **📍 位置控制**: 可放置在K线图上方或下方
---
## ⚙️ 参数设置指南
### 📊 成交量与情绪分布
| 参数 | 说明 | 推荐设置 |
|------|------|----------|
| **成交量分布** | 启用/禁用主要功能 | ✅ 开启 |
| **情绪分布** | 显示买卖情绪对比 | ✅ 开启 |
| **供需区域** | 显示供需失衡区域 | ✅ 开启 |
| **价值区域 (%)** | 成交量集中度 | 68% (默认) |
| **分布行数** | 价格精度 | 100行 |
| **分布宽度** | 显示宽度 | 31% |
| **回看长度** | 分析K线数量 | 360根 |
### 🎯 价格行为分析
| 参数 | 说明 | 建议设置 |
|------|------|----------|
| **关键价格提醒** | POC/VAH/VAL提醒 | ✅ 开启 |
| **POC敏感度** | POC提醒敏感度 | 0.2% |
| **VAH/VAL敏感度** | 边界测试敏感度 | 0.3% |
| **成交量突破信号** | 大成交量提醒 | ✅ 开启 |
| **成交量突破倍数** | 突破判定倍数 | 1.5倍 |
| **支撑阻力转换** | S/R转换线条 | ✅ 开启 |
| **显示风格** | 视觉强度 | 标准 |
### 📊 成交量直方图
| 参数 | 说明 | 建议 |
|------|------|------|
| **成交量直方图** | 启用直方图 | ✅ 开启 |
| **成交量MA** | 移动平均线 | ✅ 开启,21周期 |
| **位置** | 显示位置 | 顶部 |
| **翻转方向** | 方向控制 | ❌ 关闭 |
| **高度** | 显示高度 | 默认 |
| **垂直偏移** | 位置微调 | 1 |
---
## 📈 实战交易策略
### 🎯 策略一:POC回归交易
**设置要求**:
- ✅ 开启价格行为分析
- 🎯 POC敏感度: 0.2%
- 📊 成交量突破: 1.5倍
**交易信号**:
1. **🎯 橙色圆点出现** → 价格接近POC
2. **📊 成交量确认** → 等待成交量放大
3. **🚀 突破信号** → K线边框高亮时入场
**风险管理**:
- 止损:VAH/VAL边界
- 止盈:对侧价值区域边界
### 🔄 策略二:支撑阻力转换
**设置要求**:
- ✅ 开启支撑阻力转换
- 📏 线条长度: 5-10根K线
- ⚡ VAH/VAL敏感度: 0.3%
**交易信号**:
1. **🔵 蓝色虚线** → 阻力转支撑,看涨
2. **🟣 紫色虚线** → 支撑转阻力,看跌
3. **📊 成交量确认** → 配合大成交量
**适用市场**:
- 趋势行情
- 突破行情
- 区间震荡末期
### 📊 策略三:价值区域交易
**设置要求**:
- 💎 价值区域: 68%
- 📊 分布统计: 开启
- 🎨 显示风格: 标准
**交易逻辑**:
1. **价值区域内** → 区间交易策略
2. **价值区域上方** → 强势追多
3. **价值区域下方** → 弱势做空
4. **VAH/VAL测试** → 反弹/回调机会
---
## 🎨 显示风格选择
### 🔍 简约风格
- **适用**: 经验丰富的交易者
- **特点**: 提示非常低调,不影响图表阅读
- **推荐**: 专业交易员
### 📊 标准风格
- **适用**: 大多数交易者
- **特点**: 平衡的视觉效果,信息清晰
- **推荐**: 日常交易使用
### 🎯 醒目风格
- **适用**: 学习阶段的交易者
- **特点**: 信号明显,容易识别
- **推荐**: 新手交易者
---
## 🚨 警报设置
### 自动警报功能
- **🎯 POC穿越警报**: 价格突破控制点
- **📈 VAH突破警报**: 价格突破价值区域高点
- **📉 VAL突破警报**: 价格跌破价值区域低点
- **📊 高成交量警报**: 检测到异常成交量
- **🚀 成交量突破警报**: 确认突破信号
### 警报设置建议
1. 启用**POC穿越警报**用于关键点位提醒
2. 启用**成交量突破警报**用于入场确认
3. 根据交易风格选择性启用其他警报
---
## 📋 统计信息解读
### 右上角统计表格
| 项目 | 含义 | 用途 |
|------|------|------|
| **控制点** | 成交量最大的价格 | 关键支撑/阻力位 |
| **价值区域高点/低点** | 68%成交量边界 | 正常波动范围 |
| **总成交量** | 分析期间总成交量 | 市场活跃度 |
| **平均成交量/K线** | 平均K线成交量 | 成交量基准 |
| **价格行为** | 当前市场状态 | 实时分析结果 |
### 价格行为状态说明
| 状态 | 含义 | 操作建议 |
|------|------|----------|
| **🚀突破** | 成交量突破中 | 考虑追涨/追跌 |
| **🎯POC** | 接近控制点 | 关注反转机会 |
| **⚡VAH** | 测试价值区域高点 | 观察突破/回落 |
| **🔥VAL** | 测试价值区域低点 | 观察反弹/破位 |
| **↗上方** | 价值区域上方 | 强势市场 |
| **↘下方** | 价值区域下方 | 弱势市场 |
| **📊区域内** | 价值区域内 | 区间震荡 |
---
## 💡 使用技巧
### ✅ 最佳实践
1. **📊 多时间框架分析**:
- 高时间框架确定趋势
- 低时间框架寻找入场点
2. **🎯 关键水平确认**:
- POC作为主要支撑/阻力
- VAH/VAL作为次要关键位
3. **📈 成交量确认**:
- 突破必须配合成交量放大
- 低成交量突破谨慎对待
4. **🔄 动态调整**:
- 根据市场环境调整敏感度
- 趋势市场降低敏感度
- 震荡市场提高敏感度
### ❌ 常见误区
1. **过度依赖单一信号**: 需要多重确认
2. **忽略大趋势**: VP分析要结合趋势方向
3. **频繁调整参数**: 保持参数稳定性
4. **忽略风险管理**: 设置合理止损
---
## 🔧 故障排除
### 常见问题
**Q: 价格行为提示不显示?**
A: 检查以下设置:
- ✅ 确认"启用价格行为分析"已开启
- 🎨 调整"显示风格"为"醒目"
- 📊 降低敏感度设置
**Q: 成交量分布显示不完整?**
A: 调整以下参数:
- 📏 增加"回看长度"
- 📊 调整"分布行数"
- 📈 检查数据源
**Q: 警报过于频繁?**
A: 优化警报设置:
- 🎯 提高敏感度阈值
- 📊 增加成交量突破倍数
- ⏰ 选择关键警报类型
---
## 📞 技术支持
如有其他问题,请参考TradingView帮助文档或联系技术支持团队。
---
*💡 提示:该指标最适合用于股票、外汇、加密货币等具有充足成交量的市场。建议在使用前先在模拟环境中熟悉各项功能。*
# Volume Profile & Price Action Analysis Indicator
## Overview
This is a comprehensive **Volume Profile (VP)** indicator with advanced **Price Action Analysis** features, designed for professional trading on TradingView. It combines traditional volume profile analysis with sophisticated price behavior detection to provide traders with deeper market insights.
## 🎯 Key Features
### 📊 Volume Profile Analysis
- **Volume Distribution**: Visual representation of trading activity at different price levels
- **Point of Control (POC)**: Identifies the price level with highest volume
- **Value Area**: Highlights the price range containing 68% (customizable) of total volume
- **Sentiment Profile**: Shows bullish vs bearish sentiment at each price level
- **Supply & Demand Zones**: Identifies low-volume areas indicating potential breakout zones
### 🎯 Advanced Price Action Analysis
- **Key Price Level Alerts**: Smart detection when price approaches critical levels
- **Volume Breakout Signals**: Identifies significant volume spikes with visual confirmation
- **Support/Resistance Conversion**: Tracks when key levels flip their role
- **Real-time Price Behavior Status**: Live updates in statistics table
### 📈 Volume Histogram
- **Enhanced Volume Bars**: Visual volume representation with customizable placement
- **Volume Moving Average**: Overlay MA on volume for trend analysis
- **Flip Direction**: Option to invert histogram direction
- **Adjustable Height & Offset**: Full customization of visual appearance
## 🛠️ Configuration Guide
### Volume Profile Settings
| Parameter | Description | Default | Range |
|-----------|-------------|---------|--------|
| **Volume Profile** | Enable/disable main volume profile | ✓ Enabled | - |
| **Up Volume Color** | Color for bullish volume bars | Gray-Blue | Custom |
| **Down Volume Color** | Color for bearish volume bars | Gray | Custom |
| **Value Area %** | Percentage of volume for value area | 68% | 0-100% |
| **Profile Rows** | Resolution of volume profile | 100 | 10-150 |
| **Profile Width** | Width of volume profile bars | 31% | 0-250% |
### Price Action Analysis Settings
| Parameter | Description | Default | Range |
|-----------|-------------|---------|--------|
| **Enable Price Action** | Master switch for price analysis | ✓ Enabled | - |
| **Key Price Alerts** | POC/VAH/VAL proximity detection | ✓ Enabled | - |
| **POC Sensitivity** | Distance threshold for POC alerts | 0.2% | 0.1-1.0% |
| **VAH/VAL Sensitivity** | Distance threshold for value area alerts | 0.3% | 0.1-1.0% |
| **Volume Breakout Signals** | Large volume detection | ✓ Enabled | - |
| **Volume Threshold** | Multiplier for breakout detection | 1.5x | 1.2-3.0x |
| **Display Style** | Visual intensity of signals | Standard | Simple/Standard/Bold |
### Volume Histogram Settings
| Parameter | Description | Default | Range |
|-----------|-------------|---------|--------|
| **Volume Histogram** | Enable volume bars | ✓ Enabled | - |
| **Placement** | Position relative to price | Top | Top/Bottom |
| **Flip Direction** | Invert histogram direction | ✗ Disabled | - |
| **Height** | Size of volume bars | 8/10 | 1-10 |
| **Vertical Offset** | Position adjustment | 1 | -20 to 20 |
## 📋 How to Use
### 1. Basic Setup
1. Add the indicator to your chart
2. Adjust the **Lookback Length** (default: 360 bars) for your analysis period
3. Set **Profile Placement** (Right or Left side)
4. Configure colors to match your chart theme
### 2. Volume Profile Analysis
- **High Volume Areas** (thick bars) = Consolidation/Value zones
- **Low Volume Areas** (thin bars) = Potential breakout zones
- **POC Line** (red) = Strongest support/resistance level
- **Value Area** (highlighted) = Fair value trading range
### 3. Price Action Signals
#### Visual Indicators
- **🟡 Small Dots** = Price near POC (potential reversal zone)
- **🔺 Red Triangle** = Price testing Value Area High
- **🔻 Green Triangle** = Price testing Value Area Low
- **📊 Highlighted Candles** = Volume breakout confirmation
- **--- Dashed Lines** = Support/Resistance conversion
#### Statistics Table
Monitor real-time price behavior status:
- **🚀 Breakout** = Volume surge detected
- **🎯 POC** = Price near Point of Control
- **⚡ VAH** = Testing Value Area High
- **🔥 VAL** = Testing Value Area Low
- **↗ Above** = Price above value area
- **↘ Below** = Price below value area
### 4. Trading Applications
#### Entry Signals
- **Volume Breakout** + **POC Touch** = High probability setup
- **VAH/VAL Test** + **Volume Confirmation** = Reversal opportunity
- **Supply/Demand Zone** + **Price Action** = Breakout trade
#### Risk Management
- Use **Value Area** boundaries as dynamic support/resistance
- **POC** often acts as strong magnetic level
- **Low Volume Zones** may indicate stop-loss placement areas
#### Trend Analysis
- **Price Above Value Area** = Bullish bias
- **Price Below Value Area** = Bearish bias
- **Price Within Value Area** = Consolidation/ranging market
## ⚠️ Important Notes
### Performance Optimization
- Indicator processes multiple timeframes automatically
- **Data Source** shown in stats table (1S/5S/1min/5min etc.)
- Adjust **Profile Rows** if performance issues occur
### Best Practices
1. **Combine with Price Action**: Don't rely solely on volume profile
2. **Adjust Sensitivity**: Fine-tune alert thresholds for your timeframe
3. **Monitor Statistics**: Keep an eye on the real-time status table
4. **Use Multiple Timeframes**: Confirm signals across timeframes
### Alerts Setup
The indicator includes built-in alerts for:
- POC crossovers
- Value Area High/Low breaks
- Volume spike detection
- Significant volume increases
## 🎨 Customization Tips
### Professional Look
- Set **Display Style** to "Simple" for clean charts
- Use **muted colors** for volume profile
- Enable **Value Area Background** for clear visualization
### Active Trading
- Set **Display Style** to "Bold" for clear signals
- Lower **sensitivity thresholds** for more frequent alerts
- Enable **Volume Histogram** for quick volume assessment
### Multi-Timeframe Analysis
- Use **Visible Range** for dynamic analysis
- Adjust **Lookback Length** based on your trading style
- Monitor **Data Source** to understand calculation basis
## 📊 Understanding the Output
### Volume Profile Interpretation
- **Wide profiles** = Consolidation periods
- **Narrow profiles** = Trending periods
- **Split profiles** = Double distribution (support/resistance)
### Price Action Signals
- **Cluster of signals** = High probability zone
- **Isolated signals** = Lower confidence
- **Signal + Volume** = Highest probability setups
---
**Disclaimer**: This indicator is for educational purposes. Always perform your own analysis and risk management before making trading decisions.
Relative Volume Pulse [Asa]Relative Volume Pulse is a powerful intraday tool designed to help you instantly spot volume surges and anomalies compared to recent history. It highlights how today’s volume at each bar time compares to the typical volume observed at the same time over your chosen number of previous days. With intuitive color-coding and threshold logic, you can quickly identify both significant and extreme spikes in buying or selling activity—ideal for day traders, scalpers, and anyone who cares about real-time volume dynamics.
Key Features
Smart Intraday Volume Benchmarking:
Compares today’s volume to the average volume at the exact same time over the past X days, automatically adapting to typical intraday volume waves.
Dynamic Color Coding:
Up/Down Volume Bars:
Uses different colors for bullish and bearish candles.
Threshold Highlights:
Volume bars that exceed user-defined multiples of average (“Large” and “Extreme” thresholds) are highlighted with stronger colors, making true surges pop visually.
Configurable Visualization:
Choose to view today’s volume as columns, histogram, or line—whatever fits your workflow best.
Average Volume Overlay:
Plots the rolling intraday average as a reference line, so you can see at a glance what’s “normal” for any bar in the session.
Extreme Event Marker:
Optional marker flags bars that cross your “Extreme” volume threshold.
How It Works
For each bar, the script calculates the average volume at this exact time using your selected number of previous days (e.g., 5 days).
Today’s volume is compared to this average:
If volume exceeds your “Large” threshold (e.g., 1.5× average), the bar is colored with a more intense highlight.
If volume exceeds your “Extreme” threshold (e.g., 2× average), the bar is colored with the strongest highlight and optionally flagged with a marker.
Separate color controls for up and down candles let you instantly see whether surging volume is driven by buyers or sellers.
Typical Uses
Spotting Breakouts:
Quickly identify bars where volume is truly unusual for the time of day—filtering out routine open/close surges and focusing on real-time activity.
Scalping & Day Trading:
Use threshold-based color alerts to time entries or exits, especially when sudden volume accompanies price moves.
Volume-Based Confirmation:
Validate signals from other indicators by requiring confirmation from large or extreme relative volume.
Parameters
Number of Past Days for Average: How many previous days to use for the time-matched average.
Large / Extreme Thresholds: Customize what constitutes a notable or extreme volume event, as multiples of the average.
Up/Down & Highlight Colors: Choose your preferred colors for all volume and threshold levels.
Display Style: Select columns, histogram, or line to match your charting style.
Why Use This Indicator?
Most “relative volume” tools compare only to simple session averages, which miss the real ebb and flow of intraday trading. Relative Volume Pulse gives you contextually accurate volume analysis—helping you spot the bars that matter, not just those that look big on paper.
Stop guessing what’s “high” volume—see it, and act on it.
Volume Density AnalysisVolume Density Analysis
Overview
The "Volume Density Analysis" indicator is designed to provide traders with insights into volume dynamics relative to price movements. By analyzing the density of volume against price spread, this indicator helps identify potential reversal points and extreme volume conditions, enhancing decision-making in trading strategies.
Key Features
Volume Density Calculation: The indicator computes the density of volume by dividing the total volume by the price spread (high - low) for each bar. This allows for a more nuanced understanding of volume activity in relation to price movements.
Extremum Detection: Users can specify the number of bars to consider when identifying extreme volume conditions, allowing for tailored analysis based on market behavior.
Reversal Bar Conditions: The indicator includes options to determine if low or high volume bars must coincide with reversal patterns, providing additional context for potential trade signals.
Dynamic Coloring*: The histogram displays colored bars based on specific conditions:
Blue Bars: Indicate the lowest and highest volume density within a specified range, highlighting significant volume extremes.
Gray Bars: Represent lower or higher volume density that meets reversal criteria.
Green and Red Bars: Indicate bullish or bearish reversal signals based on historical density patterns.
User Inputs
nl: Number of previous lower bars to consider for comparison (default is 8).
nh: Number of previous higher bars to consider for comparison (default is 8).
ext: Number of bars for detecting extremum volume (default is 30).
LReversalBar: Boolean option to determine if low volume bar spread must indicate a reversal.
HReversalBar: Boolean option to determine if high volume bar spread must indicate a reversal.
Suggested Timeframes
M15: Without reversal considerations, use `nl=3`, `nh=3`, and `ext=20`.
M5: Without reversal considerations, use `nl=4`, `nh=4`, and `ext=35`.
M1: Use `nl=8`, `nh=8`, and `ext=58` for more detailed analysis.
Uptrick: Volume StrengthPurpose:
The "Uptrick: Volume Strength" indicator, known by its short title 'VolStrength,' is meticulously designed to evaluate the strength of volume activity within a market, providing traders with valuable insights into liquidity dynamics. By visualizing volume bars and comparing them to a predefined threshold, traders can gauge the intensity of buying or selling pressure, thereby assessing market liquidity and potential price movements.
Explanation:
Input Parameters:
Traders benefit from the ability to customize the threshold for high volume, allowing them to adapt the indicator to varying market conditions and trading strategies.
The calculation of the average volume over a specified period adds depth to the analysis, offering traders a reference point for assessing current volume levels relative to historical averages and evaluating liquidity trends.
Volume Analysis:
The script discerns between bars where the closing price exceeds the opening price (up bars) and bars where the closing price is lower than the opening price (down bars), facilitating the identification of bullish or bearish market sentiment.
High-volume bars that surpass the predefined threshold are prominently highlighted, serving as indicators of increased trading activity and enhanced liquidity levels.
Average Volume Visualization:
A line representing the average volume over the specified period is plotted on the chart, providing traders with a visual reference for evaluating current volume levels against historical averages. This aids in assessing the overall liquidity conditions in the market.
Volume Bar Representation:
The colorization of volume bars is contingent upon their direction (up or down) and whether they exceed the high volume threshold.
Up bars, symbolizing buying pressure, are typically depicted in green, while down bars, indicative of selling pressure, are rendered in red.
Notably, when volume surpasses the high volume threshold, the respective bar color is applied, accentuating significant volume spikes and their potential impact on liquidity and price dynamics.
Through its meticulous design and comprehensive features, the "Uptrick: Volume Strength" indicator equips traders with actionable insights into market liquidity dynamics. By integrating volume analysis into their trading strategies, traders can effectively assess liquidity conditions, identify potential price movements, and make informed trading decisions.
[TTI] High Volume Close (HVC) Setup📜 ––––HISTORY & CREDITS––––
The High Volume Close (HVC) Setup is a specialised indicator designed for the TradingView platform used to identify specific bar. This tool was developed with the objective of identifying a technical pattern that trades have claimed is significant trading opportunities through a unique blend of volume analysis and price action strategies. It is based on the premise that high-volume bars, when combined with specific price action criteria, can signal key market movements.
The HVC is applicable both for swing and longer term trading and as a technical tool it can be used by traders of any asset type (stocks, ETF, crypto, forex etc).
🦄 –––UNIQUENESS–––
The uniqueness of the HVC Setup lies in its flexibility to determine an important price level based on historically important bar. The idea is to identify significant bars (e.g. those who have created the HIGHEST VOLUME: Ever, Yearly, Quarterly and meet additional criteria from the settings) and plot on the chart the close on that day as a significant level as well as theoretical stop loss and target levels. This approach allows traders to discern high volume bars that are contextually significant — a method not commonly found in standard trading tools.
🎯 ––––WHAT IT DOES––––
The HVC Setup indicator performs a series of calculations to identify high volume close bars/bar (HVC bars) based on the user requirements.
These bars are determined based on the highest volume recorded within a user-inputs:
👉 Period (Ever, Yearly, Quarterly) and must meet additional criteria such as:
👉 a minimum percentage Price Change (change is calculated based on a close/close) and
👉 specific Closing Range requirements for the HVC da.
The theory is that this is a significant bar that is important to know where it is on the chart.
The script includes a comparative analysis of the HVC bar's price against historical price highs (all-time, yearly, quarterly), which provides further context and significance to the identified bars. All of these USER input requirement are then taken into account as a condition to identity the High Volume Close Bar (HVC).
The visual representation includes color-coded bar (default is yellow) and lines to delineate these key trading signals. It then draws a blue line for the place where the close ofthe bar is, a red line that would signify a stop loss and 2 target profit levels equal to 2R and 3R of the risked level (close-stop loss). Additional lines can be turned on/off with their coresponding checkboxes in the settings.
If the user chooses "Ever" for Period - the script will look at the first available bar ever in Tradingview - this is generally the IPO bar;
If the users chooses "Yearly" - the script would look at the highest available bar for a completed year;
If the users chooses "Quarterly" - it would do the same for the quarter. (works on daily timeframe only);
While we have not backtested the performance of the script, this methodology has been widely publicised.
🛠️ ––––HOW TO USE IT––––
To utilize the HVC Setup effectively:
👉Customize Input Settings: Choose the HVC period, percentage change threshold, closing range, stop loss distance, and target multiples according to your trading strategy. Use the tick boxes to enable and disable if a given condition is used within the calculation.
👉Identify HVC Bars: The script highlights HVC bars, indicating potential opportunities based on volume and price action analysis.
👉Interpret Targets and Stop Losses: Use the color-coded lines (green for targets, red for stop losses) to guide your trade entries and exits.
👉Contextual Analysis: Always consider the HVC bar signals in conjunction with overall market trends and additional technical indicators for comprehensive trading decisions.
This script is designed to assist traders in identifying high-potential trading setups by using a combination of volume and price analysis, enhancing traditional methods with a unique, algorithmically driven approach.
Volume Spike Analysis [Trendoscope]The Volume Spike Analysis is designed to detect volume spikes in a trading instrument's data. Rather than relying on the traditional method of comparing volume to its moving average, this indicator employs a distinctive approach to ensure accuracy.
Methodology
Historical Volume Comparison: The indicator first assesses the current bar's volume, say 100k, and looks back historically to determine the last instance when the volume was equal to or exceeded this level.
High Volume Bar Gap Calculation: The intervals or gaps between high volume bars are recorded. These gaps help in determining how common or rare a particular volume spike is.
Spike Magnitude Determination: Here, the extent of the volume spike is gauged in relation to either the median, lowest, or average volume of the intervening bars. The reference metric (median, lowest, or average) can be chosen by the user through the "Volume Spike Reference" input parameter.
Spike Percentile Analysis: The calculated spike magnitude (as a percentage of the reference volume) is cataloged. This collection aids in understanding the relative intensity of the current volume spike when compared to previous spikes.
Threshold Comparisons: The indicator then compares the calculated "High Volume Distance Percentile" to the "Last High Volume Distance Percentile" and the "Volume Spike Percentile" to the "Volume Spike Threshold". If these values surpass the preset thresholds, the current bar is flagged as a high volume or volume spike bar.
Visual Components
Bar Highlighting : High volume or volume spike bars are accentuated with bright colors for easy identification. All other bars have increased transparency to reduce visual clutter.
Distance from the High Volume Bar: Indication of the number of bars since the last high volume occurrence and its respective percentile.
Comparative Factors: A factor representing the magnitude by which the current volume surpasses the lowest, median, and average volumes.
Lowest, Median and Average Volumes: The lowest and median volumes are indicated by tooltips on lines marking the respective bars. The average volume is depicted as a dotted horizontal line, with a triangle marker tooltip revealing its value.
This indicator offers a nuanced analysis of volume spikes, aiding traders in making more informed decisions.
RedK EVEREX - Effort Versus Results ExplorerRedK EVEREX is an experimental indicator that explores "Volume Price Analysis" basic concepts and Wyckoff law "Effort versus Result" - by inspecting the relative volume (effort) and the associated (relative) price action (result) for each bar - showing the analysis as an easy to read "stacked bands" visual. From that analysis, we calculate a "Relative Rate of Flow" - an easy to use +100/-100 oscilator that can be used to trigger a signal when a bullish or bearish mode is detected for a certain user-selected length of bars.
Basic Concepts of VPA
-------------------------------
(The topics of VPA & Wyckoff Effort vs Results law are too comprehensive to cover here - So here's just a very basic summary - please review these topics in detail in various sources available here in TradingView or on the web)
* Volume Price Analysis (VPA) is the examination of the number of shares or contracts of a security that have been traded in a given period, and the associated price movement. By analyzing trends in volume in conjunction with price movements, traders can determine the significance of changes in price and what may unfold in the near future.
* Oftentimes, high volumes of trading can infer a lot about investors’ outlook on a market or security. A significant price increase along with a significant volume increase, for example, could be a credible sign of a continued bullish trend or a bullish reversal. Adversely, a significant price decrease with a significant volume increase can point to a continued bearish trend or a bearish trend reversal.
* Incorporating volume into a trading decision can help an investor to have a more balanced view of all the broad market factors that could be influencing a security’s price, which helps an investor to make a more informed decision.
* Wyckoff's law "Effort versus results" dictates that large effort is expected to be accompanied with big results - which means that we should expect to see a big price move (result) associated with a large relative volume (effort) for a certain trading period (bar).
* The way traders use this concept in chart analysis is to mainly look for imbalances or invalidation. for example, when we observe a large relative volume that is associated with very limited price change - that should trigger an early flag/warning sign that the current price trend is facing challenges and may be an early sign of "reversal" - this applies in both bearish and bullish conditions. on the other hand, when price starts to trend in a certain direction and that's associated with increasing volume, that can act as kind of validation, or a confirmation that the market supports that move.
How does EVEREX work
---------------------------------
* EVEREX inspects each bar and calculates a relative value for volume (effort) and "strength of price movement" (result) compared to a specified lookback period. The results are then visualized as stacked bands - the lower band represents the relative volume, the upper band represents the relative price strength - with clear color coding for easier analysis.
* The scale of the band is initially set to 100 (each band can occupy up to 50) - and that can be changed in the settings to 200 or 400 - mainly to allow a "zoom in" on the bands.
* Reading the resulting stacked bands makes it easier to see "balanced" volume/price action (where both bands are either equally strong, or equally weak), or when there's imbalance between volume and price (for example, a compression bar will show with high volume band and very small/tiny price action band) - another favorite pattern in VPA is the "Ease of Move", which will show as a relatively small volume band associated with a large "price action band" (either bullish or bearish) .. and so on.
* a bit of a techie piece: why the use of a custom "Normalize()" function to calculate "relative" values in EVEREX?
When we evaluate a certain value against an average (for example, volume) we need a mechanism to deal with "super high" values that largely exceed that average - I also needed a mechanism that mimics how a trader looks at a volume bar and decides that this volume value is super low, low, average, above average, high or super high -- the issue with using a stoch() function, which is the usual technique for comparing a data point against a lookback average, is that this function will produce a "zero" for low values, and cause a large distortion of the next few "ratios" when super large values occur in the data series - i researched multiple techniques here and decided to use the custom Normalize() function - and what i found is, as long as we're applying the same formula consistently to the data series, since it's all relative to itself, we can confidently use the result. Please feel free to play around with this part further if you like - the code is commented for those who would like to research this further.
* Overall, the hope is to make the bar-by-bar analysis easier and faster for traders who apply VPA concepts in their trading
What is RROF?
--------------------------
* Once we have the values of relative volume and relative price strength, it's easy from there to combine these values into a moving index that can be used to track overall strength and detect reversals in market direction - if you think about it this a very similar concept to a volume-weighted RSI. I call that index the "Relative Rate of Flow" - or RROF (cause we're not using the direct volume and price values in the calculation, but rather relative values that we calculated with the proprietary "Normalize" function in the script.
* You can show RROF as a single or double-period - and you can customize it in terms of smoothing, and signal line - and also utilize the basic alerts to get notified when a change in strength from one side to the other (bullish vs bearish) is detected
* In the chart above, you can see how the RROF was able to detect change in market condition from Bearsh to Bullish - then from Bullish to Bearish for TSLA with good accuracy.
Other Usage Options in EVEREX
------------------------------------
* I wrote EVEREX with a lot of flexibility and utilization in mind, while focusing on a clean and easy to use visual - EVEREX should work with any time frame and any instrument - in instruments with no volume data, only price data will be used.
* You can completely hide the "EVEREX bands" and use EVEREX as a single or dual period strength indicator (by exposing the Bias/Sentiment plot which is hidden by default) -
here's how this setup would look like - in this mode, you will basically be using EVEREX the same way you're using a volume-weighted RSI
* or you can hide the bias/sentiment, and expose the Bulls & Bears plots (using the indicator's "Style" tab), and trade it like a Bull/Bear Pressure Index like this
* you can choose Moving Average type for most plot elements in EVEREX, including how to deal with the Lookback averaging
* you can set EVEREX to a different time frame than the chart
* did i mention basic alerts in this v1.0 ?? There's room to add more VPA-specific alerts in future version (for example, when Ease-of-Move or Compression bars are detected...etc) - let me know if the comments what you want to see
Final Thoughts
--------------------
* EVEREX can be used for bar-by-bar VPA analysis - There are so much literature out there about VPA and it's highly recommended that traders read more about what VPA is and how it works - as it adds an interesting (and critical) dimension to technical analysis and will improve decision making
* RROF is a "strength indicator" - it does not track price values (levels) or momentum - as you will see when you use it, the price can be moving up, while the RROF signal line starts moving down, reflecting decreasing strength (or otherwise, increasing bear strength) - So if you incorporate EVEREX in your trading you will need to use it alongside other momentum and price value indicators (like MACD, MA's, Trend Channels, Support & Resistance Lines, Fib / Donchian..etc) - to use for trade confirmation
Indicators: Better Volume Indicator & InstrumentVolumeBetter Volume Indicator
-----------------------------------------
This is a direct port of a famous indicator from Tradestation platform.
BVI improves on your typical volume histogram by coloring the bars based on 5 criteria:
* Volume Climax Up – high volume, high range, up bars (red)
* Volume Climax Down – high volume, high range, down bars (white)
* High Volume Churn – high volume, low range bars (green, barcolor= blue)
* Low Volume – low volume bars (yellow)
* Volume Climax plus High Volume Churn – both the above conditions (magenta)
When there are no volume signals the default histogram bar coloring is cyan.
Bars can also be colored to match volume color. Enable "Change BarColors?" in the options page.
Volume Climax Up bars are typically seen at:
* The start of up trends
* The end of up trends, and
* Pullbacks during down trends.
Volume Climax Down bars are typically seen at:
* The start of down trends
* The end of down trends, and
* Pullbacks during up trends.
High Volume Churn bars are typically seen at:
* The end of up trends
* The end of down trends, and
* Profit taking mid-trend.
Low Volume bars are typically seen at:
* The end of up trends
* The end of down trends, and
* Pullbacks mid-trend.
More info:
emini-watch.com
Instrument Volume
-----------------------------------------
This is a simple script that allows you to plot volume for any instrument.
Very handy when you want to compare volumes. Just add multiple instances and select the symbol you want via Options page.
This script also gets close/open for the selected symbol. If you are itching to get started on Pinescripting (scripting language used at TV), I suggest trying out the following, using this script as the template:
- Show RSI for any instrument
(hint: "close" for the selected symbol is already in script. Do a "plot(rsi(c, 14))")
- MACD / CCI / ....
- Plot the difference (not correlation). This may be of interest in some instruments.
For ex. BTC in BTCE exchange mostly lags BITSTAMP.
Hope this piques your interest in Pine. Feel free to post in the Pinescript room if you have any queries.
Clean Volume (SUV)The Problem with Raw Volume
Traditional volume bars tell you how much traded, but not whether that amount is unusual. This creates noise that misleads traders:
Stock A averages 1M shares with wild daily swings (500K-2M is normal). Today's 2M volume looks like a spike—but it's just a routine high day.
Stock B averages 1M shares with rock-steady volume (950K-1.05M typical). Today's 2M volume is genuinely extraordinary—institutions are clearly active.
Both show identical 200% relative volume. But Stock B's reading is far more significant. Raw volume and simple relative volume (RVol) can't distinguish between these situations, leading to:
- False signals on naturally volatile stocks
- Missed signals on stable stocks where smaller deviations matter
- Inconsistent comparisons across different securities
---
A Solution: Standardized Unexpected Volume (SUV)
SUV applies statistical normalization to volume, measuring how many standard deviations today's volume is from the mean. This z-score approach accounts for each stock's individual volume stability, not just its average.
SUV = (Today's Volume - Average Volume) / Standard Deviation of Volume
Using the examples above:
- Stock A (high volatility): SUV = 2.0 — elevated but not unusual for this stock
- Stock B (low volatility): SUV = 10.0 — extremely unusual, demands attention
SUV automatically calibrates to each security's behaviour, making volume readings comparable across any stock, ETF, or timeframe.
---
What SUV Is Good For
✅ Identifying genuine volume anomalies — separates signal from noise
✅ Comparing volume across different securities — apples-to-apples z-scores
✅ Spotting institutional activity — large players create statistically significant footprints
✅ Confirming breakouts — high SUV validates price moves
✅ Detecting exhaustion — extreme SUV after extended moves may signal climax
✅ Finding "dry" setups — negative SUV reveals quiet accumulation periods
---
Where SUV Has Limitations
⚠️ Earnings/news events — SUV will spike dramatically (by design), but the statistical reading may be less meaningful when fundamentals change
⚠️ Low-float stocks — extreme volume volatility can produce erratic SUV readings
⚠️ First 20 bars — needs lookback period to establish baseline; early readings are less reliable
⚠️ Doesn't predict direction — SUV measures volume intensity, not whether price will rise or fall
---
How to Read This Indicator
Bar Height
Displays actual volume (like a traditional volume chart) so you can still see absolute levels.
Bar Color (SUV Intensity)
Color intensity reflects the SUV z-score. Brighter = more unusual.
Up Days (Green Gradient):
| Color | SUV Range | Meaning |
|--------------|-----------|------------------------------------------|
| Bright Green | ≥ 3.0 | EXTREME — Highly unusual buying activity |
| Green | ≥ 2.0 | VERY HIGH — Significant accumulation |
| Light Green | ≥ 1.5 | HIGH — Above-average interest |
| Pale Green | ≥ 1.0 | ELEVATED — Moderately active |
| Muted Green | 0 to 1.0 | NORMAL — Typical volume |
| Dark Grey | < 0 | DRY — Below-average, quiet |
Down Days (Red Gradient):
| Color | SUV Range | Meaning |
|------------|-----------|-----------------------------------------|
| Bright Red | ≥ 3.0 | EXTREME — Panic selling or capitulation |
| Red | ≥ 2.0 | VERY HIGH — Heavy distribution |
| Light Red | ≥ 1.5 | HIGH — Active selling |
| Pale Red | ≥ 1.0 | ELEVATED — Moderate selling |
| Muted Red | 0 to 1.0 | NORMAL — Routine down day |
| Dark Grey | < 0 | DRY — Light profit-taking |
Coiled State (Tan/Beige):
When detected, bars turn muted tan regardless of direction. This indicates:
- Volume compression (SUV below threshold for consecutive days)
- Volatility contraction (ATR below average)
- Price tightness (small recent moves)
Coiled states may precede significant breakouts.
Special Markers
"P" Label (Blue) — Pocket Pivot detected. Morales & Kacher's signal fires when:
- Price closes higher than previous close
- Price closes above the open (green candle)
- Volume exceeds the highest down-day volume of the last 10 bars
Pocket Pivots may indicate institutional buying before a traditional breakout.
"C" Label (Orange) — Coiled state confirmed. The stock is consolidating with compressed volume and tight price action. Watch for expansion.
Dashboard
The configurable dashboard displays real-time metrics. Default items:
- Vol — Current bar volume
- SUV — Z-score value
- Class — Classification (EXTREME/VERY HIGH/HIGH/ELEVATED/NORMAL/DRY/COILED)
- Proj RVol — Projected end-of-day relative volume (intraday only)
Additional optional items: Direction, Coil Status, Relative ATR, Pocket Pivot, Average Volume.
---
Practical Usage Tips
1. SUV ≥ 2 on breakouts — Validates the move has institutional participation
2. Watch for SUV < 0 bases — Quiet accumulation zones where smart money builds positions
3. Coil → Expansion — After consecutive coiled days, the first SUV ≥ 1.5 bar often signals direction
4. Pocket Pivots in bases — Early accumulation signals before price breaks out
5. Extreme SUV (≥3) after extended moves — May indicate climax/exhaustion rather than continuation
---
Settings Overview
| Group | Key Settings |
|-----------------|-----------------------------------------------------|
| SUV Settings | Lookback period (default 20) |
| Coil Detection | Enable/disable, sensitivity thresholds |
| Pocket Pivot | Enable/disable, lookback period |
| Display | Dashboard style (Ribbon/Table), position, text size |
| Dashboard Items | Toggle which metrics appear |
| Colors | Fully customizable gradient colors |
---
Credits
SUV concept adapted from academic literature on standardized unexpected volume in market microstructure research. Pocket Pivot methodology based on Gil Morales and Chris Kacher's work. Coil detection inspired by volatility contraction patterns.
---
This indicator does not provide financial advice. Always combine volume analysis with price action, market context, and proper risk management. No animals were harmed during the coding and testing of this indicator.
Liquidity Void Detector (Zeiierman)█ Overview
Liquidity Void Detector (Zeiierman) is an oscillator highlighting inefficient price displacements under low participation. It measures the most recent price move (standardized return) and amplifies it only when volume is below its own trend.
Positive readings ⇒ strong up-move on low volume → potential Buy-Side Imbalance (void below) that often refills.
Negative readings ⇒ strong down-move on low volume → potential Sell-Side Imbalance (void above) that often refills.
This tool provides a quantitative “void” proxy: when price travels far with unusually thin volume, the move is flagged as likely inefficient and prone to mean-reversion/mitigation.
█ How It Works
⚪ Volume Shock (Participation Filter)
Each bar, volume is compared to a rolling baseline. This is then z-scored.
// Volume Shock calculation
volTrend = ta.sma(volume, L)
vs = (volume > 0 and volTrend > 0) ? math.log(volume) - math.log(volTrend) : na
vsZ = zScore(vs, vzLen) // z-scored volume shock
lowVS = (vsZ <= vzThr) // low-volume condition
Bars with VolShock Z ≤ threshold are treated as low-volume (thin).
⚪ Prior Return Extremeness
The 1-bar log return is computed and z-scored.
// Prior return extremeness
r1 = math.log(close / close )
retZ = zScore(r1, rLen) // z-scored prior return
This shows whether the latest move is unusually large relative to recent history.
⚪ Void Oscillator
The oscillator is:
// Oscillator construction
weight = lowVS ? 1.0 : fadeNoLow
osc = retZ * weight
where Weight = 1 when volume is low, otherwise fades toward a user-set factor (0–1).
Osc > 0: up-move emphasized under low volume ⇒ Buy-Side Imbalance.
Osc < 0: down-move emphasized under low volume ⇒ Sell-Side Imbalance.
█ Why Use It
⚪ Targets Inefficient Moves
By filtering for low participation, the oscillator focuses on moves most likely driven by thin books/noise trading, which are statistically more likely to retrace.
⚪ Simple, Robust Logic
No need for tick data or order-book depth. It derives a practical void proxy from OHLCV, making it portable across assets and timeframes.
⚪ Complements Price-Action Tools
Use alongside FVG/imbalance zones, key levels, and volume profile to prioritize voids that carry the highest reversal probability.
█ How to Use
Sell-Side Imbalance = aggressive sell move (price goes down on low volume) → expect price to move up to fill it.
Buy-Side Imbalance = aggressive buy move (price goes up on low volume) → expect price to move down to fill it.
█ Settings
Volume Baseline Length — Bars for the volume trend used in VolShock. Larger = smoother baseline, fewer low-volume flags.
Vol Shock Z-Score Lookback — Bars to standardize VolShock; larger = smoother, fewer extremes.
Low-Volume Threshold (VolShock Z ≤) — Defines “thin participation.” Typical: −0.5 to −1.0.
Return Z-Score Lookback — Bars to standardize the 1-bar log return; larger = smoother “extremeness” measure.
Fade When Volume Not Low (0–1) — Weight applied when volume is not low. 0.00 = ignore non-low-volume bars entirely. 1.00 = treat volume condition as irrelevant (pure return extremeness).
Upper Threshold (Osc ≥) — Trigger for Sell-Side Imbalance (void below).
Lower Threshold (Osc ≤) — Trigger for Buy-Side Imbalance (void above).
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Intelligent Currency Breakout ChannelIndicator: Intelligent Currency Breakout Channel
This document provides a detailed explanation of the "Intelligent Currency Breakout Channel" indicator for TradingView.
1. Overview
The Intelligent Currency Breakout Channel is an advanced technical analysis tool designed to identify periods of price consolidation and signal potential breakouts. It automatically draws channels around ranging price action and utilizes sophisticated volume analysis to provide deeper insights into market sentiment. The indicator also includes a built-in logarithmic regression screener to help traders align their breakout signals with the broader market trend.
2. Key Features
Automatic Channel Detection: The indicator identifies periods of low volatility and automatically draws a containing channel (box) around the price action.
Breakout Signals: It generates clear visual alerts (▲ for bullish, ▼ for bearish) when the price closes decisively outside of a channel.
In-Depth Volume Analysis: Within each channel, the indicator plots volume as candlestick-like bars, offering three distinct modes: Total Volume, Buy/Sell Comparison, and Volume Delta. This helps traders gauge the strength and conviction behind price movements.
Real-time Sentiment Gauge: When a channel is active, a dynamic color-graded gauge appears on the right side of the chart. It visualizes the current volume delta momentum relative to its recent range, offering an at-a-glance sentiment reading.
Integrated Trend Screener: A secondary analysis tool based on logarithmic regression is included to determine the underlying trend direction (Up, Down, or Neutral), which can be used to filter breakout signals.
Fully Customizable: Users can extensively customize all parameters, from calculation lengths and breakout sensitivity to the visual appearance of every component.
3. How to Use
Channel Formation: Watch for the indicator to draw a new channel. This signifies that the market is in a consolidation or ranging phase. The formation of a channel itself can be an alertable event.
Volume Interpretation: Observe the volume bars inside the channel. An increase in volume as the price approaches the channel's upper or lower boundary can foreshadow a potential breakout. Use the Volume Display Mode to analyze if buying pressure (Comparison, Delta) or selling pressure is building.
Breakout Confirmation: A bullish breakout signal (▲) appears when the price closes above the channel's upper boundary. A bearish breakout signal (▼) appears when the price closes below the lower boundary. For higher-quality signals, enable the Strong Closes Only option.
Trend Confirmation (Screener): Use the screener's plot and background color to confirm the broader trend. For instance, you might choose to only take bullish breakout signals when the screener indicates an uptrend (green background) and bearish signals when it indicates a downtrend (red background).
Sentiment Gauge: The pointer on the gauge indicates current momentum. A pointer in the upper (green) section suggests bullish pressure, while a pointer in the lower (red) section suggests bearish pressure. This can provide additional confluence for a trade decision.
4. Settings and Inputs
Main Settings
Overlap Channels: If enabled, allows multiple channels to be drawn on the chart simultaneously, even if they overlap. When disabled, a new channel will only form if it doesn't intersect with an existing one.
Strong Closes Only: If enabled, a breakout is only triggered if the midpoint of the candle's body (average of open and close) is outside the channel. This helps filter out false signals caused by long wicks. If disabled, any close outside the channel triggers a breakout.
Normalization Length: The lookback period (in bars) used for price normalization. A higher value creates a more stable normalization but may be slower to react to recent price changes.
Box Detection Length: The lookback period used to detect the channel formation pattern. A lower value will result in more frequent channels but may be more sensitive to noise. A higher value will result in fewer, but potentially more significant, channels.
Volume Analysis
Show Volume Analysis: Toggles the visibility of the candlestick-like volume bars inside the channel.
Volume Display Mode:
Volume: Displays total volume as symmetrical bars around the channel's midline.
Comparison: Shows buying volume (green) above the midline and selling volume (red) below it.
Delta: Shows the net difference between buying and selling volume. Positive delta is shown above the midline, and negative delta is shown below.
Volume Delta Timeframe Source: The timeframe from which to source volume data for calculations. Using a lower timeframe can provide a more granular view of volume dynamics.
Volume Scaling: A multiplier that adjusts the vertical size of the volume bars relative to the channel's height.
Appearance
Volume Text Size: Sets the size of the volume data text displayed in the corners of the channel. Options: Tiny, Small, Medium, Large.
Bullish Color: The primary color for all bullish visual elements, including breakout signals and positive volume bars.
Bearish Color: The primary color for all bearish visual elements, including breakout signals and negative volume bars.
Screener Settings
Lookback Period: The number of bars used for the logarithmic regression calculation to determine the trend.
Screener Type:
Log Regression Channel: The signal is based on the slope of the entire regression channel over the lookback period. An upward sloping channel is bullish (1), and a downward sloping one is bearish (-1).
Logarithmic Regression: The signal is based on the most recent value of the regression line compared to its value 3 bars ago. This provides a more responsive measure of the immediate trend.
5. Alerts
You can set up the following alerts through the TradingView alerts panel:
New Channel Formed: Triggers when a new price consolidation channel is detected and drawn on the chart.
Bullish Breakout: Triggers when the price breaks out and closes above the upper boundary of a channel.
Bearish Breakout: Triggers when the price breaks out and closes below the lower boundary of a channel.
Is In Channel: Triggers on every bar that the price is currently trading inside an active channel.
Signal UP: Triggers when the Screener's signal turns bullish (1).
Signal DOWN: Triggers when the Screener's signal turns bearish (-1).
Z-Score Volume with CVD TrendZ-Score Volume & CVD Trend with Exhaustion Signals
This powerful, all-in-one indicator combines statistical volume analysis, Cumulative Volume Delta (CVD), and a custom clustering algorithm to provide a clear and dynamic view of market sentiment. It is designed to help traders identify the prevailing trend and spot potential reversals or trend exhaustion before they happen.
Important Note: This indicator is specifically designed and optimized for use during the Regular Trading Hours (RTH) New York session, which is typically characterized by high volume and volatility. Its signals may be less reliable in low-volume or overnight sessions.
Core Concepts
1. Volume Z-Score
The script first calculates a Z-score for volume, which measures how many standard deviations a bar's volume is from a moving average. This helps to identify statistically significant volume spikes that may signal institutional activity or a major shift in sentiment.
2. Cumulative Volume Delta (CVD)
CVD plots the net difference between buying and selling volume over time. A rising CVD indicates a surplus of buying pressure, while a falling CVD shows a surplus of selling pressure. This provides a clear look at the direction of momentum.
3. Custom Clustering
By combining the Volume Z-score and CVD delta, the script classifies each bar into one of six distinct "clusters." The purpose is to simplify complex data into actionable signals.
High Conviction Bullish: High Z-score volume with strong CVD buying.
High Conviction Bearish: High Z-score volume with strong CVD selling.
Effort vs. Result: High Z-score volume with no clear CVD bias, indicating indecision or a struggle between buyers and sellers.
Quiet Accumulation: Low volume with subtle CVD buying, suggesting passive accumulation.
Quiet Distribution: Low volume with subtle CVD selling, suggesting passive distribution.
Low Conviction/Noise: Low volume and low CVD, representing general market noise.
Trend and Exhaustion Logic
Trend Establishment: The indicator determines the overall trend (Bullish, Bearish, or Neutral) by analyzing the majority of recent clusters over a configurable lookback period.
A Bullish Trend is confirmed when a majority of recent bars are either "High Conviction Bullish" or "Quiet Accumulation."
A Bearish Trend is confirmed when a majority of recent bars are either "High Conviction Bearish" or "Quiet Distribution."
Trend Exhaustion: This is a key feature for identifying potential reversals. The script looks for a divergence between price action and CVD within a confirmed trend.
Bullish Exhaustion Signal: Occurs during a confirmed "Bullish Trend" when you see a bearish divergence (price makes a higher high, but CVD shows negative delta and a close lower than the open). This is a strong sign the uptrend may be running out of steam.
Bearish Exhaustion Signal: Occurs during a confirmed "Bearish Trend" when you see a bullish divergence (price makes a lower low, but CVD shows positive delta and a close higher than the open). This indicates the downtrend may be exhausted.
How to Interpret the Visuals
Volume Bars: Colored to match the cluster they belong to.
Background Color: Shows the overall trend (light green for bullish, light red for bearish).
Circle Markers (bottom): Green circles indicate a bullish trend, and red circles indicate a bearish trend.
Triangles and Circles (top): Represent the specific cluster of each bar.
Trend Exhaustion Markers: Triangles above/below the bar signal potential trend exhaustion.
Info Table: An optional table provides a real-time summary of all key metrics for the current bar.
Settings
Volume EMA Length: Adjusts the moving average used for the Volume Z-score calculation.
Z-Score Look Back: Defines the number of bars to use for the volume and CVD percentile calculation.
Lower/Upper Cluster Percentile: Use these to adjust the sensitivity of the clustering. Tighter ranges (e.g., 25/75) capture more data, while wider ranges (e.g., 10/90) will only signal truly extreme events.
Trend Lookback Bars: Controls how many recent bars are considered when determining the trend.
This script offers a comprehensive and easy-to-read way to integrate volume, momentum, and trend analysis into your trading.
Happy Trading!
Volumatic Fair Value Gaps [BigBeluga]🔵 OVERVIEW
The Volumatic Fair Value Gaps indicator detects and plots size-filtered Fair Value Gaps (FVGs) and immediately analyzes the bullish vs. bearish volume composition inside each gap. When an FVG forms, the tool samples volume from a 10× lower timeframe , splits it into Buy and Sell components, and overlays two compact bars whose percentages always sum to 100%. Each gap also shows its total traded volume . A live dashboard (top-right) summarizes how many bullish and bearish FVGs are currently active and their cumulative volumes—offering a quick read on directional participation and trend pressure.
🔵 CONCEPTS
FVGs (Fair Value Gaps) : Imbalance zones between three consecutive candles where price “skips” trading. The script plots bullish and bearish gaps and extends them until mitigated.
Size Filtering : Only significant gaps (by relative size percentile) are drawn, reducing noise and emphasizing meaningful imbalances.
// Gap Filters
float diff = close > open ? (low - high ) / low * 100 : (low - high) / high *100
float sizeFVG = diff / ta.percentile_nearest_rank(diff, 1000, 100) * 100
bool filterFVG = sizeFVG > 15
Volume Decomposition : For each FVG, the indicator inspects a 10× lower timeframe and aggregates volume of bullish vs. bearish candles inside the gap’s span.
100% Split Bars : Two inline bars per FVG display the % Bull and % Bear shares; their total is always 100%.
Total Gap Volume : A numeric label at the right edge of the FVG shows the total traded volume associated with that gap.
Mitigation Logic : Gaps are removed when price closes through (or touches via high/low—user-selectable) the opposite boundary.
Dashboard Summary : Counts and sums the active bullish/bearish FVGs and their total volumes to gauge directional dominance.
🔵 FEATURES
Bullish & Bearish FVG plotting with independent color controls and visibility toggles.
Adaptive size filter (percentile-based) to keep only impactful gaps.
Lower-TF volume sampling at 10× faster resolution for more granular Buy/Sell breakdown.
Per-FVG volume bars : two horizontal bars showing Bull % and Bear % (sum = 100%).
Per-FVG total volume label displayed at the right end of the gap’s body.
Mitigation source option : choose close or high/low for removing/invalidating gaps.
Overlap control : older overlapped gaps are cleaned to avoid clutter.
Auto-extension : active gaps extend right until mitigated.
Dashboard : shows count of bullish/bearish gaps on chart and cumulative volume totals for each side.
Performance safeguards : caps the number of active FVG boxes to maintain responsiveness.
🔵 HOW TO USE
Turn on/off FVG types : Enable Bullish FVG and/or Bearish FVG depending on your focus.
Tune the filter : The script already filters by relative size; if you need fewer (stronger) signals, increase the percentile threshold in code or reduce the number of displayed boxes.
Choose mitigation source :
close — stricter; gap is removed when a closing price crosses the boundary.
high/low — more sensitive; a wick through the boundary mitigates the gap.
Read the per-FVG bars :
A higher Bull % inside a bullish gap suggests constructive demand backing the imbalance.
A higher Bear % inside a bearish gap suggests supply is enforcing the imbalance.
Use total gap volume : Larger totals imply more meaningful interest at that imbalance; confluence with structure/HTF levels increases relevance.
Watch the dashboard : If bullish counts and cumulative volume exceed bearish, market pressure is likely skewed upward (and vice versa). Combine with trend tools or market structure for entries/exits.
Optional: hide volume bars : Disable Volume Bars when you want a cleaner FVG map while keeping total volume labels and the dashboard.
🔵 CONCLUSION
Volumatic Fair Value Gaps blends precise FVG detection with lower-timeframe volume analytics to show not only where imbalances exist but also who powers them. The per-gap Bull/Bear % bars, total volume labels, and the cumulative dashboard together provide a fast, high-signal read on directional participation. Use the tool to prioritize higher-quality gaps, align with trend bias, and time mitigations or continuations with greater confidence.
Whale Activity Classic[nakano]## Whale Activity Classic
### Uncover the Hidden Intent of Volume
The **Whale Activity Classic ** indicator provides an unparalleled view into the nuanced volume dynamics within each candlestick. By analyzing sub-timeframe volume, it visually separates significant **large investor** activity from typical "Noise" volume, helping you understand the true forces driving price action.
This tool is designed to reveal the otherwise invisible movements of **large investors** and gauge overall market participation, giving you a deeper understanding than standard volume bars alone.
---
### Key Features:
* **Multi-Layered Volume Bars:**
* **Large Investor Volume (Densely Colored Bars):** Represents the aggregated volume from sub-timeframe candles where individual volume exceeded your defined threshold. Green indicates buying pressure (positive), and red indicates selling pressure (negative).
* **Normal Volume (Lightly Colored Bars):** Shows the total volume from sub-timeframe trades that fell *below* the threshold. This provides context about general market participation.
* **Comprehensive Customization:**
* **Symbol Selection:** Analyze the current chart's symbol or specify any custom symbol (e.g., crypto, stocks, forex) for in-depth analysis.
* **Lower Timeframe Analysis:** Choose your desired granularity from 1-second, 5-second, 10-second, 30-second, 1-minute, 5-minute, or 15-minute sub-timeframes.
* **Volume Thresholding:** Opt for a `Manual` fixed threshold or an `Automatic` calculation that adapts to current market conditions.
* **Noise Volume Visibility:** Toggle the display of "Normal Volume" bars to focus on **large investor** activity or view the complete picture.
* **Extensive Color Settings:** Customize the colors and transparency for all four volume types (**large investor** Positive/Negative, Normal Positive/Negative) to match your visual preferences.
---
### How to Use & Interpretation Tips:
* **Understanding Auto-Calculated Thresholds:** When `Automatic` calculation is selected, hover your cursor over any bar. The exact "Current Threshold" applied to that bar will be displayed in the status line at the top-left of the indicator panel.
* **Spotting Large Investor Intent:**
* If **Large Investor Volume (green/red bars)** is prominent while **Normal Volume (lightly colored bars)** is small, it suggests a sudden, significant move by a **large investor**, potentially against the prevailing retail sentiment.
* Conversely, if both **Large Investor Volume** and Normal Volume are large, it indicates strong trend momentum, drawing in both large institutions and retail participants.
* **Measuring Trend Strength:** Combined large **Large Investor Volume** and Normal Volume bars signify a robust trend with broad market participation.
* **Default Settings:** The automatic threshold's default settings (Period: 100, Multiplier: 25) are balanced for broad market application. However, we recommend adjusting these values to optimize performance for your specific asset and trading style.
---
### Important Notes:
* Analyzing longer chart timeframes (e.g., 1-hour, daily) with very low sub-timeframes may process a large amount of data, potentially affecting performance or causing errors. Using this indicator on **minute timeframes** is recommended.
* Always ensure your `Analysis Timeframe (Lower)` is **shorter** than your main chart's timeframe.
* Access to second-based timeframes (1S, 5S, etc.) requires a paid TradingView plan.
---
---
### 出来高の隠れた意図を解き明かす
**Whale Activity Classic ** インジケーターは、各ローソク足内で展開される微細な出来高の力関係を、かつてないほど詳細に可視化します。より短い時間足の出来高を分析することで、重要な**大口投資家**の活動と、一般的な「通常出来高(ノイズ)」を視覚的に分離し、値動きを動かす真の力を理解する手助けをします。
このツールは、通常の出来高バーでは見えない**大口投資家**の動きと、市場全体の参加状況を同時に把握するために設計されており、標準的な出来高表示だけでは得られない深い洞察を提供します。
---
### 主な機能:
* **多層的な出来高バー:**
* **大口投資家出来高(濃い色のバー):** 指定した閾値を超えた、より短い時間足の個々の出来高を合計したものです。緑色は買い圧力(プラス方向)、赤色は売り圧力(マイナス方向)を示します。
* **通常出来高(薄い色のバー):** 閾値に満たなかった取引の合計出来高を示します。これにより、一般的な市場参加の状況を把握できます。
* **包括的なカスタマイズ性:**
* **銘柄選択:** 現在のチャートの銘柄を分析することも、暗号資産、株式、FXなど、任意のカスタム銘柄を指定して詳細な分析を行うこともできます。
* **分析する時間足 (下位):** 1秒、5秒、10秒、30秒、1分、5分、15分から、分析の粒度を選択できます。
* **出来高の閾値:** 固定値を設定する「手動」モードと、現在の市場状況に適応する「自動」計算モードを選択できます。
* **通常出来高の表示:** チェックボックスで「通常出来高」バーの表示/非表示を切り替え、**大口投資家**の活動に焦点を当てるか、全体像を見るかを選択できます。
* **詳細なカラー設定:** 4種類の出来高タイプ(**大口投資家**プラス/マイナス、通常プラス/マイナス)すべての色と透明度を自由にカスタマイズできます。
---
### 使い方と分析のヒント:
* **自動計算された閾値の確認方法:** 「自動」計算を選択した場合、任意のバーにカーソルを合わせると、インジケーターパネルの左上にあるステータスラインに、そのバーに適用された正確な「現在の計算閾値」が表示されます。
* **大口投資家の意図を読み解く:**
* **大口投資家出来高(緑/赤のバー)が際立っている一方で、通常出来高(薄い色のバー)が小さい場合**、それは一般的な小売りのセンチメントとは異なる、**大口投資家**による突然の重要な動きを示唆している可能性があります。
* 逆に、**大口投資家出来高**と通常出来高の両方が大きい場合、それは大規模な機関投資家と個人投資家の両方を巻き込んだ、強いトレンドが発生していることを示します。
* **トレンドの勢いを測る:** **大口投資家出来高**と通常出来高のバーの両方が大きい場合、それは活発な市場参加を伴う、堅調なトレンドを示します。
* **デフォルト設定について:** 自動閾値のデフォルト設定(期間:100、倍率:25)は、幅広い市場に適用できるようバランスが取れています。ただし、ご自身の分析対象となる資産や取引スタイルに合わせて、これらの値を調整することをお勧めします。
---
### 重要な注意事項:
* メインチャートの時間足を長く(例:1時間足、日足)しすぎると、非常に細かい下位の時間足で大量のデータを処理することになり、パフォーマンスが低下したり、エラーが発生する可能性があります。このインジケーターは**分足での使用を推奨**します。
* 「分析する時間足 (下位)」は、必ずメインチャートの時間足より**短いもの**を選択してください。
* 秒足(1S、5Sなど)での分析には、TradingViewの有料プランへの加入が必要です。
---
simple swing indicator-KTRNSE:NIFTY
1. Pivot High/Low as Lines:
Purpose: Identifies local peaks (pivot highs) and troughs (pivot lows) in price and draws horizontal lines at these levels.
How it Works:
A pivot high occurs when the price is higher than the surrounding bars (based on the pivotLength parameter).
A pivot low occurs when the price is lower than the surrounding bars.
These pivots are drawn as horizontal lines at the price level of the pivot.
Visualization:
Pivot High: A red horizontal line is drawn at the price level of the pivot high.
Pivot Low: A green horizontal line is drawn at the price level of the pivot low.
Example:
Imagine the price is trending up, and at some point, it forms a peak. The script identifies this peak as a pivot high and draws a red line at the price of that peak. Similarly, if the price forms a trough, the script will draw a green line at the low point.
2. Moving Averages (20-day and 50-day):
Purpose: Plots the 20-day and 50-day simple moving averages (SMA) on the chart.
How it Works:
The 20-day SMA smooths the closing price over the last 20 days.
The 50-day SMA smooths the closing price over the last 50 days.
These lines provide an overview of short-term and long-term price trends.
Visualization:
20-day SMA: A blue line showing the 20-day moving average.
50-day SMA: An orange line showing the 50-day moving average.
Example:
When the price is above both moving averages, it indicates an uptrend. If the price crosses below these averages, it might signal a downtrend.
3. Supertrend:
Purpose: The Supertrend is an indicator based on the Average True Range (ATR) and is used to track the market trend.
How it Works:
When the market is in an uptrend, the Supertrend line will be green.
When the market is in a downtrend, the Supertrend line will be red.
Visualization:
Uptrend: The Supertrend line will be plotted in green.
Downtrend: The Supertrend line will be plotted in red.
Example:
If the price is above the Supertrend, the market is considered to be in an uptrend, and if the price is below the Supertrend, the market is in a downtrend.
4. Momentum (Rate of Change):
Purpose: Measures the rate at which the price changes over a set period, showing if the momentum is positive or negative.
How it Works:
The Rate of Change (ROC) measures how much the price has changed over a certain number of periods (e.g., 14).
Positive ROC indicates upward momentum, and negative ROC indicates downward momentum.
Visualization:
Positive ROC: A purple line is plotted above the zero line.
Negative ROC: A purple line is plotted below the zero line.
Example:
If the ROC line is above zero, it means the price is increasing, suggesting bullish momentum. If the ROC is below zero, it indicates bearish momentum.
5. Volume:
Purpose: Displays the volume of traded assets, giving insight into the strength of price movements.
How it Works:
The script will color the volume bars based on whether the price closed higher or lower than the previous bar.
Green bars indicate bullish volume (closing price higher than the previous bar), and red bars indicate bearish volume (closing price lower than the previous bar).
Visualization:
Bullish Volume: Green volume bars when the price closes higher.
Bearish Volume: Red volume bars when the price closes lower.
Example:
If you see a green volume bar, it suggests that the market is participating in an uptrend, and the price has closed higher than the previous period. Red bars indicate a downtrend or selling pressure.
6. MACD (Moving Average Convergence Divergence):
Purpose: The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of the price.
How it Works:
The MACD Line is the difference between the 12-period EMA (Exponential Moving Average) and the 26-period EMA.
The Signal Line is the 9-period EMA of the MACD Line.
The MACD Histogram shows the difference between the MACD line and the Signal line.
Visualization:
MACD Line: A blue line representing the difference between the 12-period and 26-period EMAs.
Signal Line: An orange line representing the 9-period EMA of the MACD line.
MACD Histogram: A red or green histogram that shows the difference between the MACD line and the Signal line.
Example:
When the MACD line crosses above the Signal line, it’s considered a bullish signal. When the MACD line crosses below the Signal line, it’s considered a bearish signal.
Full Chart Example:
Imagine you're looking at a price chart with all the indicators:
Pivot High/Low Lines are drawn as red and green horizontal lines.
20-day and 50-day SMAs are plotted as blue and orange lines, respectively.
Supertrend shows a green or red line indicating the trend.
Momentum (ROC) is shown as a purple line oscillating around zero.
Volume bars are green or red based on whether the close is higher or lower.
MACD appears as a blue line and orange line, with a red or green histogram showing the MACD vs. Signal line difference.
How the Indicators Work Together:
Trend Confirmation: If the price is above the Supertrend line and both SMAs are trending up, it indicates a strong bullish trend.
Momentum: If the ROC is positive and the MACD line is above the Signal line, it further confirms bullish momentum.
Volume: Increasing volume, especially with green bars, suggests that the trend is being supported by active participation.
By using these combined indicators, you can get a comprehensive view of the market's trend, momentum, and potential reversal points (via pivot highs and lows).






















