OPEN-SOURCE SCRIPT

EquiVolume [LuxAlgo]

EquiVolume is a charting method that aims to incorporate volume information to a candlestick chart. Volume is highlighted through the candle body width, with wider candles suggesting more significant volume.

Our script shows an EquiVolume chart for the visible chart range. Additionally regular volume can be plotted as a column plot with the column's width controlled by volume.

🔶 SETTINGS

🔹 Options

  • Chart: Shows candles with volume adjusted width.
  • Volume: Shows volume with volume adjusted width.


🔹 Intrabar Analysis

  • Enable/disable: When LTF is enabled, the script will calculate the % volume/candles in the same direction than current timeframe.
  • You can choose a LTF between 1 and 240 minutes.
  • Type %:
         - Volume: sum of volume of all LTF candles, which are in the same direction.
         - #bars: sum of all LTF candles, which are in the same direction.


🔹 Width Boxes (bars)

  • Minimum width: sets the minimum width of a box (candle/volume)
  • Maximum width: sets the maximum width of a box (candle/volume)


🔶 USAGE

This charting method makes it easier to spot large volume candles, against comparing candles to volume.

istantanea

Another example:

istantanea

Additionally, users can make the script perform an intrabar analysis on the chart candles, allowing to highlight bullish/bearish activity within a candle. The script can estimate bullish/bearish trading activity within a candle or simply use intrabar candle signs.

Example

- 15-minute candle is green
- 10 1-minute candles (LTF) IN that 15-minute candle are green -> 10/15 = 66,667%
-> The current 15-minute candle will be 66,667% filled with green color.

istantanea

Note that the script will draw everything from last visible bar at the right to left, as such you can scroll backwards, and the script will show you the data of the visible chart.

istantanea

Scrolling back will return the following result:

istantanea

🔶 REMARKS

When the LTF is too far apart from current timeframe, you should get an error. To prevent this, the LTF will automatically rise, giving no error.

istantanea

When this happens, the adjusted LTF will be displayed. Do note, due to a maximum available LTF data, sometimes boxes won't always be visible (since there is no LTF data anymore)

To solve this, just elevate your LTF:

istantanea

When the set LTF is higher than current TF, you would normally get an error as well.

This script will automatically adjust the LTF to current TF, together with a visible warning (no error though).

istantanea

Due to the inability to draw a line in the space between bars, sometimes a wick won't be placed exactly in the middle.

istantanea
candleschartequivolumeluxalgosupply_and_demandVolume

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Anche su:

Declinazione di responsabilità