NT Freezing Tip:
After many months of frustration with NT 7 freezing on loading small time frame charts (i.e. 1 - Min) and following all recommendations to no fixes, I finally noticed at least one possible reason for freezing and slow loading.
Most likely you are applying an indicator that is using a recursive process, such as a pattern recognition task, where the code is going back and fort looking for a certain pattern within the code limits over the entire data set. Assuming approximately 8000-9000 bars in 5 days of 1 min chart, a recursive calculation this many times is time consuming. Now, if you have more than one instance of this indicator, it is even worst.
The idea is to decide a range where that sought after pattern would be valid within that range; for example, the most recent 250 bars.
Solution:
NT7 provides a look-back method that can be used to limit the recursive calculation. Simply inserting the following statement under the "protected override void Initialize():"
ForceMaximumBarsLookBack256 = true;
makes life less frustrating.
Support: The NT explanation of forced look back is very brief and I may be using it incorrectly. Please comment if this is a valid work around and if values other than 256 for look back can be used.
Thanks.
Comment