老师好!请问这个指标能够改为博弈大师指标吗? [博易POBO]
咨询内容:
N:=BARSLAST(TIME=0915)+1;
DRAWSL(IF(TIME>=0915&&TIME<=1615,1,0)&&ISLASTBAR||TIME=1615,HHV(H,N),0,-N+1,0,COLORRED);
DRAWSL(IF(TIME>=0915&&TIME<=1615,1,0)&&ISLASTBAR||TIME=1615,LLV(L,N),0,-N+1,0,COLORRED);
DRAWNUMBER(IF(TIME>=0915&&TIME<=1615,1,0)||TIME=1615,HHV(H,N),HHV(H,N)-LLV(L,N),2,COLORYELLOW);
N:BARSLAST(DATE<>REF(DATE,1))+1,NODRAW;
HH:=HHV(H,N);
LL:=LLV(L,N);
M1:HHVBARS(H,N),NODRAW;
M2:LLVBARS(L,N),NODRAW;
S:BACKSET(H=HH,N),NODRAW;
S1:=BARSLAST(CROSS(S,0.5));
Q:BACKSET(L=LL,N),NODRAW;
Q1:=BARSLAST(CROSS(Q,0.5));
DRAWLINE(REFX(N<REF(N,1),1),HH,1,LL,RGB(128,128,64));
DRAWSL(REFX(N<REF(N,1),1)||ISLASTBAR,HH,0,-N+1,0,RGB(128,128,64));
DRAWSL(REFX(N<REF(N,1),1)||ISLASTBAR,LL,0,-N+1,0,RGB(128,128,64));
DRAWLINE3(H=HH&&M1<M2,HH,S1,1,LL,S1,0),RGB(128,128,64);
DRAWLINE3(L=LL&&M1>M2,HH,Q1,1,LL,Q1,0),RGB(128,128,64);
DRAWNUMBER(1,HH,HH-LL,2,COLORYELLOW);
DRAWSL(IF(TIME>=91500&&TIME<=161500,1,0)&&ISLASTBAR||TIME=161500,HHV(H,N),0,-N+1,0),COLORRED;
DRAWSL(IF(TIME>=91500&&TIME<=161500,1,0)&&ISLASTBAR||TIME=161500,LLV(L,N),0,-N+1,0),COLORRED;
DRAWNUMBER(ISLASTBAR,HHV(H,N),HHV(H,N)-LLV(L,N),2),COLORYELLOW;
N:BARSLAST(DATE<>REF(DATE,1))+1,NODRAW;
HH:=HHV(H,N);
LL:=LLV(L,N);
M1:HHVBARS(H,N),NODRAW;
M2:LLVBARS(L,N),NODRAW;
S:BACKSET(H=HH,N),NODRAW;
S1:=BARSLAST(CROSS(S,0.5));
Q:BACKSET(L=LL,N),NODRAW;
Q1:=BARSLAST(CROSS(Q,0.5));
DRAWLINE(REFX(N<REF(N,1),1),HH,1,LL,0),COLOR408080;
DRAWSL(REFX(N<REF(N,1),1)||ISLASTBAR,HH,0,-N+1,0),COLOR408080;
DRAWSL(REFX(N<REF(N,1),1)||ISLASTBAR,LL,0,-N+1,0),COLOR408080;
DRAWNUMBER(1,HH,HH-LL,0),COLORYELLOW;
上面是两个不同的公式。
来源 程序化久久网
老师好!请问这个指标能够改为博弈大师指标吗?
N:=BARSLAST(TIME=0915)+1;
DRAWSL(IF(TIME>=0915&&TIME<=1615,1,0)&&ISLASTBAR||TIME=1615,HHV(H,N),0,-N+1,0,COLORRED);
DRAWSL(IF(TIME>=0915&&TIME<=1615,1,0)&&ISLASTBAR||TIME=1615,LLV(L,N),0,-N+1,0,COLORRED);
DRAWNUMBER(IF(TIME>=0915&&TIME<=1615,1,0)||TIME=1615,HHV(H,N),HHV(H,N)-LLV(L,N),2,COLORYELLOW);
N:BARSLAST(DATE<>REF(DATE,1))+1,NODRAW;
HH:=HHV(H,N);
LL:=LLV(L,N);
M1:HHVBARS(H,N),NODRAW;
M2:LLVBARS(L,N),NODRAW;
S:BACKSET(H=HH,N),NODRAW;
S1:=BARSLAST(CROSS(S,0.5));
Q:BACKSET(L=LL,N),NODRAW;
Q1:=BARSLAST(CROSS(Q,0.5));
DRAWLINE(REFX(N<REF(N,1),1),HH,1,LL,RGB(128,128,64));
DRAWSL(REFX(N<REF(N,1),1)||ISLASTBAR,HH,0,-N+1,0,RGB(128,128,64));
DRAWSL(REFX(N<REF(N,1),1)||ISLASTBAR,LL,0,-N+1,0,RGB(128,128,64));
DRAWLINE3(H=HH&&M1<M2,HH,S1,1,LL,S1,0),RGB(128,128,64);
DRAWLINE3(L=LL&&M1>M2,HH,Q1,1,LL,Q1,0),RGB(128,128,64);
DRAWNUMBER(1,HH,HH-LL,2,COLORYELLOW);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: N:=BARSLAST(TIME=91500)+1;DRAWSL(IF(TIME>=91500&&TIME<=161500,1,0)&&ISLASTBAR||TIME=161500,HHV(H,N),0,-N+1,0),COLORRED;
DRAWSL(IF(TIME>=91500&&TIME<=161500,1,0)&&ISLASTBAR||TIME=161500,LLV(L,N),0,-N+1,0),COLORRED;
DRAWNUMBER(ISLASTBAR,HHV(H,N),HHV(H,N)-LLV(L,N),2),COLORYELLOW;
N:BARSLAST(DATE<>REF(DATE,1))+1,NODRAW;
HH:=HHV(H,N);
LL:=LLV(L,N);
M1:HHVBARS(H,N),NODRAW;
M2:LLVBARS(L,N),NODRAW;
S:BACKSET(H=HH,N),NODRAW;
S1:=BARSLAST(CROSS(S,0.5));
Q:BACKSET(L=LL,N),NODRAW;
Q1:=BARSLAST(CROSS(Q,0.5));
DRAWLINE(REFX(N<REF(N,1),1),HH,1,LL,0),COLOR408080;
DRAWSL(REFX(N<REF(N,1),1)||ISLASTBAR,HH,0,-N+1,0),COLOR408080;
DRAWSL(REFX(N<REF(N,1),1)||ISLASTBAR,LL,0,-N+1,0),COLOR408080;
DRAWNUMBER(1,HH,HH-LL,0),COLORYELLOW;
上面是两个不同的公式。
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容