Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

I need help with target profit in a strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I need help with target profit in a strategy

    Hello, I wanted to know if you can configure a target profit according to an indicator (in this case RSI) for example if RSI reaches 65 close operation, this in a strategy

    #2
    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>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    53 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X