mickes

Fixed volume profile & zones

mickes 已更新   
Hi all!

If you like volume profile and like to create zones, where the price might react, this indicator might be for you. It plots a fixed volume profile and creates a user defined number of zones (shelves) of high volume.

If you want to know more about volume profile you can about it here on TradingView: se.tradingview.com/s...folders/43000587408/

To do
• Add possiblity to create alerts for zone entries, breakouts and retest
• The importance of zones are now based on high volume slots only. It might be changed to include the slots around the 'master slot' to determine if the area is of high importance or not, your suggestions here are welcome!
• Show total volume in 'values'
• Error if the data cannot be fetched
• Add value area
• Make earlier (more important shelves) more visible (less transparent)
• Add possiblity to skip zones

Known issues
• Script execution is long when the volume profile is created (should be none)
• In some cases you can get overlapping shelves, avoid this

Settings
• Main
• Start/end bar of the volume profile (this is required)
• Data
• Timeframe (for getting the volume data)
• Levels (the number of slots in the volume profile)
• Shelves (the number of zones with high volume to plot) and it's color
• Max slot (have this enabled if you want the shelf's highest volume slot to have a dotted line and choose it's color
• Show info (show the order of the plotted zone)
• Style (how the volume profile will look)
• Histogram box (the color of the background of the volume profile)
• Up (the color of bullish volume)
• Down (the color of bearish volume)
• Point of control (color and if it should be extended or not)
• Values and text color (show bullish and bearish volume values)

The defaults on all settings are based on the daily timeframe. This indicator is not 'complete' and I plan to work on it when I get the time.

Note that the precision for the volume profile is per candle, so some levels can have visuals as others but lower volume.

The slot (level) volume has to have a lower difference to the volume included in the shelf than the next volume to be checked to be included. If the level being checked for inclusion in a shelf is at the end of boundaries (high and low) of the volume profile, the volume has to be higher than the golden ratio of the volume before.

You can also use this indicator if you just want a volume profile to show, just set the the number of zones to plot (in 'Shelves') to 0.

I hope I haven't forgotten anything and that it's clear, let me know otherwise.

Best of trading luck!
版本注释:
• Fix issue of the indicator disappearing if 'end' is on the last bar. This was pointed out by a user and is now mitigated.
版本注释:
• Add tooltip on zones max level/slot
• Add alerts for breakouts, false breakouts and retest. These alerts are possible due to the use of my library 'Touched'.

The link for volume profile information in the first release is only to be used as information for you if you want to read more about the volume profile.
开源脚本

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

免责声明

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

想在图表上使用此脚本?