I need a clean, well-commented script that automatically identifies and marks supply and demand zones for Stocks, Forex, Crypto and futures on TradingView or Thinkorswim charts. The zones must populate simultaneously on the following timeframes: 4 h, 2 h, 1 h, 30 min, 15 min, 5 min, 1 min and 15 s. Your code should: • Scan historical price data for each timeframe, detect valid supply/demand imbalances and plot them as shaded rectangles that adjust as price develops. • Allow me to toggle which asset class and timeframe are displayed from the settings panel. • Colour-code fresh versus mitigated zones so I can instantly spot high-probability levels. • Remain responsive; heavy optimisation is crucial because 15-second charts can lag on weaker machines. Deliverables 1. Full source code in Pine Script (or thinkScript if you prefer) with inline explanations. 2. A quick PDF or Markdown file showing how to load the indicator, adjust settings and interpret the visuals. 3. One short Loom or MP4 walkthrough confirming everything works on at least one stock, one forex pair, one crypto coin and one futures contract. Acceptance criteria: the script plots accurate zones on each requested timeframe without repainting, and I can replicate your demo results on my own TradingView or Thinkorswim account.