Relative Content

Tag Archive for pine-script-v5financetradingview-apiindicatortechnical-indicator

How to Plot Supply Zones Based on Daily Timeframe Data When Viewing Lower Timeframes in Pine Script (TradingView)?

I am trying to create a TradingView indicator using Pine Script that calculates supply zones based on daily timeframe data. However, I want these supply zones to remain plotted and accurately represented when I switch to lower timeframes (e.g., hourly, 15-minute charts). My goal is to have the supply zones identified on the daily chart persist and display correctly even when I view the chart in lower timeframes.