以下是强势版主升大牛股精准选股指标公式源码和使用说明
强势版主升大牛股精准选股指标公式源码:
主升大牛股:=PBX.PBX1;
VAR1:=LOW=LLV(LOW,120)ORREF(LOW,1)=LLV(REF(LOW,1),120)
ORREF(LOW,2)=LLV(REF(LOW,2),120);
VAR2:=CLOSE/REF(CLOSE,1)>=1.06;
WE:=IF(VAR1ANDVAR2,0.4,0),COLORRED;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
跌后淘金:IF(CROSS(VAR4,-20),118,0),COLORRED,LINETHICK3;
VAR5:=EXIST(WE,16)ANDBARSCOUNT(WE)>=8ANDC/REF(H,1)<0.97
ANDNOT(C>O);
精准选股:=PBX.PBX2;
指标公式:=PBX.PBX3;
aawww4:=PBX.PBX4;
aawww5:=PBX.PBX5;
aawww6:=PBX.PBX6;
vvss1:=(MAX(aawww6,MAX(aawww5,MAX(aawww4,MAX(指标公式,MAX(精准选股,主升大牛股))))));
vvss2:=(MIN(aawww6,MIN(aawww5,MIN(aawww4,MIN(指标公式,MIN(精准选股,主升大牛股))))));
DPC:=CROSS(BOLL.LB,L);
PLC:=BARSLAST(DPC);
ZL:=LLV(L,PLC);
XF:=((H-ZL)/ZL)<0.5;
aawwwC:=CROSS(L,BOLL.LB);
ZLC:=BARSLAST(aawwwC);
vvsa2:=L>REF(H,1)ANDC>=O;
vvsa3:=BARSLAST(vvsa2);
UTK:=IF(vvsa3=0,1,LLV(L,vvsa3)>REF(H,vvsa3+1));
vvsa4:=EXIST(vvsa2,ZLC)ANDUTK=1;
vvsa5:=(C>vvss1)AND(H-REF(C,1))/REF(C,1)>0.095;
ZTJ1:=vvsa4ANDvvsa5;
vvsa1:=EXIST(L<vvss2ANDH>vvss1ANDC>O,PLC);
vvsa22:=(H-REF(C,1))/REF(C,1)>0.095{ANDC=H};
vvsa23:=主升大牛股>aawww6;
ZTJ2:=NOT(vvsa4)ANDvvsa1ANDvvsa22ANDvvsa23;
YZB:=C/REF(C,1)>0.09ANDC=HANDC=L;
vvsa21:FILTER(NOT(YZB)ANDXFAND(ZTJ1ORZTJ2),5);
二分位:(H+L)/2,LINETHICK3,coloryellow,POINTDOT;
MID1:MA(CLOSE,18),POINTDOT,LINETHICK3,colorwhite;
UPPER1:MID1+2*STD(CLOSE,14),linethick2,coloryellow;
LOWER1:MID1-2*STD(CLOSE,14),linethick2,coloryellow;
VAR1:=UPPER1;
FF:=VAR1>REF(VAR1,1);
PARTLINE(VAR1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
VAR2:=LOWER1;
FF:=VAR2>REF(VAR2,1);PARTLINE(VAR2,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
VAR3:=MA(CLOSE,18);
FF:=VAR3>REF(VAR3,1);PARTLINE(VAR3,FF,RGB(255,0,0),1,RGB(3,3,255)),LINETHICK4;
VAR4:=MA(CLOSE,4);
FF:=VAR4>REF(VAR4,1);PARTLINE(VAR4,FF,RGB(235,1,1),1,RGB(3,3,255)),LINETHICK3;
RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,5,1);
J:=3*K-2*D;
X:=REF(J,1)REF(H,1)ANDC>REF(C,1)ANDC>REF(O,1)ANDL>REF(L,1);
STICKLINE(X,L,L,20,0),COLOR008888;
STICKLINE(X,L,H,0,0),COLORFF00FF;
STICKLINE(X,C,O,5,0),COLORFF00FF;
WR:=”W&R”(14);
DRAWICON(FILTER(CROSS(WR,(0-81)),10),L,4);//威廉买点↑↓
DRAWICON(FILTER(CROSS((0-19),WR),10),H,5);//威廉卖点
DRAWTEXT(FILTER(CROSS(WR,(0-81)),21),L,’威廉买’),ALIGN0,colorred;//威廉买点
DRAWTEXT(FILTER(CROSS(0-19,WR),21),H,’威廉卖’),ALIGN2,colorgreen;//威廉卖点
aa:=CLOSE>REF(CLOSE,1)ANDREF(CLOSE,1)>REF(CLOSE,2)ANDREF(CLOSE,1)<
REF(CLOSE,3)ANDIF(REF(CLOSE,3)<REF(CLOSE,4),1,IF(REF(CLOSE,4)<REF
(CLOSE,5),REF(CLOSE,1)<REF(CLOSE,4)OR(REF(CLOSE,2)<REF(CLOSE,4)ANDREF
(CLOSE,3)>=REF(CLOSE,5)),IF(REF(CLOSE,5)<REF(CLOSE,6),1,REF(CLOSE,6)<
REF(CLOSE,7))));
bb:=CLOSE<REF(CLOSE,1)ANDREF(CLOSE,1)<REF(CLOSE,2)ANDREF(CLOSE,1)>
REF(CLOSE,3)ANDIF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF
(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4)OR(REF(CLOSE,2)>REF(CLOSE,4)ANDREF
(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE,6)>
REF(CLOSE,7))));
DRAWTEXT(aaANDCLOSE>REF(OPEN,2),LOW,’三平底’),color,COLORFF00FF;
DRAWTEXT(bbANDCLOSES下:=HHV(MA(HIGH,2),2),colorgreen,LINETHICK0;
S上:=LLV(MA(HIGH,2),1),colorred,LINETHICK0;
Sppp:=-(S上-S下)/REF(C,1)*100;
Sptem1:=(MIN(O,C)-L)/(H-L)*100;
Sptem2:=(H-MAX(O,C))/(H-L)*100;
SPTEM3:=(C-O)/(H-L)*100;
SKJ1:=(SPTEM3>49ANDSPTEM1>0.3*SPTEM2)ORSPTEM3>80;
SKJ2:=(SPTEM3<=49ANDSPTEM3>20ANDSPTEM1>SPTEM2);
SKJ3:=(SPTEM3<=20ANDsptem3>-20ANDsptem1>1.2*sptem2);
SKJ4:=(SPTEM3-40ANDSPTEM1>2*SPTEM2);
SKJ:=(SKJ1ORSKJ2ORSKJ3ORSKJ4)AND(Sppp>2ORREF(Sppp,1)>2);
短买:=IF(SUM(sppp>0,5)=5ANDSUM(skj>0,5)=0,5*(SKJ1ORSKJ2ORSKJ3OR
SKJ4),5*skj),colorred;
DRAWTEXT(短买,L,’↖短买’),colorwhite;
强势版主升大牛股精准选股指标公式截图
评论(0)