Code to Pi so generated alerts on Pi?

Please help me get Generated alerts from this code to Using zerodha Pi ? As below
Buy side ----------
When Price Close below Bollinger Band bottom line without thuch
Sell side ----------
When Price Close above Bollinger Band top line without thuch