老师您好,请您把如下程序编写到博易大师里面去,原来用在文华上面的。 [博易POBO]
咨询内容:
LL:=LLV(C,15);
HH1:=BARSLAST(HH > REF(HH,1));
LL1:=BARSLAST(LL < REF(LL,1));
STICKLINE((HH1 < LL1)&&(C>=O),CLOSE,OPEN,COLORRED,1);
STICKLINE((HH1 < LL1)&&(C<O),CLOSE,OPEN,COLORRED,0);
DRAWLINE((HH1 < LL1)&&(C<O),HIGH,(HH1 < LL1)&&(C<O),O,COLORRED);
DRAWLINE((HH1 < LL1)&&(C<O),L,(HH1 < LL1)&&(C<O),C,COLORRED);
DRAWLINE((HH1 < LL1)&&(C>=O),HIGH,(HH1 < LL1)&&(C>=O),C,COLORRED);
DRAWLINE((HH1 < LL1)&&(C>=O),L,(HH1< LL1)&&(C>=O),O,COLORRED);
STICKLINE((HH1 > LL1)&&(C<O),CLOSE,OPEN,COLORGREEN,0);
STICKLINE((HH1 > LL1)&&(C>=O),CLOSE,OPEN,COLORGREEN,1);
DRAWLINE((HH1 > LL1)&&(C<O),HIGH,(HH1 > LL1)&&(C<O),O,COLORGREEN);
DRAWLINE((HH1 > LL1)&&(C<O),L,(HH1 > LL1)&&(C<O),C,COLORGREEN);
DRAWLINE((HH1 > LL1)&&(C>=O),HIGH,(HH1 > LL1)&&(C>=O),C,COLORGREEN);
DRAWLINE((HH1 > LL1)&&(C>=O),L,(HH1 > LL1)&&(C>=O),O,COLORGREEN);
DRAWTEXT(CROSS(HH1,LL1),HH,'开空'),COLORGREEN;
DRAWNUMBER(CROSS(HH1,LL1),REF(LL,1),REF(LL,1),IFELSE(C>2000,0,IFELSE(C>500,1,IFELSE(C>5,2,4))),COLORLIGHTGREY);
DRAWTEXT(CROSS(LL1,HH1),LL,'开多');
DRAWNUMBER(CROSS(LL1,HH1),REF(HH,1),REF(HH,1),IFELSE(C>2000,0,IFELSE(C>500,1,IFELSE(C>5,2,4))),COLORLIGHTGREY);
T:=IFELSE(HH1>LL1,1,-1);
G:=IFELSE(HH1>LL1,HH,LL);
DRAWLINE(T=1&&REF(T,1)=1,G,T=1&&REF(T,1)=1,REF(G,1),COLORCYAN);
DRAWLINE(T=-1&&REF(T,1)=-1,G,T=-1&&REF(T,1)=-1,REF(G,1),COLORMAGENTA);
DRAWSL(T=1,G,0,1,0,COLORCYAN),LINETHICK2;
DRAWSL(T=-1,G,0,1,0,COLORMAGENTA),LINETHICK2;
G1:=VALUEWHEN(ISLASTBAR,G);
DRAWNUMBER(LOW>0,G1,G1,IFELSE(C>2000,0,IFELSE(C>500,1,IFELSE(C>5,2,4))),COLORYELLOW);
老师您好,请您把如下程序编写到博易大师里面去,原来用在文华上面的。
HH:=HHV(C,15);LL:=LLV(C,15);
HH1:=BARSLAST(HH > REF(HH,1));
LL1:=BARSLAST(LL < REF(LL,1));
STICKLINE((HH1 < LL1)&&(C>=O),CLOSE,OPEN,COLORRED,1);
STICKLINE((HH1 < LL1)&&(C<O),CLOSE,OPEN,COLORRED,0);
DRAWLINE((HH1 < LL1)&&(C<O),HIGH,(HH1 < LL1)&&(C<O),O,COLORRED);
DRAWLINE((HH1 < LL1)&&(C<O),L,(HH1 < LL1)&&(C<O),C,COLORRED);
DRAWLINE((HH1 < LL1)&&(C>=O),HIGH,(HH1 < LL1)&&(C>=O),C,COLORRED);
DRAWLINE((HH1 < LL1)&&(C>=O),L,(HH1< LL1)&&(C>=O),O,COLORRED);
STICKLINE((HH1 > LL1)&&(C<O),CLOSE,OPEN,COLORGREEN,0);
STICKLINE((HH1 > LL1)&&(C>=O),CLOSE,OPEN,COLORGREEN,1);
DRAWLINE((HH1 > LL1)&&(C<O),HIGH,(HH1 > LL1)&&(C<O),O,COLORGREEN);
DRAWLINE((HH1 > LL1)&&(C<O),L,(HH1 > LL1)&&(C<O),C,COLORGREEN);
DRAWLINE((HH1 > LL1)&&(C>=O),HIGH,(HH1 > LL1)&&(C>=O),C,COLORGREEN);
DRAWLINE((HH1 > LL1)&&(C>=O),L,(HH1 > LL1)&&(C>=O),O,COLORGREEN);
DRAWTEXT(CROSS(HH1,LL1),HH,'开空'),COLORGREEN;
DRAWNUMBER(CROSS(HH1,LL1),REF(LL,1),REF(LL,1),IFELSE(C>2000,0,IFELSE(C>500,1,IFELSE(C>5,2,4))),COLORLIGHTGREY);
DRAWTEXT(CROSS(LL1,HH1),LL,'开多');
DRAWNUMBER(CROSS(LL1,HH1),REF(HH,1),REF(HH,1),IFELSE(C>2000,0,IFELSE(C>500,1,IFELSE(C>5,2,4))),COLORLIGHTGREY);
T:=IFELSE(HH1>LL1,1,-1);
G:=IFELSE(HH1>LL1,HH,LL);
DRAWLINE(T=1&&REF(T,1)=1,G,T=1&&REF(T,1)=1,REF(G,1),COLORCYAN);
DRAWLINE(T=-1&&REF(T,1)=-1,G,T=-1&&REF(T,1)=-1,REF(G,1),COLORMAGENTA);
DRAWSL(T=1,G,0,1,0,COLORCYAN),LINETHICK2;
DRAWSL(T=-1,G,0,1,0,COLORMAGENTA),LINETHICK2;
G1:=VALUEWHEN(ISLASTBAR,G);
DRAWNUMBER(LOW>0,G1,G1,IFELSE(C>2000,0,IFELSE(C>500,1,IFELSE(C>5,2,4))),COLORYELLOW);
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容