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

老师请吧指标改成博易的指标 谢谢 [博易POBO]

咨询内容:

老师请吧指标改成博易的指标 谢谢

SETEXPIREDATE('20190909');
N:=10;//10根K线,可以自行调整
NN:=BARSLAST(DATE<>REF(DATE,1))+1;
KH:=HHV(NN,300);
//VERTLINE(DATE<>REFX(DATE,1)&&ISLASTBAR<>1&&KH<>1,COLORBLUE);
N4:=IF(NN<=4,NN,4);
VK1:=IF(CLOSE>=OPEN,VOL,0);
VK2:=IF(CLOSE<=OPEN,VOL,0);
VDO:=SUM(VK1,N4);
VKO:=SUM(VK2,N4);
VDK:=VDO-VKO;
//STICKLINE(VDK>=0,VDK,0,COLORRED,0);
//STICKLINE(VDK<=0,VDK,0,COLORCYAN,0);
W:=MOD(NN,5);
J:=BACKSET(ISLASTBAR,5);

T1:=VDK>=0&&VDK>HV(VDK,N)&&VDK>REFX(HHV(VDK,N),N);
T2:=VDK<0&&VDK<LV(VDK,N)&&VDK<REFX(LLV(VDK,N),N);

//POLYLINE(T1||T2,VDK,COLORYELLOW);
//MA(VDK,44),COLORWHITE; 


AA:=IF(C=REF(C,1)&&OPI>REF(OPI,1),1,0);
BB:=IF(C=REF(C,1)&&OPI<REF(OPI,1),1,0);
DZ:=C>REF(C,1)&&OPI>REF(OPI,1) || AA;
KJ:=C>REF(C,1)&&OPI<REF(OPI,1) || BB;
KZ:=C<REF(C,1)&&OPI>REF(OPI,1);
DJ:=C<REF(C,1)&&OPI<REF(OPI,1);
//0,COLORWHITE;
KH1:=HHV(NN,300);
N44:=IF(NN<=4,NN,4);
VK11:=IF(KJ,V,0);
VK22:=IF(KZ,V,0);
VDO1:=SUM(VK11,N4);
VKO1:=SUM(VK22,N4);


VK3:=IF(DJ,V,0);
VK4:=IF(DZ,V,0);
A1:=SUM(VK3,N4);
A2:=SUM(VK4,N4);
VDK11:=VKO1-VDO1;
MA(VDK11,44),COLORGREEN;
VDK1:=A2-A1;
MA(VDK1,44),COLORWHITE;

 

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

博易技术人员: N:=10;//10根K线,可以自行调整
NN:=BARSLAST(DATE<>REF(DATE,1))+1;
KH:=HHV(NN,300);
//VERTLINE(DATE<>REFX(DATE,1)&&ISLASTBAR<>1&&KH<>1,COLORBLUE);
N4:=IF(NN<=4,NN,4);
VK1:=IF(CLOSE>=OPEN,VOL,0);
VK2:=IF(CLOSE<=OPEN,VOL,0);
VDO:=SUM(VK1,N4);
VKO:=SUM(VK2,N4);
VDK:=VDO-VKO;
//STICKLINE(VDK>=0,VDK,0,COLORRED,0);
//STICKLINE(VDK<=0,VDK,0,COLORCYAN,0);
W:=MOD(NN,5);
J:=BACKSET(ISLASTBAR,5);

T1:=VDK>=0&&VDK>=HHV(VDK,N)&&VDK>REFX(HHV(VDK,N),N);
T2:=VDK<0&&VDK<=LLV(VDK,N)&&VDK<REFX(LLV(VDK,N),N);

//POLYLINE(T1||T2,VDK,COLORYELLOW);
//MA(VDK,44),COLORWHITE; 

OPI:=AMOUNT;
AA:=IF(C=REF(C,1)&&OPI>REF(OPI,1),1,0);
BB:=IF(C=REF(C,1)&&OPI<REF(OPI,1),1,0);
DZ:=C>REF(C,1)&&OPI>REF(OPI,1) || AA;
KJ:=C>REF(C,1)&&OPI<REF(OPI,1) || BB;
KZ:=C<REF(C,1)&&OPI>REF(OPI,1);
DJ:=C<REF(C,1)&&OPI<REF(OPI,1);
//0,COLORWHITE;
KH1:=HHV(NN,300);
N44:=IF(NN<=4,NN,4);
VK11:=IF(KJ,V,0);
VK22:=IF(KZ,V,0);
VDO1:=SUM(VK11,N4);
VKO1:=SUM(VK22,N4);


VK3:=IF(DJ,V,0);
VK4:=IF(DZ,V,0);
A1:=SUM(VK3,N4);
A2:=SUM(VK4,N4);
VDK11:=VKO1-VDO1;
MA(VDK11,44),COLORGREEN;
VDK1:=A2-A1;
MA(VDK1,44),COLORWHITE; 抱歉老师 麻烦您在吧这个也翻译成博易的 谢谢您
N:=10;//10根K线,可以自行调整
NN:=BARSLAST(DATE<>REF(DATE,1))+1;
KH:=HHV(NN,300);
//VERTLINE(DATE<>REFX(DATE,1)&&ISLASTBAR<>1&&KH<>1,COLORBLUE);
N4:=IF(NN<=4,NN,4);
VK1:=IF(CLOSE>=OPEN,VOL,0);
VK2:=IF(CLOSE<=OPEN,VOL,0);
VDO:=SUM(VK1,N4);
VKO:=SUM(VK2,N4);
VDK:=VDO-VKO;
//STICKLINE(VDK>=0,VDK,0,COLORRED,0);
//STICKLINE(VDK<=0,VDK,0,COLORCYAN,0);
W:=MOD(NN,5);
J:=BACKSET(ISLASTBAR,5);

T1:=VDK>=0&&VDK>HV(VDK,N)&&VDK>REFX(HHV(VDK,N),N);
T2:=VDK<0&&VDK<LV(VDK,N)&&VDK<REFX(LLV(VDK,N),N);

//POLYLINE(T1||T2,VDK,COLORYELLOW);
//MA(VDK,44),COLORWHITE; 


AA:=IF(C=REF(C,1)&&SCALE*V>(1-SCALE)*V,1,0);
BB:=IF(C=REF(C,1)&&SCALE*V<(1-SCALE)*V,1,0);
DZ:=C>REF(C,1)&&SCALE*V>(1-SCALE)*V||AA;
KJ:=C>REF(C,1)&&SCALE*V<(1-SCALE)*V||BB;
KZ:=C<REF(C,1)&&SCALE*V>(1-SCALE)*V;
DJ:=C<REF(C,1)&&SCALE*V<(1-SCALE)*V;
//0;
KH1:=HHV(NN,300);
N44:=IF(NN<=4,NN,4);
VK11:=IF(KJ,V,0);
VK22:=IF(KZ,V,0);
VDO1:=SUM(VK11,N4);
VKO1:=SUM(VK22,N4);


VK3:=IF(DJ,V,0);
VK4:=IF(DZ,V,0);
A1:=SUM(VK3,N4);
A2:=SUM(VK4,N4);
VDK11:=VDO1-VKO1;
MA(VDK11,44),COLORGREEN; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容