以下是黑马版三浪主升浪选股公式源码和使用说明
黑马版三浪主升浪选股公式源码:
三浪主升浪:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
选股公式:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
B:=(三浪主升浪+选股公式)/2;
D:=MA(B,10);
ccsss1:=MA(B,14);
ccsss2:=MA(B,21);
ccsss3:=MA((3*C+L+O+H)/6,28);
ccsss4:=(20*ccsss3+19*REF(ccsss3,1)+18*REF(ccsss3,2)+17*REF(ccsss3,3)+16*REF(ccsss3,4)+15*REF(ccsss3,5)+14*REF(ccsss3,6)
+13*REF(ccsss3,7)+12*REF(ccsss3,8)+11*REF(ccsss3,9)+10*REF(ccsss3,10)+9*REF(ccsss3,11)+8*REF(ccsss3,12)
+7*REF(ccsss3,13)+6*REF(ccsss3,14)+5*REF(ccsss3,15)+4*REF(ccsss3,16)+3*REF(ccsss3,17)+2*REF(ccsss3,18)+
REF(ccsss3,12))/210;
ccsss9:=MA(ccsss4,14);
ccsss5:=((H+L+C)/3-MA((H+L+C)/3,3))/(0.015*AVEDEV((H+L+C)/3,3));
ccsss6:=XMA(XMA(L,30),30)-(XMA(XMA(H,30),30)-XMA(XMA(L,30),30))*1;
ccsss7:L<ccsss6ANDCROSS(ccsss5,-50)ANDREF(ccsss5,1)<0ANDccsss4>ccsss9ANDccsss1>ccsss2ANDB>D;
买:=IF(“KDJ.J”<0,10,0);
笑脸买:CROSS(9.9,买);
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,30);
VAR4:=MA(CLOSE,60);
VAR5:=EMA(COST(85),7);
VAR6:=EMA(COST(15),7);
VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR8:=INTPART(VAR7*100)/100;
VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARA:=INTPART(VAR9*100)/100;
VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:=INTPART(VARB*100)/100;
VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE:=EMA(VARD,9);
VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR13:=REF(VARE,1);
VAR14:=VARE;
VAR15:=VAR14-VAR13;
VAR16:=REF(VARD,1);
VAR17:=VARD;
VAR18:=VAR17-VAR16;
VAR19:=OPEN;
VAR1A:=CLOSE;
黑马显形选股:VAR19<=VAR1ANDVAR19<=VAR2ANDVAR19<=VAR3ANDVAR1A>=VAR1ANDVAR1A>=VARCANDVAR15>0ANDVAR18>0;
HV:=HHV(V,5)=VORV/REF(V,1)>=5;
FT:=BARSLAST(HV);TT:=IF(HV,C,REF(C,FT));
DZ:=TT>REF(TT,1)ANDC>REF(C,1)ANDC>MA(C,13)
ANDC=HHV(C,20)ANDC/REF(C,1)>1.05;CG:=MA(C,10);
FL:=HHV(CG,5);FS:=CG-(FL-CG);MA60:=MA(CLOSE,60);
XG:=CROSS(C,MA(C,5))ANDCROSS(C,MA(C,10))ANDV/REF(V,1)>1.9;
DZANDFL=FSANDREF(FL,1)>REF(FS,1)ANDC>MA60ANDXG;
黑马版三浪主升浪选股公式截图
评论(0)