MACD indicator alert on Pi

Need a code: whenever MACD line and signal line crosses on MACD indicator