NinjaTrader should not be used with OneDrive as you may see file access violations or other issues when OneDrive tries to sync files to the cloud. We do not recommend deleting bar cache unless directed by a support technician for troubleshooting reasons.
Follow these steps to unlink OneDrive, move your files, and perform a “soft reinstall” of NinjaTrader Desktop:
Step 1: Unlink OneDrive and Stop Backup
- Completely close NinjaTrader.
- Unlink OneDrive Backup:
- Hover your mouse over the OneDrive cloud icon in the App Tray (bottom-right corner).
- Right-click on the icon and select Settings.
- Go to the Backup tab.
- Under Documents, click Stop backup.
Step 2: Move NinjaTrader 8 Files to Local Drive
- Open File Explorer and go to your Documents folder.
- Open OneDrive Documents Folder:
- Right-click the “Where are my files” icon and select Open in new window.
- Locate NinjaTrader 8 Folder:
- Find the NinjaTrader 8 folder in your OneDrive Documents location.
- Copy Files:
- Copy the entire NinjaTrader 8 folder.
- Paste Files to Local Drive:
- Open a second window to your local Documents folder.
- Paste the NinjaTrader 8 folder into your local Documents folder.
Step 3: Soft Reinstall NinjaTrader Desktop
- Uninstall NinjaTrader:
- Press the Windows key and type Control Panel in the search bar.
- Open Control Panel > Programs > Programs and Features.
- Find NinjaTrader in the list, right-click on it, and select Uninstall.
- Reinstall NinjaTrader:
- Go to the NinjaTrader Download Page.
- Log in to your account.
- Scroll down and click Download.
- Once downloaded, run the installer.
Step 4: Clear Any Lingering OneDrive Files
- Rename the ‘bin’ Folder:
- Navigate to the Documents > NinjaTrader 8 folder.
- Rename the bin folder (e.g., add “_old” at the end).
- Repair NinjaTrader:
- Go back to Control Panel > Programs > Programs and Features.
- Find NinjaTrader, right-click, and select Repair.
- This will remove any leftover OneDrive files and clear out compile errors.
Step 5: Reimport Third-Party Items
- After completing the repair, you may need to reimport third-party items (like indicators, strategies, etc.) one by one into NinjaTrader.
Conclusion
Once you’ve completed these steps, NinjaTrader should be fully functioning without any issues from OneDrive. You’ll have all your files safely moved to your local hard drive, and NinjaTrader will be free from lingering errors!