Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Failed to Submit Orders - System.NullReferenceException.
Collapse
X
-
Failed to Submit Orders - System.NullReferenceException.
I am getting an error while submitting an order. Entries are fine but this error comes when I issue a stopmarket order at everybar low or high as trailing. I tried many suggestions given in the forum but not able to resolve. I also tried some of the samples provided which also shows this error. I am a C# programmer and have made sure I am not using any objects that is null or not initialized. I am using Ninjaversion 8.1.1.1 64 Bit. I am running this strategy in a renko chart. Can you provide any insights to resolved this ?
Tags: None
-
Hello rajesh00074,
Welcome to the NinjaTrader Forums.
The current version of NinjaTrader 8 is 8.1.1.3. Please update NinjaTrader to the latest version. Updates to NinjaTrader will contain the latest security updates and bug fixes, as well as occasional new features and instruments.
To update NinjaTrader- Shutdown all programs including NinjaTrader *important
- Download NinjaTrader from the link below
- Double-click the downloaded file to execute it
- Follow the on-screen instructions
- Restart NinjaTrader
https://ninjatrader.com/support/help...ease_notes.htm
That said, my colleague Chelsea has created educational examples of strategy builder breakeven and trailing stop in the strategy builder here:
https://ninjatrader.com/support/foru...der#post806596
Please test the TrailBuilderExample script from this forum thread and report if the same behavior occurs.
Also, send me a screenshot of the error message ensuring the full error message is visible so I may accurately assist.- To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
- Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.
<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>
-
Thank you. Finally I figured out that I had applied ATMStrategyIdentifier (downloaded from Ninjatraderecosystem.com) as an indicator which was throwing the exception. Thanks for sharing the inputs which helped in identifying the issue
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
71 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
143 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
76 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
47 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
51 views
0 likes
|
Last Post
|

Comment