rumpypumpydumpy

Equivolume Bars

rumpypumpydumpy Wizard Aktualisiert   
Equivolume bars. Width is determined by volume. Please note that equivolume bars are rendered independently of the time scale.

Makes use of @LonesomeTheBlue's "Start the Script on Last Nth Bar" in order to prevent time out. As such you are only able to view the most recent bars and no bar replay beyond that range.
Versionshinweise:
Added a secondary style which makes OHLC visible. With the new style the left vertical line is always the low, right vertical line the high. Horizontal lines are shift to open/close.
Versionshinweise:
Referencing length error fix
Versionshinweise:
Major update
Complete rewrite to take advantage of new box() functions.

Instructions


This has been coded in a specific way due to certain chart properties being inaccessible via Pine. It requires a few simple manual steps to be set up correctly.

First add the equivolume indicator(s) to your chart

Next from the chart toolbar, change the chart type to line chart.

Then from the chart settings (right click chart / Settings). Under the Symbol section, change the Line color opacity to 0 (fully transparent).

From the chart settings in the Appearance section, set the top and bottom margins to 0 (Margins will be controlled from within the script).

Next set the chart's ticker scale to no scale (the three dot symbol to the right of the ticker id on the chart itself), select Pin to scale / No scale (fullscreen)

Then lastly, set the indicator(s) scales the same way, but make sure they are pinned to the same left or right scale (usually A). It doesn't matter which as long it's the same one.
The exception is the volume bar overlay which should be set to no scale as well.

If you change any of the margin settings / equivolume settings you need to ensure they are copied over to the other overlays to ensure that everything is positioned the same.

At this point, zoom out to ensure the full bar set is loaded. Everything should line up at this point and you can zoom back in if you want to.

The available addons for equivolume can be found here
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?