牛股确认改编优化版
AA1:=SUMBARS(VOL,CAPITAL);
换手成本:=IF(CAPITAL>0,SUM(AMOUNT,AA1)/SUM(VOL,AA1)/100,EMA(CLOSE,120)){,POINTDOT,COLORGRAY,LINETHICK2;100%换手平均成本线};
换手成本20:HHV((LLV(换手成本,1)+HHV(换手成本,2))/2,20),COLORYELLOW,LINETHICK2;
换手成本120:HHV((LLV(换手成本,1)+HHV(换手成本,2))/2,120),COLORRED,LINETHICK2;
IF(换手成本120=换手成本20,换手成本120,DRAWNULL),COLOR0000FF,LINETHICK4;
IF(换手成本120>换手成本20 OR 换手成本120<换手成本20,换手成本120,DRAWNULL),COLOR00FF00,LINETHICK4;
656200673.png
|