plot(1, 0,"======個股資訊======");
plot(2, GetSymbolInfo("有期貨"), "無期貨");
if GetSymbolInfo("有期貨") then
begin
value1 = GetSymbolField("Future*1", "收盤價");
setplotLabel(2, Text("期貨價:", value1));
end;
您好,想請問關於這段條件式在個股沒有期貨的狀態下運行指標,卻仍然執行判斷下列這行程式
GetSymbolField("Future*1", "收盤價");
如附圖所示,將上面這行刪除,if GetSymbolInfo("有期貨") 確實是有正常不去執行setplotLabel函式
不明白為何還會去判斷GetSymbolField函式?
5 評論