T100:SUMBARS(vol,CAPITAL),colormagenta;
T50:SUMBARS(VOL,CAPITAL/2),colorred;
20,dotline;
买入:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
卖出:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
DRAWTEXT(ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),T100,'★'),COLORgreen;
{股旁网-股票公式网站 www.gupang.com}
DRAWTEXT(ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),T50,'★'),COLORred;
卖换:sum(v,BARSLAST(卖出))/capital,linethick0;
买换:sum(v,BARSLAST(买入))/capital,linethick0;