a:=SUbsAMEDAY(&MONEY);
b:=SUBSAMEDAY(&NEW);
卖出:=-SUM(IF(b<0,a,0),0);
买入:=SUM(IF(b>0,a,0),0);
f:=(卖出+买入)/10;
资金差:卖出+买入,LINETHICK2,color0000ff;
PARTLINE(资金差,资金差>0,RGB(200,200,180),资金差<0,RGB(100,100,80),1),LINETHICK2;
STICKLINE(资金差>REF(资金差,1),资金差,资金差+f,1,1),Color0000ff;
STICKLINE(资金差<REF(资金差,1),资金差+f,资金差,1,1),Color00ff00;
z:0;