请老师改一下 [博易POBO]
咨询内容:
DEA : EMA(DIFF,9);//
MACD:2*(DIFF-DEA),COLORSTICK;//
A:=BARSLAST(CROSS(DIFF,DEA ))+1;
B:=BARSLAST(CROSSDOWN(DIFF,DEA ))+1;
L1:=REF(LLV(DIFF,B),A);
DRAWSL(CROSSDOWN(DIFF,L1)&&BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,5)),L1,0,-(REF(LLVBARS(DIFF,B),A)+1+A),0,COLORYELLOW);
H1:=REF(HHV(DIFF,A),B);
DRAWSL(CROSS(DIFF,H1)&&BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,5)),H1,0,-(REF(HHVBARS(DIFF,A),B)+1+B),0,COLORYELLOW);
DEA : EMA(DIFF,9);//
MACD:2*(DIFF-DEA),COLORSTICK;//
DAYBARPOS:=BARSLAST(REF(HOUR,1)=15 AND HOUR<>15);
A:=BARSLAST(CROSS(DIFF,DEA ))+1;
B:=BARSLAST(CROSS(DEA ,DIFF))+1;
L1:=REF(LLV(DIFF,B),A);
DRAWSL(CROSS(L1,DIFF)&&BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,5)),L1,0,-(REF(LLVBARS(DIFF,B),A)+1+A),0),COLORYELLOW;
H1:=REF(HHV(DIFF,A),B);
DRAWSL(CROSS(DIFF,H1)&&BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,5)),H1,0,-(REF(HHVBARS(DIFF,A),B)+1+B),0),COLORYELLOW; 来源 程序化久久网
请老师改一下
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED,LINETHICK2;//DEA : EMA(DIFF,9);//
MACD:2*(DIFF-DEA),COLORSTICK;//
A:=BARSLAST(CROSS(DIFF,DEA ))+1;
B:=BARSLAST(CROSSDOWN(DIFF,DEA ))+1;
L1:=REF(LLV(DIFF,B),A);
DRAWSL(CROSSDOWN(DIFF,L1)&&BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,5)),L1,0,-(REF(LLVBARS(DIFF,B),A)+1+A),0,COLORYELLOW);
H1:=REF(HHV(DIFF,A),B);
DRAWSL(CROSS(DIFF,H1)&&BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,5)),H1,0,-(REF(HHVBARS(DIFF,A),B)+1+B),0,COLORYELLOW);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED,LINETHICK2;//DEA : EMA(DIFF,9);//
MACD:2*(DIFF-DEA),COLORSTICK;//
DAYBARPOS:=BARSLAST(REF(HOUR,1)=15 AND HOUR<>15);
A:=BARSLAST(CROSS(DIFF,DEA ))+1;
B:=BARSLAST(CROSS(DEA ,DIFF))+1;
L1:=REF(LLV(DIFF,B),A);
DRAWSL(CROSS(L1,DIFF)&&BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,5)),L1,0,-(REF(LLVBARS(DIFF,B),A)+1+A),0),COLORYELLOW;
H1:=REF(HHV(DIFF,A),B);
DRAWSL(CROSS(DIFF,H1)&&BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,5)),H1,0,-(REF(HHVBARS(DIFF,A),B)+1+B),0),COLORYELLOW; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容