{公式名称: 量柱副图
副图
用法注释:
看图说明:黄色为倍量柱,白色为并肩平量柱,紫色为缩倍柱,
绿色为10天低量柱,蓝色为50天低量柱,灰色为百日低量柱,
高量柱容易看无标记,!为长阴短柱, 内有红实线为假阴柱。
红色箭头(的前三天)为黄金柱。次黄金柱难判,不标
公式源码:}
DRAWGBK(CLOSE 0,RGB(1,1,1),RGB(1,1,1),0,0,1);
VAR1:=10;
VAR2:=0;
VAR3:=2;
VAR4:=50;
VAR5:=60;
VAR6:=0.1*HHV(VOL,240);
VAR7:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
VAR8:=黛蛾背驰主图.下轨#DAY=0;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VAR7,0,1,(-1)),COLOR00C0C0;
壹德编制:DRAWNULL,COLORCCCCCC;
量:IF(VAR8,VOL,0),VOLSTICK,COLORLIGRAY;
VAR9:=量*10000/FINANCE(7);
全换手周期:SUMBARS(量,CAPITAL),NODRAW,COLORCYAN;
VAR10:=量/10000;
VAR11:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
VAR12:=MOD(FROMOPEN,VAR11);
VAR13:=IF(VAR12 0.5,VAR11,VAR12);
VAR14:=IF(CURRBARSCOUNT=1 AND PERIOD =5 AND DYNAINFO(8) 1,VOL*VAR11/VAR13/10000,DRAWNULL);
VAR15:=IF(CURRBARSCOUNT=1 AND PERIOD =5,VAR14,VAR10);
量比:VAR15/REF(MA(VAR15,5),1),NODRAW,COLORBROWN;
几倍:量/REF(VOL,1),NODRAW,COLORYELLOW;
VAR16:=1.9;
倍量:量 =REF(VOL,1)*VAR16 AND IF(CLOSE OPEN,CLOSE REF(CLOSE,1),1),NODRAW,COLORYELLOW;
倍缩:REF(VOL,1) =量*VAR16,NODRAW,COLORMAGENTA;
VAR17:=COUNT(CLOSE REF(CLOSE,1),2)=2 AND COUNT(VOL REF(VOL,1),2)=2;
价涨量缩:VAR17,COLORGREEN;
地量:量=LLV(VOL,VAR5) AND BARSCOUNT(VOL) =VAR5,NODRAW,COLORYELLOW;
VAR18:=量*0.95;
VAR19:=量*0.85;
STICKLINE(倍量,0,VAR18,1,0),COLORYELLOW;
STICKLINE(地量,0,VAR19*0.66,2.5,0),COLORYELLOW;
STICKLINE(倍缩,0,VOL*0.45,1,0),COLORMAGENTA;
STICKLINE(CLOSE OPEN AND CLOSE REF(CLOSE,1),0,VAR18,0,0),COLORRED;
VAR20:=CLOSE OPEN OR CLOSE REF(CLOSE,1);
VAR21:=REF(VAR20,3);
VAR22:=REF(倍量,3);
VAR23:=REF(VOL,3) =HHV(VOL,7);
VAR24:=LLV(CLOSE,3) =REF(LOW,3);
VAR25:=COUNT(CLOSE =REF(CLOSE,1),3)=3;
VAR26:=COUNT(VOL =REF(VOL,1),3)=3;
VAR27:=COUNT(VAR20,3)=3;
VAR28:=VAR22 AND VAR24 AND VAR21;
VAR29:=VAR23 AND VAR24 AND VAR21;
VAR30:=VAR28 OR VAR29;
VAR31:=VAR30 AND VAR25 AND VAR26 AND VAR27;
STICKLINE(VAR31,0.3*VOL,0.7*VOL,1,0),COLORRED;
VAR32:=VOL =1.3*REF(VOL,1) OR VOL =1.3*REFX(VOL,1);
VAR33:=IF(VAR3 =1,1,0);
VAR34:=VAR3=2 AND VAR32;
STICKLINE(VAR34,VOL*1/3,VOL*1/3,VAR33,0),COLORGRAY;
STICKLINE(VAR34 OR (VAR3=1 AND VAR32),VOL*1/2,VOL*1/2,VAR33,0),COLORGRAY;
STICKLINE(VAR34,VOL*2/3,VOL*2/3,VAR33,0),COLORGRAY;
VAR35:=量;
VAR36:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR37:=SMA(VAR36,3,1);
VAR38:=REF(VAR37 45,1);
VAR39:=CLOSE OPEN AND CLOSE REF(CLOSE,1);
VAR40:=CLOSE OPEN AND CLOSE REF(CLOSE,1);
VAR41:=CLOSE OPEN AND CLOSE REF(CLOSE,1);
VAR42:=REF(VAR39,1) AND VAR40;
VAR43:=VAR42 AND 量 REF(VOL,1) AND VAR38;
VAR44:=VAR42 AND BETWEEN(量/REF(VOL,1),0.97,1.03) AND VAR38;
VAR45:=VAR40 AND 量/REF(VOL,1) =1.95 AND VAR38;
三阴:VAR43 OR VAR44 OR VAR45,NODRAW,COLORGREEN;
IF(三阴,VOL*1.1,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK4;
VAR46:=5;
VAR47:=REF(量,VAR46)=HHV(量,2*VAR46+1);
VAR48:=FILTER(VAR47,VAR46);
VAR49:=BACKSET(VAR48,VAR46+1);
VAR50:=FILTER(VAR49,VAR46);
VAR51:=REF(HIGH,BARSLAST(VAR50));
VAR52:=REF(MAX(量,REF(量,1)),VAR46)=HHV(MAX(量,REF(量,1)),2*VAR46+1);
VAR53:=FILTER(VAR52,VAR46);
VAR54:=BACKSET(VAR53,VAR46+1);
VAR55:=FILTER(VAR54,VAR46);
VAR56:=REF(MAX(VOL,REF(VOL,1)),BARSLAST(VAR55));
VAR57:=REF(VOL,VAR46)=LLV(VOL,2*VAR46+1);
VAR58:=FILTER(VAR57,VAR46);
VAR59:=BACKSET(VAR58,VAR46+1);
VAR60:=FILTER(VAR59,VAR46);
VAR61:=REF(VOL,BARSLAST(VAR60));
VAR62:=REF(MIN(VOL,REF(VOL,1)),VAR46)=LLV(MIN(VOL,REF(VOL,1)),2*VAR46+1);
VAR63:=FILTER(VAR62,VAR46);
VAR64:=BACKSET(VAR63,VAR46+1);
VAR65:=FILTER(VAR64,VAR46);
VAR66:=REF(MIN(量,REF(量,1)),BARSLAST(VAR65));
VAR67:=IF(0,VAR51,VAR56);
VAR68:=IF(0,VAR61,VAR66);
STICKLINE(VAR67=REF(VAR67,1) OR REF(VAR67,1)=REF(VAR67,2),VAR67,VAR67,4,0),COLORLICYAN;