{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(CLOSE OPEN,量*(HIGH-LOW),IF(CLOSE OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSE OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,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;