前浪死在沙滩上 我们用后浪选股
源码
{ 【后浪选股】 }
Q_3:=CROSS(EMA(C,15),EMA(C,5));
Q_4:=CROSS(EMA(C,5),EMA(C,15));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0),COLORMAGENTA,LINETHICK1;
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0),COLORCYAN,LINETHICK1;
LB:=DYNAINFO(17),COLORFFFFFF;
TJ1:=IF(Q_B REF(Q_B,1) AND Q_B=Q_A,1,0);
树叶:=IF(REF(TJ1,1)=0 AND TJ1 =1 ,40,0),COLORRED,LINETHICK3;
XG:=REF(树叶,1)=40 AND 树叶=0 AND LB =1.01 AND C O AND C-REF(C,1) 0.05 AND V REF(V,1) AND H REF(H,1) ;
TJ1X:=DRAWTEXT(XG,1,' 后浪-+++-★'),COLORFFFF00,COLOR0099FF;
A17:=(HIGH + LOW) / 5;
A18:=(MA(A17,3)) - (MA(A17,25));
A19:=CROSS(A18,0);
A20:=CROSS(0,A18);
A21:=BARSLAST(A19);
A22:=BARSLAST(A20);
A23:=REF(A19,1);
A24:=REF(A20,1);
A25:=BARSLAST(A23);
A26:=BARSLAST(A24);
A27:=IF((A25 A26),(REF((HHV(HIGH,2)),A25)),(REF((LLV(LOW,2)),A26)));
A28:=(((REF(CLOSE,1)) = (REF(A27,1))) AND (CLOSE A27)) AND (A21 A22);
A29:=(((REF(CLOSE,1)) = (REF(A27,1))) AND (CLOSE A27)) AND (A22 A21);
A30:=A28 AND ((COUNT(A28,A21)) = 1);
A31:=A29 AND ((COUNT(A29,A22)) = 1);
A32:=A30 AND ((REF(BARSLAST(A31),1)) (REF(BARSLAST(A30),1)));
TJ2X:=DRAWTEXT(A32,1,' 锁喉'),COLORFF00FF;
选股:TJ2X OR TJ1X ;