年线:=ema(eMA(c,250)-eMA(c,250)/250,2);
CBLX:=ema(eMA(COST(25),250)-eMA(COST(25),250)/250,2);
pjcb:=((COST(35)+COST(55))/2+COST(45))/2;
pjcb1:=((pjcb+年线)/2+(cost(50)+年线)/2)/2;
pjcb2:=(CBLX+pjcb1)/2;
pjcb3:=(pjcb1+pjcb2)/2;
平均成本:Ema(pjcb3,3),COLORWHITE,LINETHICK2;

 

通达信平均成本主图指标公式