成本均线
本公式为计算5日,13日,34日的平均成本线 input: p1(5,0,100), p2(13,0,100), p3(34,0,100);
cb1:ema(AMOUNT,P1)/EMA(VOL,P1)/100; cb2:ema(amount,P2)/ema(vol,P2)/100; cb3:ema(amount,P3)/ema(vol,P3)/100; ∞:DMA(C,V/CAPITAL);