獨孤求勝 發表於 16-1-2 17:16

為什麼會少1秒??真奇怪

如同各位大大看到的這樣,為什麼我的AB的時間會少一秒,要怎麼更改呢??
少一秒會影響5分K和15分K的正確性,有人知道要怎麼解決嗎??



補充內容 (16-1-3 13:16):
我要的是他出現整數的秒數例如11:50:00,不要少1秒,這樣其他K線的計算標準會跑掉

補充內容 (16-1-3 13:33):
目前5分K的週期是8:46-8:49,8:50-8:54
我想要改成8:46-8:50,8:51-8:55,這樣可以嗎??

joshsmi 發表於 16-1-2 23:37

There is nothing strange about it. It just shows end time of bar interval.
A 5-minute bar goes for example from 11:45:00 - 11:49:59
Next bar would go from 11:50:00 to 11:54:59 etc.

If you want AmiBroker to show start time of interval then go to
Tools - Preferences - Intraday

獨孤求勝 發表於 16-1-3 13:11

joshsmi 發表於 16-1-2 23:37 static/image/common/back.gif
There is nothing strange about it. It just shows end time of bar interval.
A 5-minute bar goes for e ...

I want 5-minute bar goes for example from 11:46:00 - 11:50:00
How to do that?

co5257 發表於 16-1-3 13:42

http://www.coco-in.net/thread-35602-1-1.html

獨孤求勝 發表於 16-1-3 16:04

co5257 發表於 16-1-3 13:42 static/image/common/back.gif
http://www.coco-in.net/thread-35602-1-1.html

我已經解決了,謝謝大大

joshsmi 發表於 16-1-4 01:12

Read this

http://www.amibroker.com/kb/2015/01/07/timestamps-explained/
and
http://www.amibroker.com/kb/2014/10/25/how-to-correct-forward-looking-timestamps/

AmiBroker use natural timestamping (no future offset).
Still you can shift back and forth as seen in second link.
頁: [1]
查看完整版本: 為什麼會少1秒??真奇怪