Page 1 of 1
Problem with esignal datafeed.
Posted: Oct 03 2014
by waldem
Hallo MC team,
i have a severe problem using esignal as datafeed.
i'm using weekly bars and i really cannot understand why my strategy cannot recognize the last bar even if the market is close.
today is October 03 and if i plot on chart a very simple code:
Code: Select all
var:MyDate (0);
//Debug
if currentbar = 1 then cleardebug;
MyDate = datetojulian (Date);
print (datetostring (MyDate) ," ", close ," " );
i got the information that the last bar is September 26.
maybe should i open one BUG tracker?
Re: Problem with esignal datafeed.
Posted: Oct 03 2014
by waldem
I forgot to tell you that i'm using Adidas correctly plot in chart, you can see the picture.
Re: Problem with esignal datafeed.
Posted: Oct 03 2014
by flomtl
using weekly bars the last full bar on your chart would be last Fridays close.
the week will close today at 430 and u should then see the Oct3 as the date.
The bar is only considered once its completed.
when u refer to "close" in your code, it is "close" of the most recent bar. since the week hasnt ended, the "close" data is unavailable.
i hope this helps
i think your data feed is ok.
try with a smaller time increment (daily) and see if u get same results.
with daily data the date that should get printed is Oct2
with minute data you would get Oct3.
Re: Problem with esignal datafeed.
Posted: Oct 04 2014
by bensat
...... try with a smaller time increment (daily) and see if u get same results.
with daily data the date that should get printed is Oct2 with minute data you would get Oct3.
Or select "Update On Every Tick" which has further impact on your "print"-statement.
Re: Problem with esignal datafeed.
Posted: Oct 04 2014
by waldem
Hi fomtl, i wrote the post when the week was finish and the bar already close, i'm writing in European time.
if i put again the system today that is saturday, the week is close and i cannot get the last close, this is an error in my opinion.
if i use metastock data it works.
dear MC developer, as wrote today is saturday and the bar is close.
if i use daily frame i got 03 october, if i use weekly bar i got 26 September.
this problem is not depending from datafeed, also using multicharts datas is the same.
this make no sense in my opinion.
Re: Problem with esignal datafeed.
Posted: Oct 05 2014
by waldem
Hallo Bensat, i cannot do Update On Every Tick because is a strategy not indicator.
Hallo all, today is sunday and i still cannot get the last friday close, this should be an error.
pls see in attached picture the date of my pc.
on monday i will contact MC developer on chat.
Re: Problem with esignal datafeed.
Posted: Oct 06 2014
by waldem
now is monday morning, new week bar is open and finally i can get the close of October 03, this is amazing....
Re: Problem with esignal datafeed.
Posted: Oct 06 2014
by Henry MultiŠ”harts
We are currently analyzing this behavior.
Re: Problem with esignal datafeed.
Posted: Oct 08 2014
by Henry MultiŠ”harts
This issue has been confirmed. It will be resolved in MultiCharts 9.1.