郑云系列指标公开发送
从前,有一个指标高手叫做郑云,他沤心滴血的写了很多非常好抄底的公式,我也用了很多年。非常佩服他的才华。这些公式被我整理成了通达信公式。跟大家分享一下这个前辈的作品。不敢独享,实行源码大放送
郑云1
A:=((MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/
MA(VOL,5)/100))<-0.4;
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
W1:=-100*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));
COUNT(A,5)>=1 AND (W1<-99.9 OR (D<15 AND K<12));
郑云2
W:=(LLV(LOW,33)-CLOSE)/(HHV(HIGH,33)-LLV(LOW,33))*100;
A:=CROSS(-8,MA(W,12)) OR CROSS(-10,MA(W,12)) OR CROSS(-8,MA(W,16)) OR
CROSS(-9,MA(W,16)) OR CROSS(-7,MA(W,16)) OR
CROSS(-10,MA(W,18)) OR CROSS(-10,MA(W,20)) OR CROSS(-10,MA(W,24)) OR
CROSS(-8,MA(W,14)) OR CROSS(-9,MA(W,14)) OR CROSS(-7,MA(W,18)) OR
CROSS(-8,MA(W,18)) OR CROSS(-11,MA(W,18)) OR CROSS(-7,MA(W,20)) OR
CROSS(-8,MA(W,20)) OR CROSS(-8,MA(W,24)) OR CROSS(-8,MA(W,26));
B:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND
REF(OPEN,1) < REF(CLOSE,2) AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05;
CC:=IF(REF(C,5)<REF(O,5) AND V<REF(V,5) ,0 ,1);
D:=COUNT(A,10)>=1 AND B AND CC;
D AND COUNT(D,10)=1;
IC郑云抄底
A:=((MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/
MA(VOL,5)/100))<-0.4;
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
W1:=-100*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));
R1:=COUNT(A,5)>=1 AND (W1<-99.9 OR (D<15 AND K<12));
底1:R1*2;
W:=(LLV(LOW,33)-CLOSE)/(HHV(HIGH,33)-LLV(LOW,33))*100;
AG:=CROSS(-8,MA(W,12)) OR CROSS(-10,MA(W,12)) OR CROSS(-8,MA(W,16)) OR
CROSS(-9,MA(W,16)) OR CROSS(-7,MA(W,16)) OR
CROSS(-10,MA(W,18)) OR CROSS(-10,MA(W,20)) OR CROSS(-10,MA(W,24)) OR
CROSS(-8,MA(W,14)) OR CROSS(-9,MA(W,14)) OR CROSS(-7,MA(W,18)) OR
CROSS(-8,MA(W,18)) OR CROSS(-11,MA(W,18)) OR CROSS(-7,MA(W,20)) OR
CROSS(-8,MA(W,20)) OR CROSS(-8,MA(W,24)) OR CROSS(-8,MA(W,26));
B:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND
REF(OPEN,1) < REF(CLOSE,2) AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05;
CC:=IF(REF(C,5)<REF(O,5) AND V<REF(V,5) ,0 ,1);
DG:=COUNT(A,10)>=1 AND B AND CC;
PG:=DG AND COUNT(DG,10)=1;
底2:PG*1.3;
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
A1A:=BIAS1>-15.8 AND BIAS1<-12.2;
A2A:=BIAS2<-20.8;
A3A:=BIAS3<-27.5;
A4A:=RSI1<11.7;
A5A:=CCI<-145;
ZTJ:=A1A AND A2A AND A3A AND A4A AND A5A;
底11:=ZTJ AND COUNT(ZTJ,10)=1;
DRAWICON(底11>0.5,2.3,1);
A8:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
B8:=SMA(A8,9,1);
C8:=SMA(B8,9,1);
D8:=CROSS(B8,C8);
E8:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
F8:=COUNT(D8,21)>=2;
G8:=B8<20;
H8:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
I8:=COUNT(E8<-8,20)>=1 AND E8<=0 AND COUNT(E8<=0,4)>=2;
ZY4:=F8 AND G8 AND H8 AND I8 ;
ZY5:=ZY4 AND COUNT(ZY4,10)=1;
底4:ZY5*1.8;
ZY6:=REF(CLOSE,2)/REF(OPEN,2) < 0.95
AND REF(OPEN,1) < REF(CLOSE,2)
AND REF(OPEN,1)=REF(CLOSE,1)
AND CLOSE/OPEN>1.067
AND CLOSE>REF(CLOSE,2)
AND LLV(CLOSE,3)/HHV(CLOSE,55)<0.8 ;
底5:ZY6*0.8;
X7:=(C>O OR C>REF(C,1)) AND V>REF(V,1);
A7:=COUNT(X7,3)=3;
B7:=LLV(L,6)=LLV(L,170);
C7:=A7 AND B7;
D7:=MA(CLOSE,5);
E7:=MA(CLOSE,10);
F7:=MA(CLOSE,20);
G7:=COUNT(CROSS(E7,F7),2)=1;
H7:=COUNT(CROSS(D7,F7),2)=1;
I7:=G7 AND H7;
J7:=COUNT(C7,1)>0 AND COUNT(I7,1)>0;
ZY3:=J7 AND COUNT(J7,20)=1 ;
ZY7:=ZY3 AND COUNT(ZY3,10)=1;
底6:ZY7;
A6:=REF(CLOSE,1);
B6:=SMA(MAX(CLOSE-A6,0),7,1)/SMA(ABS(CLOSE-A6),7,1)*100;
C6:=SMA(MAX(CLOSE-A6,0),13,1)/SMA(ABS(CLOSE-A6),13,1)*100;
D6:=BARSLAST(C6<20)<=3 AND CROSS(B6,C6);
E6:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100<-12.5;
F6:=LLV(LOW,5);
G6:=HHV(HIGH,5);
H6:=EMA((CLOSE-F6)/(G6-F6)*100,4);
I6:=EMA(0.667*REF(H6,1)+0.333*H6,2);
ZY8:=D6 AND E6 AND CROSS(H6,I6) AND H6<=25;
底7:ZY8*2.3;
AS:=DMA(EMA(CLOSE,14),SUM(VOL,5)/3/CAPITAL);
SW:=(CLOSE-A)/A*100;
BS:=SW<-38 ;
A1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
S:=(CLOSE-A1)/A1*100;
J:=REF(S,1)<-37 AND S>REF(S,1) AND REF(S,1)<REF(S,2) AND
(REF(S,2)-REF(S,1))>1;
KS:=(B OR J) AND VOL/CAPITAL*100<6 ;
底8:KS AND COUNT(KS,10)=1;
A4:=(HIGH-LOW)/HIGH*100+(C-REF(C,1))/REF(C,1)*100;
B4:=EMA(MA(A4,50),5);
C4:=B4>LLV(B4,5)*1.01 AND REF(B4,1)<REF(LLV(B4,5),1)*1.01
AND LLV(B4,50)=LLV(B4,5);
D4:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5;
底10:(C4 AND D4)*2.5;
A5:=(C-OPEN)/OPEN*100;
B5 := REF(CLOSE,1);
C5:= SMA(MAX(CLOSE-B5,0),7,1)/SMA(ABS(CLOSE-B5),7,1)*100;
D5 := COUNT(C5<20,20)>=1;
ZY1:= A5>=10 AND C>MA(C,190) AND OPEN<MA(C,200) AND D5
AND REF(C,1)/REF(C,2)>0.9 ;
底3:ZY1*1.6 ;
郑云3
A5:=(C-OPEN)/OPEN*100;
B5 := REF(CLOSE,1);
C5:= SMA(MAX(CLOSE-B5,0),7,1)/SMA(ABS(CLOSE-B5),7,1)*100;
D5 := COUNT(C5<20,20)>=1;
ZY1:= A5>=10 AND C>MA(C,190) AND OPEN<MA(C,200) AND D5
AND REF(C,1)/REF(C,2)>0.9 ;
ZY1;
郑云4
A8:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
B8:=SMA(A8,9,1);
C8:=SMA(B8,9,1);
D8:=CROSS(B8,C8);
E8:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
F8:=COUNT(D8,21)>=2;
G8:=B8<20;
H8:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
I8:=COUNT(E8<-8,20)>=1 AND E8<=0 AND COUNT(E8<=0,4)>=2;
ZY4:=F8 AND G8 AND H8 AND I8 ;
ZY4 AND COUNT(ZY4,10)=1;
郑云5
REF(CLOSE,2)/REF(OPEN,2) < 0.95
AND REF(OPEN,1) < REF(CLOSE,2)
AND REF(OPEN,1)=REF(CLOSE,1)
AND CLOSE/OPEN>1.067
AND CLOSE>REF(CLOSE,2)
AND LLV(CLOSE,3)/HHV(CLOSE,55)<0.8 ;
郑云6
X7:=(C>O OR C>REF(C,1)) AND V>REF(V,1);
A7:=COUNT(X7,3)=3;
B7:=LLV(L,6)=LLV(L,170);
C7:=A7 AND B7;
D7:=MA(CLOSE,5);
E7:=MA(CLOSE,10);
F7:=MA(CLOSE,20);
G7:=COUNT(CROSS(E7,F7),2)=1;
H7:=COUNT(CROSS(D7,F7),2)=1;
I7:=G7 AND H7;
J7:=COUNT(C7,1)>0 AND COUNT(I7,1)>0;
ZY3:=J7 AND COUNT(J7,20)=1 ;
ZY3 AND COUNT(ZY3,10)=1;
郑云7
A6:=REF(CLOSE,1);
B6:=SMA(MAX(CLOSE-A6,0),7,1)/SMA(ABS(CLOSE-A6),7,1)*100;
C6:=SMA(MAX(CLOSE-A6,0),13,1)/SMA(ABS(CLOSE-A6),13,1)*100;
D6:=BARSLAST(C6<20)<=3 AND CROSS(B6,C6);
E6:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100<-12.5;
F6:=LLV(LOW,5);
G6:=HHV(HIGH,5);
H6:=EMA((CLOSE-F6)/(G6-F6)*100,4);
I6:=EMA(0.667*REF(H6,1)+0.333*H6,2);
D6 AND E6 AND CROSS(H6,I6) AND H6<=25;
郑云8
A:=DMA(EMA(CLOSE,14),SUM(VOL,5)/3/CAPITAL);
SW:=(CLOSE-A)/A*100;
B:=SW<-38 ;
A1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
S:=(CLOSE-A1)/A1*100;
J:=REF(S,1)<-37 AND S>REF(S,1) AND REF(S,1)<REF(S,2) AND
(REF(S,2)-REF(S,1))>1;
K:=(B OR J) AND VOL/CAPITAL*100<6 ;
K AND COUNT(K,10)=1;
郑云9
A2:=REF(C,1);
B2:=(WINNER(C)-WINNER(A2))*100;
C2:=SUM(B2,3);
D2:=C2/SUM(V,3)/100*CAPITAL;
E2:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,50)*0.7;
D:=C2>36 AND D2>4 AND E2 AND REF(C,1)/REF(C,2)<1.08;
D AND COUNT(D,10)=1;
郑云10
A4:=(HIGH-LOW)/HIGH*100+(C-REF(C,1))/REF(C,1)*100;
B4:=EMA(MA(A4,50),5);
C4:=B4>LLV(B4,5)*1.01 AND REF(B4,1)<REF(LLV(B4,5),1)*1.01
AND LLV(B4,50)=LLV(B4,5);
D4:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5;
C4 AND D4;
郑云11
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
A1:=BIAS1>-15.8 AND BIAS1<-12.2;
A2:=BIAS2<-20.8;
A3:=BIAS3<-27.5;
A4:=RSI1<11.7;
A5:=CCI<-145;
ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;
ZTJ AND COUNT(ZTJ,10)=1;
郑云12
A1:=WINNER(CLOSE)-WINNER(OPEN);
B1 := REF(CLOSE,1);
C1:= SMA(MAX(CLOSE-B1,0),5,1)/SMA(ABS(CLOSE-B1),5,1)*100;
D1:=CLOSE/MA(CLOSE,3)>=1.05 ;
E1:=MA(VOL,4)/MA(VOL,40)>=3 ;
A1>=0.4 AND E1 AND COUNT(C1<20,20)>=1 AND D1;