OPEN-SOURCE SCRIPT

RBD Market Profile

186
A Market Profile visually shows how much time (or how many bars) price spent at each price level within a session — helping identify areas of “fair value” (where price spent most time) and extremes (where price barely traded).

It divides each trading session (for example, a day, week, or month depending on input) into price segments, counts how many bars closed within each segment, and then identifies:
POC (Point of Control): price level with the highest frequency (most traded or visited).
VAH (Value Area High): upper boundary of the zone that contains 70% (or user-defined percentage) of all activity around the POC.
VAL (Value Area Low): lower boundary of that same 70% activity zone.

Finally, it plots lines for:
  • VAH (green line)
  • VAL (red line)
  • POC Upper & Lower (white lines)
  • Session Open (blue dashed line)


How to use this Market Profile:
  • Determine Key Areas of Support/Resistance by the VAH and VAL
  • VAH: Responsive Sellers and Initiative Buyers
  • VAL: Responsive Buyers and Initiative Sellers
  • POC: Can be used as Fair Value

Penafian

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.