PROTECTED SOURCE SCRIPT

OHLC Session Projector

38
OHLC Session Projector
Clean, session-aware OHLC levels — projected to a right-side rail for instant context.
Define up to four intraday sessions (chart timezone). While a session is live, the indicator draws a right-offset rail with O/H/L/C ticks and tiny labels, keeping price candles uncluttered. When the session closes, values freeze and the entire block (rail + ticks + labels, and optionally the box) is projected to the right by a user-set distance for crystal-clear levels.

Why traders use it

  • Fast read of intraday structure. See each session’s opening print, the true extremes, and settlement at a glance.
  • Clarity during the session. Live rail shifts to the right so bars stay clean.
  • Consistent post-session levels. Projected rails mark where reactions tend to happen next session.


Key features

  • Sessions: Up to 4 custom time ranges (uses chart timezone).
  • Right-rail projector:
  • Vertical rail spanning session H↔L
  • Ticks: O/C (solid), H/L (dashed)
  • Labels: O/H/L/C with optional price, offset to the right
  • Live Clean Mode: Shift the live rail by N bars to the right (configurable).
  • Session Box (optional): With separate live vs final styling (fade while live, solid when closed).
  • Projection: After session close, freeze values and project rail + ticks + labels + box to the right by extendBars.
  • Styling controls: Colors, widths, tick lengths, label offset.
  • No repainting of closed values: H/L/O/C are finalized at session end. (During the session, H/L/C update in real time—as expected.)


How it works

  • While in session, the script tracks O/H/L/C, draws a right-offset rail and ticks, and updates labels live.
  • On session close, values are frozen and the whole rail block is repositioned to the projected location.



Accumulation → Manipulation → Distribution (AMD
The graphic shows a common intraday sequence across sessions: snapshot

  • Accumulation blue : price ranges and builds liquidity.
  • Manipulation red : a quick sweep/false break as sessions hand off.
  • Distribution green : the real directional move that follows.

How the OHLC Session Projector helps

  • Projects each session’s Open/High/Low/Close to a clean right-side rail, so you can see when manipulation sweeps prior O/H/L and where distribution is likely to run.
  • Freezes levels at session close and carries them forward as targets (retests of Open, runs to High/Low).
  • “Live Clean” keeps rails offset during the session, letting you track AMD without clutter while price is developing.

Credits & disclaimer
Built for educational purposes. Not financial advice. Trade responsibly.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.