Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.
I don't understand the logic required? Instead of time frame change, your goal is to have, change in the last X minutes. After the first readout, the indicator will NOT update.