OPEN-SOURCE SCRIPT
Updated

Previous OHLC (Nephew_Sam_)

This indicator plots the OHLC of a previous HTF candle with an option to show the HTF candle too on the lower timeframe.

(uses latest pine script version 5)

Options:
1. Custom timeframe (requires a higher timeframe from current chart period)
2. Show or hide OC and/or LH lines of previous candle
3. Show or hide the candle at the beginning of the new period

Styles
1. You can style all lines and candle colors from this tab.
Release Notes
Update: Added alerts and label
Release Notes
Labels bug fix
Release Notes
Labels another bug fix
Release Notes
Thumbnail Image
Release Notes
Added more timeframes + labels settings
Release Notes
1. Offset - shows OHLC of x day. 0 is current day, 1 is previous day
2. Custom labels - custom labels for each OHLC
Release Notes
bug fix
Release Notes
Monthly text fix
Release Notes
Show only 1 previous OHLC
Release Notes
Monthly label fix
Release Notes
Added optional pip box above and below highs

Disclaimer