
小幫手請教
我腳本這樣撰寫,想要紀錄口數大於1500口且收盤價<開盤價之收盤價加總後之次數均價,
例如8/1這天4次,次數是對了,但是在加總後,數值都對不起來,不知道哪裡有錯誤,感謝。
input: _x(1500);
var:count(0),_blk(0);
if date<>date[1] then count=0;
if time>=084500 and time<134500 then
begin
if V>_X and C<O then
begin
count+=1;
_blk=C;
end;
end;
2 評論