TradingView
tradeforopp
19 มกรา 2024 เวลา 17 นาฬิกา 11 นาที

Volume Profile [TFO] 

Crude Oil FuturesNYMEX

คำอธิบาย

This indicator generates Volume Profiles from which to display insights about recent Volume Points of Control and High Volume Nodes. Volume Profile is a way to view trading volume by the price where trades have occurred, rather than the time when they occur (as seen by traditional Volume indicators).



By selecting a Resolution Timeframe (1m in this example), we can aggregate the volume at different prices to build a Volume Profile for a specified Profile Timeframe (1D in this example). In this indicator, we make the simple assumption that a given candle's volume is distributed evenly across all points. Realistically, this is seldom the case, but it gives us a starting point to easily estimate the volume at a given price, in turn helping us to build our profiles in a trivial way.



If we do this for all Resolution Timeframe candles within a Profile Timeframe (all 1m candles in a single 1D candle, in this example), then we can successfully aggregate this data and build a full Volume Profile. And thankfully, Pine Script's new polyline feature ultimately allow us to keep more Volume Profiles on our charts. Before polylines, we would have to consider using lines or boxes to represent the individual levels within a given profile, and each script currently has a cap of 500 lines and boxes, respectively. However, one single polyline can be used to draw the complex shape of an entire profile, and we may show up to 100 polylines in a given script. This helps us keep a lot more data on our charts!



Compared to TradingView's Session Volume Profile indicator (blue/yellow), we can see that our indicator (grey) is nearly identical, which verifies that our assumption of a uniform volume distribution is enough to roughly estimate a given Volume Profile. Note in this example the Row Size was set to 200, meaning that 200 levels are used to approximate profiles from each session's high to its low.



Show VPOC will show the volume point of control of each profile, which represents the price level where the largest amount of volume was traded for a given profile. This is shown with the red lines in the following chart.



Extend Last N VPOCs will look for the most recent, user-defined number of VPOCs (not including the current session's VPOC that's still developing) and extend them to the right of the chart as points of reference. The Show Labels Above option will annotate each VPOC with its respective date above a specified timeframe. This way, if one was using Volume Profiles on intraday timeframes, there wouldn't need to be several date strings all showing the same day.



Show Previous HVNs will show high volume nodes from the previous session. The HVN Strength setting is similar to a "pivot strength" that I use in a lot of my scripts - essentially, HVNs are validated by treating them as local highs. With a HVN Strength of 10 for example, if a given level contains more volume than the 10 levels above and below it, then it is validated as a HVN.



For a cleaner look and feel, HVNs can instead be shown as levels (lines) instead of areas (boxes). With levels enabled, solid lines denote the previous session's VPOC, and dotted lines represent all other HVNs. With areas enabled instead, the tops and bottoms will extend above/below the HVN level until a point with greater volume is discovered (marking the "end" of the node).



This indicator can be computationally intensive and may crash from taking too long to execute. In these cases, it's best to disable unused features, decrease the number of Rows, and/or simply reload the chart until it populates.

เอกสารเผยแพร่

Forgot to mention: HVNs are colored according to the previous session's close. HVNs above the previous session's close will be red by default (denoting potential resistance), and HVNs below will be green by default (denoting potential support).
ความคิดเห็น
dion95hc
I really love the work that you do and the latest session volume profile (SVP) indicator that you made public. Its the only contender to tradingview's VP and better since yours is public and hence configurable.

I use SVP alot and usually pay attention to:
1) LVNs because they are the FVG equivalent.
Price usually runs past HVNs and make a reversal at LVN.
So marking out LVN is way more valuable than HVNs because it tells me where price wants to manipulate to before distributing.
Then I hunt for entries towards the LVN and post that, away from the LVN.
2) LVNs that are right before a HVN are especially lucrative. If you eyeball FVGs using ICT method and use TV's SVP, you will notice how those 'wedged' FVGs make up short term highs and lows.

You have made boxes to mark out HVNs, could you:
1) Do the same for LVNs?
2) Enable alert conditions when price reaches these boxes for the first time, since they are points of interests where reversals typically happen.
crypto_juju
You ser, are a McGenius! Amazing as always, appreciate you!
srta008
Great script.. Is it possible to include value area High/Low in the script? thanks.
emturk20
Great work!!! Is there anyway you could add an option to put the volume profile display on the right side of our chart? Tia

Cheers!
zorrong
How about show volume detal at price, thanks
akrem_crypto
thank you very much very good indicator (suggestion : can you add MTF VWAP, I swear it will be magnificent indicator)
Mrmoeast
Thank you for sharing this . Next update can you add volume area levels its will be very useful
iamashu
Great!!
Kirandeepc
Great Work Brother
Dagger_Six
Great stuff, I noticed the date corresponding with any given day is labeled as 1 day before the actual date of any given POC. Is there a way to fix that, or am I incorrectly applying your indicator? Perhaps you did that on purpose and I'm missing something. For example. Friday's POC 2/2/24 is labeled as 2/5/24, today's date.
เพิ่มเติม