Volume Profile PremiumHello, my friends, this is a new fine-grained volume profile indicator. As is known to all, the volume profile indicator is a charting tool that shows how much volume has occurred at each price throughout the trading session. The volume profile indicates the prices favored by the market or those ignored by the market, which can give traders clues as to where prices are likely to go shortly.
(1) Indicator description
This indicator is based on the function "request.security_lower_tf". See the related usage note for details if you need it.
Support for obtaining volume from a lower timeframe than the current chart and calculating a more fine-grained volume distribution
Due to the increased complexity of the calculation, you need to set a reasonable timeframe to avoid calculation timeout.
(2) Key parameters
- Support/Resistance Clustering
Max of Lookback Forward: The maximum number of historical K-lines
Min Resolution (Minute): lower timeframe, unit: minute
Display Volume Profile: ways to display volume profile
Rows of Volume Profile: rows of volume profile
Placement of Volume Profile: location of volume profile
Width of Volume Profile: width of volume profile
Horizontal Offset: horizontal offset of volume profile
Happy trading, and enjoy your life!
————————————————————————————————————————
各位朋友大家好,这是一个具有更高细粒度的成交量分布指标。众所周知,成交量分布是一种图表分析工具(或指标),它显示了在整个交易时段内每个价格上发生了多少成交量。 成交量分布指出了受到市场青睐的价格以及被市场忽略的价格,这可以为交易者提供有关近期价格可能走向何方的线索。
(1) 指标说明
该指标基于 request.security_lower_tf 函数,详情可以查看相关使用说明
支持从比当前图表分辨率更低的时间周期获取成交量,并计算更加细粒度的成交量分布
由于增加了计算复杂度,您需要设置合理的时间周期以避免计算超时
(2) 关键参数
- Volume Profile Parameters
Max of Lookback Forward: 用于统计成交量分布的最大回顾的K线数量
Min Resolution (Minute): 细粒度的时间周期
Display Volume Profile: 展示成交量分布的方式
Rows of Volume Profile: 成交量分布的行数
Placement of Volume Profile: 成交量分布的位置
Width of Volume Profile: 成交量分布的宽度
Horizontal Offset: 成交量分布的水平偏移
祝大家交易愉快
Perfil de volumen
Interactive Volume Profile - Based on LTF volumeHere is my first attempt on defining volume profile. In this script, I am using new feature of pine security_lower_tf
Upon loading the script, it will ask users to select Time range to show the volume profile. Once you select the time range, confirmation input will popup. Upon confirming the inputs, you will be able to view the volume profile
Settings are pretty simple. Some of them appear as part of confirmation.
Limitation due to availability of LTF bars
security_lower_tf can only fetch upto 100k bars, Hence, if we move the starting point beyond that, we will only see volume profile from the bar where LTF volume data is available. Increasing lower timeframe resolution will also increase the available range of volume profile. Option also available to use max range instead of time based range. If max bar range is selected, then volume profile is drawn based on all the bars for which LTF volume is available.
An example of all combinations are show below.
Selecting the granularity of volume profile
Number of levels can be set from settings which impacts the granularity of volume profile. Below is the example of how different values for number of levels behave.
MACD Volume S2 By Gammaprod>> How to use this indicator :
1. Set your teadingview theme to dark theme.
2. My indicator is valid for forex, stock and but more valid for crypto.
3. Use three timeframe for more validation (choose between those, that fit to your trading style) :
- Timeframe 1m, 5m, and 15m for Scalping
- Timeframe 30m, 1h and 4h for Intraday
- Timeframe 4h, 1D and 1W for Swing Trading
4 . Always use THREE INDICATORS FROM GAMMAPROD, those three indicators is back to back each other, by the way, I only made those three indicators only (for now) :
- Trendlines Boll Ichi Crypto by Gammaprod
- Stoch RSI Divs Zone Crypto by Gammaprod
- MACD Volume Crypto by Gammaprod
>> How to setting :
1. Trendlines Boll Ichi Crypto by Gammaprod
A. Support and Resistence
- Well if you familiar with this indicator you can add it, but recommended for Timeframe 30m or more
B. Trendlines Primary or Trendlines Secondary
- Timeframe 1m you DON'T NEED Trendlines Primary or Trendlines Secondary
- Timeframe 5m you DON'T NEED Trendlines Secondary, but you CAN ADD Trendlines Primary if you fell it helpful (for me, it is helpful to find where the candles start or the end trend or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 15m you DON'T NEED Trendlines Secondary, DEFENITELY add Trendlines Primary it will help to find where the candles stop or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 30m or more, DEFENITELY NEED BOTH Trendlines Primary and Secondary Trendlines, it will help to find where the candle stop or consolidation or where the candle will surpass a resistance or support).
C. Bolinger, Ichimoku Cloud and Lagging Span
- Please DON'T CHANGE IT at all, it's really helpful to know when and where to make an entry decesion or a trend or a consolidation, if you don't understand how to read it, you better to learn it first (on "how to read" section and "How to OPEN position" the section below)
2. Stoch RSI Divs Zone Crypto by Gammaprod (DON'T CHANGE IT)
3. MACD Volume Crypto by Gammaprod (DON'T CHANGE IT)
>> How to read :
1. Sell or Buy Priority :
A. Buy Priority
- Color background on macd and stoch rsi is pink or purple sell is the priority, (if you're not sure to buy, just wait until the best moment to sell)
B. Buy Priority
- Color background on macd and stoch rsi Teal or light green buy is the priority, (if you're not sure to sell, just wait until the best moment to buy)
C. Indecision / Golden Moment
- Color background on stoch rsi yellow is indecision / golden moment of reversal pattern (wait until it formed background only on Stoch RSI), please becareful at this moment.
2. Trend / Consolidation :
A. BULLISH trend
- When Stoch RSI and MACD have teal or light green background that's means BULLISH trend, better to confirm by the candle is above green cloud and lagging span (red line) is also above the candle.
B. BEARISH trend
- When Stoch RSI and MACD have the Pink or purple background that's means BEARISH trend, better to confirm by the candle is above purple cloud and lagging span (red line) is also below the candle.
C. CONSOLIDATION
- When Stoch RSI have the mix background that's means CONSOLIDATION, better to confirm by the candle is in or near to green / purple cloud and lagging span (red line) is also on the candle.
3. Special Mark
A. Ideal Bullish :
- Near line 20 and green / teal background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for buy
B. Not an Ideal Bullish :
- Near line 80 and green / teal background = if this happens make sure you know what happen, it could be a false signal or bullish continual pattern
C. Ideal Bearish :
- Near line 80 and pink / purple background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for sell position.
D. Not an Ideal Bearish:
- Near line 20 and pink / purple background = if this happens make sure you know what happen, it could be a false signal or bearish continual pattern
E. The Beginning of Reversal (from BEARISH to BULLISH) :
- When Stoch RSI line shaping GREEN position is near 20.
- MACD lines still PINK, position lines is UNDER the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL PINK (light pink) and the BACKGROUND still PINK / PURPLE.
- Position CANDLES NEAR BLUE line, NEAR PURPLE CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
F. The Beginning of Reversal (from BULLISH to BEARISH) :
- When Stoch RSI line shaping PINK position is near 80.
- MACD lines still GREEN, position lines is ABOVE the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL GREEN (light green) and the BACKGROUND still TEAL / GREEN.
- Position CANDLES NEAR WHITE line, NEAR TEAL CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
G. False Signals, or It could be a Golden Moment (better to see it on TF 15 or bigger):
- Near line 20 or 80 and yellow background = When Stoch RSI have the char R / H on color label, that's means divergence or hidden divergence for buy / sell position, if you not see this label that's means just a standard confirmation for buy / sell depends on where the Stoch RSI line if near 20 that's means buy, near 80 means sell
>> How to OPEN position:
A. Bullish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles above the green cloud.
- Lagging span (red line) above the candles.
- then open buy near yellow line (the first option) / blue line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Teal or Green background.
- The lines is shaping green.
- Better if on the bottom (at a range 20).
3. MACD Volume Crypto by Gammaprod
- Teal or Green background.
- The lines is shaped or shaping green.
- Better if at the green histogram.
B. Bearish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles below the purple cloud.
- Lagging span (red line) below the candles.
- then open buy near yellow line (the first option) / white line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Pink or purple background.
- The lines are shaping pink.
- Better if the line on the top (at a range 80).
3. MACD Volume Crypto by Gammaprod
- Pink or purple background.
- The lines are shaped or shaping green.
- Better if at the pink histogram.
C. Consolidation
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles on the cloud (green or purple).
- Lagging span (red line) on the candles.
- then open buy near the white or blue line (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Mix background specially on a timeframe 15m or more.
- The line move fast up and down.
- Better if on the bottom or the top of the lines (at a range 20 or 80).
3. MACD Volume Crypto by Gammaprod
- Changing the background.
- The line is near the middle line.
- Have small Histogram.
>> The secret ingridient is comparing the timeframe :
The example scalping (Timeframe 1m, 5m and 15m)
- TF 1m is for making an open position.
- TF 5m is for making a judgement of the trend market.
- TF 15m is to confirm that judgement from TF 5m, be careful if it not similar then it used to be a consolidation or the beginning of the reversal.
There's a lot a way to open the position than above information that i gave it to you, but consider there are a limit char on this column, I hope it will help your trading and make a more profit on it.
Volume Spikes & Growing Volume Signals With Alerts & ScannerVOLUME SPIKES & GROWING VOLUME SIGNALS WITH ALERTS & SCANNER
This indicator shows arrows when there is a volume spike. It also paints the background when volume is growing. There is also a volume scanner for 8 tickers that will change color in real time when your other favorite tickers see volume growth and spikes.
You can customize the length of DMI, the number of bars to calculate the current volume average from, the number of bars back to get the overall volume average from, the multiple that needs to be hit to give a signal, the position of the scanner table and which tickers are used in the scanner. There are detailed directions as tooltips in the indicator settings you can read to understand exactly what each input does.
All features are customizable as well as which tickers the screener uses.
***HOW TO USE***
Watch for volume to pick up before placing trades as this will help you stay out of the markets when price is choppy. Volume usually brings volatility so watch for the volume signals to show up on the chart. Typically when price has made a big move one direction or is consolidating and you see the volume indicator start giving signals, the market is ready to reverse or continue its current trend but move faster in that direction.
Volume Spikes
When there is a volume spike that is larger than the average of volume over the last 100+ bars(depending on your settings) multiplied by the volume amount multiplier(in your settings) then an arrow will show up on the chart. This arrow will be green if DMI is bullish and red if DMI is bearish.
Volume Growth
A Background color will appear when the average volume over the last 5 bars(depending on your settings) is higher than the average volume over the last 100+ bars(depending on your settings) and is greater than your multiple. It will also paint the background when the volume moving average has increased over the last 3 bars consecutively. The background colors will be red or green depending on buy & sell pressure(DMI). If the background color appears, then you know volume is growing and volatility is near.
Volume Scanner
The scanner can be customized to have all of your favorite tickers by changing the tickers used in the indicator settings at the bottom. When no volume growth or spikes are detected, the ticker will show as light blue. When volume spikes or growth is detected, the ticker will turn orange to notify you.
Alerts
You can set up alerts as well when there is volume growth, bullish volume spikes and bearish volume spikes on any chart or timeframe.
Indicator Settings
Settings will need to be adjusted across different tickers as some have large swings in volume and some stay pretty even, so make sure to set up different chart layouts with settings that work for each ticker and save them individually so you don’t have to reset these values every time you switch charts.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex as long as Tradingview has volume and DMI data for that ticker.
***TIMEFRAMES***
This volume spike indicator can be used on all timeframes as long as there is enough data for Tradingview to use for calculations.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Volume Profile, Momentum, Auto Support And Resistance and Money Flow Index in combination with this Volume Growth indicator. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Bogdan Ciocoiu - MakaveliDescription
This indicator integrates the functionality of multiple volume price analysis algorithms whilst aligning their scales to fit in a single chart.
Having such indicators loaded enables traders to take advantage of potential divergences between the price action and volume related volatility.
Users will have to enable or disable alternative algorithms depending on their choice.
Uniqueness
This indicator is unique because it combines multiple algorithm-specific two-volume analyses with price volatility.
This indicator is also unique because it amends different algorithms to show output on a similar scale enabling traders to observe various volume-analysis tools simultaneously whilst allocating different colour codes.
Open source re-use
This indicator utilises the following open-source scripts:
Bogdan Ciocoiu - GreuceanuDescription
This indicator is an entry-level script that simplifies volume interpretation for beginning traders.
It is a handy tool that removes all the noise and focuses traders on identifying potential smart money injections.
Uniqueness
This indicator is unique because it introduces the principle of a moving average in the context of volume and then compares it with tick-based volume.
Its uniqueness is reflected in the ability to colour code each volume bar based on the intensity of each relevant (volume) unit whilst comparing it with the volume moving average.
Another benefit of this indicator is the colour coding scheme that removes volume below a particular threshold (default set to 1) under the volume moving average.
In addition to the above features, the indicator differentiates the colour of each bar by price direction.
Open source re-use
To achieve this functionality several open source indicators have been used an integrated within the current one.
Volume Strength FinderGenerally, Volume indicator shows total Volume of a candle. In this Volume Strength Finder Indicator, I tried to separate Strength of buyers and sellers based on the candle stick pattern. Calculating Buyer and Seller Strength each and every candle of the day based on the pattern formation.
High - close => Buyers
Close - low => Sellers
in this way, cumulative volume separates for buyer and sellers and comparing with total volume of the day and showing results.
if buyer strength more than seller, candle bar color remains green even a candle is negative candle(Open>close) and wise versa.
Note: This is for Education Purpose only.
Volume Profile With Buy & Sell Pressure LabelVOLUME PROFILE WITH BUY AND SELL PRESSURE LABEL
This volume profile indicator shows volume traded for each bar and is colored according to the difference in buy and sell pressure(DMI).
***HOW TO USE***
If the bar and background is colored green, there is more market buying than selling on that bar.
If the bar and background is colored red, there is more market selling than buying on that bar.
If the bar and background is colored blue, there is an equal amount of market buying and selling on that bar.
***BUY/SELL LABEL***
There is also a label on the right side that tells you whether there is more buying or selling on the current bar. This table updates in real time and changes colors so you can get an easy, quick interpretation of the current buy/sell pressure without having to look at the volume bars so you can make faster decisions on whether to enter or exit a trade. The table changes colors in sync with the volume bars and background. Green means more market buying than selling. Red means more market selling than buying. Blue means an equal amount of market buying and selling.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This volume profile indicator can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, DMI, Momentum, Auto Support And Resistance and Money Flow Index in combination with this Volume Profile. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Candles Colored Green/Red According To Buy & Sell PressureCANDLES COLORED GREEN OR RED ACCORDING TO BUY & SELL PRESSURE
This indicator paints each candle green, red or blue depending on whether the buy/sell pressure for that candle is bullish, bearish or neutral.
***TURN OFF NORMAL CANDLE COLORS***
For this script to show properly on the chart, make sure you go to chart settings(gear icon in top right corner) and in the symbol tab, uncheck body, borders and wick.
***HOW TO USE***
When the directional movement index indicator shows more buying pressure than selling pressure, the candle will appear lime green. This indicates bullish buying pressure.
When the directional movement index indicator shows more selling pressure than buying pressure, the candle will appear red. This indicates bearish selling pressure.
When the directional movement index indicator shows the same amount of buy and sell pressure, the candle will appear blue. This indicates neutral buy/sell pressure.
Use the color changes to see if there is more buying or selling to pinpoint reversals and understand current market buying. Wait to enter or exit positions until the candles turn the opposite color.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This DMI color coded candlestick indicator can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Directional Movement Index, Color Coded Buy & Sell Pressure Volume Profile, Auto Support And Resistance and Money Flow Index in combination with this Buy & Sell pressure Candle indicator.
Volume Profile and Volume Indicator by DGTVolume Profile (also known as Price by Volume) is an charting study that displays trading activity over a specified time period at specific price levels. It is plotted as a horizontal histogram on the finacial isntrumnet's chart that highlights the trader's interest at specific price levels.
The histogram is used by traders to predict areas of support and resistance. Price levels where the traded volume is high could be assumed as support and resistance levels.
Price may experience difficulty moving above or below areas with large bars. Usually there is a great deal of activity on both the buy and sell side and the market stays at that price level for a great deal of time
It is advised to use volume profile in conjunction with other forms of technical analysis to maximize the odds of success
Light version of Volume Profile is added to Price Action - Support & Resistance by DGT
CDOI ProfileCumulative Delta of Open Interest Profile
This script lets you visualize where there were Open Interest build-ups and discharges on a price basis.
It only supports pairs where TradingView added the appropriate Open Interest data (at the time of posting that is only Binance and Kraken perpetual contracts)
The script uses my own functions to poll lower timeframe data and compile it into a higher timeframe profile. And as such, it needs some tweaking to adjust it to your timeframe until Tradingview lets me do it codewise (hopefully one day)
The instructions for using the Indicators are as follows:
Condition: How often a new profile should be generated
Sampling Rate and 1/Nth of the TF: These have to be calculated together to have a product that should correspond to the current timeframe in minutes. A few examples below
----------- Sampling - 1Nth of the TF
5 min ------- 5 --------------- 1
10 min ------ 10 ------------- 1
15 min ------ 5 --------------- 3
20 min ------ 10 ------------- 2
30 min ------ 10 -------------- 3
45 min ------- 9 -------------- 5
1 hour ------- 10 ------------- 6
4 hours ----- 10 -------------- 24
1 day -------- 10 ------------- 144
Transparency: This one is pretty self-explanatory but only applies to the Profile bars
% change for a bar: This one indicates how precise each bar will be, but if you go too low the script becomes too heavy and stop running
Bar limit: Limits the amounts of bars the script is run for (ae for the last 1000 bars). Lower = faster loading, too high will stop running
UI color: Color and transparency of the center line and the box surrounding the whole profile
McNamara Tally [CC]The McNamara's Tally was created by Nolan McNamara (Stocks and Commodities Feb 2022 pgs 44-45) and this aims to fix the issues with both the On Balance Volume and the Accumulation/Distribution Line by using a variation of Wilder's True Range to keep track of volume flow to better differentiate between bullish volume and bearish volume. I added a signal line to this indicator to provide clear buy and sell signals since the original didn't' have any so feel free to experiment and see if you come up with a better signal system. Buy when the indicator line turns green and sell when it turns red. I have included strong buy and sell signals in addition to normal ones so stronger signals are darker in color and normal signals are lighter in color.
Let me know if there are any other indicators or scripts you would like to see me publish!
Range Volume ChangeI was looking for a way to see if today's premarket volume is higher or lower than the previous day's premarket, but did not find any, hence, I made my own which I share with you now.
I call it 'Range Volume Change' or just RVC.
RVC will show the percentage of change between the selected time range and the previous day for the same time range.
This will allow us to see if the volume is increasing or decreasing today compared to the previous day by a specific time range that we set in PVC settings. It can do more than just premarket, you can use it for any time range of your interest which will work on 24hours assets like crypto and forex.
RVC visualizes the incremental of the volume using increasing size columns giving you a better view of how the volume changes compared to the past. The column shows the accumulated volume from when the time range started.
As an extra feature, it will also show the volume percentage of change outside the time range (can be disabled from settings).
In addition, RVC is also designed to work on real-time data.
Example of BTCUSDT (24-hour asset) with volume 'outside the time range', enabled (purple columns):
Follow for more awesome indicators/strategies: www.tradingview.com
Realtime 5D Profile [LucF]█ OVERVIEW
This indicator displays a realtime profile that can be configured to visualize five dimensions: volume, price, time, activity and age. For each price level in a bar or timeframe, you can display total or delta volume or ticks. The tick count measures activity on a level. The thickness of each level's line indicates its age, which helps you identify the most recent levels.
█ WARNING
The indicator only works in real time. Contrary to TradingView's line of volume profile indicators , it does not show anything on historical bars or closed markets, and it cannot display volume information if none exists for the data feed the chart is using. A realtime indicator such as this one only displays information accumulated while it is running on a chart. The information it calculates cannot be saved on charts, nor can it be recalculated from historical bars. If you refresh the chart, or the script must re-execute for some reason, as when you change inputs, the accumulated information will be lost.
Because "Realtime 5D Profile" requires time to accumulate information on the chart, it will be most useful to traders working on small timeframes who trade only one instrument and do not frequently change their chart's symbol or timeframe. Traders working on higher timeframes or constantly changing charts will be better served by TradingView's volume profiles. Before using this indicator, please see the "Limitations" section further down for other important information.
█ HOW TO USE IT
Load the indicator on an active chart (see here if you don't know how).
The default configuration displays:
• A double-sided volume profile showing at what price levels activity has occurred.
• The left side shows "down" volume, the right side shows "up" volume.
• The value corresponding to each level is displayed.
• The width of lines reflects their relative value.
• The thickness of lines reflects their age. Four thicknesses are used, with the thicker lines being the most recent.
• The total value of down/up values for the profile appears at the top.
To understand how to use profiles in your trading, please research the subject. Searches on "volume profile" or "market profile" will yield many useful results. I provide you with tools — I do not teach trading. To understand more about this indicator, read on. If you choose not to do so, please don't ask me to answer questions that are already answered here, nor to make videos; I don't.
█ CONCEPTS
Delta calculations
Volume is slotted in up or down slots depending on whether the price of each new chart update is higher or lower than the previous update's price. When price does not move between chart updates, the last known direction is used. In a perfect world, Pine scripts would have access to bid and ask levels, as this would allow us to know for sure if market orders are being filled on upticks (at the ask) or downticks (at the bid). Comparing the price of successive chart updates provides the most precise way to calculate volume delta on TradingView, but it is still a compromise. Order books are in constant movement; in some cases, order cancellations can cause sudden movements of both the bid and ask levels such that the next chart update can occur on an uptick at a lower price than the previous one (or vice versa). While this update's volume should be slotted in the up slot because a buy market order was filled, it will erroneously be slotted in the down slot because the price of the chart's update is lower than that of the previous one. Luckily, these conditions are relatively rare, so they should not adversely affect calculations.
Levels
A profile is a tool that displays information organized by price levels. You can select the maximum quantity of levels this indicator displays by using the script's "Levels" input. If the profile's height is small enough for level increments to be less than the symbol's tick size, a smaller quantity of levels is used until the profile's height grows sufficiently to allow your specified quantity of levels to be displayed. The exact position of levels is not tethered to the symbol's tick increments. Activity for one level is that which happens on either side of the level, halfway between its higher or lower levels. The lowest/highest levels in the profile thus appear higher/lower than the profile's low/high limits, which are determined by the lowest/highest points reached by price during the profile's life.
Level Values and Length
The profile's vertical structure is dynamic. As the profile's height changes with the price range, it is rebalanced and the price points of its levels may be recalculated. When this happens, past updates will be redistributed among the new profile's levels, and the level values may thus change. The new levels where updates are slotted will of course always be near past ones, but keep this fluidity in mind when watching level values evolve.
The profile's horizontal structure is also dynamic. The maximum length of level lines is controlled by the "Maximum line length" input value. This maximum length is always used for the largest level value in the profile, and the length of other levels is determined by their value relative to that maximum.
Updates vs Ticks
Strictly speaking, a tick is the record of a transaction between two parties. On TradingView, these are detected on seconds charts. On other charts, ticks are aggregated to form a chart update . I use the broader "update" term when it names both events. Note that, confusingly, tick is also used to name an instrument's minimal price increment.
Volume Quality
If you use volume, it's important to understand its nature and quality, as it varies with sectors and instruments. My Volume X-ray indicator is one way you can appraise the quality of an instrument's intraday volume.
█ FEATURES
Double-Sided Profiles
When you choose one of the first two configuration selections in the "Configuration" field's dropdown menu, you are asking the indicator to display a double-sided profile, i.e., where the down values appear on the left and the up ones on the right. In this mode, the formatting options in the top section of inputs apply to both sides of the profile.
Single-Sided Profiles
The six other selections down the "Configuration" field's dropdown menu select single-sided profiles, where one side aggregates the up/down values for either volume or ticks. In this mode, the formatting options in the top section of inputs apply to the left profile. The ones in the following "Right format" section apply to the right profile.
Calculation Mode
The "Calculation" input field allows the selection of one of two modes which applies to single-sided profiles only. Values can represent the simple total of volume or ticks at each level, or their delta. The mode has no effect when a double-sided profile is used because then, the total is represented by the sum of the left and right sides. Note that when totals are selected, all levels appear in the up color.
Age
The age of each level is always displayed as one of four line thicknesses. Thicker lines are used for the youngest levels. The age of levels is determined by averaging the times of the updates composing that level. When viewing double-sided profiles, the age of each side is calculated independently, which entails you can have a down level on the left side of the profile appear thinner than its corresponding up side level line on the right side because the updates composing the up side are more recent. When calculating the age of single-sided profiles, the age of the up/down values aggregated to calculate the side are averaged. Since they may be different, the averaged level ages will not be as responsive as when using a double-sided profile configuration, where the age of levels on each side is calculated independently and follows price action more closely. Moreover, when displaying two single-sided profiles (volume on one side and ticks on the other), the age of both sides will match because they are calculated from the same realtime updates.
Profile Resets
The profile can reset on timeframes or trend changes. The usual timeframe selections are available, including the chart's, in which case the profile will reset on each new chart bar. One of two trend detection logics can be used: Supertrend or the one used by LazyBear in his Weis Wave indicator . Settings for the trend logics are in the bottommost section of the inputs, where you can also control the display of trend changes and states. Note that the "Timeframe" field's setting also applies to the trend detection mechanism. Whatever the timeframe used for trend detection, its logic will not repaint.
Format
Formatting a profile for charts is often a challenge for traders, and this one is no exception. Varying zoom factors on your chart and the frequency of profile resets will require different profile formats. You can achieve a reasonable variety of effects by playing with the following input fields:
• "Resets on" controls how frequently new profiles are drawn. Spacing out profiles between bars can help make them more usable.
• "Levels" determines the maximum quantity of levels displayed.
• "Offset" allows you to shift the profile horizontally.
• "Profile size" affects the global size of the profile.
• Another "Size" field provides control over the size of the totals displayed above the profile.
• "Maximum line length" controls how far away from the center of the bar the lines will stretch left and right.
Colors
The color and brightness of levels and totals always allows you to determine the winning side between up and down values. On double-sided profiles, each side is always of one color, since the left side is down values and the right side, up values. However, the losing side is colored with half its brightness, so the emphasis is put on the winning side. When there is no winner, the toned-down version of each color is used for both sides. Single-sided profiles use the up and down colors in full brightness on the same side. Which one is used reflects the winning side.
Candles
The indicator can color candle bodies and borders independently. If you choose to do so, you may want to disable the chart's bars by using the eye icon near the symbol's name.
Tooltips
A tooltip showing the value of each level is available. If they do not appear when hovering over levels, select the indicator by clicking on its chart name. This should get the tooltips working.
Data Window
As usual, I provide key values in the Data Window, so you can track them. If you compare total realtime volumes for the profile and the built-in "Volume" indicator, you may see variations at some points. They are due to the different mechanisms running each program. In my experience, the values from the built-in don't always update as often as those of the profile, but they eventually catch up.
█ LIMITATIONS
• The levels do not appear exactly at the position they are calculated. They are positioned slightly lower than their actual price levels.
• Drawing a 20-level double-sided profile with totals requires 42 labels. The script will only display the last 500 labels,
so the number of levels you choose affects how many past profiles will remain visible.
• The script is quite taxing, which will sometimes make the chart's tab less responsive.
• When you first load the indicator on a chart, it will begin calculating from that moment; it will not take into account prior chart activity.
• If you let the script run long enough when using profile reset criteria that make profiles last for a long time, the script will eventually run out of memory,
as it will be tracking unmanageable amounts of chart updates. I don't know the exact quantity of updates that will cause this,
but the script can handle upwards of 60K updates per profile, which should last 1D except on the most active markets. You can follow the number of updates in the Data Window.
• The indicator's nature makes it more useful at very small timeframes, typically in the sub 15min realm.
• The Weis Wave trend detection used here has nothing to do with how David Weis detects trend changes.
LazyBear's version was a port of a port, so we are a few generations removed from the Weis technique, which uses reversals by a price unit.
I believe the version used here is useful nonetheless because it complements Supertrend rather well.
█ NOTES
The aggregated view that volume and tick profiles calculate for traders is a good example of one of the most useful things software can do for traders: look at things from a methodical, mathematical perspective, and present results in a meaningful way. Profiles are powerful because, if the volume data they use is of good enough quality, they tell us what levels are important for traders, regardless of the nature or rationality of the methods traders have used to determine those levels. Profiles don't care whether traders use the news, fundamentals, Fib numbers, pivots, or the phases of the moon to find "their" levels. They don't attempt to forecast or explain markets. They show us real stuff containing zero uncertainty, i.e., what HAS happened. I like this.
The indicator's "VPAA" chart name represents four of the five dimensions the indicator displays: volume, price, activity and age. The time dimension is implied by the fact it's a profile — and I couldn't find a proper place for a "T" in there )
I have not included alerts in the script. I may do so in the future.
For the moment, I have no plans to write a profile indicator that works on historical bars. TradingView's volume profiles already do that, and they run much faster than Pine versions could, so I don't see the point in spending efforts on a poor ersatz.
For Pine Coders
• The script uses labels that draw varying quantities of characters to break the limitation constraining other Pine plots/lines to bar boundaries.
• The code's structure was optimized for performance. When it was feasible, global arrays, "input" and other variables were used from functions,
sacrificing function readability and portability for speed. Code was also repeated in some places, to avoid the overhead of frequent function calls in high-traffic areas.
• I wrote my script using the revised recommendations in the Style Guide from the Pine v5 User Manual.
█ THANKS
• To Duyck for his function that sorts an array while keeping it in synch with another array.
The `sortTwoArrays()` function in my script is derived from the Pine Wizard 's code.
• To the one and only Maestro, RicardoSantos , the creative volcano who worked hard to write a function to produce fixed-width, figure space-padded numeric values.
A change in design made the function unnecessary in this script, but I am grateful to you nonetheless.
• To midtownskr8guy , another Pine Wizard who is also a wizard with colors. I use the colors from his Pine Color Magic and Chart Theme Simulator constantly.
• Finally, thanks to users of my earlier "Delta Volume" scripts. Comments and discussions with them encouraged me to persist in figuring out how to achieve what this indicator does.
Volume Profile HeatmapA variation of a Volume Profile based on code originally by LuxAlgo. () The traditional bar chart is replaced with full-width bars that are brighter for high volume price levels.
Like a traditional VP, its purpose is to visualize how volume corresponds to specific price levels, allowing you to get a quick idea of where the most activity is occurring, and where it hasn't been. This information may provide clues as to where price action may return, areas of support and resistance , and regions where price may move quickly. The basic concepts behind any Volume Profile (or Price by Volume Chart) should apply here as well. (investopedia article)
Inputs are set up such that you can customize the lookback period, number of rows, and width of rows for most major timeframes individually. Timeframes between those available will use the next lower timeframe settings (e.g., 2m chart will use the 1m settings.)
This indicator is experimental and is likely to receive further updates.
Market Profile with TPOThis is is Market Profile with TPO (the letters) on the current session. Due to pinescript limitations, we are limited to 500 TPOs, since this script uses 1 label per TPO. It is NOT volume profile, this is Time Profile (Time spent at a price).
Volume Zones Multi-Timeframe OverlayAt its core, this indicator is a variation of my other indicator, Welkin Advanced Volume Overlay (for VSA )
This version is based on the power of multi-timeframe analysis. The basic functionality is simple: Plot lines from the high and low of candles formed during periods of high volume and fill the space between them. The volume levels for deciding what counts as "high volume" are based on standard deviations of the volume's SMA , and the higher the volume , the brighter the zone. i.e., a volume zone set by a volume level that is 4 standard deviations higher than average will be more "filled in" and less transparent than a volume zone from a 2 standard deviation candle.
These zones tend to act as areas of congestion, and the "ceilings" and "floors" of the zones as support and resistance . Overlapping zones tend to indicate strength and are likely to require more effort to get through. The more timeframes that agree with each other, the stronger the zone, ceiling, or floor.
By default, these zones are drawn based on the chart's timeframe and 1 timeframe higher, automatically set based on some "standard" values:
1m -> 5m
5m -> 15m
10m -> 30m
15m -> 60m
30m -> 60m
60m -> 1d
1d -> 1w
Finally, both the base timeframe and the higher timeframe are customizable; this is intended to make it easy to "double" up copies of the indicator to fit even more timeframes on the chart, creating a sort of heatmap for volume price analysis.
An example of three copies of the indicator, showing volume zones from 6 different timeframes.
Realtime Volume Bars w Market Buy/Sell/Neutral split & Mkt Delta
What is it?
A tool that shows Real-time Volume bars split into 3 components: (1) Market Buy Volume - i.e., the volume that got transacted on upticks; (2) Market Sell Volume - i.e., the volume that got transacted on downticks;
and, (3) Neutral Volume - i.e., the volume that got transacted without a change in price. (This feature can be turned off if you want normal volume bars).
Market delta (i.e., Market Buy Volume - Market Sell Volume) is also displayed above each volume bar. (On by default; can be switched off from Settings)
The split and Market Delta data are ONLY AVAILABLE FOR REAL-TIME BARS. Historical bars are shown just like regular ones. The dotted line marks the start of real-time data (i.e., the bar from which the indicator started collecting and displaying data). You will see accurate data for bars to the right of this line. The longer you keep a chart open with the study enabled, the more data it collects and displays, and the better your analysis can potentially be.
Note that the data gets reset every time any of the options is changed, the market is switched, the browser is refreshed, or the script is reloaded
DATA ISN'T STORED. I.e., every time a new symbol is loaded, the previous symbol's data is lost. So if you intend to monitor a symbol, you would need to keep it loaded all the time.
Who is it for?
For traders who are used to analyzing buy/sell activity using market buy/sell volume and market delta information
Although you can use this independently as well, use it in conjunction with "Market Delta Volume for Realtime Bars" indicator to get a better visual representation of the numbers.
KINSKI Volume Regression TrendRegression trends are typically used to determine when a price is unusually far from its baseline. The script calculates the linear regression of volume and price to determine the trend direction and strength. This can be used to determine the volume support for upward/downward trends.
As a special feature, this indicator allows you to choose from three (as of 07/20/2021) templates with special presets.
The following templates are available:
"Precise" (Period: 4, Smoothing Factor Type: "DISABLED", Smoothing Factor Length = 1).
"Smooth" (Period: 4, Smoothing Factor Type: "RMA", Smoothing Factor Length = 2)
"Long Term (Period: 20, Smoothing Factor Type: "DISABLED", Smoothing Factor Length = 1)
In the selection for templates, the option "DISABLED" can also be selected. Then the user-defined settings selectable under it take effect. There are the following setting options.
"Length": Adjustable period
"Smoothing Factor: Type": Type of moving average
"Smoothing Factor: Length": Adjustable period
Other setting options are:
Color codes: The color codes are explained in the settings
Display types: "Columns", "Histogram", "Area", "Line", "Stepline"
Value Area POC/VAH/VALThis indicator is a Market Profiling tool used to analyse the Point of Control (POC) and Value Area (VAH/VAL) on the daily, weekly and monthly timeframes. It also optionally displays historical Value Areas to help find confluence with past data.
The Value Area is a range of prices where the majority of trading volume took place on the prior trading day. In specific, this area is the range where 70% of the prior day’s volume happened. The value area is approximately one standard deviation above and below the average highest volume price. With this knowledge, there are specific probabilities of market behavior we can understand to digest the value area. The value area gives us an idea of where the smart money is playing ball and where the institutions are guiding the market. From this data, we can derive intra-day strategies that capitalize on market behavior.
High Low POCGet centre point of highest high and lowest low from defined number of bar .
if POC above sma and price above POC then enter long .
if POC below sma and price below POC then enter short .
nonoiraq indicator it's very strong i edit this indicator to connect it with my bot to auto trading and he take the info from the volume, so when he is give me a single the bot take just 0.50% to 1% for 3 - 5 trade in day and this perfect, if u use a manual trading this indicator can reach to from 10% to 80% in some point .
the indicator have 3 line
(Red , Purple, Yellow)
1- The yellow line it's high sensitivity this mean it's when rich to the -3 or 3 you can open the order when the bar is close and the signal be sure
and u need to watch the your order because in some case he is reach to 0.30% to 2% and the price reflected to loss and when you wait the price reflected to but my advice you take profit and close the order directly.
2- The purple circles it's medium sensitivity this mean when the purple hit the 2.5 or 3 from down or up in indicator with yellow line you open the order when bar close and the signal is be sure , like example in the photo
3- The red circles it's low sensitivity and this one when reach to 3.0 with any line (yellow or purple) you open directly short or long , like the example in the photo
i am sorry for my english it's not very good
please support me to share other idea or script