通达信七剑术主图指标公式

[复制链接]
查看82 | 回复0 | 2021-8-20 20:10:19 | 显示全部楼层 |阅读模式

XA_1:=DATE+19000000<21201231;
XA_2:=MA(CLOSE,5);
XA_3:=MA(CLOSE,10);
XA_4:=MA(CLOSE,20);
XA_5:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
XA_6:=IF(CLOSE-REF(CLOSE,1)*0.9<0.01,1,0);
STICKLINE(XA_5,OPEN,CLOSE,3.5,0),COLOR007FFF;
STICKLINE(XA_5,OPEN,CLOSE,3,0),COLOR007FFF;
STICKLINE(XA_5,HIGH,LOW,0,0),COLOR007FFF;
游龙剑:IF(XA_1,EMA(REF(COST(95),0),2),DRAWNULL),COLORWHITE,LINETHICK2;
莫问剑:IF(XA_1,EMA(REF(COST(90),0),2),DRAWNULL),COLORGRAY;
竞星剑:IF(XA_1,EMA(REF(COST(75),0),2),DRAWNULL),COLORGRAY;
天瀑剑:IF(XA_1,EMA(REF(COST(50),0),2),DRAWNULL),COLORMAGENTA;
日月剑:IF(XA_1,EMA(REF(COST(25),0),2),DRAWNULL),COLORGRAY;
青干剑:IF(XA_1,EMA(REF(COST(10),0),2),DRAWNULL),COLORGRAY;
舍神剑:IF(XA_1,EMA(REF(COST(5),0),2),DRAWNULL),COLORWHITE,LINETHICK2;
XA_7:=IF(REF(CLOSE,1)*1.1-HIGH<0.01,1,0);
STICKLINE(XA_7 AND NOT(XA_5),OPEN,CLOSE,3.5,1),COLORFF8080;
STICKLINE(XA_7 AND NOT(XA_5),MAX(OPEN,CLOSE),CLOSE,3.5,0),COLORFF8080;
STICKLINE(XA_7 AND NOT(XA_5),LOW,MIN(CLOSE,OPEN),0,0),COLORFF8080;
STICKLINE(XA_7 AND NOT(XA_5),HIGH,MAX(CLOSE,OPEN),0,0),COLORFF8080;
DRAWICON(XA_7 AND NOT(XA_5),HIGH,24);
STICKLINE(XA_6,LOW,LOW,3,0),COLORYELLOW;

202108201231.jpg

202108201231.jpg

 

回复

使用道具 举报

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

本版积分规则