Coding a Strategy for different time frames simultaneously

Dear Zerodha,

Can you guide me on this.

I would like to create a buy signal when criteria in two time frames meet.

For example: Buy signal should generate

                   IF(Close > EMA(9)) in 1-min candle chart


                   IF(Close > EMA(9)) in 2-min candle chart.

Currently multiple timeframe coding is not supported in Zerodha Pi.