Drawing tools based on conditions

I’m not a programmer and wondering if this is possible on the platform.

I want to compare the close of candle sticks to an indicator value and depending on which condition is met, either start a new volume profile at that point or expand an existing volume profile to that candlestick. Here is a GIF example.