Where do you set the variable t?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have this code & i am trying to get the High for the next higher timeframe. If it is M1 then M15 ; if M15 then M30 etc.
however this is not working. please help