彩瀑源码
n 3
pb1 : (ema(amount*100,n)/ema(vol,n)+sum(amount*100,2*n)/sum(vol,n*2)+sum(amount*100,n*4)/sum(vol,n*4))/3;
pb2 : (ema(amount*100,n+2)/ema(vol,n+2)+sum(amount*100,(n+2)*2)/sum(vol,(n+2)*2)+sum(amount*100,((n+2)*4)-1)/sum(vol,((n+2)*4)-1))/3;
pb3 : (ema(amount*100,n+4)/ema(vol,n+4)+sum(amount*100,(n+4)*2)/sum(vol,(n+4)*2)+sum(amount*100,((n+4)*4)-2)/sum(vol,((n+4)*4)-2))/3;
pb4 : (ema(amount*100,n+6)/ema(vol,n+6)+sum(amount*100,(n+6)*2)/sum(vol,(n+6)*2)+sum(amount*100,((n+6)*4)-3)/sum(vol,((n+6)*4)-3))/3;
pb5 : (ema(amount*100,n+8)/ema(vol,n+8)+sum(amount*100,(n+8)*2)/sum(vol,(n+8)*2)+sum(amount*100,((n+8)*4)-4)/sum(vol,((n+8)*4)-4))/3;
pb6 : (ema(amount*100,n+10)/ema(vol,n+10)+sum(amount*100,(n+10)*2)/sum(vol,(n+10)*2)+sum(amount*100,((n+10)*4)-5)/sum(vol,((n+10)*4)-5))/3;