老师,我想在CCi指标和macd指标上自动提醒背离怎么设置? [博易POBO]
咨询内容:
A:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(A<REF(A,1) AND C>REF(C,1),A,'CCI顶背离');
DRAWTEXT(A>REF(A,1) AND C<REF(C,1),A,'CCI底背离'); DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA :EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
DRAWTEXT(MACD<REF(MACD,1)ANDC>REF(C,1),DIFF,'MACD顶背离'),COLORRED;
DRAWTEXT(MACD>REF(MACD,1)ANDC<REF(C,1),DIFF,'MACD底背离'),COLORGREEN; 来源 程序化久久网
老师,我想在CCi指标和macd指标上自动提醒背离怎么设置?
老师,我想在CCi和macd 指标上设置背离提醒,请问怎么设置? <!-- 咨询内容:附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: TYP := (HIGH + LOW + CLOSE)/3;A:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(A<REF(A,1) AND C>REF(C,1),A,'CCI顶背离');
DRAWTEXT(A>REF(A,1) AND C<REF(C,1),A,'CCI底背离'); DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA :EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
DRAWTEXT(MACD<REF(MACD,1)ANDC>REF(C,1),DIFF,'MACD顶背离'),COLORRED;
DRAWTEXT(MACD>REF(MACD,1)ANDC<REF(C,1),DIFF,'MACD底背离'),COLORGREEN; 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容