A1:=((INDEXC)-REF(INDEXC,1))/REF(INDEXC,1)*100;
B1:=(C-REF(C,1))/REF(C,1)*100;
X1:=SUM(B1,21);
X2:=SMA(X1,3,1);
X3:=SMA(X2,3,1);
X4:=SMA(X3,3,1);
宝马:X1,COLORRED,LINETHICK2;
白马:X2,COLORWHITE,LINETHICK2;
黑马:X3,COLOR0099FF,LINETHICK2;
草地:0,COLORYELLOW,LINETHICK2;

 

通达信趋势强弱指标公式