通达信黑马斜离率脱光纪念品源码副图

[复制链接]
查看252 | 回复0 | 2021-8-20 01:44:39 | 显示全部楼层 |阅读模式

以下是通达信黑马斜离率脱光纪念品源码副图(无源码的请下载附件导入)

DP:=(INDEXC-MA(INDEXC,30))/MA(INDEXC,30)*100;
 DRAWBAND(DP,RGB(150,20,20),0,RGB(10,150,20));
 X30 :(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
 X60 :(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
 X90 :(CLOSE-MA(CLOSE,90))/MA(CLOSE,90)*100;
 X120 :(CLOSE-MA(CLOSE,120))/MA(CLOSE,120)*100;
 CL1:=CROSS(X90,0) AND REF(CROSS(X60,0),1) AND REF(CROSS(X30,0),2);
 CL2:=CROSS(X90,0) AND CROSS(X60,0) AND CROSS(X30,0);
 QD:=ABS(X30-X60)<1 AND ABS(X60-X90)<1 AND ABS(X90-X120)<1 AND ABS(X120-X30)<1;
 DRAWICON(CL1 OR CL2,5,19);
 DRAWICON(QD,-5,9) ;

 DRAWICON(X30<-16.8,0,1);
 DRAWICON(X30>16.8,0,2);
关注区:IF(X30>DP AND X30>0,-1.8,DRAWNULL),CIRCLEDOT,COLORFF00FF;
危险:=HHV(X30>20,10) AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,30)+2*STD(CLOSE,30));
 DRAWTEXT(危险,X30+10,'危险'),COLOR00FFFF;
 DRAWTEXT(FILTER(X30<-9 AND X30>REF(X30,1),18),X30-2,'短底'),,COLOR0000FF;


641599127.png

641599127.png

回复

使用道具 举报

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

本版积分规则