麻烦给改成博易的谢谢 [博易POBO]
咨询内容:
DEA : EMA(DIFF,9);//DIFF的M个周期指数平滑移动平均
MACD:2*(DIFF-DEA),COLORSTICK;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA))+1);
BB:=BACKSET(ISLASTBAR,BARSLAST(CROSSDOWN(DIFF,DEA))+1);
DRAWTEXT(CROSS(AA,0.5),MACD,'多');
DRAWTEXT(CROSS(BB,0.5),MACD,'空');
DEA : EMA(DIFF,9);//DIFF的M个周期指数平滑移动平均
MACD:2*(DIFF-DEA),COLORSTICK;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA))+1);
BB:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DEA,DIFF))+1);
DRAWTEXT(CROSS(AA,0.5),MACD,'多');
DRAWTEXT(CROSS(BB,0.5),MACD,'空'); 来源 程序化久久网
麻烦给改成博易的谢谢
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);//短周期与长周期的收盘价的指数平滑移动平均值做差。DEA : EMA(DIFF,9);//DIFF的M个周期指数平滑移动平均
MACD:2*(DIFF-DEA),COLORSTICK;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA))+1);
BB:=BACKSET(ISLASTBAR,BARSLAST(CROSSDOWN(DIFF,DEA))+1);
DRAWTEXT(CROSS(AA,0.5),MACD,'多');
DRAWTEXT(CROSS(BB,0.5),MACD,'空');
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);//短周期与长周期的收盘价的指数平滑移动平均值做差。DEA : EMA(DIFF,9);//DIFF的M个周期指数平滑移动平均
MACD:2*(DIFF-DEA),COLORSTICK;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DIFF,DEA))+1);
BB:=BACKSET(ISLASTBAR,BARSLAST(CROSS(DEA,DIFF))+1);
DRAWTEXT(CROSS(AA,0.5),MACD,'多');
DRAWTEXT(CROSS(BB,0.5),MACD,'空'); 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容