Thank you for the reply. Turns out you can directly code.
You can call the function Period(). This will give you the current timeframe then use if else or swtich to lower it down.
If ( Period() == PERIOD_H4 ) TF = PERIOD_H1;
Not elegant, i know, but works. Just make sure that the TF is a variable with a ENUM_TIMEFRAMES as the type.