Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
analyze
Collapse
X
-
Hello Adam5002,
Welcome to the NinjaTrader forums!
Are you able to able to backtest the Sample MA Crossover included with NinjaTrader with the same data and see results in the Strategy Analyzer?
Is the custom script able to compile without error?
Is the script code allowing orders to be placed in historical data or does the code require the State to be State.Realtime?
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?
Are there errors appearing on the Log tab of the Control Center?
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, then would likely indicate the logic conditions 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 and enable TraceOrders to see how the conditions are evaluating and if orders are being submitted, ignored, or cancelled.
Below is a link to a forum post that demonstrates using prints to understand behavior.
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.
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 next post.
I'll be happy to assist with analyzing the output.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by 00nevest, Today, 02:27 PM
|
0 responses
1 view
0 likes
|
Last Post
by 00nevest
Today, 02:27 PM
|
||
Started by Jonafare, 12-06-2012, 03:48 PM
|
5 responses
3,986 views
0 likes
|
Last Post
by rene69851
Today, 01:44 PM
|
||
Started by Fitspressorest, Today, 01:38 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 01:38 PM | ||
Started by Jonker, Today, 01:19 PM
|
0 responses
2 views
0 likes
|
Last Post
by Jonker
Today, 01:19 PM
|
||
Started by futtrader, Today, 01:16 PM
|
0 responses
9 views
0 likes
|
Last Post
by futtrader
Today, 01:16 PM
|
Comment