Studies not work with second bars  [SOLVED]

Questions about MultiCharts and user contributed studies.
Pennino
Posts: 13
Joined: 06 Mar 2013
Has thanked: 1 time

Studies not work with second bars

Postby Pennino » 19 Mar 2013

Hi,

I am new to MC and I searched on the subject before posting this one.

Quick question.
Studies seem to not work with second bars. i.e 10 or even 30 sec timeframes. Why is that?

Thank you in advance.

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

Re: Studies

Postby Henry MultiСharts » 19 Mar 2013

Hello Pennino,

Please describe what do you mean exactly.
What exact study you are using?
What is your chart resolution, smbol name, data provider?
What results do you expect to have?
What results do you have?

Pennino
Posts: 13
Joined: 06 Mar 2013
Has thanked: 1 time

Re: Studies

Postby Pennino » 19 Mar 2013

Hi

Below my answers to your questions.
Cheers
Hello Pennino,

Please describe what do you mean exactly.
I have a chart open with EURUSD 1 hr. and a study i.e. RSI, than if I switch to 10 sec. the RSI disappears
What exact study you are using?
Any: RSI, ROC, etc.
What is your chart resolution, smbol name, data provider?
Problem is occurring with any resolution below 60 seconds. EURUSD, Interactive Broker.
What results do you expect to have?
To be able to see the indicator (RSI)
What results do you have?

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

Re: Studies

Postby Henry MultiСharts » 19 Mar 2013

Is the data on your chart fully loaded? Can you see "Backfilling" in the status line of the chart (make sure it is enabled in Format->Window->Status line)?

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Studies not work with second bars

Postby TJ » 19 Mar 2013

Hi,

I am new to MC and I searched on the subject before posting this one.

Quick question.
Studies seem to not work with second bars. i.e 10 or even 30 sec timeframes. Why is that?

Thank you in advance.
Who is your data supplier?
How far back history are you loading?

It is possible you do not have enough historic tick data in your database, and MultiCharts is trying to load the data from your provider. If your provider has limited back history, or if your data is throttled (eg InteractiveBrokers), then you will see "Backfilling..." at the top left corner of the chart. The chart will start calculating the indicator only when the data is loaded. You can try a shorter back history to see if it makes a difference.

Pennino
Posts: 13
Joined: 06 Mar 2013
Has thanked: 1 time

Re: Studies not work with second bars

Postby Pennino » 20 Mar 2013

Hi,

thank you both for your kind replies, they helped me understanding the issue.

It has to do with the data feed, in this case Int. Broker.

Settings are correct in terms of Backfilling but with IB, if I use a back histrory bigger than 40 days than the calculation becomes too complex and the study never appears.
Different with IQFEED where I can use history up to 500 days with no problem.
Interesting!

See screenshot of the two charts.

TO TJ: What does it mean that IB data are "throttoled"?

Thank you very much for your support
Attachments
MC_RSI.png
(102.31 KiB) Downloaded 501 times

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

Re: Studies not work with second bars  [SOLVED]

Postby Henry MultiСharts » 20 Mar 2013

Pennino,

your IB chart is backfilling data. See TJs reply:
It is possible you do not have enough historic tick data in your database, and MultiCharts is trying to load the data from your provider. If your provider has limited back history, or if your data is throttled (eg InteractiveBrokers), then you will see "Backfilling..." at the top left corner of the chart. The chart will start calculating the indicator only when the data is loaded. You can try a shorter back history to see if it makes a difference.
IB has a limitation for the amount of historical data it can return per request. If you go to MultiCharts->File->New->QuoteManager window most probably you will see Pacing Violation error in the Event Log. Here is an explanation for it.
There is no such limitation with IQFeed. You can get 8 calendar days within session hours, 120 days in non-session hours of tick data from IQFeed.

So the indicator will be calculated on your IB chart once all data you have requested is loaded.
You can request less historical tick data for your IB chart, or restart TWS/Gateway each time you have a pacing violation error in Event Log until all data is backfilled.

Pennino
Posts: 13
Joined: 06 Mar 2013
Has thanked: 1 time

Re: Studies not work with second bars

Postby Pennino » 20 Mar 2013

Thank you again. Solved as far as I am concerned.
Cheers

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Studies not work with second bars

Postby TJ » 20 Mar 2013

Hi,

thank you both for your kind replies, they helped me understanding the issue.

It has to do with the data feed, in this case Int. Broker.

Settings are correct in terms of Backfilling but with IB, if I use a back histrory bigger than 40 days than the calculation becomes too complex and the study never appears.
Different with IQFEED where I can use history up to 500 days with no problem.
Interesting!

See screenshot of the two charts.

TO TJ: What does it mean that IB data are "throttoled"?

Thank you very much for your support
Please see InteractiveBrokers explanation:

Historical Data Limitations
http://www.interactivebrokers.com/php/a ... ations.htm


Return to “MultiCharts”