Comment on EA's for auto buy/sell signals - Pi
Yes possible to combine different indicators, you haven’t done it right and hence probably the error. Check this: https://zerodha.com/expert-advisors/, and if you have coding queries ask here: http://tradingqna.com/algos-strategies-and-code