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 argusthome, 03-08-2026, 10:06 AM
|
0 responses
85 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
47 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
29 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
67 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment