QX1:=1;
RSV:=(C-LLV(L,27)*QX1)/(HHV(H,27)*QX1-LLV(L,27))*QX1*100;
K:SMA(RSV*QX1,5,1)*QX1,COLORFFFFFF;
D:SMA(K*QX1,3,1)*QX1,COLOR00FFFF;
J:3*K*QX1-2*D*QX1,COLORFF00FF,LINETHICK2;
关注: IF(J*QX1<=10,50,0)*QX1,COLORRED,LINETHICK2;
买入:=IF(crOSS(J*QX1,2)*QX1,100,0)*QX1,COLORGREEN,LINETHICK2;
STICKLINE(买入*QX1,0,45,8/3,0)*QX1,COLORRED;
STICKLINE(买入*QX1,45,95,6/3,0)*QX1,COLORYELLOW;
DRAWTEXT(买入*QX1,90,'上车')*QX1,COLORRED;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1)*QX1;
VAR2:=SMA(Abs(LOW-VAR1)*QX1,13,1)/SMA(MAX(LOW-VAR1*QX1,0),10,1)*QX1;
VAR3:=EMA(VAR2*QX1,10)*QX1;
VAR5:=EMA(IF(LOW=LLV(LOW,33)*QX1,VAR3*QX1,0),3)*QX1;
主力进场:STICKLINE(VAR5*QX1>REF(VAR5*QX1,1),0,VAR5*QX1,4/3,0 ),COLORMAGENTA;
主力洗盘:STICKLINE(VAR5*QX1<REF(VAR5*QX1,1),0,VAR5*QX1,4/3,0 ),COLORGREEN;
中线kdj选股:CROSS(J*QX1,2),COLORRED,LINETHICK2;
LC:=REF(CLOSE,1)*QX1,COLORMAGENTA;
rsi4:=((SMA(MAX(CLOSE - LC,0),4.1,1))*QX1/(SMA(ABS(CLOSE - LC),4.1,1)))*QX1*(100)*QX1;
进场:CROSS(RSI4*QX1,11)*QX1,COLORYELLOW;
STICKLINE(进场*QX1,105,75,6/3,0)*QX1,COLORRED;
STICKLINE(进场*QX1,75,45,6/3,0)*QX1,COLORMAGENTA;
STICKLINE(进场*QX1,45,15,6/3,0)*QX1,COLORGREEN;
STICKLINE(进场*QX1,15,1,8/3,0)*QX1,COLORBLUE;
DRAWTEXT(进场*QX1,105,'主')*QX1,COLORYELLOW;
DRAWTEXT(进场*QX1,75,'力')*QX1,COLORYELLOW;
DRAWTEXT(进场*QX1,45,'抄')*QX1,COLORRED;
DRAWTEXT(进场*QX1,1,'底')*QX1,COLORRED;