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);
K: MA(J,1);
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BacKSET(V6,3);
买入:IF((V7 AND COUNT(V7,3)=1),0.9,0),coloryellow,LINETHICK3;
DRAWTEXT(买入,0.6,'买入 '),coloryellow,LINETHICK3;