looking for the formula to color elders macd histogram red for down, green for up. i have this formula for his macd
( Mov( C,12,E ) - Mov( C,26,E ) ) - Mov( ( Mov( C,12,E ) - Mov( C,26,E ) ),9,E )
now, i looked on the site and found a formula for colored macd histogram
x:=MACD() - Mov(MACD(),9,E);
If(x>=Ref(x,-1),x,0);
If(x<Ref(x,-1),x,0)
so i combined them with no luck
x:=;( Mov( C,12,E ) - Mov( C,26,E ) ) - Mov( ( Mov( C,12,E ) - Mov( C,26,E ) ),9,E )
If(x>=Ref(x,-1),x,0);
If(x<Ref(x,-1),x,0)
what am i doing wrong?