N:=5;
P:=3;
Var2:=(CLOSE-REF(OPEN, 1))/REF(OPEN, 1)*100;
主买:(vol-SELLVOL), VOLSTICK, COLORRED;
Var3:=SUM(主买, 0)/10;
主卖:(VOL-BUYVOL), VOLSTICK, COLORGREEN;
Var4:=SUM(主卖, 0)/10;
买卖比:SUM(Var3, 0)/SUM(Var4, 0), COLORWHITE;
大单N万:IF(AMOUNT>N*10000, AMOUNT, 0)/10000, VOLSTICK, COLORYELLOW;
大单次数:SUM(AMOUNT>N*10000, 0), COLORWHITE;
小单P万:IF(AMOUNT>P*10000 AND AMOUNT
STICKLINE(大单N万 AND 主卖, 0, 200, 5, 0), COLORGREEN;
STICKLINE(小单P万 AND 主卖, 0, 100, 5, 0), COLORFFAA00;
STICKLINE(小单P万 AND 主买, 0, 100, 5, 0), COLORMAGENTA;
SUM(主买, 0)/10, POINTDOT, COLOR9999FF;
SUM(主卖, 0)/10, POINTDOT, COLORFFFF66;