请老师帮忙修改 [博易POBO]
咨询内容:
LR:=6;
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
TC1:=IF(H=HHV(H,8*UR),H,NULL);
TC2:=REFX1(BARSLAST(TC1=H),10000)+1;
UP:=REFX1(IF(TC2=1,H,REF(H,TC2-1)),10000);
BC1:=IF(L=LLV(L,8*LR),L,NULL);
BC2:=REFX1(BARSLAST(BC1=L),10000)+1;
LL1:IF(REFX1(BARSLAST(H=HHV(H,8*UR))<BARSLAST(L=LLV(L,8*UR)),10000),REFX1(IF(BC2=1,L,REF(L,BC2-1)),10000),NULL),COLORCYAN,LINETHICK5;
LL:IF(REFX1(BARSLAST(H=HHV(H,8*UR))>BARSLAST(L=LLV(L,8*UR)),10000),REFX1(IF(BC2=1,L,REF(L,BC2-1)),10000),NULL),COLORCYAN,DOT;
TC11:=IF(L=LLV(L,8*UR),L,NULL);
TC21:=REFX1(BARSLAST(TC11=L),10000)+1;
UP1:=REFX1(IF(TC21=1,L,REF(L,TC21-1)),10000);
BC11:=IF(H=HHV(H,8*LR),H,NULL);
BC21:=REFX1(BARSLAST(BC11=H),10000)+1;
HH1:IF(REFX1(BARSLAST(H=HHV(H,8*UR))>BARSLAST(L=LLV(L,8*UR)),10000) , REFX1(IF(BC21=1,H,REF(H,BC21-1)),10000),NULL),COLORRED,LINETHICK5;
HH:IF(REFX1(BARSLAST(H=HHV(H,8*UR))<BARSLAST(L=LLV(L,8*UR)),10000) , REFX1(IF(BC21=1,H,REF(H,BC21-1)),10000),NULL),COLORRED,DOT;
LR:=6;
CURRBARSCOUNT:=REFX(BARPOS,DATACOUNT-BARPOS-1)-BARPOS+1;
TC1:=IF(H=HHV(H,8*UR),H,DRAWNULL);
TC2:=REFX(BARSLAST(TC1=H),DATACOUNT-BARPOS-1)+1;
UP:=REFX(IF(TC2=1,H,REF(H,TC2-1)),DATACOUNT-BARPOS-1);
BC1:=IF(L=LLV(L,8*LR),L,DRAWNULL);
BC2:=REFX(BARSLAST(BC1=L),DATACOUNT-BARPOS-1)+1;
LL1:IF(REFX(BARSLAST(H=HHV(H,8*UR))<BARSLAST(L=LLV(L,8*UR)),DATACOUNT-BARPOS-1),REFX(IF(BC2=1,L,REF(L,BC2-1)),DATACOUNT-BARPOS-1),DRAWNULL),COLORCYAN,LINETHICK5;
LL:IF(REFX(BARSLAST(H=HHV(H,8*UR))>BARSLAST(L=LLV(L,8*UR)),DATACOUNT-BARPOS-1),REFX(IF(BC2=1,L,REF(L,BC2-1)),DATACOUNT-BARPOS-1),DRAWNULL),COLORCYAN,POINTDOT;
TC11:=IF(L=LLV(L,8*UR),L,DRAWNULL);
TC21:=REFX(BARSLAST(TC11=L),DATACOUNT-BARPOS-1)+1;
UP1:=REFX(IF(TC21=1,L,REF(L,TC21-1)),DATACOUNT-BARPOS-1);
BC11:=IF(H=HHV(H,8*LR),H,DRAWNULL);
BC21:=REFX(BARSLAST(BC11=H),DATACOUNT-BARPOS-1)+1;
HH1:IF(REFX(BARSLAST(H=HHV(H,8*UR))>BARSLAST(L=LLV(L,8*UR)),DATACOUNT-BARPOS-1) , REFX(IF(BC21=1,H,REF(H,BC21-1)),DATACOUNT-BARPOS-1),DRAWNULL),COLORRED,LINETHICK5;
HH:IF(REFX(BARSLAST(H=HHV(H,8*UR))<BARSLAST(L=LLV(L,8*UR)),DATACOUNT-BARPOS-1) , REFX(IF(BC21=1,H,REF(H,BC21-1)),DATACOUNT-BARPOS-1),DRAWNULL),COLORRED,POINTDOT; 来源 程序化久久网
请老师帮忙修改
UR:=6;LR:=6;
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
TC1:=IF(H=HHV(H,8*UR),H,NULL);
TC2:=REFX1(BARSLAST(TC1=H),10000)+1;
UP:=REFX1(IF(TC2=1,H,REF(H,TC2-1)),10000);
BC1:=IF(L=LLV(L,8*LR),L,NULL);
BC2:=REFX1(BARSLAST(BC1=L),10000)+1;
LL1:IF(REFX1(BARSLAST(H=HHV(H,8*UR))<BARSLAST(L=LLV(L,8*UR)),10000),REFX1(IF(BC2=1,L,REF(L,BC2-1)),10000),NULL),COLORCYAN,LINETHICK5;
LL:IF(REFX1(BARSLAST(H=HHV(H,8*UR))>BARSLAST(L=LLV(L,8*UR)),10000),REFX1(IF(BC2=1,L,REF(L,BC2-1)),10000),NULL),COLORCYAN,DOT;
TC11:=IF(L=LLV(L,8*UR),L,NULL);
TC21:=REFX1(BARSLAST(TC11=L),10000)+1;
UP1:=REFX1(IF(TC21=1,L,REF(L,TC21-1)),10000);
BC11:=IF(H=HHV(H,8*LR),H,NULL);
BC21:=REFX1(BARSLAST(BC11=H),10000)+1;
HH1:IF(REFX1(BARSLAST(H=HHV(H,8*UR))>BARSLAST(L=LLV(L,8*UR)),10000) , REFX1(IF(BC21=1,H,REF(H,BC21-1)),10000),NULL),COLORRED,LINETHICK5;
HH:IF(REFX1(BARSLAST(H=HHV(H,8*UR))<BARSLAST(L=LLV(L,8*UR)),10000) , REFX1(IF(BC21=1,H,REF(H,BC21-1)),10000),NULL),COLORRED,DOT;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: UR:=6;LR:=6;
CURRBARSCOUNT:=REFX(BARPOS,DATACOUNT-BARPOS-1)-BARPOS+1;
TC1:=IF(H=HHV(H,8*UR),H,DRAWNULL);
TC2:=REFX(BARSLAST(TC1=H),DATACOUNT-BARPOS-1)+1;
UP:=REFX(IF(TC2=1,H,REF(H,TC2-1)),DATACOUNT-BARPOS-1);
BC1:=IF(L=LLV(L,8*LR),L,DRAWNULL);
BC2:=REFX(BARSLAST(BC1=L),DATACOUNT-BARPOS-1)+1;
LL1:IF(REFX(BARSLAST(H=HHV(H,8*UR))<BARSLAST(L=LLV(L,8*UR)),DATACOUNT-BARPOS-1),REFX(IF(BC2=1,L,REF(L,BC2-1)),DATACOUNT-BARPOS-1),DRAWNULL),COLORCYAN,LINETHICK5;
LL:IF(REFX(BARSLAST(H=HHV(H,8*UR))>BARSLAST(L=LLV(L,8*UR)),DATACOUNT-BARPOS-1),REFX(IF(BC2=1,L,REF(L,BC2-1)),DATACOUNT-BARPOS-1),DRAWNULL),COLORCYAN,POINTDOT;
TC11:=IF(L=LLV(L,8*UR),L,DRAWNULL);
TC21:=REFX(BARSLAST(TC11=L),DATACOUNT-BARPOS-1)+1;
UP1:=REFX(IF(TC21=1,L,REF(L,TC21-1)),DATACOUNT-BARPOS-1);
BC11:=IF(H=HHV(H,8*LR),H,DRAWNULL);
BC21:=REFX(BARSLAST(BC11=H),DATACOUNT-BARPOS-1)+1;
HH1:IF(REFX(BARSLAST(H=HHV(H,8*UR))>BARSLAST(L=LLV(L,8*UR)),DATACOUNT-BARPOS-1) , REFX(IF(BC21=1,H,REF(H,BC21-1)),DATACOUNT-BARPOS-1),DRAWNULL),COLORRED,LINETHICK5;
HH:IF(REFX(BARSLAST(H=HHV(H,8*UR))<BARSLAST(L=LLV(L,8*UR)),DATACOUNT-BARPOS-1) , REFX(IF(BC21=1,H,REF(H,BC21-1)),DATACOUNT-BARPOS-1),DRAWNULL),COLORRED,POINTDOT; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容