COCO研究院

 找回密碼
 註冊
搜索
查看: 3004|回復: 5

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

[複製鏈接]
發表於 16-1-2 17:16 | 顯示全部樓層 |閱讀模式
如同各位大大看到的這樣,為什麼我的AB的時間會少一秒,要怎麼更改呢??
少一秒會影響5分K和15分K的正確性,有人知道要怎麼解決嗎??
why.jpg


補充內容 (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,這樣可以嗎??
發表於 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
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?
發表於 16-1-3 13:42 | 顯示全部樓層
 樓主| 發表於 16-1-3 16:04 | 顯示全部樓層
co5257 發表於 16-1-3 13:42
http://www.coco-in.net/thread-35602-1-1.html

我已經解決了,謝謝大大
發表於 16-1-4 01:12 | 顯示全部樓層
Read this

http://www.amibroker.com/kb/2015/01/07/timestamps-explained/
and
http://www.amibroker.com/kb/2014 ... looking-timestamps/

AmiBroker use natural timestamping (no future offset).
Still you can shift back and forth as seen in second link.
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版|Archiver|站長信箱|廣告洽詢|COCO研究院

GMT+8, 24-11-22 17:33

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回復 返回頂部 返回列表
理財討論網站 |