通达信中KDJ变色飘带指标公式

SJ:=1;
{DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,' ',0),LINETHICK2;}
{(1)保险稳健参数设:13.3.3;
(2)短线参数设:19.3.3;
(3)牛市参数设:34.3.3;
(4)兔市参数设:55.3.3,;
(5)熊市参数设:89.3.3; }
严重超买:100*SJ,COLORRED,DOTLINE;
超买:80,COLORRED,DOTLINE;
超卖:20,COLOR00FF00,DOTLINE;
严重超卖:0*SJ,COLOR00FF00,DOTLINE;
SS:=34;
HP:=HHV(H,SS);
LP:=LLV(L,SS);
R:=(C-LP)/(HP-LP)*100;
K:SMA(R,9,1)*SJ,COLORYELLOW,LINETHICK2;
D:SMA(K,3,1)*SJ,COLORWHITE,LINETHICK2;
J:3*K-2*D,COLORFF9999,LINETHICK2;
DRAWBAND(K,RGB(200,50,55),D,RGB(50,100,10));

(0)

相关推荐