多头线:(SUM((((2)*(CLOSE-CLOSE*0.2)+(OPEN-OPEN*0.2)+(HIGH-HIGH*0.2)+(LOW-LOW*0.2))/(5))*(VOL),8))/(SUM(VOL,8)),COLOR0099FF,LINETHICK1;
空头线:LLV(多头线,8),LINETHICK1,COLORGREEN;
C-C*0.2,COLORWHITE,LINETHICK1;n:= 5;s3:=20;g3:=11;p:=20;
成交量(手):VOL,POINTDOT;
换手:100*V/CAPITAL,COLORRED;
十日换手:ma(100*V/CAPITAL,10),COLORRED;
量比:(v-ref(v,1))/v;
量连线:ma(成交量(手),1);
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:ma(IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),n),POINTDOT,COLORRED;
主动卖盘:ma(IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),n),COLORGREEN;
STICKLINE(主动买盘>0,0,VOL,6,1),COLORWHITE;
STICKLINE(主动买盘>0,0,主动买盘,6,0),COLORRED;
STICKLINE(主动卖盘<0,0, 主动卖盘,6,0),COLORGREEN;
a:ma(主动买盘,8)*5,LINETHICK3,Colorred;
a3:=MA(主动买盘,11)*5;{Color1A16F5;}
{a1:MA(主动买盘,9)*5,Color2B02CC;
a2:MA(主动买盘,10)*5,Color1A00FB;
a4:MA(主动买盘,12)*5,Color5244FF;
a5:MA(主动买盘,13)*5,Color6053FF;
a6:MA(主动买盘,14)*5,Color8B88FF;
a7:MA(主动买盘,15)*5,ColorCBCAFF;
a8:MA(主动买盘,16)*5,ColorECECFF;}
b:MA(主动卖盘,8)*-5,LINETHICK3,Colorgreen;
b3:MA(主动卖盘,11)*-5,Color00C520;
{b1:MA(主动卖盘,9)*-5,Color007820;
b2:MA(主动卖盘,10)*-5,Color009C20;
b4:MA(主动卖盘,12)*-5,Color00E020;
b5:MA(主动卖盘,13)*-5,Color00FF20;
b6:MA(主动卖盘,14)*-5,Color63FF8E;
b7:MA(主动卖盘,15)*-5,Color93FFB4;
b8:MA(主动卖盘,16)*-5,ColorC1FFD8;}
买进:cross(a,b);
DRAWICON(买进 ,a*1.3,7 );
卖出:cross(b,a);
DRAWICON(卖出 ,a*1.3,8);
买进1:cross(量连线,a) and cross(量连线,b) and 量连线>b*1.2 ;
DRAWICON(买进1 ,量连线*1.1,7 );
STICKLINE(cross(a,a3) ,a*0.8 ,a*1.2,1 , 1),colorred;
STICKLINE(cross(a3,a) ,a*0.8 ,a*1.2,1 , 1),colorgreen;
FILLRGN( a,b,b<a,rgb(250,0,0),b>a,rgb(0,250,0));
快马:a3,colorwhite;
支点:ma((主动买盘+主动卖盘)/2,p)*50;