咨詢內(nèi)容:我想引用,當國內(nèi)3點收盤之后,到夜市開盤之前,倫銅價格是漲還是跌,代碼如下:運行不正確,請問哪里沒寫對? if time = 1459 then tongP1:= CALLSTOCKEX('LMCDE',vtclose,1,0,30000) ; if time = 2050 then tongP2:= CALLSTOCKEX('LMCDE',vtclose,1,0,30000) ; tongRise:= (tongP2-tongP1)/tongP1*1.0; if time=2101 && tongRise >0 then .....
金字塔客服:
請問不正確是指哪里不正確,代碼看著都沒有問題的
用戶回復:tongRise 這個參數(shù)永遠都是正的,按理來說會正,也會負
網(wǎng)友回復:if time = 1459 then if time = 2050 then