Market breadth indicators changing with time frame change

Hello,
I need to develop market breadth indicators that will change timeframe in sync with the current symbol timeframe.

for example, when applying advancing/declines issues line on a symbol with daily timeframe then switching timeframe to weekly, ADline doesn't change.

i use current functions
AdvIssues
DecIssues
uncIssues
advVolume
decVolume

Regards,