通达信自己原创的暖色带副图指标

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

通达信自己原创的暖色带副图指标

使用方法:暖色调持股,冷色调持币,零轴以上上涨开始!看图:下面直接上源码:N:=20;M:=8;P:=4;
 GDG:CLOSE-REF(MA(CLOSE,N),N/2+1),COLORGREEN,LINETHICK1;
 KK:=MA(GDG,P),COLOR776600,LINETHICK1;
 RG:MA(GDG,M),COLORYELLOW,LINETHICK3;
 TJ1:EMA(RG,4),COLORCYAN,,LINETHICK3;
 TJ2:EMA(TJ1,2),COLOR779900,,LINETHICK4;
 IF(GDG>REF(RG,1),GDG,DRAWNULL),COLORYELLOW,LINETHICK1;
 {IF(KK>REF(KK,1),KK,DRAWNULL),COLOR1474FF,LINETHICK1;}
 IF(RG>REF(TJ1,1),RG,DRAWNULL),COLORRED,LINETHICK3;
 IF(TJ1>REF(TJ1,1),TJ1,DRAWNULL),COLORMAGENTA,LINETHICK3;
 IF(TJ2>REF(TJ2,1),TJ2,DRAWNULL),COLOR330099,LINETHICK4;
 
DRAWBAND(RG,RGB(255,195,0),TJ2,RGB(16,60,57));
 DRAWBAND(GDG,RGB(255,29,0),RG,RGB(0,128,128));
 
0,COLORGRAY;
 0.6,COLORRED,POINTDOT;
 -0.6,COLORLIBLUE,POINTDOT;
 {F:=CROSS(GDG,KK);
 DRAWICON(F,KK-0.01,11);}
 G:=CROSS(GDG,0);
 DRAWICON(G,0+0.01,16);
 {D:=CROSS(GDG,TJ2);
 DRAWICON(D,TJ2-0.01,5);
 E:=CROSS(TJ2,GDG);
 DRAWICON(E,TJ2+0.01,6);};

1039311565.jpg

1039311565.jpg

 

回复

使用道具 举报

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

本版积分规则