小編您好,
我想請教timeadd和currenttime這樣的寫法有誤嗎?
目前30分鐘經過後,他還是不斷觸發 (一分鐘線, K棒內單次觸發)
前面省略
if close < value4 * 0.989 then
begin
value5 = value3;
value6 = value4;
value7 = timeadd(currenttime, "M", 30);
end;
if value5 <> 0 and currenttime < value7 and (value2 - value5) / value5 >= 0.3 and close <= value6 then ret = 1;
1 評論