loading data for 1 day includes last 3 bars previous day  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
gvandenbosch
Posts: 30
Joined: 24 Oct 2013
Has thanked: 9 times
Been thanked: 3 times

loading data for 1 day includes last 3 bars previous day

Postby gvandenbosch » 18 Dec 2013

Hi,

When I create a chart with the following settings:

Symbol: NFLX
Session: 24/5
Data range: 1 Days Back From: 17/12/2013

The first 3 bars I get in my calcbar function are from 16/12/2013.

Why is this happening?
Is there a way I will only get the bars from 17/12/2013 with the session on 24/5?
Or is there a way to get the "from date" that the user has speciified creating the chart?

Cheers,
Gerard

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: loading data for 1 day includes last 3 bars previous day

Postby Henry MultiСharts » 18 Dec 2013

Hello Gerard,

What is your chart resolution?
What is the chart time zone (Format->Instrument->Settings tab->Time zone)?
What is your system time zone?

gvandenbosch
Posts: 30
Joined: 24 Oct 2013
Has thanked: 9 times
Been thanked: 3 times

Re: loading data for 1 day includes last 3 bars previous day

Postby gvandenbosch » 18 Dec 2013

Hi Henry,

Resolution: 1minute
Timezone: Exchange
System timezone: UTC + 1

Cheers,
Gerard

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: loading data for 1 day includes last 3 bars previous day  [SOLVED]

Postby Henry MultiСharts » 19 Dec 2013

Gerard,

24/5 session template is using the Local time zone. That is possible to change it to Exchange in QuoteManager->Tools->Session templates->24/5->Edit->Session time->Exchange.
You can also specify a “From-To” data request for your chart in Format->Instrument->Settings tab->Data range.

gvandenbosch
Posts: 30
Joined: 24 Oct 2013
Has thanked: 9 times
Been thanked: 3 times

Re: loading data for 1 day includes last 3 bars previous day

Postby gvandenbosch » 20 Dec 2013

Hi Henry,

Thank you, changing the session template to the exchange fixed the problem.

Also tried specifying the from-to range but this gave the same issue.

Cheers,
Gerard


Return to “MultiCharts .NET”