Some custom scripts that reference old versions of Newtonsoft will need the references updated to Newtonsoft 13
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
latest version and issues
Collapse
X
-
latest version and issues
i seem to have multiple issues as my trades are not triggering off. I do use Newtonsoft 8.02.1909 in my custom strategies, can you clarify what this means in the change details ?
Some custom scripts that reference old versions of Newtonsoft will need the references updated to Newtonsoft 13
Tags: None
-
Hello junkone,
Thank you for your post.
You should be using the version of Newtonsoft that comes with NinjaTrader.
As for your strategy not taking trades, if the strategy is applied to a chart, is there data with new bars appearing on the chart the Strategy is applied to?
Is the strategy showing as enabled on the Strategies tab of the Control Center?
If the strategy is in the Strategy Analyzer, is there data appearing on the Chart Display of the Strategy Analyzer?
Importantly, are there errors appearing on the Log tab of the Control Center?
Try testing the Sample MA Crossover strategy included with NinjaTrader on the same chart or Strategy Analyzer using the same instrument, bar type, interval, and date range.
Do you see results with the Sample MA Crossover strategy? (This would confirm for us data is available and the issue is with the logic in the custom script)
If the strategy is getting data and the strategy is enabled or a backtest is run with no errors in the Log tab of the Control Center, and the Sample MA Crossover is returning results, then would likely indicate the logic conditions in the custom strategy did not evaluate as true or orders are being ignored or cancelled.
In order to better understand how the code is working, it will be necessary to use Print to see how the conditions are evaluating and enable TraceOrders to see if orders are being submitted, ignored, rejected, or cancelled.
Below is a link to a forum post that demonstrates using prints to understand behavior and includes a link to a video recorded using the Strategy Builder to add prints.
https://ninjatrader.com/support/foru...121#post791121
Enable TraceOrders, print the time of the bar and all values used in the conditions that submit entry orders. Include labels for all values and comparison operators.
Let me know if you need any assistance creating a print or enabling TraceOrders.
Save the output from the output window to a text file and provide this with your reply.
I'll be happy to assist with analyzing the output.
Gaby V.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by llanqui, Today, 03:53 AM
|
0 responses
4 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
14 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
14 views
0 likes
|
Last Post Yesterday, 07:51 PM |
Comment