OPEN-SOURCE SCRIPT
已更新

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

21 567
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.
版本注释
Bug fix.
版本注释
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.
版本注释
Update to Pine script version 5 and added option to show configurable mid level.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。