OPEN-SOURCE SCRIPT

OHLC MTF

Updated
The script allows you to plot the opening, highest, lowest and closing (ohlc) values of a previous candle.

Settings :
- "Time Frame" : allows you to choose the reference time frame;
- "Offset" : sets which candle to select the data from.

Ex : If you select "1 day" as the time frame and "1" as the offset, the OHLC values of yesterday's daily candle will be displayed (regardless of your current time frame).
Release Notes
Minor correction regarding the placement of the labels.
Release Notes
The entire script has been re-written :
  • New customization options have been added;
  • New feature : show OHLC levels for all previous candles (relative to the selected time frame)
candlesCandlestick analysisChart patternsmultipletimeframemulti-timeframemultitimeframemultitimeframeanalysisohlcprevious

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer