ATR Based Alert

How can I create alert in PI Based on ATR ?
I am looking for a simple PI code on ATR condition in Zerodha PI application, like ATR < 100, I want a voice alert for looking into that symbol chart.

Can Any one help me with the script? I tried myself as below but it is not working.

ATR < 100

Thanks,

Regards
Ashwini