成交量KDJ-精品通达信指标公式源码分享

通达信免费指标 03-01 阅读:230 评论:0

成交量KDJ.png

换手率:VOL/CAPITAL*100,NODRAW,COLORFFFF00;

实际量:VOL/10000,NODRAW;

量:V/CONST(HHV(V,90))*100,LINETHICK0,VOLSTICK;

顶:82,COLORFFFF00,LINETHICK1;

顶A:92,COLORFF9500,LINETHICK7;

地量0_1:换手率<1,COLORFFFFFF;

 STICKLINE(C=C AND 换手率<1,0,量+10,2.7,0 ),COLORFFFFFF;

低靡1_2:C=C AND 换手率>=1 AND 换手率<2,COLORFFFF00;

 STICKLINE(C=C AND 换手率>=1 AND 换手率<2,0,量+10,2.7,0 ),COLORFFFF00;

温和2_3:C=C AND 换手率>=2 AND 换手率<3,COLOR208FFF;

 STICKLINE(C=C AND 换手率>=2 AND 换手率<3,0,量+10,2.7,0 ),COLOR208FFF;

活跃3_5:C=C AND 换手率>=3 AND 换手率<5,COLOR00FFFF;

 STICKLINE(C=C AND 换手率>=3 AND 换手率<5,0,量+10,2.7,0 ),COLOR00FFFF;

带量5_8:C=C AND 换手率>=5 AND 换手率<8,COLORFF00FF;

 STICKLINE(C=C AND 换手率>=5 AND 换手率<8,0,量+10,2.7,0 ),COLORFF00FF;

放量8_15:C=C AND 换手率>=8 AND 换手率<15,COLOR00FF00;

 STICKLINE(C=C AND 换手率>=8 AND 换手率<15,0,量+10,2.7,0),COLOR00FF00;

巨量15_25:C=C AND 换手率>=15 AND 换手率<25,COLORFF2900;

 STICKLINE(C=C AND 换手率>=15 AND 换手率<25,0,量+10,2.7,0 ),COLORFF0000;

怪异:C=C AND 换手率>=25,COLORFF6600;

 STICKLINE(C=C AND 换手率>=25,0,量+10,2.7,0 ),COLORFF6600;

低:18,COLORFF0000,LINETHICK2;

 DRAWTEXT(ISLASTBAR,顶,' 顶'),COLORFFFF00;

 DRAWTEXT(ISLASTBAR,低,' 低'),COLOR208FFF;

 MA5:MA(量,5),COLORFFFFFF;

 MA13:MA(量,13),COLOR208FFF;

 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

 K:SMA(RSV,3,1);

 D:SMA(K,3,1);

 J:=3*K-2*D,COLORFFAAFF,LINETHICK2;

 DRAWBAND(K,RGB(139,10,10),D,RGB(0,100,0));

 TJ1:=(C-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

 TJ2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

 TJ3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

 TJF:=SMA(TJ1,13,8);

 TJF2:(EMA(TJ3,3)),COLORFFAAFF,LINETHICK2;

 TJF3:=TJ2+100;

 106,COLORFFFFFF;

 STICKLINE(TJF3>90,106,100,1.5,0) ,COLORFF3900;

 STICKLINE(TJF2>80,106,103,1.5,0) ,COLOR00FFFF;

 STICKLINE(TJF>86,106,104,1.5,0) ,COLOR0000FF;

 DRAWTEXT(ISLASTBAR AND TJF2>REF(TJF2,1),TJF2,'▲'),COLORFF00FF;

 DRAWTEXT(ISLASTBAR AND TJF2<REF(TJF2,1),TJF2,'▼'),COLOR00FF00;

版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服