TradingView
IldarAkhmetgaleev
27 de Jun de 2020 17:20

Poor man's volume profile 

Bitcoin / U.S. dollarBitstamp

Descrição

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.

Notas de Lançamento

  • Decouple width of history and recent profiles
  • Make profile value independent from profile height

Notas de Lançamento

More precise profile value calculation

Notas de Lançamento

Fix width with disabled history/last profiles

Notas de Lançamento

  • Fix width with disabled history/last profiles
  • Do not clip recent profile

Notas de Lançamento

  • 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.

Notas de Lançamento

Fix "screenshot"

Notas de Lançamento

Replace green color by teal

Notas de Lançamento

Add volume point of control (VPoC) as a line

Notas de Lançamento

  • Use nz() instead of own nan_to_float()
  • Fix history block offset

Notas de Lançamento

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).

Notas de Lançamento

Correct way (I'm sure of it) to calculate row value. It could be wrong.

Notas de Lançamento

Fix preview chart

Notas de Lançamento

Fix the calculation of the first bar.

Notas de Lançamento

Highlight peak volume in a profile

Notas de Lançamento

Maybe fix for profile disappearing

Notas de Lançamento

Draw a profile using labels

Notas de Lançamento

* Fix "Invalid symbol" warning when the custom volume source is enabled.
Comentários
New9999
color yellow on the bar tell what sir ? ( support or resistance)
Thank you
AI_ApeIntelligence
@New9999, volume peak, largely comparable with standart VP's POC
YoungCanadianInvestor
Any way to set a time frame (Daily, Weekly, Monthly) instead of inputting the amount of bars back?
shailja2428
Thanks...I am getting derived volume as exchange doesn't provide for some index. In this case why the recent levels doesn't work ? History levels are working fine. Please help..
IldarAkhmetgaleev
@shailja2428, recent historical (coloured) levels doesn't work because a way how levels is drawn and not very rich trading view API. If the grey reversed levels doesn't work please share a screenshot.
zxions
Somehow I like this better than the paid version. Thank you
maszka_esz
Any description how to read/use this funtion?
thanks in advance
IldarAkhmetgaleev
A new version is coming. It is much faster and can show blocks up to hundreds of bars.
sportflow365
@IldarAkhmetgaleev, I look forward to ;)
IldarAkhmetgaleev
@sportflow365, new version is already published. The study is now split into two studies: this one and tradingview.com/script/eksYnVaP-Poor-man-s-volume-clusters/
Mais