VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
个股线:CAPITAL/1000*(MA(C,1)/MA(REF(C,18),18)*100),LINETHICK2,COLOR00FFFF;
资金生命线:MA(FORCAST(个股资金线,20),6),COLORMAGENTA,LINETHICK2;
IF(资金生命线=REF(资金生命线,1),资金生命线,DRAWNULL),COLORRED,LINETHICK2;
IF(资金生命线=REF(资金生命线,1),资金生命线,DRAWNULL),COLORGREEN,LINETHICK2;
N:=30;M:=18;MM:=5;NN:=30;
成交量阻力:((VOL+REF(VOL,1))/2-LLV(VOL,N))/(HHV(VOL,N)-LLV(VOL,N))*100;
{STICKLINE(成交量阻力20,0,成交量阻力,2,0)COLORRED;}
股价阻力:((C+REF(C,1))/2-LLV(C,M))/(HHV(C,M)-LLV(C,M))*100;
{STICKLINE(股价阻力85 AND 成交量阻力60,150,100,2,0)COLORGREEN;}
STICKLINE(股价阻力+成交量阻力=5 ,-50,0,2,0)COLORYELLOW;
:={(L+H+C+O+L+H+O+C)/8;}(L+C+C+O+O+H)/6;
成本:=SUM(成本*VOL,MM)/SUM(VOL,MM);
MAX成本均线:=SUM(成本*VOL,180)/SUM(VOL,180);
成本阻力:(成本均线-LLV(成本均线,NN))/(HHV(成本均线,NN)-LLV(成本均线,NN))*100;
MAX成本阻力:(MAX成本均线-LLV(MAX成本均线,NN))/(HHV(MAX成本均线,NN)-LLV(MAX成本均线,NN))*100;
VAR1:=SMA(AMOUNT,10,1)/10000;
VAR2:=REF(VAR1,1);
VAR3:=SMA(AMOUNT,10,1)/10000;
资金量:=(VAR1+VAR3)/2;
阻力:=(资金量-LLV(资金量,30))/(HHV(资金量,30)-LLV(资金量,30))*100;
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSEOPEN,量*(HIGH-LOW),IF(CLOSEOPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSEOPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
总量:=买量+卖量,LINETHICK0;
净量:=买量-卖量,LINETHICK0;
五日净量:=SUM(净量,5),LINETHICK2,COLORFFFFFF;
{十日净量:SUM(净量,10),LINETHICK2,COLOR007800;}
二十日净量:=SUM(净量,20),LINETHICK2,COLOR0000AD;
六十日净量:=SUM(净量,60),LINETHICK2,COLORFF0000;
净量阻力:(二十日净量-LLV(二十日净量,N))/(HHV(二十日净量,N)-LLV(二十日净量,N))*100;
HAHA:=SUM(二十日净量,6);
净量阻力二:(HAHA-LLV(HAHA,N))/(HHV(HAHA,N)-LLV(HAHA,N))*100;
STICKLINE( 成交量阻力10 AND 股价阻力10 AND 成本阻力5{ AND 净量阻力二10 AND 净量阻力10 AND 二十日净量0 },-50,0,2,0)COLORRED;
50;
STICKLINE( 净量阻力二60 AND REF(净量阻力二60,1) AND 股价阻力10,-50,0,2,0)COLORBLUE;
STICKLINE(CROSS(成本阻力,股价阻力) AND 成本阻力80,150,100,2,0)COLORGREEN;
N1:=4;N2:=8;N3:=16;N:=34;M:=6;
HH:=MAX(HIGH,REF(CLOSE,1));
LL:=MIN(LOW,REF(CLOSE,1));
AA:=SUM(CLOSE-LL,N1)/SUM(HH-LL,N1);
BB:=SUM(CLOSE-LL,N2)/SUM(HH-LL,N2);
CC:=SUM(CLOSE-LL,N3)/SUM(HH-LL,N3);
B:(AA/N1+BB/N2+CC/N3)*N1*N2*N3/(N1*N2+N2*N3+N1*N3)*100,COLORRED,LINETHICK2;
S:EMA(B,M),COLORCYAN,LINETHICK2;
{DRAWGBKLAST(V1,STRIP(RGB(0,0,0),RGB(90,90,90),0));}
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));
饱和度:IF(SAT1,1,SAT)*100;
5:STICKLINE(饱和度=5,5,饱和度+20,4,0),COLORWHITE;
量能5~80:STICKLINE((饱和度5AND饱和度80),5,饱和度+8,4,0),COLOR5290FF;
量能80~97:STICKLINE((饱和度80AND饱和度97),5,饱和度,4,0),COLORRED;
量能97:STICKLINE(饱和度=97,5,饱和度,4,0),COLORYELLOW;
{IFBARSTATUS=2AND(饱和度)THENBEGINDRAWTEXTREL(0,100, #39;饱和度: #39;+NUMTOSTRN(饱和度,2)),LINETHICK6,COLORCCFFCC;END;
DIFF:(EMA(CLOSE,9)-EMA(CLOSE,17))*50,COLORRED;};
N:=1;M:=3;
求:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),0;
测换:求/FINANCE(7)*10000,COLOR0099FF;
换手:SUM(((VOL/CAPITAL)*100),N),COLOR0099FF;
VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR2:=DYNAINFO(7)=CLOSEANDDYNAINFO(10)=AMOUNT;
测量:IF(DYNAINFO(7)=CLOSEANDDYNAINFO(10)=AMOUNT,VAR1,VAR2),COLORYELLOW;
总量:SUM(VOL,N),COLORRED,NODRAW;
值:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
正:=IF(CLOSEOPEN,值*(HIGH-LOW),IF(CLOSEOPEN,值*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW;
负:=IF(CLOSEOPEN,0-值*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0-值*(HIGH-LOW),0-VOL/2)),COLORGREEN,NODRAW;
入:SUM(正,N),COLORYELLOW,NODRAW;
出:SUM(负,N),COLORGREEN,NODRAW;
相差:出+入,COLOR0099FF,NODRAW;
出入%:(入+出)/(入-出)*100,COLOR0099FF,NODRAW;
成交金额:AMOUNT/100,COLORRED,NODRAW;
{测量线}STICKLINE(IF(DYNAINFO(7)=CLOSEANDDYNAINFO(10)=AMOUNT,VAR1,VAR2),VAR1,0,2,1),CIRCLEDOT,COLORYELLOW;
{测量柱}STICKLINE(VAR2,VAR1,0,3,1),COLORYELLOW;
STICKLINE(VOL0,VOL,0,2,1),COLORRED;
STICKLINE(入,入,0,2,0),COLORRED;
STICKLINE(入0AND入REF(入,1),入*4/5,0,1,0),COLOR00AFFF;
STICKLINE(入0AND入REF(入,1),入*2/5,0,1,0),COLOR10FFFF;
STICKLINE(入0AND入REF(入,1),入,0,1,0),COLORMAGENTA;
STICKLINE(入0AND入REF(入,1),入*4/5,0,1,0),COLORCA3DB5;
STICKLINE(入0AND入REF(入,1),入*2/5,0,1,0),COLORFF99CC;
STICKLINE(出,出*(+1),0,2,0),COLOR66FF00;
STICKLINE(出,出*(+0.75),0,1,1),COLOR66DD00;
STICKLINE(出,出*(+0.75),0,1,0),COLOR66BB00;
STICKLINE(出,出*(+0.65),0,1,0),COLOR669900;
STICKLINE(出,出*(+0.55),0,1,0),COLOR667700;
STICKLINE(出,出*(+0.45),0,1,0),COLOR665500;
STICKLINE(出,出*(+0.35),0,1,0),COLOR663300;
多:=IF(CLOSEREF(CLOSE,1),VOL,0);
空:=IF(CLOSEREF(CLOSE,1),VOL,0);
上穿蓝短买:EMA(MA(多,1),M),COLORWHITE,LINETHICK2;
上穿白短卖:EMA(MA(空,1),M),COLORCYAN,LINETHICK2;