同花顺双KD副图指标
-
相关简介:同花顺双KD副图指标 源码 DRAWGBK(V1,STRIP(RGB(60,100,255),RGB(110,110,255),2)); VAR19:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100; K1:SMA(VAR19,3,1),Color3CFF3C; D1:SMA(K1,3,1),Color00CC00,LINETHICK2; VAR27:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)
-
文章来源:股海网作者:股海网发布时间:2016-03-28浏览次数:
同花顺双KD副图指标
源码
DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(110,110,255),2));
VAR19:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
K1:SMA(VAR19,3,1),Color3CFF3C;
D1:SMA(K1,3,1),Color00CC00,LINETHICK2;
VAR27:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K2:SMA(VAR27,3,1),Color0000CA;
D2:SMA(K2,3,1),COLOR0000FF,LINETHICK2;
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(VAR55,3,1),COLOR00FF00;
D55:=SMA(K55,3,1),COLOR008000;
DIBU:= K1<20 AND D1<20 AND K2<20 AND D2<20 AND D55<20;
STICKLINE(DIBU=1,-2,5,1,0),coloryellow,LINETHICK2;
TOBU:= K3>80 AND K2>80 ;
STICKLINE(TOBU=1,100,95,1,0)
DD:=-10;
VAR19:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
K1:SMA(VAR19,3,1);
XG:CROSS(VAR19,K1) AND VAR19>1,Color4AFFFF;
STICKLINE(XG>XG OR XG>REF(XG,1),100,0,10,0),Color4AFFFF;
STICKLINE(D2>D2 OR D2>REF(D2,1),50,0,10,0),Color5189FF;
STICKLINE(K1<K1 OR K1<REF(K1,1),50,0,10),ColorB0FFB0;