Multiple time frame in single line code

I want to run following code
Crossover(SMA(Close,5)), (SMA(Close,50)) means 5ma cross 10ma
But I want to run on 5,15,30 min time frame simultaneously live. Can you help in giving any SINGLE code,command so that I can run this code in 5,15,30 min time frame

If you want to get signals generated for multiple timeframes then you have to apply the same code in different multiple timeframe charts.

There is no other way out as per my knowledge.

By applying same code in different timeframe charts, will solve.

can you give the code to apply in different time frames? let me think

is der any way to insert time frame in the given code ??

By applying same code in different timeframe charts, will solve.
can you give the code to apply simultaneously in different time frames? let me think