Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
I need help with target profit in a strategy
Collapse
X
-
Hello pedro132,
Thanks for your post.
To clarify, are you wanting to set a profit target when a certain condition becomes true? Such as, if the RSI is greater than or equal to 65, place a profit target order?
If so, you could use Exit order methods, such as ExitLongLimit(), to place a profit target order to close a position when a certain condition becomes true.
This could be set up in the Strategy Builder, then you could click the 'View code' button to see the generated code. In the Strategy Builder's Conditions and Actions screen, you could create a condition that checks if the RSI indicator is greater than or equal to 65 and create an action that calls something like ExitLongLimit() to place a profit target order.
See the help guide documentation below for more information.
Strategy Builder Making Indicator to Value Comparisons: https://ninjatrader.com/support/help...lueComparisons
Actions: https://ninjatrader.com/support/help...t8/actions.htm
Let us know if we may assist further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
47 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
23 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
33 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment