This indicator is a new version of the classic MACD. The coloured line is the difference between 2 moving average (a fast one and a slow one), you can modify their periods and their type in the settings.
A “band” made of a standard deviation act as a support or resistance and also as a filter to give accurate long and short signals. The widen of the band can be modify with the “dev” setting which is the multiplier of how many standard deviation is used for the calculation of the band.
Like the classic MACD, this oscillator can be also used to spot divergences and potential trend reversing.
I retrieved this code in my platform, so I’m sharing it. Enjoy.
//PRC_MACD Signal Bands | indicator
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
//fastMAtype=1 //moving average type variable
//slowMAtype=1 //moving average type variable
//---End of settings
mmacd = fastema-slowema
sstd = std[length](mmacd)
upper = (sstd*dev+(average[length](mmacd)))
lower = ((average[length](mmacd))-(sstd*dev))
if mmacd>upper then
if mmacd<lower then
return mmacd coloured(r,g,b) style(line,5) as "macd", upper style(dottedline) as "upper", lower style(dottedline) as "lower"
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.ProRealTime ITF files and other attachments :