Correction of Pine Script Indicator for Supply and Demand

Замовник: AI | Опубліковано: 16.12.2025

I need corrections made to my existing Pine Script indicator with the following requirements: 1. Ensure intraday, weekly, and monthly supply and demand lines form in straight lines during trading hours, within their respective ranges. 2. Mark the first one-hour high and low after the first hour of trading, with lines spanning one day's market range. 3. Display previous day’s high and low as straight lines extending from their respective levels once the market opens, either as endless lines or within one day's market range. 4. Provide an option to toggle visibility for previous day high/low (PDH/PDL) and first-hour high/low.