DRAWGBK(C>0,COLORRGB(176,250,176),168,1); Aa1:=SUMBARS(vol,CAPITAL); 换手成本:=IF(CAPITAL>0,SUM(AMOUNT,Aa1)/SUM(VOL,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); 筹码线:var100*1.1,colorwhite,linethick2;{1.1} 牛熊线:COST(75),colorblue,linethick2; 持仓线:MA(CLOSE,20) ,coloryellow,linethick0; STICKLINE(c>0,o,c,8,0), colorblue; STICKLINE(c>0,h,l,0.8,0) ,colorblue; a:=close>筹码线 and CLOSE>牛熊线 and CLOSE>持仓线; b:=close>筹码线 and CLOSE<牛熊线 and CLOSE>持仓线; STICKLINE(a>0,o,c,8,0) ,coloryellow; STICKLINE(a>0,h,l,0.8,0), coloryellow; STICKLINE(b>0,h,l,0.8,0), COLORMAGENTA; STICKLINE(b>0,o,c,8,0), COLORMAGENTA;