View Single Post
  #5 (permalink)  
Old 07-13-2006, 07:07 PM
jhernandez's Avatar
jhernandez jhernandez is offline
Member
 
Join Date: Mar 2006
Posts: 35
jhernandez is on a distinguished road
In this part of the code:

PHP Code:
   int dow TimeDayOfWeek(iTime(NULLPERIOD_D10));
   
int dow1 TimeDayOfWeek(iTime(NULLPERIOD_D11));

   
int sh 1;
   if ((
HaveSunday) && (dow == 1))
      
sh 2// skip sunday 
If its Monday, you skip Sundays data by going back 2 days.... doesnt' that put you on Saturday then? Or does Metatrader skip Saturday as well... Should we be going back 3 days, to Friday's data?

Thanks

Juan
Reply With Quote