I currently submit trailing stop and profit target orders with signal names for each order, but I do not adjust the profit target. I'm interested in the collected wisdom of the forum to suggest effective, efficient and, hopefully, elegant ways in which to achieve this functionality. I have a variety of ideas on this, but would like to hear what those more experienced than me may suggest. Many thanks for your advice!
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
Moving target
Collapse
X
-
Moving target
I want to implement something similar to the conceptual opposite of a trailing stop, namely, a "leading profit target". In other words, I want to set a profit target, but when reached, the position remains open and the target will move with the direction of the trade until such time as a set of pre-defined conditions is met, usually a reversal of a specified amount. Obviously, this is to lock in a profit that increases as the trend continues until defined criteria are met that dictate the position be closed.
I currently submit trailing stop and profit target orders with signal names for each order, but I do not adjust the profit target. I'm interested in the collected wisdom of the forum to suggest effective, efficient and, hopefully, elegant ways in which to achieve this functionality. I have a variety of ideas on this, but would like to hear what those more experienced than me may suggest. Many thanks for your advice! -
Hello jeronymite,
Thank you for your post.
You can use the Managed Approach and use the SetProfitTarget() method within the OnBarUpdate() to make adjustments to the order based on conditions: http://www.ninjatrader.com/support/h...ofittarget.htm
You could also just track the movement of the market and look for your reversal from the profit move and then submit an exit order for profit (Limit Order).
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AaronKoRn, Today, 09:49 PM
|
0 responses
11 views
0 likes
|
Last Post
by AaronKoRn
Today, 09:49 PM
|
||
Started by carnitron, Today, 08:42 PM
|
0 responses
10 views
0 likes
|
Last Post
by carnitron
Today, 08:42 PM
|
||
Started by strategist007, Today, 07:51 PM
|
0 responses
11 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,980 views
3 likes
|
Last Post
by jhudas88
Today, 06:59 PM
|
||
Started by rbeckmann05, Today, 06:48 PM
|
0 responses
9 views
0 likes
|
Last Post
by rbeckmann05
Today, 06:48 PM
|
Comment