Is it possible to code an ATM Strategy? (that can manage a position that has been manually opened)
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 a manually opened position
Collapse
X
-
closing a manually opened position
Can a Strategy close a position that has been manually opened?
Is it possible to code an ATM Strategy? (that can manage a position that has been manually opened)Tags: None
-
Hello NinjaCustomer,
Thanks for your post.
It is not supported in NinjaTrader 7 to close a manually opened position with a strategy. You can however code an ATM strategy with the ATM Strategy NinjaScript methods. I will link the documentation for those methods below.
Help Guide- ATM Strategy Methods
Please let me know if you have any questions.Josh G.NinjaTrader Customer Service
-
-
No problem . I have moved your post to the appropriate section of the forum.
In NinjaTrader 8 your strategy can manage a manually opened position with start behavior called Adopt Account Position. You need to specifically add a line to your strategy to enable it (IsAdoptAccountPositionAware = true).
Please see the documentation below and let me know if you have any questions on how to use it to program a strategy to manage the exit of a manual entry.
Help Guide- Syncing Account Positions
Help Guide- StartBehavior
Help Guide- IsAdoptAccountPositionAware
Additionally, I am including a link to the NinjaTrader 8 ATM Methods below.
Help Guide- ATM Strategy MethodsJosh G.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ninza33, Today, 07:16 AM
|
3 responses
13 views
0 likes
|
Last Post
by ninza33
Today, 09:01 AM
|
||
Started by foxtrott21, Today, 08:27 AM
|
0 responses
1 view
0 likes
|
Last Post
by foxtrott21
Today, 08:27 AM
|
||
Started by jaypelle3, Today, 08:26 AM
|
0 responses
1 view
0 likes
|
Last Post
by jaypelle3
Today, 08:26 AM
|
||
Started by linkcou, Today, 07:01 AM
|
2 responses
24 views
0 likes
|
Last Post
by bltdavid
Today, 08:25 AM
|
||
Started by jaypelle3, Today, 08:25 AM
|
0 responses
6 views
0 likes
|
Last Post
by jaypelle3
Today, 08:25 AM
|
Comment