老师通达信的MACD背离指标不能在文华显示,帮我改改 [文华财经]
-
咨询内容:
老师这个是背离的时候自动划线,你看看怎么改能在文华上显示
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.1,8,0),COLORRED;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;来源:程序化99
-
文华技术人员:
不同软件函数机制不同,效果有差异是正常的,请理解
仅供参考: DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA), COLORSTICK; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);STICKLINE1(底背离,0,0.1,8,0),COLORRED;DRAWLINE1(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);DRAWLINE1(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;来源: WWW.CXH99.COM
-
文华客服:
老师这个线能不能只画2个背离点,不要很长,这样都不知道那个是背离地方,画虚线最好!麻烦老师了
文件名:赢顺截图20180129202201.jpg -
网友回复:
不行的话,用箭头也可以,顶背离就向下的绿色小箭头,底背离就向上的红色小箭头
- 网友回复: 老师等用,麻烦改改
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容