cond:=day<>ref(day,1);
n:=barslast(cond)+1;
jj:sum(amount,n)/sum(vol,n)/multiplier;//结算价
cond:=day<>ref(day,1);
n:=barslast(cond)+1;
jj:sum(amount,n)/sum(vol,n)/multiplier;//结算价
从当前K的前面1根到前面15根的结算价 应该是一个固定的值
你是等价啊~
等价15根可能走了1分钟 可能走了10分钟。你说该怎么定
n1:=todaybar;
dm:=4-INTPART(LOG(C));
A:ROUNDS(IF(sum(vol,n1)=0,C,sum(C*vol,n1)/sum(vol,n1)),2+dm),colorred;
15根啥的
自己统计
if todaybar=15 then
xxxx:ref(a,1);
end
结算价的问题,善用论坛的搜索功能 说过很多次了