平均成本:=((COST(19.1)*0.809+COST(38.2)*0.618+COST(61.8)*0.382+COST(80.9)*0.191)/2+(COST(19.1)+COST(80.9)+COST(38.2)+COST(61.8))/4)/2;
成本线:((EMA(平均成本,48)+EMA(平均成本,56))/2+EMA(平均成本,52))/2,colorred;
底仓:=(平均成本*0.809+COST(0.809)*1.191)/2;
币线:((EMA(底仓,72)+EMA(底仓,84))/2+EMA(底仓,78))/2,colorgreen;