MT4 platform without Sunday - page 2

 

if (DayOfWeek()==5 && Hour()==20)

{

Closing order routine.......closes open orders the last last hour of Friday

}

if (DayOfWeek()>0 && DayOfWeek()<6)

{

Opening order routine......opens orders only on weekdays

}

 

i tried that code.. it isnt working for me.. what am i doing wrong?

 

MT4 platform without Sunday

Hi guys,

Just wondering, are there any MT4 brokers who do not have a Sunday bar for their daily charts?

Thanks.

 

FXDD, which has time zone GMT+3, starts Monday at 0:00.

 

hi

fx_geezer:
Hi guys,

Just wondering, are there any MT4 brokers who do not have a Sunday bar for their daily charts?

Thanks.

Hi I think We need Sunday Chart to predict Monday movement ...and monday gap exist coz we didn't know saturday and sunday movement

===================

Forex Indicators Collection

 
prasxz:
Hi I think We need Sunday Chart to predict Monday movement ...and monday gap exist coz we didn't know saturday and sunday movement

Not many bars on Sunday to base your prediction on, if it all possible... . Anyway, they're the same bars, only the time stamp is shifted 3hours.

 

a solution, offline daily charts produced..

Eric:
Someone please correct me if I am wrong, but I think you need a broker that has their platform set to GMT+2 to avoid the Sunday "daily" bar. Interbankfx recently considered changing their server time to GMT+2 for this very reason, although they eventually decided against it and have left their server time at GMT.

a solution, offline daily charts produced..

Files:
 

Deleting 2 Hour Sunday Bars from IBFX Daily Charts Using MQL Code

Hello,

I need to delete some bad data from daily chart. Some history center functions needed to be coded in mql.

Ibfx opens a wrong bar for sundays, a day bar with 2 hour data, disturbing daily charts and producing dirty signals.

I need to remove these bars immediatly, using my trading expert. Without disturbing loaded indicators on daily data?

Any coding idea..?

Thanks.

 

I use tihs code to remove sundays from my moving average.

TempBuffer3 = Is just a bunch of close data

BufferAVE = Is array that ends up on chart

for(i=0; i<limit; i++)

{

if(No_Sundays ==true)

{

int z = 0;

int HLsum = 0;

for(int x = i; x < i + (Period * 2); x++)

{

if(SundayCheck(x) !=0)

{

HLsum += TempBuffer3[x];

z =z+ 1;

//if(i ==0) Print(x, " ", z);

}

if(z >= Period) break;

}

BufferAVE = NormalizeDouble(HLsum/z,0);

}

else

BufferAVE=iMAOnArray(TempBuffer3,Bars,Period,0,MODE_SMA,i);

}

//Sunday check

int SundayCheck(int Index)

{

datetime data = iTime(NULL, PERIOD_D1, Index);

return(TimeDayOfWeek(data));

}

 

History data

Hi all,

I have a demo setup from Metaquotes that uses MIG data. Ocassionally there is a Saturday quote that appears with the same open, high, low,close and when I delete it and restart the platform it returns. How do I delete this quote permanently?

or Do I have to save the data and import it back every time I start Metatrader?

Thanks

Reason: