Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using an Indicator as Stop Loss and/or Profit Target in Strategy Builder

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

    Using an Indicator as Stop Loss and/or Profit Target in Strategy Builder

    Quick Question. I want to exit a long position when say for example the RSI goes below its AVG. I want to do this in Strategy builder. I can't figure out how to use an indicator in this manner for a Stop loss or as a profit target.

    #2
    Hello TicksBandit,

    Thanks for your post and welcome to the NinjaTrader forums!

    Short answer is that you cannot make a dynamic stop or profit target in the strategy builder using the built in Stop and Targets window. These are static only meaning they do not change, in the strategy builder.

    You can create the condition of these exits and the action of exiting the order. In the conditions window create your exit condition and for the action, use an exit order. I've attached an example.
    Attached Files

    Comment


      #3
      Hello TicksBandit,

      I just realized you have posted in the Ninjatrader7 forums. In my prior post I answered you based on the use of the strategy builder which is in NinjaTrader8 . NinjaTrader7 uses the strategy wizard.

      Please let us know if you are using NinjaTrader7 and I can update my prior post to show the same but for NT7's strategy wizard.

      Comment


        #4
        Using NT8

        I'm using NT8... rookie mistake and it being really late. Thanks for the response.

        Comment


          #5
          Is it better to use CrossBelow or CrossAbove rather than using Greater/Equal like RSI >= AVG? I see you used CrossBelow?

          Comment


            #6
            Hello TicksBandit,

            Thanks for your reply.

            The Cross Above/Below methods look back at the prior value of the RSI to determine if the current value of the RSI has crossed the average line. This provides a true response at that moment and there after would be false.

            The condition of RSI >= Avg would be true when it cross and continues to be true for each data point until it is not.

            When the conditions are true the action is performed. In the case of an exit, it would be better to perform once.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            88 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            48 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            30 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            34 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            68 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X