DRAWGBK(C>0,COLORRGB(176,,176),168,1);Aa1:=SUMBARS(,CAPITAL);:=IF(CAPITAL>0,SUM(AMOUNT,Aa1)/SUM(,Aa1)/100,EMA(CLOSE,120)),pointdot,COLORGRAY,LINETHICK2;换手成本20:HHV((llV(换手成本,1)+HHV(换手成本,2))/2,20),COLORyellow,LINETHICK2;换手成本120:HHV((llV(换手成本,1)+HHV(换手成本,2))/2,120),COLORred,LINETHICK2;PARTLINE(换手成本120=换手成本20,换手成本120),COLORRED, LINETHICK4;PARTLINE(换手成本120>换手成本20, 换手成本120),COLORGREEN,LINETHICK4;PARTLINE(换手成本120<换手成本20, 换手成本120),COLORGREEN,LINETHICK4;{强牛}var100:=dma(amount/v/100,v/capital);线:var1