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.
Supply, Demand and Equilibrium Zones, Interactive by DGTSupply, Demand and Equilibrium Zones, Interactive
The law of supply and demand is a theory that explains the interaction between the sellers of an asset and the buyers for that asset. The theory defines the relationship between the price of a given asset and the willingness of traders to either buy or sell it. Generally, as price increases, traders are willing to supply more and demand less and vice versa when the price falls.
Simply said, the higher the price, the lower the quantity demanded, and from the seller's perspective, the higher the price, the higher the quantity supplied
Equilibrium zones are the price levels where both selling and buying trading activity is high, both sellers and buyres are interested at that price levels. More correctly, 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. Supply and demand are balanced or in equilibrium
Supply and Demand Shifts may occur when institutional investors step in, a change in both price and quantity demanded from one point to another
This experimental study attempts to presend Supply, Demand and Equilibrium Zones by measuring traded volume at all price levels on the market over a specified time period. Then the result is plotted as horizontal zones on the finacial isntrumnet's chart that highlights supply, demand and equilibrium zones at specific price levels
It is important for supply, demand and equilibrium zones to understand that time is always a dimension on charts. The quantity demanded or supplied, found along the horizontal axis, is always measured in traded volume of the asset over a given time interval. Longer or shorter time intervals can influence the levels of supply, demand and equilibrium zones
The study is made interactive, which requires the users to select two points on the chart, by simply clicking on the chart. In case the user would like to view different range then just dragging the vertical lines will be enough
By increasing/decreasing values for supply and demand zones or equilibrium zones, you will either get the zones enlarged or detect supply and demand shifts or other equilibrium zones
It is adviced to use this study in conjuction with a Volume Profile study, such as Volume-Profile-and-Volume-Indicator , Volume-Profile-Custom-Range , Anchored-Volume-Profile , and Price-Action-Support-Resistance , where volume profiles presents trading activities at specific price levels and Supply and Demand Zones can be treated as Value Area (they are not exact same but similar) for Volume Profiles
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 constitutes professional and/or financial advice. You alone 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
Volume Profile - Custom Range, Interactive by DGTVolume Profile - Custom Range aims to display trading activity at specific price levels over user defined Custom Range of trading. Start and End Time is Interactive , they can be adjusted simply by clicking on the chart and drag the lines to specify the desired custom range. Same as is with the drawing tools available in TV
Please note, while switching between timeframes or switching to different instruments with different exchange timezones you may need to adjust the locations in case the plotting is not displied
Volume Profile - Custom Range is plotted as two horizontal histograms on the finacial isntrumnet's chart that highlights the trader's common interest at specific price levels as well as aims to reveal dominant party of who is in control, bulls or bears
You are also invated to galnce at Volume-Profile-and-Volume-Indicator , Anchored-Volume-Profile , and Price Action-Support-Resistance for different perspective of Volume Profiles
Special thanks to everyone who commented and presented their valuable suggestions
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 constitutes professional and/or financial advice. You alone 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
Anchored Volume Profile by DGTAnchored Volume Profile aims to display trading activity at specific price levels over specified anchored periods of trading, where anchor period can be set to auto or users can specify anchor periods of their interest (Day (Session), Week, Quarter or Year)
Anchored Volume Profile is plotted as two horizontal histograms on the finacial isntrumnet's chart that highlights the trader's common interest at specific price levels as well as aims to reveal dominant party, bulls or bears
You are invited to glance at Vol Profile and Price Action-Support-Resistance 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 constitutes professional and/or financial advice. You alone 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
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 Range For All AccountsVolume Profile Range For All Accounts is displaying volume from price perspective. It’s done by summing volume by the “estimated” transaction price. This version is estimating it based on public volume data so it can be used with any account.
Volume Profile is a powerful tool commonly used by PRO users, to disseminate its use also by users who operate on basic volume data, we have prepared a set of scripts:
Volume Profile For All Accounts – Analyze last 50-20000 bars.
Volume Profile From Date For All Accounts – Analyze all bars since start date.
Volume Profile Range For All Accounts – Analyze bars in a range between start and end date.
Traiding View is supporting paid users with Volume Profile on extended volume dataset. We recommend to use it, because of access to more precise data.
Script Initialization:
After adding this script to the chart, a blue dialog with ‘Set the “start date” time for “VPR”’ label will be shown. You should pick ‘start date’ on the chart by pressing point on the chart. A line will appear in that place, that can be moved later by move over and catching a rectangle dot over the line.
After ‘start date’ selection, a blue dialog with ‘Set the “end date” time for “VPR”’. You should pick the ‘end date’ on the chart by pressing point on the chart. A line will appear in that place, that can be moved later by move over and catching a rectangle dot over the line.
If picked range is too small, a red label “Range should be bigger than 50 bars” will be shown. In that case just catch the rectangle dot over the line and move it to increase the range.
Settings:
SCANNER VISUALIZATION
Start date – Start date from which bars should be taken into account during calculations. For the narrow range, the estimation may differ significantly from the Volume Profile available for Paid Traiding View users.
End date – End date to which bars should be taken into account during calculations. For the narrow range, the estimation may differ significantly from the Volume Profile available for Paid Traiding View users.
Rows – Number of rows
Width – Width of the visualization.
Position – Position of the visualization:
S_DU – At START of the area, DOWN first
S_UD – At START of the area, UP first
BE_DU – At BEFORE END of the area, DOWN first
BE_UD – At BEFORE END of the area, UP first
E_DU – At END of the area, DOWN first
E_UD – At END of the area, UP first
Color Up – Color of volume classified as move Up, or Both if separation is off.
Color Down - Color of volume classified as move Down
Color Border – Border color.
Up/Down separate – Draw separate volume classified as Up and Down
Show values – Showing volume values of the bars.
Troubleshooting:
In case of any problems, send error details to the author of the script.
Volume Profile From Date For All AccountsVolume Profile From Date For All Accounts is displaying volume from price perspective. It’s done by summing volume by the “estimated” transaction price. This version is estimating it based on public volume data so it can be used with any account.
Volume Profile is a powerful tool commonly used by PRO users, to disseminate its use also by users who operate on basic volume data, we have prepared a set of scripts:
Volume Profile For All Accounts – Analyze last 50-20000 bars.
Volume Profile From Date For All Accounts – Analyze all bars since start date.
Volume Profile Range For All Accounts – Analyze bars in a range between start and end date.
Traiding View is supporting paid users with Volume Profile on extended volume dataset. We recommend to use it, because of access to more precise data.
Settings:
SCANNER VISUALIZATION
Start date – Start date from which bars should be taken into account during calculations. For the near past/small scope, the estimation may differ significantly from the Volume Profile available for Paid Traiding View users.
Rows – Number of rows
Width – Width of the visualization.
Position – Position of the visualization:
S_DU – At START of the area, DOWN first
S_UD – At START of the area, UP first
BE_DU – At BEFORE END of the area, DOWN first
BE_UD – At BEFORE END of the area, UP first
E_DU – At END of the area, DOWN first
E_UD – At END of the area, UP first
Color Up – Color of volume classified as move Up, or Both if separation is off.
Color Down - Color of volume classified as move Down
Color Border – Border color.
Up/Down separate – Draw separate volume classified as Up and Down
Show values – Showing volume values of the bars.
Troubleshooting:
In case of any problems, send error details to the author of the script.
Volume Profile For All AccountsVolume Profile For All Accounts is displaying volume from price perspective. It’s done by summing volume by the “estimated” transaction price. This version is estimating it based on public volume data so it can be used with any account.
Volume Profile is a powerful tool commonly used by PRO users, to disseminate its use also by users who operate on basic volume data, we have prepared a set of scripts:
Volume Profile For All Accounts – Analyze last 50-20000 bars.
Volume Profile From Date For All Accounts – Analyze all bars since start date.
Volume Profile Range For All Accounts – Analyze bars in a range between start and end date.
Traiding View is supporting paid users with Volume Profile on extended volume dataset. We recommend to use it, because of access to more precise data.
Settings:
SCANNER VISUALIZATION
Limit – How many last bars should be taken into account during calculations. For small values, the estimation may differ significantly from the Volume Profile available for Paid Traiding View users.
Rows – Number of rows
Width – Width of the visualization.
Position – Position of the visualization:
S_DU – At START of the area, DOWN first
S_UD – At START of the area, UP first
BE_DU – At BEFORE END of the area, DOWN first
BE_UD – At BEFORE END of the area, UP first
E_DU – At END of the area, DOWN first
E_UD – At END of the area, UP first
Color Up – Color of volume classified as move Up, or Both if separation is off.
Color Down - Color of volume classified as move Down
Color Border – Border color.
Up/Down separate – Draw separate volume classified as Up and Down
Show values – Showing volume values of the bars.
Troubleshooting:
In case of any problems, send error details to the author of the script.
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
OI Profile Pro SpaceManBTCOI Profile Pro SpaceManBTC
The indicator provides a way to show the Open Interest Delta in relation to the price this occurs,
the increase and decrease will be reflected in the profile in a realtime display of the market providing trader insight as to what is occuring.
Users are granted options such as
HVN - Auto detects areas of High Open Interest
HVN/Liqs - Provides points of maximum likely liquidation areas
Historic Highlight - to highligh previous liqudation interaction points
Weighting - Determine profile weight relative to OI Delta
Spread - New calculation metric for the profile
Users can select their margin manually else the Auto settings for margin will do its job based on the chart selected, perp vs usdt.
All settings are set to auto with spaceman recommended defaults.
Liquidation points can be useful for Targets when taking a trade.
HVN/OI. Can be used as S/R dynamically as well as the OI develops throughout the session.
Historic Highlighting can be used for backtesting and displaying probability of likelyness for a target to be hit.
ToDo:
Additional display options
Improve HVN Calculation for efficiency
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
Open Interest Profile SpaceManBTCOpen Interest Profile SpaceManBTC
This is an indicator that will provide users with a way to see the open interest changes at price points,
reflecting the increase in OI or decrease in OI automatically to the associated with a visual display similar to those of a footprint profile.
Users can select their margin to be be coin demonimanated or Tether.
Using Auto all settings as default the code will aim to determine the best settings for the users TF including adjustment of ticksize and sessions to ensure enough data is being produced.
Auto is actually a fine setting choice in this instance.
Users can choose to enable delta or disable, delta is set by default as it aims to make it easier to see the dominance in the OI change and which zone had a stronger increase or decrease. Of course this can be disabled to view all data in regards to the OI.
High OI zones can be used for OI.
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
Market StatsThis script escapes much of the subjective technical analysis and discretionary trading in general. With this Script/Indicator, you will be able to have access to the statistics tested day by day in the markets, statistics that will be a decisive support in your trading plan. Its analysis and creation is based on the quantitative trading system, since these statistics have a testing and database behind, which makes it a potential indicator for your trading.
You can change the time of the market you want to operate, also the colors of the labels of the statistics, their distance, color of the letters, fully editable to adapt it to the type of market you operate.
Its design involves values of the previous session ( RTH ) and extension session (OVERNIGHT), so it will be complemented with markets that are assimilated to that configuration (indices, stocks, futures, CFDs, forex, commodities ) maybe you can adapt it with cryptocurrencies, but being 24/7 you would have to modify its schedule.
Important levels included:
YHOD: Yesterday High of Day
ONH: Onvernight High
ONM: Overnight Mid
YPOC: Yesterday Point of Control
HALFGAP: Close Price Mid
GAP: Yesterday Close Price
ONL: Overnight Low
YLOD: Yesterday Low of Day
IBH: Initial Balance High
IBL: Initial Balance Low
The IBH and IBL levels will appear after 60 minutes into the session, indicating our balance zone. The one that will add more statistics to our trading.
_________________________________________________________________________________________________________________________________________________________________________________________________________
Este script, escapa mucho del análisis técnico subjetivo y del trading discrecional en general. Con este Script/Indicador, podrás tener acceso a las estadísticas testeadas día a día en los mercados, estadísticas que serán un apoyo decisivo en tu plan de trading. Su análisis y creación se basa en el sistema de trading cuantitativo, ya que estas estadísticas, tienen un testeo y base de datos por detrás, lo cual lo hace un indicador potencial para tu trading.
Podrás modificar el horario del mercado que quieres operar, también los colores de las etiquetas de las estadísticas, su distancia, color de las letras, completamente editable para que lo adaptes al tipo de mercado que operas.
Su diseño implica valores de la sesión anterior ( RTH ) y sesión de extensión (OVERNIGHT), por lo que se complementará con los mercados que se asimilen a esa configuración (índices, acciones, futuros, CFDs, forex, commodities ) quizás lo puedas adaptar con criptomonedas, pero al ser 24/7 habría que modificar su programación.
Niveles importantes incluidos:
YHOD: Yesterday High of Day
ONH: Onvernight High
ONM: Overnight Mid
YPOC: Yesterday Point of Control
HALFGAP: Close Price Mid
GAP: Yesterday Close Price
ONL: Overnight Low
YLOD: yesterday Low of Day
IBH: Initial Balance High
IBL: Initial Balance Low
Los niveles de IBH y IBL, aparecerán después de 60 minutos iniciada la sesión, indicando así́, nuestra zona de balance. La que agregará más estadísticas a nuestra operativa.
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.
DIVI Wunder StrategyAs it is known, divergence is a situation we encounter very often on graphs. Various divergencies may occur according to many indicators. MACD divergence, RSI divergence... In the strategy I use only positive divergence. What is positive divergence I will explain on MACD positive divergence A MACD positive divergence is a situation in which the MACD does not reach a new low, despite the fact that the price of the stock reached a new low. This is seen as a bullish trading signal—hence, the term “positive divergence.” So I thought of these divergencies and came up with a new strategy. Combining the divergencies with the VOLPIN strategy I wrote earlier, a great strategy has emerged. When the divergence signals are came from MACD,RSI,CCI,OBV,Chaikin Money Flow, VWmacd and Money Flow Index all these indicators I sent a buy signal until the 40 times completed. ThenI sent to sell signal when the price come to take profit level. In this strategy, you divide your principal into as many parts as you want. For example, let's say that you have 1000 dollars of money and you make purchases by dividing this money into 40 equal parts in the default settings of the indicator. $25 per purchase. After each purchase is made as 25 dollars, you can adjust your profit rate from the profit taking settings. When you look at the results of the strategy, your profit rate will be very high. I usually use this strategy in one hour periods. Of course you change it whatever you want. Also change all settings from panel to get more profit. Have fun :)
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.