POC on bar

If I understand correctly, the Opex indicator uses POC from a series of bars.
Is it possible to script the POC of individual bars including intraday bars?

Hi,

There is a script function for the Dynamic Market Profile which includes a plot point for POC you can reference.

DMPA().PointOfControl