OPEN-SOURCE SCRIPT
Actualizado

Open/High/Low/Close (OHLC) Lines with Configurable Timeframe

21 280
This script draws open/high/low/close (OHLC) lines for the previous bar from the configured timeframe. This enables you to use higher timeframes, like a daily chart and OHLC lines of the previous week.
Notas de prensa
Bug fix.
Notas de prensa
Getting the OHLC values from another timeframe with security() results in inaccurate results in the chart. This update includes a complete rewrite of the calculation logic to make the OHLC lines work correctly.
Notas de prensa
Update to Pine script version 5 and added option to show configurable mid level.

Exención de responsabilidad

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.