OPEN-SOURCE SCRIPT

Candlestick Plot MTF

Mis à jour
Plots the live non-repainting candles for a higher time interval than the chart interval.

Features:

  • 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:

Notes de version
  • Improved gap logic.
Notes de version
  • Added Heikin Ashi Candles.
Notes de version
  • Fixed issues with heikin ashi plot.
Notes de version
  • Updated max "recent" candle count. Shows a maximum of 90 candles built with pine 4.0 lines instead of 9.
Notes de version
  • 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.
Notes de version
  • Added simple countdown label showing the time remaining until the interval ends.
Notes de version
  • Removed unused plot.
Notes de version
  • 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.
Notes de version
  • Minor updates and improvements,
Notes de version
  • 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.
Notes de version
  • Tweaked volume gradient shading mechanism.
  • Added option to show volume percentile value inside candle.
  • Updated tooltips.
Notes de version
  • 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.


snapshot
Notes de version
  • Set text opacity function to sqrt.
Notes de version
  • 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.

snapshot

snapshot
Notes de version
  • Updated input descriptions.
Notes de version
  • Added option to use custom sigma value, see input notes to know more next to the sigma variable.
  • Updated 'hybrid' candlestick types.
  • Updated documentation.
candleformationCandlestick analysiscandlestickpatterncandlesticksignalscandlestickspatternscandlesticktradermulti-timeframeTrend AnalysisVolatility

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité