通达信金牛判势源码副图

[复制链接]
查看102 | 回复0 | 2021-8-20 18:28:34 | 显示全部楼层 |阅读模式

以下是通达信金牛判势源码副图(无源码的请下载附件导入)

AADATE:=DATE<1991230;
 DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'0',0);
 RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 STICKLINE(IF(AADATE,J>REF(J,1),DRAWNULL),HHV(J,3),LLV(J,3),0,0),COLORRED;
 STICKLINE(IF(AADATE,J>REF(J,1),DRAWNULL),J,REF(J,1),2.5,0),COLORRED;
 STICKLINE(IF(AADATE,J<REF(J,1),DRAWNULL),HHV(J,3),LLV(J,3),0,0),COLORYELLOW;
 STICKLINE(IF(AADATE,J<REF(J,1),DRAWNULL),J,REF(J,1),2.5,0),COLORYELLOW;
 FF:=EMA(CLOSE,3);
 MA15:=EMA(CLOSE,21);
次级风险:IF(AADATE,100,DRAWNULL),COLORMAGENTA,DOTLINE;
次级安全:IF(AADATE,0,DRAWNULL),COLORGREEN,DOTLINE;

{天机眼VA}
买:=IF("KDJ.J"<-10,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
 VAR2:=LLV(LOW,5);
 VAR3:=HHV(HIGH,5);
 VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
 NOTEXTMA11:=MA(VAR4,2),COLORWHITE;
 MA1:=MA(VAR4,2);
 VAB:=MA1<20 AND VAR4>MA1;
 VAS:=MA1>75;

{买卖输出信号}
JSAA:=MA1<20 AND J<15 AND J>REF(J,1) AND VAR4>MA1 AND L<"BOLL.LB";
 JSBB:=MA1>75 AND J>95 AND J<REF(J,1) AND H>"BOLL.UB";
 IF(JSAA AND AADATE,100,-20),COLORWHITE;
 IF(JSBB AND AADATE,0,120),COLORGREEN;
风险区间:IF(AADATE,120,DRAWNULL),COLORMAGENTA;
安全区间:IF(AADATE,-20,DRAWNULL),COLORGREEN;

75833057.jpg

75833057.jpg

回复

使用道具 举报

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

本版积分规则