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.

imagen

Another example:

imagen

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.

imagen

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.

imagen

Scrolling back will return the following result:

imagen

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

imagen

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:

imagen

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

imagen

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

imagen
candleschartequivolumeluxalgosupply_and_demandVolume

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?


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.
También en:

Exención de responsabilidad