通达信买点超准指标公式

通达信底部早知道指标公式

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;

K:SMA(RSV,3,1);

D:SMA(K,3,1);

J:3*K-2*D,COLORFF00FF;

IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK3;

IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK3;

IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK3;

DRAWICON(crOSS(J,1),J,1);

DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);

{MDCZ买点超准}

HLM1:=MA(HHV(H,485),17);

HLM2:=MA(HHV(H,222),17);

HLM3:=MA(HHV(H,96),17);

HLM4:=MA(LLV(L,485),17);

HLM5:=MA(LLV(L,222),17);

HLM6:=MA(LLV(L,96),17);

HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);

HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);

HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);

HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);

HLM11:=SMA(Abs(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;

HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);

HLMH:=HHV(HLM12,30);

关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3) /200,COLOR00FF00,LINETHICK3;

DRAWTEXT(CROSS(关注,1.2),关注*0.5-6,'↑▲'),COLORFF00FF;

DRAWTEXT(CROSS(关注,4.5),关注,'买点出现'),COLOR00FFFF;

DRAWICON(CROSS(关注,7.0),关注*0.5-20,14);

0;20;50;80;100;

{把它加到kdj指标上(0--100坐标),效果很好!};

N1:=7;

LC:=REF(CLOSE,1);

X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;

魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;

魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;

TJ0:=X=魔王;

TJ1:=X=魔鬼;

TJ2:=X<REF(X,1);

TJ3:=X>REF(1,X);

JRS1:=DRAWICON(TJ1 AND TJ2,X,1);

JRS2:=DRAWICON(TJ0 AND TJ3,X,2);

{指标网-股票公式网站 www.zhibiaow.com}

DRAWICON(FILTER(JRS1>0,1),L*0.97,1);

DRAWICON(FILTER(JRS2>0,1),H*1.02,2);

通达信黄金主图指标公式