【通达信源码分享】精品指标公式-九五至尊量柱,很好的成交量公式

通达信免费指标 11-30 阅读:1165 评论:0

公式类型: 技术指标公式-其他类型

画线方法: 副图

公式源码:}

VAR1:=AMOUNT/100000000;

VAR2:=REF(AMOUNT,1)/100000000;

比值:VAR1/VAR2;

DRAWTEXT(CURRBARSCOUNT=2 OR CURRBARSCOUNT=1,VOL*1.4,VARCAT(VAR2STR(VAR1,2),3777)),COLORWHITE;

量:VOL,VOLSTICK,COLORLIGRAY;

几倍:VOL/REF(VOL,1),NODRAW,COLORRED;

换手:VOL*10000/FINANCE(7),NODRAW,COLORGREEN;

量比:VOL/REF(MA(VOL,5),1),NODRAW,COLORBROWN;

全换手周期:SUMBARS(VOL,CAPITAL),NODRAW,COLORLIGREEN;

VAR3:=EMA(VOL,5);

VAR4:=EMA(VOL,60);

VAR5:=AMOUNT/VOL/100;

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;

VAR7:=VOL=HHV(VOL,21);

STICKLINE(CLOSE>OPEN AND VAR7,VOL*4/5,VOL,2,0),COLORWHITE;

STICKLINE(CLOSE>OPEN AND VAR7,VOL*4/5,VOL,0.6,0),COLORGREEN;

VAR8:=20;

VAR9:=60;

VAR10:=100;

低量20:VOL=LLV(VOL,VAR8) AND BARSCOUNT(VOL)>=VAR8,NODRAW,COLORGREEN;

低量60:VOL=LLV(VOL,VAR9) AND BARSCOUNT(VOL)>=VAR9,NODRAW,COLORBLUE;

地量:VOL=LLV(VOL,VAR10) AND BARSCOUNT(VOL)>=VAR10,NODRAW,COLORGRAY;

STICKLINE(低量20,VOL*2/3,VOL,3,0),COLORGRAY;

STICKLINE(低量20,VOL*1/3,VOL*2/3,3,0),COLORYELLOW;

STICKLINE(低量20,0,VOL*1/3,3,0),COLORFF0088;

STICKLINE(低量60,VOL*1/2,VOL,3,0),COLORGRAY;

STICKLINE(低量60,0,VOL*1/2,3,0),COLORYELLOW;

STICKLINE(地量,0,VOL,3,0),COLORGRAY;

VOLUME:VOL,VOLSTICK;

|:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;

VAR11:=DYNAINFO(8)>0;

VO:VOL=LLV(VOL,100) AND VAR11;

百日地量柱:VAR11 AND VO,COLORCYAN;

STICKLINE(百日地量柱,0,VOL,2,0),COLORCYAN;

DRAWTEXT(百日地量柱,VOL+3000,54),COLORCYAN;

VAR12:=VOL>REF(VOL,1)*1.8;

VAR13:=VOL<REF(LLV(VOL,13),1);

VAR14:=VOL<REF(LLV(VOL,55),1);

STICKLINE(VAR12,0,VOL,2,0),COLORYELLOW;

VAR15:=VAR12;

VAR16:=(3*CLOSE+HIGH+LOW+OPEN)/6;

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;

VAR18:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR17 AND CLOSE>OPEN;

VAR19:=VOL>REF(VOL,1)*0.98 AND VOL<REF(VOL,1)*1.02;

STICKLINE(VAR19,0,VOL,2,0),COLORWHITE;

VAR20:=VAR19;

VAR21:=VOL<=REF(VOL,1)*0.505;

STICKLINE(VAR21,0,VOL,2,0),COLORMAGENTA;

VAR22:=VOL/REF(VOL,1)>0.505 AND VOL/REF(VOL,1)<0.66;

STICKLINE(VAR22,0,VOL*1/3,2,0),COLORGREEN;

STICKLINE(VAR22,VOL*1/3,VOL*2/3,2,0),COLORBLACK;

STICKLINE(VAR22,VOL*2/3,VOL,2,0),COLORRED;

STICKLINE(VAR21,0,VOL*1/2,2,0),COLORGREEN;

STICKLINE(VAR21,VOL*1/2,VOL,2,0),COLORMAGENTA;

VAR23:=CLOSE/REF(CLOSE,1)<=0.96 AND VOL<HHV(VOL,30)/1.9;

STICKLINE(VAR23,0,VOL,0.8,0),COLORWHITE;

STICKLINE(VAR23,0,VOL,0.3,0),COLORFF0088;

VAR24:=(VOL+OPEN)/2;

STICKLINE(CLOSE>OPEN,VAR24,VAR24,(-1),0),COLORBLACK;

STICKLINE(CLOSE<OPEN,VAR24,VAR24,(-1),0),COLORWHITE;

低量柱:IF(CURRBARSCOUNT<=CONST(REF(LLVBARS(VOL,30),1)+1)+1,CONST(REF(VOL,REF(LLVBARS(VOL,30),1)+1)),DRAWNULL),COLORWHITE,LINETHICK7;

低量柱1:IF(CURRBARSCOUNT<=CONST(REF(LLVBARS(VOL,30),1)+1)+1,CONST(REF(VOL,REF(LLVBARS(VOL,30),1)+1)),DRAWNULL),COLORRED,LINETHICK2;

标志线21:IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,21),1)+1)+1,CONST(REF(VOL,REF(HHVBARS(VOL,21),1)+1)),DRAWNULL),COLORMAGENTA,LINETHICK2;

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;

VAR25:=IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,21),1)+1)+1,CONST(REF(MAX(OPEN,CLOSE),REF(HHVBARS(VOL,21),1)+1)),DRAWNULL);

DRAWTEXT(ISLASTBAR,标志线21,CON2STR(VAR25,2)),COLORYELLOW;

VAR26:=IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,21),1)+1)+1,CONST(REF(MIN(CLOSE,OPEN),REF(HHVBARS(VOL,21),1)+1)),DRAWNULL);

版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服