Poor man's volume profile

This is an attempt to get something more or less similar to the volume profile for free.

The code is generated using a template. To change the settings, you may need to regenerate the code. The code has a link to the repository with the template.
  • Decouple width of history and recent profiles
  • Make profile value independent from profile height
發布通知: More precise profile value calculation
發布通知: Fix width with disabled history/last profiles
  • Fix width with disabled history/last profiles
  • Do not clip recent profile
  • Fix server study error by adding max_bars_back.
  • Rewrite code to make it simpler but slower.
  • Add option to use custom ticker as volume source.
發布通知: Fix "screenshot"
發布通知: Replace green color by teal
發布通知: Add volume point of control (VPoC) as a line
  • Use nz() instead of own nan_to_float()
  • Fix history block offset
發布通知: Volume clusters (those called historical blocks) have been moved to a separate study, see "Poor man's volume clusters".

Study has been significantly optimized. Now you can set the profile size up to 500 bars (limit can be lifted if you change max_bars_back in the source code).
發布通知: Correct way (I'm sure of it) to calculate row value. It could be wrong.
發布通知: Fix preview chart
發布通知: Fix the calculation of the first bar.
發布通知: Highlight peak volume in a profile
發布通知: Maybe fix for profile disappearing
發布通知: Draw a profile using labels
發布通知: * Fix "Invalid symbol" warning when the custom volume source is enabled.

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。