VC:=(REF(C,4)*REF(V,4)+REF(C,3)*REF(V,3)+REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4));SQX:=(VC-MA(VC,14))*100;DIF:MA(SQX,4),COLORWHITE;DEA:EMA(DIF,5),COLORYELLOW;:(DIF-DEA)*2,linethick0;STICKLINE(md>0 and macd>ref(macd,1),0,macd,2,0),COLORred;STICKLINE(macd>0 and macd
[ref(macd,1),0,macd,2,1),COLORgreen;MACDIA:=IF(MACD=REF(MACD,1),0,IF(MACD>REF(MACD,1),IF(MACD<0>100,MOD((MACD/REF(MACD,1)-1)*100,100)+100,(MACD/REF(MACD,1)-1)*100))),IF
]