colejustice

Volume Profile Heatmap

colejustice 已更新   
A variation of a Volume Profile based on code originally by LuxAlgo. (www.tradingview.com/...-Volume-Profile-LUX/) 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.
版本注释:
  • Increased max number of rows to 500 (I realized what I was missing, silly mistake).

NOTE: A "visible range" version (i.e., show the profile only for currently visible bars) is currently impossible due to PineScript not supporting any way to know what the leftmost bar is on a given chart. TV's built-in Visible Range VP uses some form of magic us Sorcerer's apprentices don't have access to.
版本注释:
  • Added an input to allow "sharpening" the gradient by emphasizing bright zones and de-emphasizing dim zones. Thanks @RNavega!
版本注释:
THE VISIBLE RANGE (kinda) UPDATE
Thanks to TV's new tools for determining the visibility of bars, we can now start accessing the arcane sorcery that allows us to refine data visualization to only those bars that we can see. Or as it is most commonly known as, the "Visible Range".

A new toggle has been added to the settings menu to replace the defined lookback periods with the currently visible bars instead. Unfortunately I haven't quite nailed down why their API doesn't seem to work for accessing the right-most bar index so for now we're limited to a "visible range" in the context of the current (most recent) bar, hence the "kinda" in the title. But still, I'm very excited about this update and I hope to further expand this tool in the near future as I continue to play around with these new features.
版本注释:
Figured out the "real" Visible Range; indicator now cares about where your rightmost bar is when doing calculations and drawing the heatmap.
版本注释:
  • Cleaned up settings menu and added a "number of rows" input for the Visible Range setting.

Thanks for using my indicators; I hope they make you money! Check out the website link for more, and thanks for your support!
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?