量能饱和度

N:=34

;

【成交量】:VOL,VOLSTICK,COLORRED;

成交额亿:=AMOUNT/100000000,NODRAW;

流通:=CAPITAL/1000000,NODRAW;

成交流通比:=AMOUNT/CAPITAL/100,NODRAW;

大盘成交【手】:INDEXV,COLORFF55FF,NODRAW;

涨家数:INDEXADV,COLOR0000EE,NODRAW;

跌家数:INDEXDEC,COLOR00EE00,NODRAW;

STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,2.8,0),COLORFF77FF;

STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,2,0),COLORFF33FF;

STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,2.1,0),COLORFF55FF;

STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,1,6),COLORFF77FF;

STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.8,0),COLORFF99FF;

STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.5,0),COLORFFBBFF;

STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.1,0),COLORFFDDFF;

STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2.8,2),COLORFF1100;

STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2,0),COLORFF3300;

STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2.1,0),COLORFF5500;

STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,1.6,0),COLORFF7700;

STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0,8),COLORFF9900;

STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0.5,0),COLORFFBB00;

STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0.1,0),COLORFFDD00;

HL10:=WINNER(C/1.1)*V,COLORBLUE;

{STICKLINE(((C/1.1)*V),HL10,0,3,0),COLORMAGENTA;}

STICKLINE(HL10>0,0,HL10,2.8,2),COLORFF0033;

{紫罗兰色--攻击量}

STICKLINE(HL10>0,0,HL10,2,0),COLORFF0066;

STICKLINE(HL10>0,0,HL10,2,1),COLORFF0099;

STICKLINE(HL10>0,0,HL10,1.6,0),COLORFF00CC;

STICKLINE(HL10>0,0,HL10,0.5,0),COLORFF00FF;

HL20:=WINNER(C/1.2)*V;

{STICKLINE(((C/1.2)*V),HL20,0,2.1,0)COLORYELLOW;}

STICKLINE(HL20>0,0,HL20,2.8,2),COLOR0035FF;

{黄色--潜入量}

STICKLINE(HL20>0,0,HL20,2,0),COLOR0064FF;

STICKLINE(HL20>0,0,HL20,2,1),COLOR0093FF;

STICKLINE(HL20>0,0,HL20,1.6,0),COLOR00C2FF;

STICKLINE(HL20>0,0,HL20,0.5,0),COLOR00FFFF;

HL30:=WINNER(C/1.3)*V;

STICKLINE(((C/1.3)*V),HL30,0,2.5,0),COLORRED;

STICKLINE(HL30>0,0,HL30,2.8,0),COLOR000066;{红色--拉升量}

STICKLINE(HL30>0,0,HL30,2,5),COLOR000077;

STICKLINE(HL30>0,0,HL30,2.1,0),COLOR000099;

STICKLINE(HL30>0,0,HL30,1.6,0),COLOR0000CC;

STICKLINE(HL30>0,0,HL30,0.2,0),COLORCC66FF;

MAV5:MA(VOL,5),COLORYELLOW,LINETHICK2;

MAV10:MA(VOL,10),COLORFF33FF,LINETHICK1;

MAV60:MA(VOL,20),COLORGREEN,LINETHICK2;

{VOL动能均分量}

换手:=V*100/CAPITAL;

主力:=MA(换手,4);

大户:=MA(换手,9);

中户:=MA(换手,17);

散户:=MA(换手,34);

均量:=(主力+大户+中户+散户)/4;

主力能量:=(主力-均量);

大户能量:=(大户-均量);

中户能量:=(中户-均量);

散户能量:=(散户-均量);

AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);

VAR1:=HIGH-LOW;

VAR2:=ABS(OPEN-CLOSE);

VAR3:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);

VAR4:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;

VAR5:=VAR2/VAR1*VOL;

VAR6:=VAR3/VAR1*VOL;

VAR7:=VAR4/VAR1*VOL;

VAR8:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));

MA5:=MA(VOL,5),COLORRED;

换手2:=V*100/CAPITAL; AAAA:=V;

BBBB:=CAPITAL;

换手率:=AAAA*100/BBBB;

BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));  VAR12:=(HIGH - LOW);

VAR13:=ABS((OPEN - CLOSE));

VAR14:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));

VAR15:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);

VAR16:=((VAR13 / VAR12) * VOL);

VAR17:=((VAR14 / VAR12) * VOL);

VAR18:=((VAR15 / VAR12) * VOL);

VAR19:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));

{WWW.GUHAI.COM.CN}

VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);

VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));

VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));

VARD:=REF(CLOSE,1);

DRAWTEXT(((((((VAR18 > VAR16) AND (VAR18 > VAR17)) AND (VARA < (0 - 2))) AND

(CLOSE < MA(CLOSE,30))) AND (VAR18 < (MA(VOL,5) / 2))) AND (MA(VOL,5) < MA(VOL,10))),VOL,'低进')COLORYELLOW;

DRAWTEXT((((((VAR16 > (MA(VOL,5) * 2)) AND (VAR16 >= VAR17)) AND (VAR16 >= VAR18)) AND (CLOSE > OPEN))

OR ((VOL > (MA(VOL,5) * 3)) AND VARB)),VOL*1.05,'黑马柱')COLORRED;

倍量:STICKLINE(VOL>REF( VOL,1)*2,0,VOL,1.0,0),COLOR00EEFF;

STICKLINE(VOL>REF( VOL,1)*2,0,VOL,0.5,0),COLOR00AAFF;

STICKLINE(VOL>REF( VOL,1)*2,0,VOL,0.4,0),COLOR00CCFF;

STICKLINE(VOL>REF( VOL,1)*2,0,VOL,0.3,0),COLOR00EEFF;

(0)

相关推荐