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

请老师改成博弈指标 [博易POBO]

咨询内容:

请老师改成博弈指标

HIGHN:=120;
A1:=REF(C,HIGHN)=HHV(C,2*HIGHN+1);
QY:=BACKSET(A1,HIGHN+1);
A2:=FILTER(QY,HIGHN) AND C=HHV(C,HIGHN+1);
A3:=BARSLAST(A2);
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
GDTS:=IF(A2,CURRBARSCOUNT,0);
DINGBUTS:=IF(A3,REF(GDTS,A3),GDTS);
GDCS1:=REFX1(DINGBUTS,1000);
DRAWSL(CURRBARSCOUNT=GDCS1,C,0,-9999,0,COLORCYAN),LINETHICK3;
DRAWSL(CURRBARSCOUNT=GDCS1,C,0,9999,0,COLORCYAN),LINETHICK3;

LOWN:=20;
1A1:=REF(C,LOWN)=LLV(C,2*LOWN+1);
1QY:=BACKSET(1A1,LOWN+1);
1A2:=FILTER(1QY,LOWN) AND C=LLV(C,LOWN+1);
1A3:=BARSLAST(1A2);
1GDTS:=IF(1A2,CURRBARSCOUNT,0);
1DINGBUTS:=IF(1A3,REF(1GDTS,1A3),1GDTS);
1GDCS1:=REFX1(1DINGBUTS,1000);
DRAWSL(CURRBARSCOUNT=1GDCS1,C,0,-9999,0,COLORRED),LINETHICK3;
DRAWSL(CURRBARSCOUNT=1GDCS1,C,0,9999,0,COLORRED),LINETHICK3;

 

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

博易技术人员: HIGHN:=120;
A1:=REF(C,HIGHN)=HHV(C,2*HIGHN+1);
QY:=BACKSET(A1,HIGHN+1);
A2:=FILTER(QY,HIGHN) AND C=HHV(C,HIGHN+1);
A3:=BARSLAST(A2);
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
GDTS:=IF(A2,CURRBARSCOUNT,0);
DINGBUTS:=IF(A3,REF(GDTS,A3),GDTS);
GDCS1:=REFX(DINGBUTS,DATACOUNT-BARPOS-1);
DRAWSL(CURRBARSCOUNT=GDCS1,C,0,-9999,0),COLORCYAN,LINETHICK3;
DRAWSL(CURRBARSCOUNT=GDCS1,C,0,9999,0),COLORCYAN,LINETHICK3;

LOWN:=20;
A1A1:=REF(C,LOWN)=LLV(C,2*LOWN+1);
A1QY:=BACKSET(A1A1,LOWN+1);
A1A2:=FILTER(A1QY,LOWN) AND C=LLV(C,LOWN+1);
A1A3:=BARSLAST(A1A2);
A1GDTS:=IF(A1A2,CURRBARSCOUNT,0);
A1DINGBUTS:=IF(A1A3,REF(A1GDTS,A1A3),A1GDTS);
A1GDCS1:=REFX(A1DINGBUTS,DATACOUNT-BARPOS-1);
DRAWSL(CURRBARSCOUNT=A1GDCS1,C,0,-9999,0),COLORRED,LINETHICK3;
DRAWSL(CURRBARSCOUNT=A1GDCS1,C,0,9999,0),COLORRED,LINETHICK3; 谢谢老师,这两条线能改成整根线吗 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容