In the below screen shots you will see Open, High, Low, Close (OHLC) is simple to create using the Time and Sales Block. Then using the extracted Trade Price value, you use this to create the various needed Value Calculations.
Please note:
This example leverages the Generator Block set to a User Defined Variable setting for time frame. We have it set for 60 seconds or 1 minute Time Bar creations. You also see below that there is 2 sets of OHLC and VWAP value outputs. This is to show you the current Time Bar and the previous one. This again is strictly for showing an example of one way to build this kind of logic.