X1:=EMA(C,3);
X2:=REF(X1,1);
X3:=EMA(C,7);
X4:=REF(X3,1);
X5:=EMA(C,25);
X6:=REF(X5,1);
三日线斜率:((X1-X2)/X2*100)*10;
七日线斜率:((X3-X4)/X4*100)*10;
廿五线斜率:((X5-X6)/X6*100)*10,COLORRED,LINETHICK2;
{ -通达信指标公式}
XG:= REF(三日线斜率,1)<0 AND REF(七日线斜率,1)<0 AND REF(三日线斜率,1)< REF(七日线斜率,1)
AND REF(七日线斜率,1)< REF(廿五线斜率,1) AND crOSS(三日线斜率,七日线斜率) ;
STICKLINE(XG,18,XG,2,0),COLORYELLOW;