Dislikedhi guys i am having a bit of trouble with D2 chart. my broker is standard Ny daily close broker GMT instaforex GMT +2 in my mt4, the D1 chart prints exactly 5 daily candles during the week, with no weekend candles. i am not applying any timeshift to the below it is set at default - 0 In the d2 chart below, it is printing the weekend candle, every other week. Is there any thing i can do in the settings to make it similar to the D1 chart i.e. no weekend candle? {image}Ignored
I have zero interest in D2 bars. The programs does create them, as you see, but you have no control over the start time of each D2 bar. What you want is simply to detect a consistent start-of-the-week for the D2 bar. Then it might work. BUT... do you want 3 bars every week, or 5 bars every 2 weeks? And what decides which weeks would be "Mon-Tue" combined, and other weeks you want "Fri-Mon" combined???
You see there are no standards, and yet the questions need to be addressed.
Maybe someone else will want to take it on, but the code is only 509 compatible too. I'm busy with other projects, sorry.