【通达信免费源码】黑马秘籍指标 副图 波段 无未来函数
N:=14;M:=6;{N 2 90 14 M 2 60 6}
三连阴:LAST(C<O,3,0);
三缩量:LAST(VOL<REF(VOL,1),3,0);
选股1:=REF(三连阴,1)>0 AND REF(三缩量,1)>0 AND O<C;
DRAWTEXT(选股1,0.85,'▲←一三买入法'),COLORRED;
选股2:=CROSS("DMI.PDI","DMI.MDI") AND CROSS("DMI.PDI","DMI.ADX") AND CROSS("DMI.PDI","DMI.ADXR") AND C>REF(C,1)*1.05 AND VOL>REF(VOL,1);
DRAWTEXT(选股2,0.75,'▲←DMI捕捉爆涨'),COLORRED;
TR1:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
PDI:=DMP*100/TR1;
MDI:=DMM*100/TR1;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=EXPMEMA(ADX,M);
选股3:=(CROSS(PDI, MDI)AND CROSS(PDI, ADX)AND CROSS(PDI, ADXR))AND CLOSE>OPEN
AND C/REF(C,1)>0.5 AND VOL>MA(VOL,5)*1.5,COLORRED,LINETHICK3;
DRAWTEXT(选股3,0.65,'▲←DMI穿一阳三线'),COLORRED;
选股4:=LAST(MA(C,5)<MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) AND CROSS("CCI.CCI",-100);
DRAWTEXT(选股4,0.55,'▲←CCI背离抄底'),COLORRED;
选股5:=LAST(MA(C,5)<MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) AND CROSS("CCI.CCI",-100)
AND MA(C,60)>REF( MA(C,60),1);
DRAWTEXT(选股5,0.45,'▲←CCI背离限制'),COLORRED;
选股6:=LAST((H-L)/REF(C,1)<0.1,5,0) AND VOL>REF(VOL,1)2 AND C>REF(C,1)1.05;
DRAWTEXT(选股6,0.35,'▲←一二一抓平台起飞'),COLORRED;
选股7:=LAST(MA(C,5)<MA(C,10),5,0) AND C>REF(C,1)*1.098;
DRAWTEXT(选股7,0.45,'▲←山谷停板抄大底'),COLORRED;
A0:=(C-REF(C,1))/REF(C,1)*100;
A1:=REF(A0,1);
A2:=REF(A1,1);
A3:=REF(A2,1);
A4:=REF(A3,1);
B0:=CLOSE>=HIGH;
选股8:=A4<0 AND A3<0 AND A2<0 AND A1<-4 AND B0 AND A0>=5;
DRAWTEXT(选股8,0.35,'▲←拨云见日'),COLORRED;
P1:=5;
P2:=11;
BIAS1:=(CLOSE-MA(CLOSE,P1))/MA(CLOSE,P1)*100;
BIAS2:=(CLOSE-MA(CLOSE,P2))/MA(CLOSE,P2)*100;
选股9:=CROSS(BIAS1,BIAS2) AND BIAS1>REF(BIAS1,1) AND MA(C,40)>REF(MA(C,40),1);
DRAWTEXT(选股9,0.25,'▲←BIAS绝密买点'),COLORRED;
选股10:=C<O AND VOL>REF(VOL,1)*1.5 AND LAST(VOL<REF(VOL,1),5,1);
DRAWTEXT(选股10,0.15,'▲←南天一柱抄底'),COLORRED;
A:=C>O AND V>REF(V,1)*2.5 AND CROSS(C,MA(C,5));
B:=C>O AND V>REF(V,1)*10;
选股11:=A;
DRAWTEXT(选股11,0.95,'▲←顶天立地抄底'),COLORRED;
选股12:=B;
DRAWTEXT(选股12,0.95,'▲←顶天立地抄底'),COLORRED;
选股:=三连阴 OR 三缩量 OR 选股1 OR 选股2 OR 选股3 OR 选股4 OR 选股5 OR 选股6 OR 选股7 OR 选股8 OR 选股9 OR 选股10 OR 选股11 OR 选股12;
选股;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!