Thank you.
I didn't think it was so complicated.
My thought was:
Draw rectangle with variables
First variable --> 22:30 closing price candle from the day before
Second variable --> 14:30 opening price current candle
now the dynamic adjustment
Replace second variable with value (second variable =<current price)
Delete rectangle --> first variable =>second variable