VAR11:=IF(DATE<=1191103,1,0);
AA1:="AQWE.AQWE#DAY";
BB1:="SQWE.SQWE#DAY";
VAR1:=(C+H+O+L)/4;
卖出:AA1*VAR11,COLORYELLOW,LINETHICK2;
买入:BB1*VAR11,COLORLIMAGENTA,LINETHICK2;
风险:=100*(L-BB1)/BB1,NODRAW;
幅度:100*(AA1-BB1)/BB1,NODRAW;
STICKLINE(AA1>LOW AND AA1
STICKLINE(AA1>LOW AND AA1
STICKLINE(AA1
STICKLINE(BB1>HIGH,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(BB1>HIGH,HIGH,LOW,0,0),COLORRED;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);
DRAWTEXT(CROSS(动能趋势线,70)AND C>卖出,HIGH*1.02,'←卖'),COLORRED;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND C<买入,LOW,'←买'),COLORRED;