Objective: Use the NinjaScript Output window as a diagnostic tool to verify the integrity of external data imports and internal logic triggers.
1. Accessing the Output Window In the NinjaTrader Control Center, go to New > NinjaScript Output. This window serves as the console for all technical feedback generated by your indicators and strategies.
2. Activating Debug Prints Debug prints are not active by default to save resources. To troubleshoot, right-click your chart, select Strategies, and in the properties panel, check the box for “Enable Debug Prints”. You must do this before enabling the strategy for the output to populate.
3. Verification of External Data (CSV) When you enable the strategy, the Output window will print the initialization sequence. Look for confirmation that your external files (e.g., Mancini Levels) have been fetched. If the Output window is blank or shows an error, the strategy cannot see your levels, regardless of what appears on the chart.
4. Reducing “Support Debt” Before reaching out for technical support regarding “missing trades,” check the Output window. It provides a real-time log of the logic’s decision-making process, allowing you to identify if a trade was ignored due to data gaps or specific parameter constraints.
