cond:=day<>ref(day,1) or barpos=1;n:=barslast(cond)+1; jj:sum(amount,n)/sum(vol,n)/multiplier;此主题相关图片如下:白糖均线计算.png
同样公式在pp 豆油上却是可以的
谢谢!