辛苦老师将文华指标修改成博易用,谢谢! [博易POBO]
咨询内容:
次高:=16;
低点:=8;
次低:=4;
GD:=REFX1(HHV(H,高点*10),10000);
DD:=REFX1(LLV(L,次低*10),10000);
GT:=REFX1(BARSLAST(GD=H),10000)+1;
DT:=REFX1(BARSLAST(DD=L),10000)+1;
SH:=REFX1(IF(GT=1,H,REF(H,GT-1)),9999);
SL:=REFX1(IF(DT=1,L,REF(L,DT-1)),9999);
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
VERTLINE(CURRBARSCOUNT=DT,COLORF00FF0);
VERTLINE(CURRBARSCOUNT=GT,COLORBLUE);
GD1:=REFX1(HHV(H,次高*10),10000);
DD1:=REFX1(LLV(L,低点*10),10000);
GT1:=REFX1(BARSLAST(GD1=H),10000)+1;
DT1:=REFX1(BARSLAST(DD1=L),10000)+1;
VERTLINE(CURRBARSCOUNT=DT1,COLORYELLOW);
VERTLINE(CURRBARSCOUNT=GT1,COLORGREEN);
GD2:=REFX1(HHV(H,次高/4*3*10),10000);
DD2:=REFX1(LLV(L,低点/8*1*10),10000);
GT2:=REFX1(BARSLAST(GD2=H),10000)+1;
DT2:=REFX1(BARSLAST(DD2=L),10000)+1;
VERTLINE(CURRBARSCOUNT=DT2,COLORRED);
VERTLINE(CURRBARSCOUNT=GT2,COLORWHITE);
次高:=16;
低点:=8;
次低:=4;
GD:=REFX(HHV(H,高点*10),DATACOUNT-BARPOS-1);
DD:=REFX(LLV(L,次低*10),DATACOUNT-BARPOS-1);
GT:=REFX(BARSLAST(GD=H),DATACOUNT-BARPOS-1)+1;
DT:=REFX(BARSLAST(DD=L),DATACOUNT-BARPOS-1)+1;
SH:=REFX(IF(GT=1,H,REF(H,GT-1)),DATACOUNT-BARPOS-1);
SL:=REFX(IF(DT=1,L,REF(L,DT-1)),DATACOUNT-BARPOS-1);
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
VERTLINE(CURRBARSCOUNT=DT,COLORF00FF0);
VERTLINE(CURRBARSCOUNT=GT,COLORBLUE);
GD1:=REFX(HHV(H,次高*10),DATACOUNT-BARPOS-1);
DD1:=REFX(LLV(L,低点*10),DATACOUNT-BARPOS-1);
GT1:=REFX(BARSLAST(GD1=H),DATACOUNT-BARPOS-1)+1;
DT1:=REFX(BARSLAST(DD1=L),DATACOUNT-BARPOS-1)+1;
VERTLINE(CURRBARSCOUNT=DT1,1),COLORYELLOW;
VERTLINE(CURRBARSCOUNT=GT1,1),COLORGREEN;
GD2:=REFX(HHV(H,次高/4*3*10),DATACOUNT-BARPOS-1);
DD2:=REFX(LLV(L,低点/8*1*10),DATACOUNT-BARPOS-1);
GT2:=REFX(BARSLAST(GD2=H),DATACOUNT-BARPOS-1)+1;
DT2:=REFX(BARSLAST(DD2=L),DATACOUNT-BARPOS-1)+1;
VERTLINE(CURRBARSCOUNT=DT2,COLORRED);
VERTLINE(CURRBARSCOUNT=GT2,COLORWHITE); 来源 程序化久久网
辛苦老师将文华指标修改成博易用,谢谢!
高点:=20;次高:=16;
低点:=8;
次低:=4;
GD:=REFX1(HHV(H,高点*10),10000);
DD:=REFX1(LLV(L,次低*10),10000);
GT:=REFX1(BARSLAST(GD=H),10000)+1;
DT:=REFX1(BARSLAST(DD=L),10000)+1;
SH:=REFX1(IF(GT=1,H,REF(H,GT-1)),9999);
SL:=REFX1(IF(DT=1,L,REF(L,DT-1)),9999);
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
VERTLINE(CURRBARSCOUNT=DT,COLORF00FF0);
VERTLINE(CURRBARSCOUNT=GT,COLORBLUE);
GD1:=REFX1(HHV(H,次高*10),10000);
DD1:=REFX1(LLV(L,低点*10),10000);
GT1:=REFX1(BARSLAST(GD1=H),10000)+1;
DT1:=REFX1(BARSLAST(DD1=L),10000)+1;
VERTLINE(CURRBARSCOUNT=DT1,COLORYELLOW);
VERTLINE(CURRBARSCOUNT=GT1,COLORGREEN);
GD2:=REFX1(HHV(H,次高/4*3*10),10000);
DD2:=REFX1(LLV(L,低点/8*1*10),10000);
GT2:=REFX1(BARSLAST(GD2=H),10000)+1;
DT2:=REFX1(BARSLAST(DD2=L),10000)+1;
VERTLINE(CURRBARSCOUNT=DT2,COLORRED);
VERTLINE(CURRBARSCOUNT=GT2,COLORWHITE);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 高点:=20;次高:=16;
低点:=8;
次低:=4;
GD:=REFX(HHV(H,高点*10),DATACOUNT-BARPOS-1);
DD:=REFX(LLV(L,次低*10),DATACOUNT-BARPOS-1);
GT:=REFX(BARSLAST(GD=H),DATACOUNT-BARPOS-1)+1;
DT:=REFX(BARSLAST(DD=L),DATACOUNT-BARPOS-1)+1;
SH:=REFX(IF(GT=1,H,REF(H,GT-1)),DATACOUNT-BARPOS-1);
SL:=REFX(IF(DT=1,L,REF(L,DT-1)),DATACOUNT-BARPOS-1);
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
VERTLINE(CURRBARSCOUNT=DT,COLORF00FF0);
VERTLINE(CURRBARSCOUNT=GT,COLORBLUE);
GD1:=REFX(HHV(H,次高*10),DATACOUNT-BARPOS-1);
DD1:=REFX(LLV(L,低点*10),DATACOUNT-BARPOS-1);
GT1:=REFX(BARSLAST(GD1=H),DATACOUNT-BARPOS-1)+1;
DT1:=REFX(BARSLAST(DD1=L),DATACOUNT-BARPOS-1)+1;
VERTLINE(CURRBARSCOUNT=DT1,1),COLORYELLOW;
VERTLINE(CURRBARSCOUNT=GT1,1),COLORGREEN;
GD2:=REFX(HHV(H,次高/4*3*10),DATACOUNT-BARPOS-1);
DD2:=REFX(LLV(L,低点/8*1*10),DATACOUNT-BARPOS-1);
GT2:=REFX(BARSLAST(GD2=H),DATACOUNT-BARPOS-1)+1;
DT2:=REFX(BARSLAST(DD2=L),DATACOUNT-BARPOS-1)+1;
VERTLINE(CURRBARSCOUNT=DT2,COLORRED);
VERTLINE(CURRBARSCOUNT=GT2,COLORWHITE); 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容