Hi guys,
Is it possible in the MACD to have the fast line as a simple moving average instead of an EMA? I’ve started using ProRealTime recently and could not set it up like that.
Try this:
a = MACD[12,26,9](close)
b = MACDLine[12,26,9](close)
c = average[9](b)
r = 128
g = 0
if a > 0 then
r = 0
g = 128
endif
return a coloured(r,g,0) style(histogram,2) as "MACD Histogram" , b coloured(0,0,255) as "MACD", c coloured(255,0,0) as "Signal Line"
>> Please update your country flag in your profile. Thank you 🙂 <<