今天为大家分享的是副图,王者波段,包含选股,做波段行情。
副图源码:
W1:=RSI(2);
W2:=50;
WS:=CROSS(W1,W2);
A1:=MA(C,5);
A2:=MA(C,13);
A3:=MA(C,30);
AA:=A3>REF(A3,1);
A4:=MA(C,60);
A5:=MA(C,250);
NM:=((4*SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))100),5,1))-(3SMA(SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))*100),5,1),3.2,1)));
DD:=IF(NM<=8,0.5,0);
XG1:=A1>A2 AND A2>A3 AND A3>A4 AND A4>A5 AND AA AND IF(DD,1,0);
XG2:=A2>A1 AND A1>A3 AND A3>A4 AND A4>A5 AND AA AND IF(DD,1,0);
SQ:=XG1 OR XG2;
M1:=C>REF(C,1);
M2:=COUNT(SQ,5)>=1;
X1:=M1 AND M2;
G2:=FILTER(X1,5);
王者波段:G2 AND WS,COLORRED;
选股源码:
W1:=RSI(2);
W2:=50;
WS:=CROSS(W1,W2);
BB:=HIGH!=LOW;
TB:=DYNAINFO(17)!=0;
A1:=MA(C,5);
A2:=MA(C,13);
A3:=MA(C,30);
AA:=A3>REF(A3,1);
A4:=MA(C,60);A5:=MA(C,250);
NM:=((4*SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))100),5,1))-(3SMA(SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))*100),5,1),3.2,1)));
DD:=IF(NM<=8,0.5,0);
XG1:=A1>A2 AND A2>A3 AND A3>A4 AND A4>A5 AND AA AND IF(DD,1,0);
XG2:=A2>A1 AND A1>A3 AND A3>A4 AND A4>A5 AND AA AND IF(DD,1,0);
SQ:=XG1 OR XG2;
M1:=C>REF(C,1);
M2:=COUNT(SQ,5)>=1;
X1:=M1 AND M2;
G2:=FILTER(X1,5);
王者波段:G2 AND WS AND BB AND TB;
指标仅供参考,不作投资依据。