通达信速战速决之抓板绝技,副图

[复制链接]
查看130 | 回复0 | 2022-7-24 08:28:26 | 显示全部楼层 |阅读模式

通达信速战速决之抓板绝技,副图

说明信号出现,即刻杀入,获利8%左右出局,不恋战.
 源码如下:
 
主力买力度:=LARGEINTRDVOL*100/VOL;
 主力卖力度:=LARGEOUTTRDVOL*100/VOL;
 AAD:=CONST(MAX(ABS(主力买力度),ABS(主力卖力度)))*4,NODRAW;
 DRAWRECTREL(1,128,CONST(ABS(主力买力度)*500/AAD),300,IF(CONST(主力买力度)>0,RGB(255,0,0),RGB(0,50,0)));
 DRAWRECTREL(1,600,CONST(ABS(主力卖力度)*500/AAD),780,IF(CONST(主力卖力度)>0,RGB(0,150,250),RGB(0,50,0)));
 DRAWTEXT_FIX(1,0,0.18,0,STRCAT('主力买力度:',CON2STR(主力买力度,0))),COLORYELLOW;
 DRAWTEXT_FIX(1,0,0.60,0,STRCAT('主力卖力度:',CON2STR(主力卖力度,0))),COLORWHITE;
 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
 K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
 K角:=ATAN((K/REF(K,3)-1)*100)*90/3.1416,COLORCYAN;
 D角:ATAN((D/REF(D,1)-1)*100)*90/3.1416,COLORGREEN;
 长期:(C-LLV(L,30))/(HHV(C,30)-LLV(L,30))*100,COLORBLUE;
 长期角:ATAN((长期/REF(长期,5)-1)*100)*90/3.1416,COLORYELLOW;
 IF(长期>79,长期,DRAWNULL),COLORMAGENTA,LINETHICK4;
 IF(长期>49,长期,DRAWNULL),COLORLIMAGENTA,LINETHICK4;
 DRAWICON(CROSS(长期,50),50,1);
 我为我的粉丝而疯狂,非常感谢支持我的粉丝们.
 说明信号出现,即刻杀入,获利8%左右出局,不恋战.
 源码如下:
 
主力买力度:=LARGEINTRDVOL*100/VOL;
 主力卖力度:=LARGEOUTTRDVOL*100/VOL;
 AAD:=CONST(MAX(ABS(主力买力度),ABS(主力卖力度)))*4,NODRAW;
 DRAWRECTREL(1,128,CONST(ABS(主力买力度)*500/AAD),300,IF(CONST(主力买力度)>0,RGB(255,0,0),RGB(0,50,0)));
 DRAWRECTREL(1,600,CONST(ABS(主力卖力度)*500/AAD),780,IF(CONST(主力卖力度)>0,RGB(0,150,250),RGB(0,50,0)));
 DRAWTEXT_FIX(1,0,0.18,0,STRCAT('主力买力度:',CON2STR(主力买力度,0))),COLORYELLOW;
 DRAWTEXT_FIX(1,0,0.60,0,STRCAT('主力卖力度:',CON2STR(主力卖力度,0))),COLORWHITE;
 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
 K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
 K角:=ATAN((K/REF(K,3)-1)*100)*90/3.1416,COLORCYAN;
 D角:ATAN((D/REF(D,1)-1)*100)*90/3.1416,COLORGREEN;
 长期:(C-LLV(L,30))/(HHV(C,30)-LLV(L,30))*100,COLORBLUE;
 长期角:ATAN((长期/REF(长期,5)-1)*100)*90/3.1416,COLORYELLOW;
 IF(长期>79,长期,DRAWNULL),COLORMAGENTA,LINETHICK4;
 IF(长期>49,长期,DRAWNULL),COLORLIMAGENTA,LINETHICK4;
 DRAWICON(CROSS(长期,50),50,1);
 

121144032.png

121144032.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则