Data sequence issue on latest release V3

Questions about MultiCharts and user contributed studies.
sparkz
Posts: 64
Joined: 16 Mar 2007

Data sequence issue on latest release V3

Postby sparkz » 19 Apr 2008

I've been playing around writing some indicators on the latest version V3. I noticed some odd behaviour with the sequence of data as presented to my indicators. In certain conditions it gets the data in the wrong order.

This is when the "update on every tick" option set. If it's not set there's no issue. What's happening is that recent bars are being merged with bars from the start. This output file illustrates what's happening. The first column is the barnumber:
8122,04/04/2008,04:00,1.5682,1.5673, 1
13,30/01/2007,19:00,1.9631,1.7143, 0
8123,04/04/2008,05:00,1.5678,1.5679, 1
14,30/01/2007,20:00,1.9623,1.7793, 0
15,30/01/2007,21:00,1.9624,1.8303, 0
8124,04/04/2008,05:59,1.5663,1.5672,-1

If I set the option off and then on again it's alright:
13,30/01/2007,19:00,1.9631,1.7143, 0
14,30/01/2007,20:00,1.9623,1.7793, 0
15,30/01/2007,21:00,1.9624,1.8303, 0
16,30/01/2007,22:00,1.9630,1.8683, 0
17,30/01/2007,23:00,1.9632,1.8952, 0
18,31/01/2007,00:00,1.9627,1.9135, 0

However, if I change the indicator and recompile it, I get the first sequence. Loading a new workspace with the indicator it's alright though as it is when you do a reload. I don't use reload though as it seems to hang for a long time before doing anything - well at least on my data (eSignal).

This does cause quite a problem when testing or tweaking new indicators as you do get strange results! I hope this is a bug and not a "feature".

Incidently, I don't know if this was the same on previous versions?

Thanks

sparkz
Posts: 64
Joined: 16 Mar 2007

Postby sparkz » 21 Apr 2008

Can TSSupport comment on this please. I assume it's a bug?

Thanks

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 23 Apr 2008

We would need the study as well as the workspace to which it was applied - to reproduce the problem on our end.


Return to “MultiCharts”