VAR2:=(HHV(HIGH,9)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,9));
VAR4:=VAR2/VAR1*100-70 ;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*C+H+L)/4;
VAR7:=SMA((VAR3/VAR1*100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:= IF(VAR9>100,VAR9-100,0);
VARA:=HHV(HIGH,34);
防线:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,8);
B1:=EMA(防线,5);
见红建仓:STICKLINE(防线-B1>0,防线,B1,8,1),COLORRED;
绿出离场:STICKLINE(防线-B1<0,防线,B1,8,1),COLOR00FF00;
吃香喝辣:STICKLINE(防线>0 AND 防线-B1>=0,92,100,6,0),COLORMAGENTA;
心情舒畅:STICKLINE(防线>0 AND 防线-B1<0,92,100,6,0),COLORBLUE;
STICKLINE(防线>0 AND 防线-B1>=0,49,51,6,0),COLORMAGENTA;
STICKLINE(防线>0 AND 防线-B1<0,49,51,6,0),COLORYELLOW;
快乐炒股:STICKLINE(防线>0 AND 防线-B1>=0,2,8,6,0),COLORMAGENTA;
欢度余生:STICKLINE(防线>0 AND 防线-B1<0,2,8,6,0),COLOR00FF00;