OPEN-SOURCE SCRIPT
Updated

OHLC MTF

17 935
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)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.