通达信KDJ全波段指标公式
通达信阳后双阴选股指标公式
ZJ1:=MA("kdj.J#WEEK"(9,3,3) ,5);
stICKLINE(ZJ1>=0 AND ZJ1>=REF(ZJ1,1),0,100,4,0),COLORAA0077;
STICKLINE(ZJ1<0 ,0,50,4,0),COLOR060066;
STICKLINE(ZJ1<0 AND ZJ1>=REF(ZJ1,1),0,100,4,0),COLOR000088;
YK:=MA("kdJ.K#MONTH"(9,3,3),20);
YD:=MA("KDJ.D#MONTH"(9,3,3),20);
YJ:=MA("KDJ.J#MONTH"(9,3,3),20);
STICKLINE(YK>=YD,YK,YD,1,0),COLOR880088;
STICKLINE(YK<YD,YK,YD,1,1),COLORAAAAAA;
ZK:=MA("KDJ.K#WEEK"(9,3,3) ,5);
ZD:=MA("KDJ.D#WEEK"(9,3,3) ,5);
DRAWBAND(ZK,RGB(200,0,0),ZD,RGB(0,200,200));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DRAWBAND(K,RGB(250,0,200),D,RGB(200,170,100));
日金叉:IF(crOSS(K,D),7,0),COLORMAGENTA,LINETHICK2;
DRAWBAND(日金叉,RGB(250,0,250),0,RGB(0,0,0));
日死叉: IF(CROSS(D,K),93,100), COLOR00FF00,LINETHICK2;
DRAWBAND(100,RGB(0,250,0),日死叉,RGB(0,0,0));
{www.gUPang.com 指标网_最新股票指标公式}
周金叉:IF(CROSS(ZK,ZD),12,0),COLORRED,LINETHICK2;
DRAWBAND(周金叉,RGB(250,0,0),0,RGB(0,0,0));
周死叉:IF(CROSS(ZD,ZK),87,100), COLORFFFF00,LINETHICK2;
DRAWBAND(100,RGB(0,250,250),周死叉,RGB(0,0,0));
月金叉:IF(CROSS(YK,YD),17,0),COLORYELLOW,LINETHICK2;
DRAWBAND(月金叉,RGB(250,250,0),0,RGB(0,0,0));
月死叉:IF(CROSS(YD,YK),82,100),COLORFF0000,LINETHICK2;
DRAWBAND(100,RGB(0,0,250),月死叉,RGB(0,0,0));
IF(ZJ1<=0,0,DRAWNULL),COLORRED,LINETHICK4;
IF(ZJ1>85,ZJ1,DRAWNULL),COLOR00FFFF,LINETHICK2;
IF(ZJ1>85,100,DRAWNULL),COLOR00FFFF,LINETHICK4;
AA:=IF(ZJ1<0 AND ZJ1<REF(ZJ1,1),-5,0),COLOR00FFFF;
BB:=IF(ZJ1<0 AND ZJ1>=REF(ZJ1,1),-8,0),COLOR000088;
DRAWBAND(0,RGB(150,200,0),AA,RGB(0,0,0));
DRAWBAND(0,RGB(200,50,150),BB,RGB(0,0,0));
ZJ:ZJ1,COLOR0000FF,LINETHICK2;
IF(ZJ<REF(ZJ,1),ZJ,DRAWNULL),COLORFFFF00,LINETHICK2;
IF(ZJ<0 AND ZJ<REF(ZJ,1),ZJ,DRAWNULL),COLORFF00FF,LINETHICK2;
IF(ZJ<0 AND ZJ=REF(ZJ,1),ZJ,DRAWNULL),COLOR0000FF,LINETHICK2;
STICKLINE(C>0,50,50,2,0),COLOR00FFFF;
DRAWTEXT_FIX(1,0.4,0.1,0,' 深红色--提示准备暗红色--买入区紫粉色--加仓区顶部黄色--带风险提示'),COLORFFFFFF;
通达信安全抄底+选股指标公式