Maybe it is me who do not understand the function.
For me the return value defines if TMF acts each tick or each candle, so how can I have 3 conditions inside the tmf function for M1, h1 and D1 for example?