Resistances and supports based on simplified Volume Profile

ruckard Premium Zaktualizowano   
This study tries to highlight support and resistances
as they are defined by
TradingLatino TradingView user
His definition is based on volume peaks
on the official TradingView Volume Profile
indicator that seem rather big on size.

As a bonus it also serves as a rather simple volume profile indicator.
As you can see it only show last blocks volume profile .

It's aimed at BTCUSDT pair and 4h timeframe.

HOW IT WORKS - Recent Profile Block
It gathers volume from the last 100 Bars
in order to draw the recent profile block

Volume that intersects with current level range
being studied is added to its value.

Additionally the current level price is modified
so that it matches the level price where most
of the volume has concentrated

So you get a pretty accurate way of the volume
while at the same time the level are not stuck
to arbitrary level prices.

HOW IT WORKS - Resistances and Supports
It calculates the level which its price it's
nearer (from below) to the current price level

Resistance is found steping up (from current prive level)
level by level
till you find a level which its value
is higher than the previous level value.

Support is found steping down (from current prive level)
level by level
till you find a level which its value
is higher than the previous level value.

That way you ignore rather small
resistances and support values.

Finally the resistances and supports are drawn next to the recent profile block
so that you can look at them with ease.

If you hover over the label you can double check if you are looking at
current price, resistance or support levels.

Bars in recent profile block : How many previous period volumes are used to calculate the recent profile block
Row width multiplier : Adjust how big the recent profile block seems to be
Resistances prices number of decimal digits : How many digits is shown at the resistance and support level prices.

Please be aware that depending on your security and timeframe you might need to modify the
'Bars in recent profile block' setting so that the study does not timeout.

If your strategy calculates take profit
limits on higher resistances based
on volume you could use this indicator
resistance detector

This is my first volume indicator.
I suppose that each trader
has his own approach on defining
resistances and supports.

I'm interested on knowing if the default way
this resistances and supports are calculated
matches what other traders would have
highlighted manually on the chart.

I have only used this identifier in BTCUSDT 4h timeframe.
I'm interested to know what needs to be tweaked
in other securities and timeframes.

This study let's you choose the number of decimals the label will use.

I have reused and adapted some code from
'Poor man's volume profile' study
which it's from TradingView IldarAkhmetgaleev user.

I also wanted to thank him for helping me understanding his study.
Informacje o Wersji:
  • Now the label positions match the label prices written on them as anyone would expect.
  • There's also a new 'Avoid label price overlaps' mode for those users that want to use an alternate mode that makes sure labels do not overlap even if it means that the label position won't match the label price. This mode forces the labels to be printed at the top, middle and bottom of the recent block profile.
Informacje o Wersji:
  • Now by default the Volume Profile is calculated using 1 day data
  • New option to switch between custom number of bars and 1 day
  • New setting: Volume Profile resolution (1 day, 1 hour, ...)
  • Added Volume Point of Control (VPoC) level
  • Slight change of colours
Informacje o Wersji:
Overall changes:
  • Now when two labels share the same level the VPoC is shown.
  • Label tooltips now show also the price so that it's easier to check prices when the labels overlap.
  • Presentation has been improved and many settings added to tweak it.

New settings:

  • Improve label price overlaps horizontally {True}
  • Volume Profile width (in bars) {15}: Volume Profile can be make larger or smaller in width thanks to this option.
  • Volume Profile offset (in bars) {5}: Volume Profile can be shown more to the left or to the right if the defaults do not suit you.
  • Volume Profile lines width (in pixels) {2}.
  • Volume Profile labels size {small}.
  • Volume Profile offset between labels (in bars) {2}. How many bars between labels to minimize horizontal overlaps. It will only be taken into account if 'Improve label price overlaps horizontally' is set to True.
  • Show tick difference from current price {False}. BETA. Feedback needed.
Informacje o Wersji:
  • Graph was updated to focus on this indicator only.
Informacje o Wersji:
v20201024 update:
  • Fixed VPoC calculation

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?