通达信至尊量柱副图指标
<div class="stock-fc-code-box"><p><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR1:=AMOUNT/100000000;</span><br></p><p><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR2:=REF(AMOUNT,1)/100000000;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR3:=EMA(VOL,5);</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR4:=EMA(VOL,60);</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR5:=AMOUNT/VOL/100;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR6:=VAR5 > REF(CLOSE,1) AND REF(OPEN,1) > REF(CLOSE,1) AND OPEN > REF(MAX(OPEN,CLOSE),1) AND VOL <=REF(VOL,1) AND CLOSE > OPEN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR7:=VOL=HHV(VOL,21);</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR8:=20;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR9:=60;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR10:=100;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR11:=DYNAINFO(8) > 0;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR12:=VOL > REF(VOL,1)*1.8;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR13:=VOL < REF(LLV(VOL,13),1);</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR14:=VOL < REF(LLV(VOL,55),1);</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR15:=VAR12;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR16:=(3*CLOSE+HIGH+LOW+OPEN)/6;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR17:=(8*VAR16+7*REF(VAR16,1)+6*REF(VAR16,2)+5*REF(VAR16,3)+4*REF(VAR16,4)+3*REF(VAR16,5)+2*REF(VAR16,6)+REF(VAR16,8))/36;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR18:=VOL=HHV(VOL,10) AND VOL > 2*REF(VOL,1) AND CLOSE > VAR17 AND CLOSE > OPEN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR19:=VOL > REF(VOL,1)*0.98 AND VOL < REF(VOL,1)*1.02;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR20:=VAR19;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR21:=VOL <=REF(VOL,1)*0.505;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR22:=VOL/REF(VOL,1) > 0.505 AND VOL/REF(VOL,1) < 0.66;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR23:=CLOSE/REF(CLOSE,1) <=0.96 AND VOL < HHV(VOL,30)/1.9;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR24:=(VOL+OPEN)/2;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VAR25:=IF(CURRBARSCOUNT <=CONST(REF(HHVBARS(VOL,21),1)+1)+1,CONST(REF(MAX(OPEN,CLOSE),REF(HHVBARS(VOL,21),1)+1)),DRAWNULL);</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">比值:VAR1/VAR2;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">DRAWTEXT(CURRBARSCOUNT=2 OR CURRBARSCOUNT=1,vol*1.4,VARCAT(VAR2stR(VAR1,2),3777)),COLORWHITE;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">量:VOL,VOLSTICK,COLORLIGRAY;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">几倍:VOL/REF(VOL,1),NODRAW,COLORRED;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">换手:VOL*10000/FINANCE(7),NODRAW,COLORGREEN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">量比:VOL/REF(ma(VOL,5),1),NODRAW,COLORBROWN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">全换手周期:SUMBARS(VOL,CAPITAL),NODRAW,COLORLIGREEN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(CLOSE > OPEN AND VAR7,VOL*4/5,VOL,2,0),COLORWHITE;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(CLOSE > OPEN AND VAR7,VOL*4/5,VOL,0.6,0),COLORGREEN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">低量20:VOL=LLV(VOL,VAR8) AND BARSCOUNT(VOL) >=VAR8,NODRAW,COLORGREEN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">低量60:VOL=LLV(VOL,VAR9) AND BARSCOUNT(VOL) >=VAR9,NODRAW,COLORBLUE;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">地量:VOL=LLV(VOL,VAR10) AND BARSCOUNT(VOL) >=VAR10,NODRAW,COLORGRAY;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(低量20,VOL*2/3,VOL,3,0),COLORGRAY;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(低量20,VOL*1/3,VOL*2/3,3,0),COLORYELLOW;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(低量20,0,VOL*1/3,3,0),COLORFF0088;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(低量60,VOL*1/2,VOL,3,0),COLORGRAY;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(低量60,0,VOL*1/2,3,0),COLORYELLOW;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(地量,0,VOL,3,0),COLORGRAY;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VOLUME:VOL,VOLSTICK;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">|:COUNT(CLOSE > REF(CLOSE,1),2)=2 AND COUNT(VOL < REF(VOL,1),2)=2;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">VO:VOL=LLV(VOL,100) AND VAR11;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">百日地量柱:VAR11 AND VO,COLORCYAN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(百日地量柱,0,VOL,2,0),COLORCYAN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">DRAWTEXT(百日地量柱,VOL+3000,54),COLORCYAN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR12,0,VOL,2,0),COLORYELLOW;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR19,0,VOL,2,0),COLORWHITE;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR21,0,VOL,2,0),COLORMAGENTA;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR22,0,VOL*1/3,2,0),COLORGREEN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR22,VOL*1/3,VOL*2/3,2,0),COLORBLacK;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR22,VOL*2/3,VOL,2,0),COLORRED;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR21,0,VOL*1/2,2,0),COLORGREEN;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR21,VOL*1/2,VOL,2,0),COLORMAGENTA;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR23,0,VOL,0.8,0),COLORWHITE;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(VAR23,0,VOL,0.3,0),COLORFF0088;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(CLOSE > OPEN,VAR24,VAR24,(-1),0),COLORBLACK;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">STICKLINE(CLOSE < OPEN,VAR24,VAR24,(-1),0),COLORWHITE;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">低量柱:IF(CURRBARSCOUNT <=CONST(REF(LLVBARS(VOL,30),1)+1)+1,CONST(REF(VOL,REF(LLVBARS(VOL,30),1)+1)),DRAWNULL),COLORWHITE,LINETHICK7;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">低量柱1:IF(CURRBARSCOUNT <=CONST(REF(LLVBARS(VOL,30),1)+1)+1,CONST(REF(VOL,REF(LLVBARS(VOL,30),1)+1)),DRAWNULL),COLORRED,LINETHICK2;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">标志线21:IF(CURRBARSCOUNT <=CONST(REF(HHVBARS(VOL,21),1)+1)+1,CONST(REF(VOL,REF(HHVBARS(VOL,21),1)+1)),DRAWNULL),COLORMAGENTA,LINETHICK2;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">DRAWTEXT(CURRBARSCOUNT=CONST(REF(HHVBARS(VOL,21),1))+2,VOL*1.01,STRCAT(CON2STR(CONST(CONST(REF(HHVBARS(VOL,21),1))+1),0),3780)),COLORYELLOW;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"><span style="font-family: "Microsoft YaHei"; font-size: medium;">DRAWTEXT(ISLASTBAR,标志线21,CON2STR(VAR25,2)),COLORYELLOW;</span><br style="font-family: "Microsoft YaHei"; font-size: medium; white-space: normal;"></p></div>
页:
[1]