Answers for "exp:1"

0

exp:1

//@version=4
study("MACD")
fast = 12, slow = 26
fastMA = ema(close, fast)
slowMA = ema(close, slow)
macd = fastMA - slowMA
signal = sma(macd, 9)
plot(macd, color=color.blue)
plot(signal, color=color.orange)
Posted by: Guest on June-29-2021

Browse Popular Code Answers by Language