X:=EMA(C,2)-EMA(C,7);
STICKLINE(X>0,1,0,8,0),COLOR111233;
STICKLINE(X<=0,1,0,8,0),COLOR333311;
买牛区:IF(REF(X,1)<-0 AND X>0 ,1,0),COLORYELLOW;
卖牛区:IF(REF(X,1)>=0 AND X<0,1,0),COLORCYAN;
X:=EMA(C,2)-EMA(C,7);
STICKLINE(X>0,1,0,8,0),COLOR111233;
STICKLINE(X<=0,1,0,8,0),COLOR333311;
买牛区:IF(REF(X,1)<-0 AND X>0 ,1,0),COLORYELLOW;
卖牛区:IF(REF(X,1)>=0 AND X<0,1,0),COLORCYAN;