VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D: MA(J,3), COLOR00FF00;
K: MA(J,1), COLORFF00FF;
STICKLINE(((J0)),0,J,1,0),COLOR00FFFF,LINETHICK2;
STICKLINE(((J>REF(J,1)) AND (J<0)),0,J,1,0),COLORFFFFFF,LINETHICK2;
DRAWTEXT(金叉,D,"买"), COLORRED ;
下叉:= CROSS(D,K);
DRAWTEXT(下叉,K,"卖"),COLORGREEN;