以下是通达信强势黑马爆点选股指标公式源码和使用说明
通达信强势黑马爆点选股指标公式源码:
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);
W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);
出点准备:=IF(CROSS(J2,J1)ANDJ2>85,70,100);
趋势线:=WEN,LINETHICK2;
买点准备:=IF(趋势线<=10,30,0);
G1:=W1,LINETHICK2,COLORWHITE;
G2:=W2,LINETHICK2,COLORCYAN;
TJ6:=MA(C,30)>=REF(MA(C,30),1)ANDMA(C,5)>REF(MA(C,5),1);
A4:=”macd.DIF”>REF(“MACD.DIF”,2);
信号:CROSS(趋势线,G1)ANDCROSS(趋势线,G1)ANDTJ6ANDA4ANDG1>=REF(G1,1);
Q1:=REF(C,1);Q2:=CLOSE>REF(CLOSE,1)*1.03;
Q3:=(Q2-Q1)/Q1*100;QW1:=(Q3-REF(Q3,1));
QW2:=9.8;DN1:=crOSS(QW1,QW2);
Q11:=REF(V,1);Q12:=V>=HHV(V,5);
Q13:=Q12/Q11;QW3:=(Q13-REF(Q13,1));
QW4:=500;DN2:=CROSS(QW3,QW4);
BF:=EMA(CLOSE,12)-EMA(CLOSE,26);
BE:=EMA(BF,9);BD:=(BF-BE)*2;
BA:=BE>=0ANDCROSS(BF,BE);ZZ1:=”macd.MacD”>0.02;
ZZ:=MA(C,30)>MA(C,60)ANDMA(C,60)>MA(C,120);
ZZ5:=REF(COUNT(C<O,6)<6,1)ANDREF(O/C<1.07,8)ANDREF(O/C<1.07,1)ANDREF(O/C<1.07,13);
强势黑马爆点:ZZAND(DN1ORDN2)ANDBAANDZZ5ANDZZ1;
Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
Var4:=(CLOSE-LLV(CLOSE,N))/(HHV(CLOSE,N)-LLV(CLOSE,N))*100;
Var5:=EMA(CLOSE,2)-EMA(CLOSE,150);
Var6:=EMA(Var5,100);
Var7:=2*(Var5-Var6);
Var8:=POW(Var7,3)*0.1+POW(Var7,1);
Var9:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VarA:=EMA(Var9*0.97,3);
VarB:=(HIGH+LOW+CLOSE)/3;
VarC:=(VarB-MA(VarB,14))/(0.015*AVEDEV(VarB,14));
黑马线:IF(Var7>0.1ANDvar8*5>100,100,IF(var8*5<-30,-30,var8*5)),STICK,LINETHICK3,COLOR0099CC;
VarD:=LLV(HIGH,240);
VarE:=100*(CLOSE-VarD)/VarD;
VarF:=AMOUNT/VOL;
Var10:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
Var11:=INDEXC;
Var12:=MA(Var11,5);
Var13:=MA(Var11,20);
Var14:=MA(Var11,30);
Var15:=Var14>Var12*1.08ANDVar13>Var12*1.055;
Var16:=Var12>Var11*1.03ANDVar13>Var11*1.13;
Var17:=Var16;
Var18:=IF(FILTER(Var10<6,5)=1,1,0);
发现:(Var18ANDVarE<-2.5ANDVar3<5ANDVar4=0)*60,STICK,colormagenta;
Var19:=Var10<6ANDVar17;
黑马:IF(FILTER(Var19,1)=1,1,0)*80,STICK, COLORFF6666;
大黑马:IF(Var19ANDVar18*80,80,0),LINETHICK2,COLORFF9966;
操盘手:Var4,colorgray;
Var1A:=CROSS(黑马线,2);
Var1B:=CROSS(黑马线,4);
庄拉:IF(FILTER((Var1AORVar1B)ANDVar4<40ANDVar3<40,5)=1,35,0),colorred;
Var1C:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var1D:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var1E:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var1F:=REF(CLOSE,1);
Var20:=SMA(MAX(CLOSE-Var1F,0),5,1)/SMA(ABS(CLOSE-Var1F),5,1)*100;
Var21:=(HIGH+LOW+CLOSE)/3;
Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14));
Var23:(Var1C>=-15.8ANDVar1C<=-12.2ANDVar1D<=-20.8ANDVar1E<=-27.5ANDVar20<=11.7
ANDVar22<=-145)*100;
Var24:=Var4;
Var25:=Var4=100;
STICKLINE(Var23>0,90,100,5,0),LINETHICK3,colorred;
DRAWTEXT(Var23>0,90,’发现大黑马加把安全锁,全部亏损问它要’),colormagenta;
STICKLINE(Var24>0,-3,-9,1,0),LINETHICK3,colorred;
STICKLINE(Var25>0,101,105,1,0),LINETHICK2,colorgreen;
DRAWTEXT(发现>0,50,’短线黑马2.5%’),COLORCC99FF;
DRAWTEXT(黑马>0,90,’黑马发现10%’),coloryellow;
DRAWTEXT(大黑马,70,’★大方日线专用大黑马获利10%以上’),LINETHICK2,colorred;
0,LINETHICK1,COLORFF9966;
100 ,COLORFF9966;
通达信强势黑马爆点选股指标公式截图
评论(0)