OBV:=EMA(SUM(IF(C REF(C,1),,IF(C REF(C,1),-V,0)),0)/1000,2);
OBVE:=EMA(OBV,3);
DIFF:(EMA(OBVE,12)-EMA(OBVE,26));
BBDIFF:=DIFF-REF(DIFF,1);
DEA:EMA(DIFF,9);
BBDEA:=DEA-REF(DEA,1);
:=2*(DIFF-DEA);
STICKLINE(DIFF =REF(DIFF,1) AND DEA REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,COLOR0089FF;
STICKLINE(DIFF DEA,DIFF,DEA,8,0),COLOR0089FF;
STICKLINE(DIFF REF(DIFF,1) AND DEA REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,COLORBLUE;
STICKLINE(DIFF DEA,DIFF,DEA,8,0),COLORBLUE;
STICKLINE(DIFF =REF(DIFF,1) AND DEA REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,COLOR00C500;
STICKLINE(DIFF REF(DIFF,1) AND DEA REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,COLORYELLOW;
STICKLINE(MACD REF(MACD,1) AND MACD 0,0,MACD,2,0),COLORRED;
STICKLINE(MACD REF(MACD,1) AND MACD 0,0,MACD,2,0),COLORYELLOW;
STICKLINE(MACD REF(MACD,1) AND MACD 0,0,MACD,2,0),COLORGREEN;
STICKLINE(MACD REF(MACD,1) AND MACD 0,0,MACD,2,0),COLOR0099FF;