TimeStamp problem

Hii Tomasz,

I am from India , our market timings are from 9:15 am to 3:30pm , So whenever I plot 75 min or 125 min chart I found 1 min extra candle [As shown in chart]. 75%20min%20error

After reading some post by other user, I tried to upload data using $timeshift. Now chart plotting properly, but Quotation editor shows time as 09:30:01 instead of 09:30:00.
timestamp

Am I doing something wrong ? Please guide

@sandeep you shouldn't use Time shift in this case. What you need to do is:

  1. Setup properly your market's trading hours (Database settings --> Intraday settings):

https://www.amibroker.com/guide/w_dbsettings.html

  1. Choose appropriate or preferred way of compressing intraday bars (Preferences --> Intraday) - START time of interval is recommended:

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


Similar threads:

http://www.amibroker.com/kb/2014/10/25/how-to-correct-forward-looking-timestamps/

2 Likes

And one more example showing, that similar ideas (using Time shift when importing intraday data) have been already discussed on the forum:

1 Like