主买:=IF(CLOSE>=REF(CLOSE,1) AND VOL>=500,VOL,0);
主卖:=IF(CLOSE<REF(CLOSE,1) AND VOL>=500,VOL,0);
STICKLINE(VOL>0,VOL,0,2,1),colorwhite;
STICKLINE(主买>0,0,主买,2,0),colorlired;
STICKLINE(主卖>0,0,主卖,2,0),colorligreen;
LW1: (主买-主卖),colormagenta;
SP1: (LW1/CAPITAL*100),colormagenta;
LW5:SUM(LW1,5),colorwhite;
SP5:SUM(SP1,5),colorwhite;
LW10:SUM(LW1,10),coloryellow;
SP10:SUM(SP1,10),coloryellow;
LW20:SUM(LW1,20),colorligreen;
SP20:SUM(SP1,20),colorligreen;
LW60:SUM(LW1,60),colorred;
SP60:SUM(SP1,60);