求助:请老师帮我改一下 [文华财经]
-
咨询内容:
麻烦老师帮我改一下,用到文华6上,
然后,把这个信息沉底!!!
谢谢老师
XA_1:=DATE+19000000<25200300;
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;
DRAWTEXT(XA_7 AND NOT(XA_5),HIGH,1);
STICKLINE(XA_6,LOW,LOW,3,0),COLORYELLOW;来源:程序化99
-
文华技术人员:
参考
XA_1:=DATE+19000000<25200300;
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),NULL),COLORWHITE,LINETHICK2;
莫问剑:IF(XA_1,EMA(REF(COST(90),0),2),NULL),COLORGRAY;
竞星剑:IF(XA_1,EMA(REF(COST(75),0),2),NULL),COLORGRAY;
天瀑剑:IF(XA_1,EMA(REF(COST(50),0),2),NULL),COLORMAGENTA;
日月剑: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),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;
DRAWTEXT(XA_7 AND NOT(XA_5),HIGH,1);
STICKLINE(XA_6,LOW,LOW,3,0),COLORYELLOW;来源: WWW.CXH99.COM
-
文华客服:
老师,改过后的指标 没有显示!!!!提示框出现“第22行:试图从不是字符串的变量中提取字符串!”
麻烦你再帮我改改,然后帮我测试一下!!!
谢谢
-
网友回复:
1楼REF(CLOSE,1)*1.1-CLOSE<0.01这种条件实现不了
意思是上根收盘价*1.1-当根收盘价的差,小于0.01
- 网友回复: 能否帮我改个类似的?
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容