Candlestick Plot MTF

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:

Release Notes:
  • Improved gap logic.
Release Notes:
  • Added Heikin Ashi Candles.
Release Notes:
  • Fixed issues with heikin ashi plot.
Release Notes:
  • Updated max "recent" candle count. Shows a maximum of 90 candles built with pine 4.0 lines instead of 9.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?