升级以后K线变得细长 [博易POBO]
咨询内容:
不是可以帮忙把指标修改一下
A:=(LOW+HIGH+CLOSE)/3;
B:MA(A,5),COLORBLUE;
小:HHV(B,13),COLORYELLOW;
桥:HHV(B,60),COLORRED,LINETHICK3;
流:LLV(B,13),COLORGREEN;
水:LLV(B,60),COLORWHITE,LINETHICK3;
趋:LLV(MA(H,13),1),COLORFF00CC,LINETHICK2;
波:MA(A,40),COLOR00FF00,LINETHICK2;
FILLRGN(波>REF(波,1),波,REF(波,1)),COLORRED;
FILLRGN(波<REF(波,1),波,REF(波,1)),COLORGREEN;
DRAWNUMBER(BARSTATUS,B,B,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,小,小,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,桥,桥,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,流,流,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,水,水,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,趋,趋,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,波,波,0),ALIGN0,VALIGN1,COLORFFFF80;
PARTLINE(B>0,B),COLORWHITE;
PARTLINE(桥>0,桥),COLORRED;
VAR1:=(CLOSE+HIGH+LOW)/3;
HH1:=IF(H<REF(H,2) AND REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IF(L>REF(L,2) AND REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=BARSLAST(HH1>0); LL2:=BARSLAST(LL1>0);
K1:=IF(CLOSE>HH2,-3,IF(CLOSE<LL2,1,0));
K2:=BARSLAST(K1<>0);
G:=IF(K2=1,HH2,LL2);
G1:=BARSLAST(ISLASTBAR);
W1:=K2; W2:=OPEN-CLOSE;
HT:=IF(OPEN>CLOSE,OPEN,CLOSE);
LT:=IF(OPEN<CLOSE,OPEN,CLOSE);
STICKLINE(W1>0,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(W1>0,H,C,0,1),COLORCYAN;
STICKLINE(W1>0,L,O,0,1),COLORCYAN;
STICKLINE(W1<=0,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(W1<=0,H,C,0,1),COLORRED;
STICKLINE(W1<=0,O,L,0,1),COLORRED;
STICKLINE(W2>0 AND W1<=0,OPEN,CLOSE,3,0),COLORCYAN;
STICKLINE(W2>0 AND W1<=0,H,L,0,0),COLORCYAN;
STICKLINE(W2>0 AND W1>0,OPEN,CLOSE,3,0),COLORCYAN;
<!-- 咨询内容:
B:MA(A,5),COLORBLUE;
小:HHV(B,13),COLORYELLOW;
桥:HHV(B,60),COLORRED,LINETHICK3;
流:LLV(B,13),COLORGREEN;
水:LLV(B,60),COLORWHITE,LINETHICK3;
趋:LLV(MA(H,13),1),COLORFF00CC,LINETHICK2;
波:MA(A,40),COLOR00FF00,LINETHICK2;
FILLRGN(波>REF(波,1),波,REF(波,1)),COLORRED;
FILLRGN(波<REF(波,1),波,REF(波,1)),COLORGREEN;
DRAWNUMBER(BARSTATUS,B,B,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,小,小,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,桥,桥,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,流,流,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,水,水,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,趋,趋,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,波,波,0),ALIGN0,VALIGN1,COLORFFFF80;
PARTLINE(B>0,B),COLORWHITE;
PARTLINE(桥>0,桥),COLORRED;
VAR1:=(CLOSE+HIGH+LOW)/3;
HH1:=IF(H<REF(H,2) AND REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IF(L>REF(L,2) AND REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=BARSLAST(HH1>0); LL2:=BARSLAST(LL1>0);
K1:=IF(CLOSE>HH2,-3,IF(CLOSE<LL2,1,0));
K2:=BARSLAST(K1<>0);
G:=IF(K2=1,HH2,LL2);
G1:=BARSLAST(ISLASTBAR);
W1:=K2; W2:=OPEN-CLOSE;
HT:=IF(OPEN>CLOSE,OPEN,CLOSE);
LT:=IF(OPEN<CLOSE,OPEN,CLOSE);
STICKLINE(W1>0,OPEN,CLOSE,10,1),COLORCYAN;
STICKLINE(W1>0,H,C,0,1),COLORCYAN;
STICKLINE(W1>0,L,O,0,1),COLORCYAN;
STICKLINE(W1<=0,OPEN,CLOSE,10,1),COLORRED;
STICKLINE(W1<=0,H,C,0,1),COLORRED;
STICKLINE(W1<=0,O,L,0,1),COLORRED;
STICKLINE(W2>0 AND W1<=0,OPEN,CLOSE,10,0),COLORCYAN;
STICKLINE(W2>0 AND W1<=0,H,L,0,0),COLORCYAN;
STICKLINE(W2>0 AND W1>0,OPEN,CLOSE,10,0),COLORCYAN; 来源 程序化久久网
升级以后K线变得细长
不是可以帮忙把指标修改一下
A:=(LOW+HIGH+CLOSE)/3;
B:MA(A,5),COLORBLUE;
小:HHV(B,13),COLORYELLOW;
桥:HHV(B,60),COLORRED,LINETHICK3;
流:LLV(B,13),COLORGREEN;
水:LLV(B,60),COLORWHITE,LINETHICK3;
趋:LLV(MA(H,13),1),COLORFF00CC,LINETHICK2;
波:MA(A,40),COLOR00FF00,LINETHICK2;
FILLRGN(波>REF(波,1),波,REF(波,1)),COLORRED;
FILLRGN(波<REF(波,1),波,REF(波,1)),COLORGREEN;
DRAWNUMBER(BARSTATUS,B,B,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,小,小,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,桥,桥,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,流,流,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,水,水,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,趋,趋,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,波,波,0),ALIGN0,VALIGN1,COLORFFFF80;
PARTLINE(B>0,B),COLORWHITE;
PARTLINE(桥>0,桥),COLORRED;
VAR1:=(CLOSE+HIGH+LOW)/3;
HH1:=IF(H<REF(H,2) AND REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IF(L>REF(L,2) AND REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=BARSLAST(HH1>0); LL2:=BARSLAST(LL1>0);
K1:=IF(CLOSE>HH2,-3,IF(CLOSE<LL2,1,0));
K2:=BARSLAST(K1<>0);
G:=IF(K2=1,HH2,LL2);
G1:=BARSLAST(ISLASTBAR);
W1:=K2; W2:=OPEN-CLOSE;
HT:=IF(OPEN>CLOSE,OPEN,CLOSE);
LT:=IF(OPEN<CLOSE,OPEN,CLOSE);
STICKLINE(W1>0,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(W1>0,H,C,0,1),COLORCYAN;
STICKLINE(W1>0,L,O,0,1),COLORCYAN;
STICKLINE(W1<=0,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(W1<=0,H,C,0,1),COLORRED;
STICKLINE(W1<=0,O,L,0,1),COLORRED;
STICKLINE(W2>0 AND W1<=0,OPEN,CLOSE,3,0),COLORCYAN;
STICKLINE(W2>0 AND W1<=0,H,L,0,0),COLORCYAN;
STICKLINE(W2>0 AND W1>0,OPEN,CLOSE,3,0),COLORCYAN;
<!-- 咨询内容:
附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: A:=(LOW+HIGH+CLOSE)/3;B:MA(A,5),COLORBLUE;
小:HHV(B,13),COLORYELLOW;
桥:HHV(B,60),COLORRED,LINETHICK3;
流:LLV(B,13),COLORGREEN;
水:LLV(B,60),COLORWHITE,LINETHICK3;
趋:LLV(MA(H,13),1),COLORFF00CC,LINETHICK2;
波:MA(A,40),COLOR00FF00,LINETHICK2;
FILLRGN(波>REF(波,1),波,REF(波,1)),COLORRED;
FILLRGN(波<REF(波,1),波,REF(波,1)),COLORGREEN;
DRAWNUMBER(BARSTATUS,B,B,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,小,小,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,桥,桥,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,流,流,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,水,水,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,趋,趋,0),ALIGN0,VALIGN1,COLORFFFF80;
DRAWNUMBER(BARSTATUS,波,波,0),ALIGN0,VALIGN1,COLORFFFF80;
PARTLINE(B>0,B),COLORWHITE;
PARTLINE(桥>0,桥),COLORRED;
VAR1:=(CLOSE+HIGH+LOW)/3;
HH1:=IF(H<REF(H,2) AND REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IF(L>REF(L,2) AND REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=BARSLAST(HH1>0); LL2:=BARSLAST(LL1>0);
K1:=IF(CLOSE>HH2,-3,IF(CLOSE<LL2,1,0));
K2:=BARSLAST(K1<>0);
G:=IF(K2=1,HH2,LL2);
G1:=BARSLAST(ISLASTBAR);
W1:=K2; W2:=OPEN-CLOSE;
HT:=IF(OPEN>CLOSE,OPEN,CLOSE);
LT:=IF(OPEN<CLOSE,OPEN,CLOSE);
STICKLINE(W1>0,OPEN,CLOSE,10,1),COLORCYAN;
STICKLINE(W1>0,H,C,0,1),COLORCYAN;
STICKLINE(W1>0,L,O,0,1),COLORCYAN;
STICKLINE(W1<=0,OPEN,CLOSE,10,1),COLORRED;
STICKLINE(W1<=0,H,C,0,1),COLORRED;
STICKLINE(W1<=0,O,L,0,1),COLORRED;
STICKLINE(W2>0 AND W1<=0,OPEN,CLOSE,10,0),COLORCYAN;
STICKLINE(W2>0 AND W1<=0,H,L,0,0),COLORCYAN;
STICKLINE(W2>0 AND W1>0,OPEN,CLOSE,10,0),COLORCYAN; 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 或微信:cxhjy888 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容