This is with a demo account.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Closing position outside price?
Collapse
X
-
Closing position outside price?
I have a strategy that for some reason is closing positions on non-existing prices like in the attached image. What is this about? How can the strategy close the position outside the real price?
This is with a demo account.
1 PhotoTags: None
-
Hello Catalon,
Thank you for your note.
Does the strategy you're using use any additional data series? I've seen this occur when a strategy uses a secondary series and is submitting orders to that secondary series. If you are comfortable sharing a reduced version of your strategy (you may leave out any code unnecessary to reproduce the behavior), please post a code sample.
Thanks in advance; I look forward to assisting you further.Kate W.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
435 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
3 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
18 views
0 likes
|
Last Post Today, 03:33 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
9 responses
126 views
1 like
|
Last Post
by caryc123
Today, 03:12 PM
|
||
Started by selu72, Today, 02:01 PM
|
1 response
12 views
0 likes
|
Last Post Today, 02:17 PM |
Comment