同花顺游龙出窍主图指标公式

[复制链接]
查看137 | 回复0 | 2021-8-20 21:35:23 | 显示全部楼层 |阅读模式

XA_1:=1+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),colorblue;
STICKLINE(XA_5,OPEN,CLOSE,3,0),colorred;
STICKLINE(XA_5,HIGH,LOW,0,0),colorgreen;
游龙剑:IF(XA_1,EMA(REF(COST(95),0),2),0),colorwhite,LINETHICK2;
莫问剑:IF(XA_1,EMA(REF(COST(90),0),2),0),colorgray;
竞星剑:IF(XA_1,EMA(REF(COST(75),0),2),NULL),colorgray;
天瀑剑:IF(XA_1,EMA(REF(COST(50),0),2),NULL),colormagenta,LINETHICK2;
日月剑:IF(XA_1,EMA(REF(COST(25),0),2),NULL),colorgray;
青干剑:IF(XA_1,EMA(REF(COST(10),0),2),NULL),colorgray;
舍神剑:IF(XA_1,EMA(REF(COST(5),0),2),NULL),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),colorred;
STICKLINE(XA_7 AND NOT(XA_5),MAX(OPEN,CLOSE),CLOSE,3.5,0),colorred;
STICKLINE(XA_7 AND NOT(XA_5),LOW,MIN(CLOSE,OPEN),0,0),colorred;
STICKLINE(XA_7 AND NOT(XA_5),HIGH,MAX(CLOSE,OPEN),0,0),colorred;
DRAWICON(XA_7 AND NOT(XA_5),HIGH,24);
STICKLINE(XA_6,LOW,LOW,3,0),coloryellow;
DRAWTEXT_FIX(1,0.1,0.04,0,BLOCK(3,0)),coloryellow;
DRAWTEXT_FIX(1,0.3,0.2,0,BLOCK(0,1)),coloryellow;

202108202132.jpg

202108202132.jpg

 

回复

使用道具 举报

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

本版积分规则