Inserted Code
void DoDailyRates(void) { ArrayCopyRates(Day_Price,(Symbol()), PERIOD_D1); dopen=iTime(Symbol(),PERIOD_D1,0); datetime STime = iTime(NULL,PERIOD_D1,1); if(TimeDayOfWeek(STime)==0 /*Sunday*/) { datetime STime = iTime(NULL,PERIOD_D1,2); } YdHigh = iHigh(Symbol(), PERIOD_D1,STime); //Day_Price[0][3]; YdLow = iLow(Symbol(), PERIOD_D1, STime); //Day_Price[0][2]; YdOpen = iOpen(Symbol(), PERIOD_D1,STime); YdClose = iClose(Symbol(), PERIOD_D1,STime); TdayOpen = iOpen(Symbol(), PERIOD_D1,0); TdayHi = iHigh(Symbol(), PERIOD_D1,0); TdayLo = iLow(Symbol(), PERIOD_D1,0); TdayCls = iClose(Symbol(), PERIOD_D1,0);
i did like that but it is not showing me the lines... kindly help on that .. if any of working days includes monday to friday holiday comes then how to take previous day high low close.. it will be great helpful to my use ... and for my learning ... much of thaks in advance
Success is a Journey Not a Destination....... kind regards ramzam