can't display weekly lines

 

Someone can modify the attached indicator so it will display pivot points based on weekly candle instead of daily candle?


Help will be much appreciated

Files:
Reason: