Ask for help with your pinescript code. Coders are for you.
This would be an example This particular label has 3 things tied to it Last Price on the closed bar Average Price over x bars Difference between the average and Last Price Your label can have two things Last Closed Volume Currently Active Volume