请老师帮忙修改 [博易POBO]
咨询内容:
DIFF:EMA(CLOSE,20) - EMA(CLOSE,26);
DEA:EMA(DIFF,12);
MACD:2*(DIFF-DEA),COLORSTICK;
JC:CROSS(DIFF,DEA);
SC:CROSSDOWN(DIFF,DEA);
HH5:=VALUEWHEN(SC,H);
LL5:=VALUEWHEN(JC,L);
A:IF(BARSLAST(SC)<BARSLAST(JC),HH5,NULL),COLORCYAN,LINETHICK2;
B:IF(BARSLAST(SC)>BARSLAST(JC),LL5,NULL),COLORRED,LINETHICK3;
DRAWCOLORKLINE(H>B,COLORRED,0);
DRAWCOLORKLINE(L<A,COLORCYAN,0);
DEA:=EMA(DIFF,12);
MACD:=2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
SC:=CROSS(DEA,DIFF);
HH5:=VALUEWHEN(SC,H);
LL5:=VALUEWHEN(JC,L);
A:IF(BARSLAST(SC)<BARSLAST(JC),HH5,DRAWNULL),COLORCYAN,LINETHICK2;
B:IF(BARSLAST(SC)>BARSLAST(JC),LL5,DRAWNULL),COLORRED,LINETHICK3;
DRAWKLINEEX(H>B,H,O,L,C),COLORRED;
DRAWKLINEEX(L<A,H,O,L,C),COLORCYAN; 来源 程序化久久网
请老师帮忙修改
DIFF:EMA(CLOSE,20) - EMA(CLOSE,26);
DEA:EMA(DIFF,12);
MACD:2*(DIFF-DEA),COLORSTICK;
JC:CROSS(DIFF,DEA);
SC:CROSSDOWN(DIFF,DEA);
HH5:=VALUEWHEN(SC,H);
LL5:=VALUEWHEN(JC,L);
A:IF(BARSLAST(SC)<BARSLAST(JC),HH5,NULL),COLORCYAN,LINETHICK2;
B:IF(BARSLAST(SC)>BARSLAST(JC),LL5,NULL),COLORRED,LINETHICK3;
DRAWCOLORKLINE(H>B,COLORRED,0);
DRAWCOLORKLINE(L<A,COLORCYAN,0);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIFF:=EMA(CLOSE,20) - EMA(CLOSE,26);DEA:=EMA(DIFF,12);
MACD:=2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
SC:=CROSS(DEA,DIFF);
HH5:=VALUEWHEN(SC,H);
LL5:=VALUEWHEN(JC,L);
A:IF(BARSLAST(SC)<BARSLAST(JC),HH5,DRAWNULL),COLORCYAN,LINETHICK2;
B:IF(BARSLAST(SC)>BARSLAST(JC),LL5,DRAWNULL),COLORRED,LINETHICK3;
DRAWKLINEEX(H>B,H,O,L,C),COLORRED;
DRAWKLINEEX(L<A,H,O,L,C),COLORCYAN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容