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?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 ninza33, Today, 07:16 AM
|
0 responses
1 view
0 likes
|
Last Post
by ninza33
Today, 07:16 AM
|
||
Started by linkcou, Today, 07:01 AM
|
0 responses
3 views
0 likes
|
Last Post
by linkcou
Today, 07:01 AM
|
||
Started by brunoviveiros, 02-17-2020, 05:31 AM
|
4 responses
63 views
0 likes
|
Last Post Today, 06:25 AM | ||
Started by volIQ, 03-27-2024, 04:28 PM
|
3 responses
21 views
0 likes
|
Last Post
by RJay
Today, 05:41 AM
|
||
Started by Nickgiaco, 02-26-2024, 10:23 AM
|
2 responses
72 views
0 likes
|
Last Post Today, 05:12 AM |
Comment