Tip: How to Prevent NinjaTrader Freezing During Data Connection
Share
Tip: How to Prevent NinjaTrader Freezing During Data Connection
If you're using the PricelineCrossDetector indicator in NinjaTrader, the platform might occasionally freeze or become very slow when connecting to the data server. This rare issue typically occurs because the indicator performs intensive calculations on historical data as soon as the chart loads.
✅ Quick Solution
You can prevent this slowdown by temporarily making the indicator invisible when opening NinjaTrader:
- Open your chart that uses the PricelineCrossDetector indicator.
- Press Ctrl+I or right-click the chart and select Indicators.
- In the list, select PricelineCrossDetector.
- Set Visible to False.
- Click OK.
Now, NinjaTrader will load the chart faster without calculating the indicator until you manually reactivate it.
💡 Why This Works
When set to Visible = False, the indicator is loaded but does not render or run its full logic, which avoids the heavy processing at startup. Once the platform is fully connected and stable, you can go back to the Indicator settings and set it back to Visible = True to resume normal operation.
This is a useful tip to speed up your workflow and avoid platform delays — especially if you're using multiple charts or large historical data.