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; |
|