通达信7均均线--主图源码

[复制链接]
查看111 | 回复0 | 2021-8-20 07:12:42 | 显示全部楼层 |阅读模式

以下是通达信7均均线--主图源码(无源码的请下载附件导入)

一七均:EXPMA(C,7);
三七均:EXPMA(C,21);
六七均:EXPMA(C,42);
九七均:EXPMA(C,63),LINETHICK2;
十二七均:EXPMA(C,84);
十五七均:EXPMA(C,105);
五线条件:=O<十五七均 AND C>一七均 AND 一七均>三七均 AND 三七均>六七均;
STICKLINE(五线条件>0,O,C,2.5,0),COLORYELLOW;
 TJ1:=O<一七均 AND O<三七均 AND O<六七均 AND O<九七均 AND O<十二七均 AND O<九七均 AND O<十五七均;
TJ2:=C>一七均 AND C>三七均 AND C>六七均 AND C>九七均 AND C>十二七均 AND C>九七均 AND C>十五七均;
一阳穿四线:=TJ1 AND TJ2 AND C>O;
 DRAWTEXT(一阳穿四线,H*1.018,'【串串】'),COLORYELLOW;
 JJ:=(HIGH+LOW+CLOSE)/3;
 QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
 QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
 QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
 QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
 QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
 DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK;
 DD:=REF(LLV(CLOSE,120),1);
 J:="KDJ.J";
 DDZ:=DD*17;
 DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;
弄点钱玩:=CROSS(J,0) AND ((DDX>0 AND DDY>0) OR DDZ>400);
 A2:="MACD.MACD"(26,12,9);
 A1:=C/REF(C,1)<1.099 AND A2>REF(A2,1) ;
 A3:=COUNT(DDX>0.045,10)>2;
弄点钱玩2:=弄点钱玩 AND DDX >0.055 AND DDY>0.07 AND A1 AND A3;
 DRAWTEXT(弄点钱玩2>0,L*0.97,'【弄点钱玩玩】'),COLORYELLOW;
 DRAWTEXT(FILTER(REF(L,1)<九七均 AND C>九七均,7),L*0.96,'短'),COLORMAGENTA;
 

734377843.jpg

734377843.jpg

回复

使用道具 举报

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

本版积分规则