以下是通达信超级KDJ源码副图贴图(无源码的请下载附件导入)
{超级KDJ}
CRSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
CK0:=SMA(CRSV,3,1);
CK:=CK0;CD:=SMA(CK0,2,1);
CJ1:(3*CK0-2*CD),COLORYELLOW;
CJ2:MA(CJ1,2),COLORRED;
CMAV:=(2*C+H+L)/4;
CVAR1:=LLV(LOW,21);
CVAR2:=HHV(HIGH,21);
CSK: EMA((CMAV-CVAR1)/(CVAR2-CVAR1)*100,8),COLORWHITE;
CSD: EMA(0.667*REF(CSK,1)+0.333*CSK,1),COLORCYAN;
CSJ:=3*CSK-2*CSD;
JC:=CROSS(CJ1,CJ2);
BL:= CJ1>REF(CJ1,SUMBARS(JC,1)-1)AND C<REF(C,SUMBARS(JC,1)-1)AND JC AND REF(COUNT(JC,3),1)AND REF(CJ2<20,1);
ZJ:REF(BL,SUMBARS(JC,1)-1)=1 AND REF(COUNT(JC,3)=1,1)AND JC;
STICKLINE(ZJ,60,80,1,0),COLORMAGENTA;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
QQ:=(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK1;
SS:=(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK1;
GG:=MA(HHH,5),LINETHICK1,COLORGREEN;
MM:=MA(CCC,5),LINETHICK1,COLORGREEN;
WW:=IF(QQ<GG,SS,MM),LINETHICK1,COLOR0000FF;
EE:=IF(SS<MM,GG,QQ),COLORFFFFCC,LINETHICK1;
★买:=IF(EE-WW<5.6,200,0);
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=(提纯 < (0)),COLORRED;
买AA:=黄金 AND RSVV<VARB2-2;
特准:=买AA>0;
FK:="999999$CJ1">REF("999999$CJ1",1) AND "999999$CJ1">"999999$CJ2";
V特准选股: (特准 AND FK AND BL AND CROSS(KDJ.J(5,3,2),KDJ.D(5,3,2))AND C>O)OR(REF(特准 AND FK AND BL AND CROSS(KDJ.J(5,3,2),KDJ.D(5,3,2)AND C<O),1));
STICKLINE(V特准选股,0,30,1,0),COLORRED;
特准选股中线: (特准 AND FK AND BL AND CROSS(KDJ.J(9,3,3),KDJ.D(9,3,3))AND C>O)OR(REF(特准 AND FK AND BL AND CROSS(KDJ.J(9,3,3),KDJ.D(9,3,3)AND C<O),1));
STICKLINE(特准选股中线,60,30,1,0),COLORYELLOW;
612222185.png
612300951.png
612400071.png
612477247.png
|