variable:kdp[]=0;
variable:i=0;
if day=10 and date>ref(date,1) then BEGIN
i:=i+1;
kdp:=c;
end
//if i=5 then kdp0:=kdp[i];
kdp00:kdp[5];
ii:i,noaxis;
variable:kdp=0;
variable:i=0;
if day=10 and date>ref(date,1) then BEGIN
i:=i+1;
kdp:=c;
end
kk:kdp;
if barpos>5 then kdp00:kk[5];
kk[5]就是你要求的原来的kdp[5]
了解如上。我的问题没有问好。
我要的是i=5时,kpc[5]赋值为那时的close。该怎么办?