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
    Paul H.NinjaTrader Customer Service

    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.
      Paul H.NinjaTrader Customer Service

      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.
            Paul H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by trader3000a, Today, 02:22 PM
            0 responses
            2 views
            0 likes
            Last Post trader3000a  
            Started by kaywai, Today, 12:05 PM
            0 responses
            53 views
            0 likes
            Last Post kaywai
            by kaywai
             
            Started by DTSSTS, 01-14-2022, 02:53 PM
            3 responses
            25 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by SuperDude123, Today, 05:17 AM
            2 responses
            19 views
            0 likes
            Last Post SuperDude123  
            Started by iamkmckinney, Yesterday, 10:52 PM
            2 responses
            25 views
            0 likes
            Last Post iamkmckinney  
            Working...
            X