Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Fix the bug
Collapse
X
-
Hello U0000999,
Thank you for your post.
If you open up a NinjaScript Editor window, are you able to see the strategy listed under Strategies? While we aren't necessarily able to debug a strategy for you, I may be able to look at the code and tell you why it may be doing that. However, many third party NinjaScript items are distributed as compiled assemblies. If that's the case, you wouldn't see it listed in the NinjaScript Editor and would need to get in contact with the original developer as the code would not be accessible.
Thanks in advance; I look forward to assisting you further.Kate W.NinjaTrader Customer Service
Comment
-
Hello U0000999,
Thank you for your reply.
If you're able to access it in the NinjaScript Editor, you should be able to export the script from Tools > Export > NinjaScript AddOns and attach the resulting .Zip file to your reply. I'd be happy to take a look and see what may be occurring. Also, what instrument and interval of a chart were you backtesting it on?
Thanks in advance; I look forward to assisting you further.Kate W.NinjaTrader Customer Service
Comment
-
This add-on emulates trades on historical tick data (depends on the selected timeframe), writes the results of trading in a text file.
I think the mistake is that orders are not executed for some reason or continuation chart has mistakes.
P.S.: Also to run the strategy, you should copy riskparameter.cs file to C:\Documents\Ninjatrader8\ folder
Comment
-
Hello U0000999,
Thanks for your reply.
The attached scripts are really too large for us to give any feedback. If you can reduce so it only has the code necessary to reproduce the issue with all other code removed, then we could offer some further insight.
I suggest to focus on this issue:
The strategy is submitting orders, but orders are submitting during X time frame.
In order to investigate further we should confirm the following:
1. Order methods are being reached. This would be done using prints to verify that the logic is allowing the order methods to be reached
2. If the order methods are reached, but no orders are submitted, please test again with TraceOrders enabled so you can receive hints if the order was ignored due to a rule of the Managed Approach.
I've included some tips for debugging below. The Playback Connection can be used to replay data as if it were realtime.
Debugging Tips - https://ninjatrader.com/support/help...script_cod.htm
TraceOrders - https://ninjatrader.com/support/help...aceorders2.htm
Debugging in the Strategy Builder - https://drive.google.com/file/d/1mTq...w?usp=drivesdk
Playback Connection - https://ninjatrader.com/support/help...connection.htm
Debugging Demo - https://drive.google.com/file/d/1rOz...w?usp=drivesdk
We look forward to assisting.JimNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ZenCortexCLICK, Today, 04:58 AM
|
0 responses
2 views
0 likes
|
Last Post Today, 04:58 AM | ||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
172 responses
2,280 views
0 likes
|
Last Post
by sidlercom80
Today, 04:40 AM
|
||
Started by Irukandji, Yesterday, 02:53 AM
|
2 responses
17 views
0 likes
|
Last Post
by Irukandji
Today, 03:55 AM
|
||
Started by adeelshahzad, Today, 03:54 AM
|
0 responses
5 views
0 likes
|
Last Post
by adeelshahzad
Today, 03:54 AM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
3 responses
13 views
0 likes
|
Last Post Yesterday, 11:58 PM |
Comment