IldarAkhmetgaleev

Poor man's volume profile

IldarAkhmetgaleev Atualizado   
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.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?