IldarAkhmetgaleev

Poor man's volume profile

IldarAkhmetgaleev Aktualisiert   
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.
Versionshinweise:
  • Decouple width of history and recent profiles
  • Make profile value independent from profile height
Versionshinweise:
More precise profile value calculation
Versionshinweise:
Fix width with disabled history/last profiles
Versionshinweise:
  • Fix width with disabled history/last profiles
  • Do not clip recent profile
Versionshinweise:
  • 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.
Versionshinweise:
Fix "screenshot"
Versionshinweise:
Replace green color by teal
Versionshinweise:
Add volume point of control (VPoC) as a line
Versionshinweise:
  • Use nz() instead of own nan_to_float()
  • Fix history block offset
Versionshinweise:
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).
Versionshinweise:
Correct way (I'm sure of it) to calculate row value. It could be wrong.
Versionshinweise:
Fix preview chart
Versionshinweise:
Fix the calculation of the first bar.
Versionshinweise:
Highlight peak volume in a profile
Versionshinweise:
Maybe fix for profile disappearing
Versionshinweise:
Draw a profile using labels
Versionshinweise:
* Fix "Invalid symbol" warning when the custom volume source is enabled.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?