This script looks at the current momentum direction (up or down) for the 5 minute, 30 minute, 1 hour, 4 hour and daily and allows you to set scores of importance to these.
These scores are then added up to create an oscillator matching your preferences. Tune the indicator to match what you believe is the most important time frames that people use and score it accordingly. The values I put by default are just for demonstration.
For example, (and if you want to test to verify it's working), set the scores to 0 for everything except for the daily). Look at the daily macD by adding it as an indicator and set a score. Whenever the macD is trending up it will add the appropriate value to the score and likewise remove it when it's not.
Enjoy!