飞狐KDJ主图指标
-
相关简介:飞狐KDJ主图指标 源码 UPPERL:=MA(HIGH,30)*1.13,COLORMAGENTA; LOWERL:=MA(LOW,30)*0.85,COLORCYAN; 长期通道:FILLRGN(C0,UPPERL,LOWERL),COLOR666666; UPPERS:=MA(HIGH,5)*1.03,COLORGREEN; LOWERS:=MA(LOW,5)*0.97,COLORFF9900; 短期通道:FILLRGN(C0,UPPERS,LOWERS),COLOR333333; STI
-
文章来源:股海网作者:股海网发布时间:2016-02-23浏览次数:
飞狐KDJ主图指标
源码
UPPERL:=MA(HIGH,30)*1.13,COLORMAGENTA;
LOWERL:=MA(LOW,30)*0.85,COLORCYAN;
长期通道:FILLRGN(C>0,UPPERL,LOWERL),COLOR666666;
UPPERS:=MA(HIGH,5)*1.03,COLORGREEN;
LOWERS:=MA(LOW,5)*0.97,COLORFF9900;
短期通道:FILLRGN(C>0,UPPERS,LOWERS),COLOR333333;
STICKLINE(C>=O,C,O,7,0),COLORRED;
STICKLINE(C>=O,C,O,4,0),COLORB0B0FF;
STICKLINE(C>=O,C,O,2,0),COLORYELLOW;
STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
STICKLINE(C<=O,C,O,7,0),COLORFF2020;
STICKLINE(C<=O,C,O,4,0),COLORFF6600;
STICKLINE(C<=O,C,O,2,0),COLORCYAN;
STICKLINE(C<=O,H,L,0,0),COLORCYAN;
RSV1:=(C-LLV(L,6))/(HHV(H,6)-LLV(L,6));
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;