I use some feed from Lenz&Partner company as data provider. I have some two-instrument indicator. For more certainty, let's consider a secondary chart based on the CL 05-25 instrument. In other words I have
AddDataSeries("CL 05-20", ...);
I noticed a weird thing with historical data when starting the indicator. The thing is that a lot of historical bar data of the secondary instrument (CL) for the current day was missed. But the historical data for the previous days was loaded completely. Only a few today's bars that are close to the current time was loaded, but there was no tens or even hundreds of bars from the beginning of the day. I tried the following ways:
1. Manual downloading the historical data of CL 05-25 (menu Tools -- Historical Data).
2. Reloading all historical data in the chart by Ctrl+Shift+R.
3. Reconnection to the feed.
And I got well-working indicator. I don't know exactly whether one of those actions or some their combination helped to resolve the issue. But my the first question is: Are you familiar with this anomaly?
Here is my the second question. Is there a possibility to call Ctrl+Shift+R command from the code of my indicator? If yes then I could apply it somewhere in the Transition state between Historical and Realtime states.
Thank you in advance.
Comment