TradingView
AlphaViz
17 Th11 2023 15:35

Volume Profile Plus 

E-mini S&P 500 FuturesCME

Mô tả

This indicator provides a high-resolution and high-precision implementation of Volume Profile with flexible range settings. Its key features include:

1. Support for a high resolution of up to 2,500 rows.
2. Capability to examine lower timeframe bars (default 5,000 intra-bars) for enhanced precision.
3. Three range modes — "Visible Range", "Anchored Range", and "All Range".
4. Highlighting of Point of Control and Value Area.
5. Extensive customization options allowing users to configure dimensions, on-chart placements, and color schemes.

🔵 Settings

The settings screen, along with the explanations for each setting, is provided below:


🔵 High Resolution using Polyline

Inspired by @fikira, this indicator utilizes the newly introduced `polyline` type in PineScript to plot the volume profile. It employs a single polyline instance to represent the entire histogram. With each polyline instance supporting up to 10,000 points and each histogram row requiring 4 points, this indicator can accommodate 2500 rows, resulting in a significantly higher resolution compared to conventional volume profile indicators that use `line`s or `box`es to draw the histogram.

🔵 High Precision Data-binning using Lower Timeframe Data

Conventional volume profile indicators often face one or both of the following limitations:

1. They only consider volume within the chart's current timeframe.
2. They assign each bar's total volume to a single price bucket based on the bar's average price, rather than distributing volume across multiple price buckets.

As a result, when the number of bars in the chart is low, those indicators may provide imprecise results, making it difficult to accurately identify significant volume nodes and the point of control.

To address these limitations and enhance accuracy, this indicator examines data from lower timeframes and distributes the volume to fine-grained price buckets. It intelligently selects an appropriate lower timeframe to ensure precise output while complying with a maximum specified number of bars to maintain good performance.



🔵 Three Range Modes

This indicator offers users the flexibility to choose from three range modes:

1. Visible Range (Default Mode): In this mode, the volume profile calculation begins at the time of the left-most bar displayed in the current viewport. As the user scrolls through the viewport, the volume profile updates automatically.
2. Anchored Range: This mode allows the user to set the start time either by using the datetime input boxes or by dragging the anchor line on the chart.
3. All Range: In this mode, the volume profile calculation is based on all the historical bars available in the chart.

Phát hành các Ghi chú

Add a toggle for turning on/off second-based timeframes and set it to false by default. Note that second-based timeframes are only supported if the user is subscribed to the TradingView Premium Plan and above.

Phát hành các Ghi chú

Added support for showing Volume Delta (the difference between buying and selling volume).

Phát hành các Ghi chú

Fixed the "memory limit exceeded" error by limiting the maximum lower timeframe multiplier to 16x instead of 32x.

Phát hành các Ghi chú

Added support for Market Profile (a.k.a. Time Price Opportunity).
Default to Market Profile mode if the current ticker does not have any volume data.
Bình luận
hughlxj
Great! It would be even better if it could be fixed on the right or left side! Thanks!
tradermonitor2
Hi. Still getting the Memory Limit Exceeded 1:1. Change Number of Rows to 100 with Max at 1000 but still not working. Any thoughts?
AlphaViz
Hi @tradermonitor2, are you getting memory limit exceeded error for all tickers and timeframes or just specific ones? If the latter, can you let me know the ticker and timeframe that's showing error for you? Thanks.
jtradellc
@algotraderdev, this is the error I just started getting. It was fine previously.
AlphaViz
@tradermonitor2 @jtradellc The memory limit exceeded issue has been fixed with the latest version. Please remove the indicator from your chart and add it back again to update to the latest. Thanks!
jtradellc
@algotraderdev, thanks!!!
citab
Thanks for the excellent tool! I've been looking for a Volume Profile that works this way. The delta by price level is fantastic!
callanfox
I migrated back to TradingView recently after spending time on more orderflow-orientated platforms. Do you think I could find a fixed range Volume Profile I was happy with? There were some, but the resolution in thin spots made them less-than-ideal for mapping out significant points of interest. Well, my search is over - I sincerely hope. This is exactly what I was after. Absolutely stunning work, @AlphaViz. Thank you for making this free-for-use.

To whoever does the features / editor's picks: not sure how much faith I have in your picks if this wasn't included!
AlphaViz
@callanfox, Thank you for this wonderful review! I'm delighted that you enjoyed this indicator :)
cgutierrez71
Is it possible to make the volume profile position to the right of the visible area instead of a fixed offset?
Thêm nữa