大智慧自定KDJ副图指标
-
相关简介:大智慧自定KDJ副图指标 源码 N:=21;M1:=2;M2:=2; l1:=MA(CLOSE,1); l2:=(LOW+HIGH+CLOSE)/3; l3:= MA(l2,5); l4:= HHV(l3,10); l5:= MA(l2,5); mai:=LLV(l5,10); 急买奇准:IF(LLV((l1mai),5),50,0),colorwhite,LINETHICK2; REFLINE: 0, 20, 50, 80, 100; RSV:=(CLOSE-LLV(LOW,N))/(HHV(
-
文章来源:股海网作者:股海网发布时间:2016-05-28浏览次数:
大智慧自定KDJ副图指标
源码
N:=21;M1:=2;M2:=2;
l1:=MA(CLOSE,1);
l2:=(LOW+HIGH+CLOSE)/3;
l3:= MA(l2,5);
l4:= HHV(l3,10);
l5:= MA(l2,5);
mai:=LLV(l5,10);
急买奇准:IF(LLV((l1<mai),5),50,0),colorwhite,LINETHICK2;
REFLINE: 0, 20, 50, 80, 100;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
DRAWTEXT(j<0,(low),'抄'),COLORYELLOW,LINETHICK2;
DRAWTEXT(j<10 and CROSS(j,D) and CROSS(j,k),(j),'抄'),COLORYELLOW,LINETHICK2;
DRAWTEXT(j>10 AND j<40 and CROSS(j,D) and CROSS(j,k),(j),'赌'),COLORred,LINETHICK2;
DRAWTEXT(j>50 and j<68 and CROSS(j,D) and CROSS(j,k),(j),'赌'),COLORred,LINETHICK2;
DRAWTEXT((j>98.88 and EMA(j,3)<ema(j,1)),(j*0.85),'跑'),COLORgreen,LINETHICK2;
TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR);
辅助线:=((DMM * 100) / TR);
动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
没神的只有不错:( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),80,0)),LINETHICK3,colorFF00FF;