Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
inconsistencies
Collapse
X
-
inconsistencies
Thank you and good luck with this oneLast edited by spacebalts67; 07-02-2010, 09:15 AM.Tags: None
-
spacebalts67,
I understand your frustration and will work with you to get this resolved. There are several points I need clarification on to help me analyze the situation though.
1. Where are you starting the strategy from? Chart or Strategies tab?
2. Sim account? Live account?
3. Reproducible at will? If so, can you please provide us with the steps to reproduce.
4. Have you tried printing to the Output Window what the strategy thinks its position is? What does it say?Thank you for your patience.Code:Print(Time[0] + " " + Position.MarketPosition + " " + Position.Quantity);
Josh P.NinjaTrader Customer Service
-
This is an error that can lead to such consequences. To investigate we will need a reproducible scenario. Please attach your trace and log files.
4. You can put the code anywhere inside the OnBarUpdate() method of your strategy. I recommend at the top so it will always be evaluated and keep updating you on the position direction and quantity.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
154 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
74 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
79 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment