here is the code but it has a function or function reference error i cant figure out maybe the sma has something to do with it
indicator(title="TMA MACD", shorttitle="TMA MACD", timeframe="", timeframe_gaps=true)
// Getting inputs
highlightMovements = input(title="Highlight Movements ?", defval=true)
src = input(defval=close)
length =...