请老师改成博弈指标 [博易POBO]
咨询内容:
TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2;
BOTTOM:MID-2*TMP2;
N:=BARSLAST(CROSSDOWN(L,BOTTOM))+1;
M:=BARSLAST(CROSS(H,TOP))+1;
LL:=IF(L<BOTTOM,L,100000);
HH:=IF(H>TOP,H,0);
LX:=BACKSET(M=1&&REF(EXIST(N=1,M),1),REF(LLVBARS(LL,M),1)+2);
HX:=BACKSET(N=1&&REF(EXIST(M=1,N),1),REF(HHVBARS(HH,N),1)+2);
DRAWLINE1(CROSS(LX=1,0.5),L,CROSS(HX=1,0.5),H,0),LINETHICK3,COLORRED;
DRAWLINE1(CROSS(HX=1,0.5),H,CROSS(LX=1,0.5),L,0),LINETHICK3,COLORGREEN;
TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2;
BOTTOM:MID-2*TMP2;
N:=BARSLAST(CROSS(BOTTOM,L))+1;
M:=BARSLAST(CROSS(H,TOP))+1;
LL:=IF(L<BOTTOM,L,100000);
HH:=IF(H>TOP,H,0);
LX:=BACKSET(M=1&&REF(COUNT(N=1,M),1),REF(LLVBARS(LL,M),1)+2);
HX:=BACKSET(N=1&&REF(COUNT(M=1,N),1),REF(HHVBARS(HH,N),1)+2);
DRAWLINE(CROSS(LX=1,0.5),L,CROSS(HX=1,0.5),H,0),LINETHICK3,COLORRED;
DRAWLINE(CROSS(HX=1,0.5),H,CROSS(LX=1,0.5),L,0),LINETHICK3,COLORGREEN; 来源 程序化久久网
请老师改成博弈指标
MID:MA(CLOSE,26);TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2;
BOTTOM:MID-2*TMP2;
N:=BARSLAST(CROSSDOWN(L,BOTTOM))+1;
M:=BARSLAST(CROSS(H,TOP))+1;
LL:=IF(L<BOTTOM,L,100000);
HH:=IF(H>TOP,H,0);
LX:=BACKSET(M=1&&REF(EXIST(N=1,M),1),REF(LLVBARS(LL,M),1)+2);
HX:=BACKSET(N=1&&REF(EXIST(M=1,N),1),REF(HHVBARS(HH,N),1)+2);
DRAWLINE1(CROSS(LX=1,0.5),L,CROSS(HX=1,0.5),H,0),LINETHICK3,COLORRED;
DRAWLINE1(CROSS(HX=1,0.5),H,CROSS(LX=1,0.5),L,0),LINETHICK3,COLORGREEN;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: MID:MA(CLOSE,26);TMP2:=STD(CLOSE,26);
TOP:MID+2*TMP2;
BOTTOM:MID-2*TMP2;
N:=BARSLAST(CROSS(BOTTOM,L))+1;
M:=BARSLAST(CROSS(H,TOP))+1;
LL:=IF(L<BOTTOM,L,100000);
HH:=IF(H>TOP,H,0);
LX:=BACKSET(M=1&&REF(COUNT(N=1,M),1),REF(LLVBARS(LL,M),1)+2);
HX:=BACKSET(N=1&&REF(COUNT(M=1,N),1),REF(HHVBARS(HH,N),1)+2);
DRAWLINE(CROSS(LX=1,0.5),L,CROSS(HX=1,0.5),H,0),LINETHICK3,COLORRED;
DRAWLINE(CROSS(HX=1,0.5),H,CROSS(LX=1,0.5),L,0),LINETHICK3,COLORGREEN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容