Hi Khalil,
I have a question, but I am not sure this is the right place to ask, but I am going to ask it anyways. I would appreciate it very much if you could help.
I trade mostly index cfd's, and sp500 cfds get a lot of gaps during quite hours, where Dow does not miss bars much.
I am trying to match the exact bar times of both indexes and do some calculations but unfortunately I couldn't succeed.
Currently using the following line of code to match bars, but unfortunately when there is a bar missing it just brings up the nearest bar, which is not what I want.
for(i=limit; i>=0; i--) SDCDBuffer[i] = iClose(FXPair1, NULL, iBarShift(FXPair2, 0, Time[i], false));
FXPair1 = Dow
FXPair2= SP500
How could I solve this problem. Please advise... Thank you..
I have a question, but I am not sure this is the right place to ask, but I am going to ask it anyways. I would appreciate it very much if you could help.
I trade mostly index cfd's, and sp500 cfds get a lot of gaps during quite hours, where Dow does not miss bars much.
I am trying to match the exact bar times of both indexes and do some calculations but unfortunately I couldn't succeed.
Currently using the following line of code to match bars, but unfortunately when there is a bar missing it just brings up the nearest bar, which is not what I want.
for(i=limit; i>=0; i--) SDCDBuffer[i] = iClose(FXPair1, NULL, iBarShift(FXPair2, 0, Time[i], false));
FXPair1 = Dow
FXPair2= SP500
How could I solve this problem. Please advise... Thank you..