Custom Instrument out of sync

Questions about MultiCharts .NET and user contributed studies.
MidKnight
Posts: 343
Joined: 12 Aug 2012
Has thanked: 123 times
Been thanked: 56 times

Custom Instrument out of sync

Postby MidKnight » 13 Sep 2014

So I'm told that CustomInstrument in MC 9.0 Release Candidate will solve all my problems as per this thread accessing volume data tick by tick:
viewtopic.php?f=19&t=47126

I'm also told that MC.net 9.0 Release Candidate is stable and to not worry about using it.

I'm directed towards sample code of how to use CustomInstrument here:
viewtopic.php?f=19&t=46969&view=unread#p107339

So I replicate that code and load this test indicator on my 1 tick data stream - out of sync. My fear about your support is heightened. If I can test this in 5 minutes and notice it immediately, I strongly wonder how you guys test things and approve them as "stable".

This screenshot shows one location where it goes out of sync but as I scan back through just a single day of tick data - there are many instances it occurs on a historical data load.
Attachments
MK_2014-09-13_192528.png
(66.79 KiB) Downloaded 1038 times

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

Re: Custom Instrument out of sync

Postby Henry MultiСharts » 15 Sep 2014

Hello MidKnight,

Unfortunately the fix for this issue was not included in Release Candidate version. It will be included in MultiCharts .NET 9.0 Release. We apologize for the inconvenience.

MidKnight
Posts: 343
Joined: 12 Aug 2012
Has thanked: 123 times
Been thanked: 56 times

Re: Custom Instrument out of sync

Postby MidKnight » 15 Sep 2014

Still a problem with build suggested from Henry to use (Build 9913). There are probably hundreds of errors within a single day of tick data. This screenshot only marks less than 1 minute of data and there are other discrepancies not marked on this chart.

Code used:

Code: Select all

protected override void StartCalc()
{
m_tickData = new CustomInstrument(this, new Resolution(EResolution.Tick, 1));
}


protected override void CalcBar()
{
plot1.Set(m_tickData.CloseValue);
}
Attachments
MK_2014-09-16_132704.png
(47.66 KiB) Downloaded 1054 times

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

Re: Custom Instrument out of sync

Postby Henry MultiСharts » 16 Sep 2014

This issue will be resolved in MultiCharts .NET 9.0 Release.


Return to “MultiCharts .NET”