您现在的位置:程序化交易>> 期货公式>> 博易大师>> 博易大师知识>>正文内容

老师能否将文华改为博易大师的吗? [博易POBO]

咨询内容:

老师能否将文华改为博易大师的吗?

HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/30,COLORBLUE,LINETHICK1;
LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/30,COLORBLUE,LINETHICK1;
D90H:=EMA(HH,30),COLORRED,LINETHICK1;
D90L:=EMA(LL,30),COLORRED,LINETHICK1;
DGH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
DDL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
D90C:=D90H-D90L;
D90D:=D90H+D90C*2,COLORRED,LINETHICK1;
D90T:=D90L-D90C*2,COLORRED,LINETHICK1;
G0:=(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1+REFX1(MA(REFX1(MA(H,25),25/2),25),25/2),LINETHICK1,COLORWHITE;
D0:=REFX1(MA(REFX1(MA(L,25),25/2),25),25/2)-(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1,LINETHICK1,COLORWHITE;
DTD:=D0>=D90T AND G0>=D90D;
KTD:=G0<=D90D AND D0<=D90T;
ZDD:=D0>=D90T AND G0<=D90D;

ZK1:(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1+REFX1(MA(REFX1(MA(H,25),25/2),25),25/2),DOT,COLORBLACK;
ZD1:REFX1(MA(REFX1(MA(L,25),25/2),25),25/2)-(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1,DOT,COLORBLACK;
BS:(REFX1(MA(REFX1(MA(H,30),30/2),30),30/2)-REFX1(MA(REFX1(MA(L,30),30/2),30),30/2))*2.2+REFX1(MA(REFX1(MA(H,30),30/2),30),30/2),DOT,COLORRED;
SS:=REFX1(MA(REFX1(MA(L,25),25/2),25),25/2)-(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1.5,DOT,COLORMAGENTA;
BD:REFX1(MA(REFX1(MA(L,30),30/2),30),30/2)-(REFX1(MA(REFX1(MA(H,30),30/2),30),30/2)-REFX1(MA(REFX1(MA(L,30),30/2),30),30/2))*2.8,DOT,COLORMAGENTA;
ZZ:=(ZK1+ZD1)/2,DOT,COLORYELLOW;
多头多定位:=CROSS(ZD1,L) AND DTD=1;
多头平定位:=CROSS(H,ZK1) AND DTD=1 AND ZDD=0;
空头空定位:=CROSS(H,ZK1) AND KTD=1;
空头平定位:=CROSS(ZD1,L) AND KTD=1 AND ZDD=0;
震荡多定位:=CROSS(ZD1,L) AND ZDD=1;
震荡空定位:=CROSS(H,ZK1) AND ZDD=1;

//DRAWICON(空头平定位=1,L,'ICO116');
//DRAWICON(多头平定位=1,H,'ICO117');
//DRAWICON(多头多定位=1 OR 震荡多定位=1,L,'ICO134');
//DRAWICON(空头空定位=1 OR 震荡空定位=1,H,'ICO135');

 VAR01:=1;
VAR05:=LLV(LOW,30);
VAR06:=HHV(HIGH,30);
VAR07:=(VAR06-VAR05)/100;
VAR08:=SMA((CLOSE-VAR05)/VAR07,20,1);
VARA:=3*VAR08-2*SMA(VAR08,15,1);
主力中线筹码:=(100-VARA)*VAR01;
中线筹码:=(REVERSE(主力中线筹码)+100);
筹码:=EMA(中线筹码,2);
VAR1G:=EMA(EMA(CLOSE,9),9);
主力控盘:=(VAR1G-REF(VAR1G,1))/REF(VAR1G,1)*100;
A10:=CROSS(主力控盘,10);
手指:=A30 AND 筹码<(20);
//DRAWICON(手指,L,16);

主趋势线A:EMA(EMA(C,1),1),COLORRED,LINETHICK3;
BA:=主趋势线A>REF(主趋势线A,1);
IF(BA-1,主趋势线A,NULL),COLORBLUE,LINETHICK3;
AAJ:=EMA(C,5) > EMA(C,20);
BBJ:=EMA(C,5) < EMA(C,20);
CCJ:= EMA(C,5) > EMA(C,10);
CC1J:=EMA(C,5) < EMA(C,10);
DDJ:=CLOSE<OPEN;

 

 来源:程序化99网( WWW.CXH99.COM )

博易技术人员: HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/30,COLORBLUE,LINETHICK1;
LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/30,COLORBLUE,LINETHICK1;
D90H:=EMA(HH,30),COLORRED,LINETHICK1;
D90L:=EMA(LL,30),COLORRED,LINETHICK1;
DGH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
DDL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
D90C:=D90H-D90L;
D90D:=D90H+D90C*2,COLORRED,LINETHICK1;
D90T:=D90L-D90C*2,COLORRED,LINETHICK1;
G0:=(REFX(MA(REFX(MA(H,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1)-REFX(MA(REFX(MA(L,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1))*1+REFX(MA(REFX(MA(H,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1),LINETHICK1,COLORWHITE;
D0:=REFX(MA(REFX(MA(L,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1)-(REFX(MA(REFX(MA(H,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1)-REFX(MA(REFX(MA(L,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1))*1,LINETHICK1,COLORWHITE;
DTD:=D0>=D90T AND G0>=D90D;
KTD:=G0<=D90D AND D0<=D90T;
ZDD:=D0>=D90T AND G0<=D90D;

ZK1:(REFX(MA(REFX(MA(H,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1)-REFX(MA(REFX(MA(L,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1))*1+REFX(MA(REFX(MA(H,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1),POINTDOT,COLORBLACK;
ZD1:REFX(MA(REFX(MA(L,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1)-(REFX(MA(REFX(MA(H,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1)-REFX(MA(REFX(MA(L,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1))*1,POINTDOT,COLORBLACK;
BS:(REFX(MA(REFX(MA(H,30),30/2),30),30/2)-REFX(MA(REFX(MA(L,30),30/2),30),30/2))*2.2+REFX(MA(REFX(MA(H,30),30/2),30),30/2),POINTDOT,COLORRED;
SS:=REFX(MA(REFX(MA(L,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1)-(REFX(MA(REFX(MA(H,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1)-REFX(MA(REFX(MA(L,25),DATACOUNT-BARPOS-1),25),DATACOUNT-BARPOS-1))*1.5,POINTDOT,COLORMAGENTA;
BD:REFX(MA(REFX(MA(L,30),30/2),30),30/2)-(REFX(MA(REFX(MA(H,30),30/2),30),30/2)-REFX(MA(REFX(MA(L,30),30/2),30),30/2))*2.8,POINTDOT,COLORMAGENTA;
ZZ:=(ZK1+ZD1)/2,POINTDOT,COLORYELLOW;
多头多定位:=CROSS(ZD1,L) AND DTD=1;
多头平定位:=CROSS(H,ZK1) AND DTD=1 AND ZDD=0;
空头空定位:=CROSS(H,ZK1) AND KTD=1;
空头平定位:=CROSS(ZD1,L) AND KTD=1 AND ZDD=0;
震荡多定位:=CROSS(ZD1,L) AND ZDD=1;
震荡空定位:=CROSS(H,ZK1) AND ZDD=1;

//DRAWICON(空头平定位=1,L,'ICO116');
//DRAWICON(多头平定位=1,H,'ICO117');
//DRAWICON(多头多定位=1 OR 震荡多定位=1,L,'ICO134');
//DRAWICON(空头空定位=1 OR 震荡空定位=1,H,'ICO135');

 VAR01:=1;
VAR05:=LLV(LOW,30);
VAR06:=HHV(HIGH,30);
VAR07:=(VAR06-VAR05)/100;
VAR08:=SMA((CLOSE-VAR05)/VAR07,20,1);
VARA:=3*VAR08-2*SMA(VAR08,15,1);
主力中线筹码:=(100-VARA)*VAR01;
中线筹码:=(REVERSE(主力中线筹码)+100);
筹码:=EMA(中线筹码,2);
VAR1G:=EMA(EMA(CLOSE,9),9);
主力控盘:=(VAR1G-REF(VAR1G,1))/REF(VAR1G,1)*100;
A10:=CROSS(主力控盘,10);
手指:=筹码<(20);
//DRAWICON(手指,L,16);

主趋势线A:EMA(EMA(C,1),1),COLORRED,LINETHICK3;
BA:=主趋势线A>REF(主趋势线A,1);
IF(BA-1,主趋势线A,DRAWNULL),COLORBLUE,LINETHICK3;
AAJ:=EMA(C,5) > EMA(C,20);
BBJ:=EMA(C,5) < EMA(C,20);
CCJ:= EMA(C,5) > EMA(C,10);
CC1J:=EMA(C,5) < EMA(C,10);
DDJ:=CLOSE<OPEN; 老师,现在能通过了,但是看不了
来源 程序化久久网

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容