帮忙改改一下MACD指标公式,谢谢 [博易POBO]
咨询内容:
帮忙改改一下MACD指标公式,谢谢
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
SC:=CROSSDOWN(DIFF,DEA);
LL:=BACKSET(JC,LLVBARS(DIFF,BARSLAST(SC)+1)+1);
HH:=BACKSET(SC,HHVBARS(DIFF,BARSLAST(JC)+1)+1);
POLYLINE(CROSS(LL,0.5),DIFF,COLORGREEN);
POLYLINE(CROSS(HH,0.5),DIFF,COLORRED);
DEA : EMA(DIFF,9);
2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
SC:=CROSS(DEA,DIFF);
LL:=BACKSET(JC,LLVBARS(DIFF,BARSLAST(SC)+1)+1);
HH:=BACKSET(SC,HHVBARS(DIFF,BARSLAST(JC)+1)+1);
POLYLINE(CROSS(LL,0.5),DIFF),COLORGREEN;
POLYLINE(CROSS(HH,0.5),DIFF),COLORRED; 您好
我的均线只要是放大就成一条直线,怎么回事呢, 来源 程序化久久网
DEA : EMA(DIFF,9);
2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
SC:=CROSSDOWN(DIFF,DEA);
LL:=BACKSET(JC,LLVBARS(DIFF,BARSLAST(SC)+1)+1);
HH:=BACKSET(SC,HHVBARS(DIFF,BARSLAST(JC)+1)+1);
POLYLINE(CROSS(LL,0.5),DIFF,COLORGREEN);
POLYLINE(CROSS(HH,0.5),DIFF,COLORRED);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);DEA : EMA(DIFF,9);
2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
SC:=CROSS(DEA,DIFF);
LL:=BACKSET(JC,LLVBARS(DIFF,BARSLAST(SC)+1)+1);
HH:=BACKSET(SC,HHVBARS(DIFF,BARSLAST(JC)+1)+1);
POLYLINE(CROSS(LL,0.5),DIFF),COLORGREEN;
POLYLINE(CROSS(HH,0.5),DIFF),COLORRED; 您好
我的均线只要是放大就成一条直线,怎么回事呢, 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容