OPEN-SOURCE SCRIPT

OHLC OLHC - Monthly, Weekly, Daily and Hourly

3 663
This indicator plots the previous day's (or any selected timeframe’s) Open, High, Low, and Close (OHLC) levels on the current chart. It helps traders analyze historical price levels to identify support and resistance zones.

Key Features:
Multi-Timeframe Support:
Users can select a timeframe (D, W, M, etc.) to fetch previous OHLC data.
The script requests OHLC values from the selected timeframe and overlays them on the current chart.

Customizable Display Options:
Users can choose to display only the last OHLC levels instead of all past session levels.
Users can extend the OHLC lines across the chart.

Background Highlighting:
The script fills the background only for the Previous Open and Previous Close levels, making them visually distinct.
Previous High and Low levels do not have background color.

This script is particularly useful for day traders and swing traders who rely on key price levels to make trading decisions. Let me know if you need further refinements!

免责声明

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