均价:=AMOUNT/(VOL*100);
jz:=(0.99*均价+0.01*REF(0.98*均价+0.02*REF(0.97*均价,1),1));
上S:=(MAX(C,O)-MIN(C,O))*2/3+MIN(C,O);
下S:=(MAX(C,O)-MIN(C,O))/3+MIN(C,O);
求:=IF(C>=O,上S,下S);{股票指标网}
OC:=(0.99*求+0.01*REF(0.98*求+0.02*REF(0.97*求,1),1));
重心:=if(C=INDEXC,((H+L)/2/6+OC*5/6),(((H+L)/2/6+OC*5/6)*0.5+jz*0.5));
YD:=重心-ref(重心,1);{股票指标网}
cci:((重心-EMA(重心+ema(YD,48),48))/(AVEDEV(重心+ema(YD,48),48)*0.048)),COLORGREEN;