请老师改成博弈指标 [博易POBO]
咨询内容:
G:=HHV(H,5)<REF(H,5)&&REF(H,5)>REF(H,6);
XD:=CROSS(BACKSET(D,6),0.5);
XG:=CROSS(BACKSET(G,6),0.5);
VERTLINE(CROSS(BACKSET(ISLASTBAR,BARSLAST(XD)+1),0.5),COLORGREEN);
VERTLINE(CROSS(BACKSET(ISLASTBAR,BARSLAST(XG)+1),0.5),COLORRED);
VERTLINE(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),COLORRED);
VERTLINE(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),COLORGREEN);
DRAWSL(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),H),0,10000,0,COLORRED);
DRAWSL(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),L),0,10000,0,COLORGREEN);
D:=LLV(L,5)>REF(L,5)&&REF(L,5)<REF(L,6);
G:=HHV(H,5)<REF(H,5)&&REF(H,5)>REF(H,6);
XD:=CROSS(BACKSET(D,6),0.5);
XG:=CROSS(BACKSET(G,6),0.5);
VERTLINE(CROSS(BACKSET(ISLASTBAR,BARSLAST(XD)+1),0.5),COLORGREEN);
VERTLINE(CROSS(BACKSET(ISLASTBAR,BARSLAST(XG)+1),0.5),COLORRED);
VERTLINE(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),COLORRED);
VERTLINE(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),COLORGREEN);
DRAWSL(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),H),0,10000,0),COLORRED;
DRAWSL(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),L),0,10000,0),COLORGREEN; 来源 程序化久久网
请老师改成博弈指标
D:=LLV(L,5)>REF(L,5)&&REF(L,5)<REF(L,6);G:=HHV(H,5)<REF(H,5)&&REF(H,5)>REF(H,6);
XD:=CROSS(BACKSET(D,6),0.5);
XG:=CROSS(BACKSET(G,6),0.5);
VERTLINE(CROSS(BACKSET(ISLASTBAR,BARSLAST(XD)+1),0.5),COLORGREEN);
VERTLINE(CROSS(BACKSET(ISLASTBAR,BARSLAST(XG)+1),0.5),COLORRED);
VERTLINE(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),COLORRED);
VERTLINE(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),COLORGREEN);
DRAWSL(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),H),0,10000,0,COLORRED);
DRAWSL(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),L),0,10000,0,COLORGREEN);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DAYBARPOS:=BARSLAST(REF(HOUR,1)=15 AND HOUR<>15);D:=LLV(L,5)>REF(L,5)&&REF(L,5)<REF(L,6);
G:=HHV(H,5)<REF(H,5)&&REF(H,5)>REF(H,6);
XD:=CROSS(BACKSET(D,6),0.5);
XG:=CROSS(BACKSET(G,6),0.5);
VERTLINE(CROSS(BACKSET(ISLASTBAR,BARSLAST(XD)+1),0.5),COLORGREEN);
VERTLINE(CROSS(BACKSET(ISLASTBAR,BARSLAST(XG)+1),0.5),COLORRED);
VERTLINE(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),COLORRED);
VERTLINE(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),COLORGREEN);
DRAWSL(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,HHVBARS(H,DAYBARPOS)+1),0.5),H),0,10000,0),COLORRED;
DRAWSL(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,LLVBARS(L,DAYBARPOS)+1),0.5),L),0,10000,0),COLORGREEN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容