MAXCO:=MAX(C,O);MINCO:=MIN(C,O);系数:=(C-O)/ABS(C-O);密度:=VOL*系数/(2*(0.01+H-L)-ABS(0.01+MAXCO-MINCO));密度1:=EMA(密度,10);DIFF:=EMA(密度1,12)-EMA(密度1,26);DEA:=EMA(DIFF,9);MACD1:=2*(DIFF-DEA);MACD2:=REF(MACD1,1);STICKLINE(MACD1>MACD2,MACD1,MACD2,8,1),coloryellow;STICKLINE(MACD1<MACD2,MACD1,MACD2,8,1),colorblue;STICKLINE(MACD1>0,0,MACD1,0.1,0),colorred;STICKLINE(MACD1<0,0,MACD1,0.1,0),colorgreen;基线:0,colorgray;