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:
If I set the option off and then on again it's alright:
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?
Data sequence issue on latest release V3
Questions about MultiCharts and user contributed studies.
3 posts • Page 1 of 1