[請益] HTS powerlanguage盤中時間設定觸發問題已刪文
請問高手,
我正用日盛的HTS 4000在寫程式選股,目前希望每半小時(30分k)替我找出一些標的,
於是我程式這樣下:
if date <> date[1] then
if time >= 093000 and time < 100000 then
if condition1 then
drawpoint(topside,"9點半",5,5)
end if
end if
if time >=100000 and time <103000 then
if condition2 then
drawpoint(topside,"10點",5,5)
end if
end if
.........到收盤為止
end if
不過程式並無法如期在各個時間點觸發,不知是否有高手告訴我是哪裡出錯了?!
是時間函數嗎?感恩!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 122.116.43.245
※ 文章網址: https://www.ptt.cc/bbs/Stock/M.1430136903.A.140.html
→
04/27 20:37, , 1F
04/27 20:37, 1F
→
04/27 20:38, , 2F
04/27 20:38, 2F
→
04/27 22:49, , 3F
04/27 22:49, 3F
→
04/27 22:50, , 4F
04/27 22:50, 4F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
Stock 近期熱門文章
10
12
25
53
PTT職涯區 即時熱門文章