I have built an indicator to examine forex relationships, and it loads 28 DataSeries of forex, using the chart timeframe.
That seems to work fine, except that after a while the chart freezes, and the data stops flowing, and Ninja's Control Centre becomes unusable.
At first, of course, I presumed the coding of the analysis logic within the indicator was somehow at fault, however I have now ruled that out by getting OnBarsUpdate() to do nothing except print the time on the chart.
if (State==State.Realtime)
Draw.TextFixed(this,"proof of life",DateTime.Now.ToString(),TextPosition.BottomRight);
return; // SHOW STOPPER - ENSURE DO NOTHING (TESTS FREEZING CHART)
This, therefore, is beyond being a coding problem and seems to be a Ninja problem. I'd like you to examine and test the code please, to see what might be done.
Thanks in advance,
saltminer

Comment