Algo for macd rsi sma

Can i get algo for macd rsi and sma???

For the above indicators combinations you can use

SET A = MACDSignal(13, 26, 9, SIMPLE)
SET B = MACD(13, 26, 9, SIMPLE)
RSI(CLOSE,14)>40 AND CLOSE> SMA(CLOSE,20) AND CROSSOVER(A, B) = TRUE

Evaluates to true when the MACD Signal line recently crossed over the MACD and RSI is greater than 40 and SMA line is greater than close of the candle