VAR1:=1;
VAR2:=1;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1);
VAR6:=3*VAR4-2*VAR5;
VAR7:=5;
VAR8:=4*SMA((CLOSE-LLV(LOW,VAR7))/(HHV(HIGH,VAR7)-LLV(LOW,VAR7))*100,5,1)*VAR1-3*SMA(SMA((CLOSE-LLV(LOW,VAR7))/(HHV(HIGH,VAR7)-LLV(LOW,VAR7))*100,5,1),3.2,1);
VAR9:=8;
准备现金:IF(VAR8<=8,10,0)*VAR1,COLORYELLOW,LINETHICK2;
马上买入:IF(CROSS(VAR8,VAR9),10,0)*VAR1,COLORRED,LINETHICK2;
IF(CROSS(VAR5,VAR4),10,0)*VAR2,STICK,COLOR0000CC,LINETHICK2;
DRAWTEXT(CROSS(VAR5,VAR4)*VAR2,9,19),COLORYELLOW;
DRAWTEXT(CROSS(VAR5,VAR4)*VAR2,8,18),COLORYELLOW;