Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy analyzer error message
Collapse
X
-
Strategy analyzer error message
Trying run a strategy in the analyzer and I get this error message. Has anybody else seem this before?Tags: None
-
Hello Stampalamp,
Thank you for your post.
The error message in your screenshot indicates that something in your strategy is returning with a null value.
To determine where your script is returning a null value, it is important to use prints. In the strategy add prints (outside of any conditions) that print the values of every variable used in every condition along with the time of that bar. Prints will appear in the NinjaScript Output window (New > NinjaScript Output window).
Below is a link to a forum post that demonstrates using prints to understand behavior and including a link to a video recorded using the Strategy Builder.
https://ninjatrader.com/support/foru...121#post791121
Please let me know if I may further assist<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by sjsj2732, Today, 04:31 AM
|
0 responses
20 views
0 likes
|
Last Post
by sjsj2732
Today, 04:31 AM
|
||
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
280 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
279 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
130 views
1 like
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
90 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|

Comment