Forex Tester Forum (Professional Training Software for Traders) Forum Index Forex Tester Forum (Professional Training Software for Traders)

Back to main site   Risk disclosure
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Discrepancy on Data Time offset

 
Post new topic   Reply to topic    Forex Tester Forum (Professional Training Software for Traders) Forum Index -> Data sources
View previous topic :: View next topic  
Author Message
ForexQuant



Joined: 05 Apr 2010
Posts: 2

PostPosted: Mon Apr 05, 2010 12:00 pm    Post subject: Discrepancy on Data Time offset Reply with quote

I'm using the free data source on your website and i appreciate it. However I discover some discrepancies on the latest data source (Jan 2001 - 01 Apr 2010).

The data used to end on 22:00 every Friday but not for the latest updated data. In fact, it ends on 20:00 since Feb 10.

I have checked on other 1M candle and I noticed that the candle time has shifted 2hours early. Could you please check on this matter and rectify it?

Enclosed is the time of the last candle on every Friday. The last candle time inside the red box is 20:00 instead of 22:00.

btw here is my metatrader code to obtain the last candle time on Friday.

Quote:
int start()
{
//----
int i, j;
datetime dtCurrentCandleTime, dtNextCandleTime;
string sComment;

for(i = 1; i <= Bars; i++)
{
dtCurrentCandleTime = iTime(NULL, 0, i);
dtNextCandleTime = iTime(NULL, 0, i - 1);
if(TimeDayOfWeek(dtCurrentCandleTime) == 5 && TimeDayOfWeek(dtNextCandleTime) != 5)
{
j++;
if(j == 10)
{
sComment = StringConcatenate(sComment, "\n");
j = 0;
}
sComment = StringConcatenate(sComment, " ", TimeToStr(dtCurrentCandleTime));
}
}
Comment(sComment);

//----
return(0);
}


I hope you understand the problem. Thank you.



Weekly last candle time.JPG
 Description:
 Filesize:  268.55 KB
 Viewed:  4639 Time(s)

Weekly last candle time.JPG


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Forex Tester Forum (Professional Training Software for Traders) Forum Index -> Data sources All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group