原先為2.48.06版,升級3.00.10版,上週改升級3.00.11版。
升級3.00版之後,原先可以執行的腳本,啟動之後執行結果會顯示對應資料不存在。
以下為示範腳本內容
函數腳本Zone:
input:MyValue(Numeric);
if MyValue >= 1000 then Zone = 1
else
if MyValue >= 500 then Zone = 2
else
if MyValue >= 100 then Zone = 3
else
if MyValue >= 50 then Zone = 4
else
if MyValue >= 10 then Zone = 5
else Zone = 6;
警示腳本:
SetBackBar(5);
SetTotalBar(1);
Print(File("C:\Users\USER\Desktop\TEST\"),"區間",Zone(q_Last) );
經測試發現,
Print只要引用報價函數 (例如:q_Last,q_TickVolume,q_AvgPrice...),
都會無法啟動。(升級3.00版前,皆可以正常執行)
以上情形回報,敬請XQ幫忙協助排除。謝謝。

3 評論