升級以后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.kzuj.com.cn )
博易技術人員: 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 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容