How to make a Custom Indicator Produces Multiple Timeframes Signals

 
Is there a possible way to make a custom indicator that I coded produces combined signals for multiple timeframes at the same time? and if yes how?
Reason: