大智慧W&R指标K线叠加源码
-
相关简介:WR 叠加K线 高地价 21 K线显示 KPJ:=OPEN; SPJ:=CLOSE; ZGJ:=HIGH; ZDJ:=LOW; YR:=KPJ/KPJ; ZZQ:=SUM(YR,0); ZGz:=HHV(ZGJ,高低价); ZDz:=LLV(ZDJ,高低价); GDbfb:=(ZGz-ZDz)/100; WR:(SPJ-ZDz)/GDbfb,LINETHICK2; KPJb:=(KPJ-ZDz)/GDbfb; ZGJb:=(ZGJ-ZDz)/GDbfb; ZDJb:=(ZDJ-ZDz)/GDbf
-
文章来源:股海网作者:股海网发布时间:2014-04-29浏览次数:
W&R 叠加K线 高地价 21 K线显示
KPJ:=OPEN; SPJ:=CLOSE; ZGJ:=HIGH; ZDJ:=LOW;
YR:=KPJ/KPJ; ZZQ:=SUM(YR,0);
ZGz:=HHV(ZGJ,高低价); ZDz:=LLV(ZDJ,高低价); GDbfb:=(ZGz-ZDz)/100;
WR:(SPJ-ZDz)/GDbfb,LINETHICK2;
KPJb:=(KPJ-ZDz)/GDbfb;
ZGJb:=(ZGJ-ZDz)/GDbfb;
ZDJb:=(ZDJ-ZDz)/GDbfb;
HKXtj:=SPJ>=KPJ; LKXtj:=1-HKXtj;
HKX:=HKXtj*K线显示; LKX:=LKXtj*K线显示;
STICKLINE(HKX,ZGJB,ZDJB,0,0),COLOR5555FF;
STICKLINE(HKX,KPJB, WR,6,0),COLOR5555FF;
STICKLINE(LKX,ZGJB,ZDJB,0,0),COLORFFFF00;
STICKLINE(LKX,KPJB, WR,6,0),COLORFFFF00;