Candlestick Plot MTF

mortdiggiddy Actualizado   
Plots the live non-repainting candles for a higher time interval than the chart interval.


  • Configuration of the look and feel of the MTF candles.
  • Live candles update as the price action evolves for the session.
  • Historical candles can be toggled on/off.
  • Includes a moving average ribbon that is also MTF, matching the interval chosen.

Please watch this video to understand more:

Notas de prensa:
  • Improved gap logic.
Notas de prensa:
  • Added Heikin Ashi Candles.
Notas de prensa:
  • Fixed issues with heikin ashi plot.
Notas de prensa:
  • Updated max "recent" candle count. Shows a maximum of 90 candles built with pine 4.0 lines instead of 9.
Notas de prensa:
  • Major overhaul to Pine V5.
  • Swapped candle body lines for "boxes" that were recently introduced. This has increased the total number of drawn candles by a factor of 4x.
  • Removed Moving Averages.
  • Removed "historical candles". There is a max bars back limitation. This new version will show 500 boxes (candles) in history. Only the most recent 250 candles will show wicks.
  • Code is condensed and simplified, speed improved.
Notas de prensa:
  • Added simple countdown label showing the time remaining until the interval ends.
Notas de prensa:
  • Removed unused plot.
Notas de prensa:
  • Added volume gradient.
  • Shade the background of candles and set the border width based on the candle relative volume compared to the previous N candles.\n\nA candle with a lower relative volume will appear more transparent and have a thinner border, while a candle with a higher relative volume will appear more opaque and have a thicker border.
Notas de prensa:
  • Minor updates and improvements,
Notas de prensa:
  • Added better volume gradient range.
  • Added large tooltips in the center of each candle that can be shown when hovered over. These tooltips show the current candle volume and also the volume percentile rank.
Notas de prensa:
  • Tweaked volume gradient shading mechanism.
  • Added option to show volume percentile value inside candle.
  • Updated tooltips.
Notas de prensa:
  • Added ability to set the wick colors based on bullish/bearish candles.
  • Added fade in/out mechanism to the volume percentile rank labels. The text opacity approaches 100 as the rank approaches 100.

Notas de prensa:
  • Set text opacity function to sqrt.
Notas de prensa:
  • Added 'distribution' rank mode. See description in pictures attached to this update message.

Interesting combination of distribution and percentile rank modes on the same candle. This is live and occurred a few minutes ago when the CORE PCE data headline was released.

Notas de prensa:
  • Updated input descriptions.
Notas de prensa:
  • Added option to use custom sigma value, see input notes to know more next to the sigma variable.
  • Updated 'hybrid' candlestick types.
  • Updated documentation.

Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?