- if (BarsInProgress == 1)
MAX(...) will give you the MAX within the secondary bar object.
I use MAX and MIN for a secondary object which happens to be a 1 minute dataseries correctly defined in Configure section
I was using BarsArray[1].GetBar(starttime); and GetBar(endtime);
to get the bars within a defined time period all of this in the BarsInProgress == 1 section
I even switched to Bars.GetBar and this didnt seem to make much difference - but these do NOT return the correct bar for the supplied times a 30 minute period with endtime 30 minutes after start time so i should get 29/30 bars difference between the start and the end bars.
The code is getting the MAX and MIN prices for the bars in this time period ie MAX of the Highs[1] and MIN of the Lows[1]
on close inspection today it is not getting the correct value for the lowest low - and this has been working fine.
So i printed out the values of Lows[1][x] for a number of bars back to check values and they dont appear correct
is there any synch issue with Lows[1] for the secondary series or even using Low in the BarsInProgress == 1 is the same - which is recommended out of interest having read documentation
it wasnt clear and have looked at past support notes.
So now i am concerned how reliable the Low High information is for this secondary series
My primary bar series is a custom bar but that should not matter So not sure what in new release would have changed regarding multi series and synching of these low high series and that i am not getting correct bar number for the current session.
Something is suddenly out of synch or not reliable - have any of these methods been changed or deprecated for working with multi series? I realise if both bar objects share the same time stamp the primary is processed first but that is not the issue in this case.
thanks
OK update to this - why i tried this as it didnt make sense was working on my other machine which is connected to live market and this machine
So i went into db/cache and deleted all the directories...
restarted ninja and now all is ok
this has been driving me crazy for 3+ hours trying to debug this - why would the cache have been impacting this and the bars and series
and this was for a new chart i added today to test this ?
I havent deleted the cache in long time but clearly this is a contributory aspect to this and out of synch
please explain - so i can bear in mind in future as i didnt think the cache situation was as problematic in Nt8

Comment