create a new function for other stock indicators in indicator.py, input and output of the function should be same as of MACD indicator function