不好意思 請教一下 以下為我腳本
if barfreq <> "Min" or Barinterval <> 1 then RaiseRuntimeError("請設定頻率為1分鐘");
variable: barnumberoftoday(0);
if Date <> Date[1] then
barnumberoftoday = 1
else
barnumberoftoday += 1;
once (GetField("最高價", "D") >= GetField("收盤價", "D")[1]*1.06 and
low <= GetField("最高價", "D")*0.965 and high <> GetField("最高價", "D") ) begin
count2 = barnumberoftoday;end;
我用print 請問為何count2有些股票會記錄不到
例如 3297在 0917分附近 3434 在0936分附近 6228在0935分附近
因該記錄到數值才對 但print卻是0 但有些就很正常有記錄到 請問是為什麼呢 感謝
10 評論