老师:能编制个博弈副图MACD顶底背离。 [博易POBO]
咨询内容:
老师:能编制个博弈副图MACD顶底背离。
老师:能编制个博弈副图MACD顶底背离。
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA >= 0));
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1) > CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
DRAWTEXT(底背离,DIFF,' 底背离'),COLORRED;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1) < CLOSE AND REF(DIFF,A2+1) > DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(顶背离,DIFF,' 顶背离'),COLORGREEN; 来源 程序化久久网
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA >= 0));
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1) > CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
DRAWTEXT(底背离,DIFF,' 底背离'),COLORRED;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1) < CLOSE AND REF(DIFF,A2+1) > DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(顶背离,DIFF,' 顶背离'),COLORGREEN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容