Calculation of weekly and monthly pivots

For calculations of monthly and weekly pivots, which high, low, close should be selected? Should it be average over the week/month or some other way?

I think it should be based on the historical volume.

i am talking about standard floor pivots calculation

Weekly = Last Month high low close.

Monthly = Last Year high low close.