Forex Tester 2 Forum

Our site www.forextester.com
It is currently Tue Sep 30, 2014 8:48 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Apr 05, 2010 7:00 am 
Offline

Joined: Mon Apr 05, 2010 6:33 am
Posts: 2
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.


Attachments:
Weekly last candle time.JPG
Weekly last candle time.JPG [ 268.55 KiB | Viewed 5084 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group