What will be the tradescript for the following screener

Tradescript needed for the following condition;
If current volume is 5 times greater than the volume EMA of last 2 days.
Thank you

There is no function in Tradescript to refer to Daily volume.

For candles across any intrady time-frame , the following code works:

VOLUME > 5 * EMA(VOLUME,2)