It paints all of the days up to number 5, but not 6 or 7. Could it be that even though my broker has a Sunday bar, there is no Saturday bar? I have tried 1,2,3,4,5,7 no good - & I tried 1.2.3.4.5.6, the same. Only the original five days can be used !?
Jeeves: It paints all of the days up to number 5, but not 6 or 7. Could it be that even though my broker has a Sunday bar, there is no Saturday bar? I have tried 1,2,3,4,5,7 no good - & I tried 1.2.3.4.5.6, the same. Only the original five days can be used !?
Jeves
Sunday is day 0 in metatrader
Change this :
if (!ShowDay[day-1]) continue;
to this
if (!ShowDay[day]) continue;
and it should work (days for metatrader go like this 0,1,2,3,4,5,6 - where 0 is Sunday and 6 is Saturday)
Hi guy. For some reason it refuses to appear on the chart. I removed the '5 Days' indicator, and altered the name, but it still hides itself!
Hi guy. For some reason it refuses to appear on the chart. I removed the '5 Days' indicator, and altered the name, but it still hides itself!
Jeeves
Set some of the showDay parameters to true (like on the example picture) :
It paints all of the days up to number 5, but not 6 or 7. Could it be that even though my broker has a Sunday bar, there is no Saturday bar? I have tried 1,2,3,4,5,7 no good - & I tried 1.2.3.4.5.6, the same. Only the original five days can be used !?
It paints all of the days up to number 5, but not 6 or 7. Could it be that even though my broker has a Sunday bar, there is no Saturday bar? I have tried 1,2,3,4,5,7 no good - & I tried 1.2.3.4.5.6, the same. Only the original five days can be used !?
Jeves
Sunday is day 0 in metatrader
Change this :
if (!ShowDay[day-1]) continue;
to this
if (!ShowDay[day]) continue;
and it should work (days for metatrader go like this 0,1,2,3,4,5,6 - where 0 is Sunday and 6 is Saturday)
Sorry Guy...now I get an error message!
Sorry Guy...now I get an error message!
All works OK for me
This is the version I tested (the line changed is line 112) : 7days_2.mq4
Were do I start learning coding
Were do I start learning coding
This is a good starting point : https://www.mql5.com/en/forum/172969
Were do I start learning coding
Drunkpips, also here: https://www.mql5.com/en/forum/173230
All works OK for me This is the version I tested (the line changed is line 112) : 7days_2.mq4
Many, many thanks mladen. Sorry for disappearing so quickly yesterday. I was highjacked by the grandchildren!!