股票指标> 通达信 > 看盘KDJ(2023/9/6 8:05:00)

看盘KDJ

红色虚线视为警戒线,DDX为空心且突破警戒线需警惕,换手风险突破警戒线需警惕(当日换手在10%以上有效)。


收:=INDEXC;
开:=INDEXO;
高:=INDEXH;
低:=INDEXL;
Var1:=YEAR=1990 AND MONTH=12 AND DAY=19;
Var2:=BARSLAST(Var1);
Var3:=IF(Var2>=0,REF(CLOSE,Var2)*收/REF(收,Var2),0);
Var4:=IF(Var2>=0,开/收*Var3,0);
Var5:=IF(Var2>=0,高/收*Var3,0);
Var6:=IF(Var2>=0,低/收*Var3,0);
STICKLINE(Var3>Var4 OR Var3=Var4 AND Var3>=REF(Var3,1),Var6,Var5,
0.1, 0),COLOR333399;
STICKLINE(Var3>Var4 OR Var3=Var4 AND
Var3>=REF(Var3,1),Var3,Var4,7,0),COLOR333399;
x2:STICKLINE(Var3<Var4 OR Var3=Var4 AND
Var3<REF(Var3,1),Var6,Var5,0.1,0),COLOR339933;
STICKLINE(Var3<Var4 OR Var3=Var4 AND Var3<REF(Var3,1),Var3,Var4,7,0),COLOR339933;
A:=C/6;
外轨上:=0.6*A+EMA(C,20);
内轨上:=0.4*A+EMA(C,20);
内轨下:=(-0.4*A)+EMA(C,20);
外轨下:=(-0.6*A)+EMA(C,20);
ar0:=EMA(C,20);
强弱线:STICKLINE(ar0>=REF(ar0,1),ar0,ar0,8,0),COLORMAGENTA;
STICKLINE(ar0<REF(ar0,1),ar0,ar0,8,0),COLORFFFF0F;
ar1:="ezstock@IS_LASTBAR";
DRAWTEXT(C>0 AND ar1=1,0.5*A+EMA(C,20),'←超买区'),COLORYELLOW;
DRAWTEXT(C>0 AND ar1=1,(-0.5*A)+EMA(C,20),'←超卖区'),COLORGREEN;
{超买区:STICKLINE(C>0,外轨上,内轨上,2,2),COLORBBBBBB;
超卖区:STICKLINE(C>0,外轨下,内轨下,2,2),COLORBBBBBB;}
STICKLINE(C>=O,C,O,8,0),COLOR0022FF;
STICKLINE(C>=O,H,L,1,0),COLOR0022FF;
STICKLINE(C>=O,C,O,5,0),COLOR0066FF;
STICKLINE(C>=O,C,O,3,0),COLOR0099FF;
STICKLINE(C>=O,C,O,1.5,0),COLOR00DDFF;
STICKLINE(C>=O,H,L,0,0),COLOR00DDFF;
STICKLINE(C<=O,C,O,8,0),COLORFF2200;
STICKLINE(C<=O,H,L,1,0),COLORFF2200;
STICKLINE(C<=O,C,O,5,0),COLORFF6600;
STICKLINE(C<=O,C,O,3,0),COLORFF9900;
STICKLINE(C<=O,C,O,1.5,0),COLORFFDD00;
STICKLINE(C<=O,H,L,0,0),COLORFFDD00;
RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
RSV2:=(RSV1-0.5)/5*EMA(C,20);
RSVK:=SMA(RSV2,3,1);
RSVD:=SMA(RSVK,3,1);
RSVJ:=RSVK*3-RSVD*2;
K:RSVK+EMA(C,20),COLORWHITE;
D:RSVD+EMA(C,20),COLORYELLOW;
J:RSVJ+EMA(C,20),COLORRED,LINETHICK2;
PARTLINE(j,j > (REF(强弱线,3)),RGB(255,0,0)),linethick3,COLORWHITE;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图