OPEN-SOURCE SCRIPT

OHLC OLHC - Monthly, Weekly, Daily and Hourly

1 001
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에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.