量学量柱(通达信公式 副图 源码 测试图)(图文)

VOLUME:VOL,VOLSTICK;
X_1:=WINNER(OPEN)*100;
X_2:=WINNER(CLOSE)*100;
筹码穿透率:IF(TOTALBARSCOUNT>2,X_2-X_1,0),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.75,0.1,0,113),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.9,0.1,0,CON2STR(筹码穿透率,1)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.75,0,0,49),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.9,0,0,CON2STR(Func_0x75EB.SubValue_0x0#DAY,1)),COLORWHITE;
X_3:=VOL>=REF(VOL,1)*1.9 AND CLOSE<REF(CLOSE,1);
STICKLINE(X_3,0,VOL,2,0),COLORGREEN;
获利比率:IF(DYNAINFO(4)>0 AND TOTALBARSCOUNT>15,WINNER(CLOSE)*100,0),NODRAW,COLORWHITE;
DRAWTEXT(获利比率>=99.5,VOL*1.05,114),COLORWHITE;
X_4:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
X_5:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_4),0);
X_6:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,30) AND CLOSE>MA(CLOSE,60) AND CLOSE>MA(CLOSE,120) AND X_5=HHV(X_5,60) AND VOL=HHV(VOL,120) AND DYNAINFO(4)>0;
DRAWICON(X_6,VOL*1.5,25);
X_7:=REF(VOL,1)*0.55>=VOL AND NOT(OPEN=CLOSE AND HIGH=OPEN);
STICKLINE(X_7,0,VOL,2,0),COLORWHITE;
X_8:=VOL<=REF(VOL,1)*0.7 AND VOL>REF(VOL,1)*0.55;
DRAWTEXT(X_8,VOL*1.5,115),COLORLIMAGENTA;
X_9:=VOL>=REF(VOL,1)*1.5 AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN;
STICKLINE(X_9,0,VOL,2,0),COLORYELLOW;
换手率:VOL/CAPITAL*100,NODRAW,COLORWHITE;
X_10:=换手率*2/3;
X_11:=VOL/2;
X_12:=换手率*1/3;
STICKLINE(VOL/2,VOL/2,VOL/2,3,0),COLORBROWN;
X_13:=HHV(VOL,21);
X_14:=BARSLAST(X_13=VOL);
STICKLINE(X_14=0,VOL*0.7,VOL,1,0),COLORMAGENTA;
当前高量顶:DRAWLINE(X_14=0,X_13,X_14=1,REF(X_13,1),1),COLORBROWN,LINETHICK2;
X_15:=LLV(VOL,21);
X_16:=BARSLAST(X_15);
缩量倍数:REF(VOL,X_14)/REF(VOL,X_16),NODRAW;
量封喉线:DRAWLINE(VOL>=HHV(VOL,21),VOL,VOL<=LLV(VOL,3),LLV(VOL,3),1),COLORWHITE;
X_17:=CLOSE/REF(CLOSE,1)<1.04 AND CLOSE>REF(CLOSE,1);
X_18:=UPNDAY(CLOSE,3) AND UPNDAY(VOL,3) AND NOT(HIGH=LOW);
X_19:=X_18 AND COUNT(X_17,3)=3;
DRAWTEXT(X_19,VOL*1.3,116),COLORYELLOW;
X_20:=UPNDAY(CLOSE,3) AND DOWNNDAY(VOL,3) AND NOT(HIGH=LOW);
DRAWTEXT(X_20,VOL*1.4,117),COLORYELLOW;
X_21:=REF(CLOSE,1)>CLOSE AND REF(CLOSE,2)>REF(CLOSE,1) AND REF(CLOSE,3)>REF(CLOSE,2) AND VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND REF(VOL,2)>REF(VOL,3) AND NOT(HIGH=LOW);
DRAWTEXT(X_21,VOL*1.3,118),COLORYELLOW;
X_22:=REF(VOL,1)>=REF(VOL,2)*1.5 AND VOL<=REF(VOL,1)*0.7 AND UPNDAY(CLOSE,3);
DRAWTEXT(X_22,VOL*1.4,119),COLORYELLOW;
X_23:=VOL>=REF(VOL,1)*1.9 AND REF(VOL,2)>=REF(VOL,1)*1.9 AND DOWNNDAY(CLOSE,3) OR (REF(VOL,1)>=REF(VOL,2)*1.5 AND VOL<=REF(VOL,1)*0.7 AND DOWNNDAY(CLOSE,3)) AND NOT(HIGH=LOW);
DRAWTEXT(X_23,VOL*1.4,120),COLORYELLOW;
X_24:=REF(VOL,1)>REF(VOL,2)*1.9 AND VOL<REF(VOL,1)*0.51 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<REF(CLOSE,1);
DRAWTEXT(X_24,VOL*1.4,121),COLORYELLOW;
X_25:=REF(VOL,1)>REF(VOL,2)*1.9 AND VOL<REF(VOL,1)*0.51 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(X_25,VOL*1.4,122),COLORWHITE;
X_26:=IF(DYNAINFO(4)>0 AND VOL=HHV(VOL,80) AND BARSCOUNT(CLOSE)>30,0.5,0);
STICKLINE(X_26,0,VOL,1,0),COLORLIMAGENTA;
X_27:=IF(DYNAINFO(4)>0 AND VOL=LLV(VOL,50) AND BARSCOUNT(CLOSE)>30,0.5,0);
STICKLINE(X_27,0,VOL,1,0),COLORRED;
DRAWICON(X_27,VOL*1.5-8,1);
X_28:=BARSLASTCOUNT(VOL<REF(VOL,1));
X_29:=VOL<REFX(VOL,1);
S1:DRAWTEXT(X_28=3 AND X_29,VOL*2,123),COLORWHITE;
S2:DRAWTEXT(X_28=4 AND X_29,VOL*2,124),COLORWHITE;
S3:DRAWTEXT(X_28=5 AND X_29,VOL*2,125),COLORWHITE;
S4:DRAWTEXT(X_28=6 AND X_29,VOL*2,126),COLORWHITE;
S5:DRAWTEXT(X_28=7 AND X_29,VOL*2,127),COLORWHITE;
S6:DRAWTEXT(X_28=8 AND X_29,VOL*2,128),COLORWHITE;
S7:DRAWTEXT(X_28=9 AND X_29,VOL*2,129),COLORWHITE;
S8:DRAWTEXT(X_28=10 AND X_29,VOL*2,130),COLORWHITE;
S11:DRAWTEXT(X_28=3 AND ISLASTBAR=1,VOL*2,123),COLORWHITE;
S12:DRAWTEXT(X_28=4 AND ISLASTBAR=1,VOL*2,124),COLORWHITE;
S13:DRAWTEXT(X_28=5 AND ISLASTBAR=1,VOL*2,125),COLORWHITE;
S14:DRAWTEXT(X_28=6 AND ISLASTBAR=1,VOL*2,126),COLORWHITE;
S15:DRAWTEXT(X_28=7 AND ISLASTBAR=1,VOL*2,127),COLORWHITE;
S16:DRAWTEXT(X_28=8 AND ISLASTBAR=1,VOL*2,128),COLORWHITE;
S17:DRAWTEXT(X_28=9 AND ISLASTBAR=1,VOL*2,129),COLORWHITE;
S18:DRAWTEXT(X_28=10 AND ISLASTBAR=1,VOL*2,130),COLORWHITE;

(0)

相关推荐