OPEN-SOURCE SCRIPT
Atualizado

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

21 566
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 Lançamento
Bug fix.
Notas de Lançamento
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 Lançamento
Update to Pine script version 5 and added option to show configurable mid level.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.