通达信麟龙KDJ多周期指标公式,通达信买底逃顶指标公式
admin888
|通达信麟龙KDJ多周期指标公式,通达信买底逃顶指标公式
通达信麟龙KDJ多周期指标公式
N:=5;
M1:=3;
M2:=3;
ZG:=MA(HIGH,5);
ZD:=MA(LOW,5);
YG:=MA(HIGH,20);
YD:=MA(LOW,20);
ZJ:=MA(CLOSE,5);
YJ:=MA(CLOSE,20);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
日K:SMA(RSV,M1,1),COLORFF00FF,LINETHICK1;
日D:SMA(日K,M2,1),COLORFFFFFF,LINETHICK1;
J:3*日D-2*日K,COLOR00FFFF,LINETHICK1;
MID:=MA(日K,10);
CMSS:=1.03*SQRT(MA(POW((日K-MID),2),10));
UPPER:MID+CMSS,LINETHICK1,COLORFFFF00;
LOWER:MID-CMSS,LINETHICK1,COLOR00FF00;
RSV3:=(ZJ-LLV(ZD,N*5))/(HHV(ZG,N*5)-LLV(ZD,N*5))*100;
周K:SMA(RSV3,M1*5,1),LINETHICK0;
周D:EMA(周K,M2*5),LINETHICK0;
周J:=3*周D-2*周K,LINETHICK0;
RSV2:=(YJ-LLV(YD,N*20))/(HHV(YG,N*20)-LLV(YD,N*20))*100;
月K:SMA(RSV2,M1*20,1),LINETHICK0;
月D:SMA(月K,M2*20,1),LINETHICK0;
月J:=3*月D-2*月K,LINETHICK0;
stICKLINE(周K>=REF(周K,1),周K,周D,4,0),COLOR0000FF;
STICKLINE(月K>=REF(月K,1),月K,月D,1,0),COLOR00FFFF;
大底:IF(REF(COUNT(月K<=REF(月K,1),2)=2,1) AND REF(月K<=5,1) AND月K>REF(月K,1),80,10);
底:IF(REF(COUNT(月K<=REF(月K,1),2)=2,1) AND REF(月K<=10,1) AND REF(月K>=5,1)AND REF(COUNT(周K<=REF(周K,1),2)=2,1) AND REF(周K<=10,1) AND周K>REF(周K,1),80,10);
大顶:IF(REF(COUNT(月K>=REF(月K,1),2)=2,1) AND REF(月K>=95,1) AND月K
顶:IF(REF(COUNT(月K>=REF(月K,1),2)=2,1) AND REF(月K>=90,1) AND REF(月K<=95,1)AND REF(COUNT(周K>=REF(周K,1),2)=2,1) AND REF(周K>=90,1) AND周K
DRAWTEXT(月K<=10 AND COUNT(月K<=REF(月K,1),2)=2 AND周K<=10 AND COUNT(周K<=REF(周K,1),2)=2 AND 日K<=10 ANDCOUNT(日K<=REF(日K,1),2)=2,50,'长线超跌');
DRAWTEXT(月K>=90 AND COUNT(月K>=REF(月K,1),2)=2 AND周K>=90 AND COUNT(周K>=REF(周K,1),2)=2 AND 日K>=90 ANDCOUNT(日K>=REF(日K,1),2)=2,50,'长线超涨');
DRAWTEXT(REF(COUNT(月K<=REF(月K,1),2)=2,1) AND REF(月K<=10,1)AND REF(COUNT(周K<=REF(周K,1),2)=2,1) AND REF(周K<=10,1) ANDREF(COUNT(日K<=REF(日K,1),2)=2,1) AND REF(日K<=10,1) AND日K>REF(日K,1),80,'超跌买入');
DRAWTEXT(REF(COUNT(月K>=REF(月K,1),2)=2,1) AND REF(月K>=90,1)AND REF(COUNT(周K>=REF(周K,1),2)=2,1) AND REF(周K>=90,1) ANDREF(COUNT(日K>=REF(日K,1),2)=2,1) AND REF(日K>=90,1) AND日K
DRAWTEXT(REF(月K>10,1)AND REF(COUNT(周K<=REF(周K,1),2)=2,1) AND REF(周K<=10,1) ANDREF(COUNT(日K<=REF(日K,1),2)=2,1) AND REF(日K<=10,1) AND日K>REF(日K,1),80,'超跌买');
DRAWTEXT(REF(月K<90,1)AND REF(COUNT(周K>=REF(周K,1),2)=2,1) AND REF(周K>=90,1) ANDREF(COUNT(日K>=REF(日K,1),2)=2,1) AND REF(日K>=90,1) AND日K
DRAWTEXT(月K>10 AND周K<=10 AND COUNT(周K<=REF(周K,1),2)=2 AND 日K<=10 ANDCOUNT(日K<=REF(日K,1),2)=2,50,'中线超跌');
DRAWTEXT(月K<90 AND 周K>=90 AND COUNT(周K>=REF(周K,1),2)=2 AND日K>=90 ANDCOUNT(日K>=REF(日K,1),2)=2,50,'中线超涨');
通达信买底逃顶指标公式
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
J1:=SMA(RSV1,3,1);
J2:=SMA(J1,3,1);
趋势线:3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1),LINETHICK1,COLORRED;
K:SMA(RSV2,3,1),LINETHICK1,COLORWHITE;
D:SMA(K,3,1),LINETHICK1,COLORFF84FF;
{见顶信号:100,COLORCCFF00;}
买点准备:IF(趋势线<=10,38,0),LINETHICK1,COLORYELLOW;
卖点准备:IF(crOSS(J2,J1) AND J2>85,70,100),LINETHICK1,COLOR00FF00;
强弱界线:49,POINTDOT,LINETHICK2,COLOR99AacC;
{以下设置副图显示方式}stICKLINE(趋势线>88,100,趋势线,4,1),COLORGREEN;
STICKLINE(趋势线<=10,0,趋势线,4,1),COLORYELLOW;
STICKLINE(CROSS(J2,J1) AND J2>85,100,80,4,0),COLORGREEN;
DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED;
DRAWICON(FILTER(CROSS(D,K) AND D>81,10),D*1.05,2);
DRAWTEXT(CROSS(趋势线,49),47,'转强'),COLORRED;
DRAWTEXT(CROSS(49,趋势线),52,'转弱'),COLORGREEN;
强趋势1:(CROSS(趋势线,49) AND 趋势线>49)*38,COLORRED;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。