Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Wizard

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

    Strategy Wizard

    Hi

    I need some help with a strategy, build with the Strategy Wizard.

    I have 4 indicators in the conditions window and when all indicators lined up (no crossover) I would like to execute 1 market entry order.

    The problem I have is that the strategy execute every tick a new order , what did I wrong and how can I change that?

    thanks for any help

    Michael

    #2
    Hello michi08,

    Thank you for your post.

    You would need to set the EntriesPerDirection to one on the Strategy parameters when enabling the strategy. For information on EntriesPerDirection please visit the following link: http://www.ninjatrader.com/support/h...rdirection.htm

    Please let me know if I may be of further assistance.

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello michi08,

      Thank you for your post.

      You would need to set the EntriesPerDirection to one on the Strategy parameters when enabling the strategy. For information on EntriesPerDirection please visit the following link: http://www.ninjatrader.com/support/h...rdirection.htm

      Please let me know if I may be of further assistance.

      Like that, but its still the same
      Attached Files

      Comment


        #4
        Originally posted by michi08 View Post
        Hi

        I need some help with a strategy, build with the Strategy Wizard.

        I have 4 indicators in the conditions window and when all indicators lined up (no crossover) I would like to execute 1 market entry order.

        The problem I have is that the strategy execute every tick a new order , what did I wrong and how can I change that?

        thanks for any help

        Michael
        Apply a MarketPosition filter, so that the code does not make new entries if the strategy is already in a position.

        Comment


          #5
          Originally posted by koganam View Post
          Apply a MarketPosition filter, so that the code does not make new entries if the strategy is already in a position.

          Whats a MarketPosition filter?

          Comment


            #6
            Originally posted by michi08 View Post
            Whats a MarketPosition filter?
            Using the builder as in the first picture leads to a filter as in the second picture.
            Attached Files

            Comment


              #7
              Originally posted by koganam View Post
              Using the builder as in the first picture leads to a filter as in the second picture.

              Thank you for helping me, I really appreciate it.
              I maked a screenshot, did I put the Market Position Filter right, because it isn't working?
              I did the same on the short side.
              Attached Files
              Last edited by michi08; 07-03-2014, 06:16 AM. Reason: spelling

              Comment


                #8
                Originally posted by michi08 View Post
                Thank you for helping me, I really appreciate it.
                I maked a screenshot, did I put the Market Position Filter right, because it isn't working?
                I did the same on the short side.
                In my effort to show you an example of how to use the Wizard to create the filter, I may have misled you, because it was just an example. In your particular case, given what you show, you want the MarketPosition filter to read the opposite. So use the "!=" operator instead.

                When done, your filter should read: if (Position.MarketPosition != MarketPosition.Long)

                Comment


                  #9
                  Originally posted by koganam View Post
                  In my effort to show you an example of how to use the Wizard to create the filter, I may have misled you, because it was just an example. In your particular case, given what you show, you want the MarketPosition filter to read the opposite. So use the "!=" operator instead.

                  When done, your filter should read: if (Position.MarketPosition != MarketPosition.Long)

                  Thank you, but it still doesnt't work. I tried it with a simple EMA strategy but it makes an order after an order.
                  Attached Files

                  Comment


                    #10
                    Originally posted by michi08 View Post
                    Thank you, but it still doesnt't work. I tried it with a simple EMA strategy but it makes an order after an order.
                    That will make one entry and no others until the ExitOnClose. What is the default quantity, and what is the total quantity that is finally in the position?

                    Comment


                      #11
                      Originally posted by koganam View Post
                      That will make one entry and no others until the ExitOnClose. What is the default quantity, and what is the total quantity that is finally in the position?

                      That question I don't understand. Maybe it is better when you can take a look at the strategy and then give me some advise

                      In the screenshot is what I get, but I want only the first trade.

                      thanks a lot
                      Attached Files

                      Comment


                        #12
                        Originally posted by michi08 View Post
                        That question I don't understand. Maybe it is better when you can take a look at the strategy and then give me some advise

                        In the screenshot is what I get, but I want only the first trade.

                        thanks a lot
                        That is doing what you programmed. Every entry occurs only after an exit. When you exit, you are no longer in a positiion, so you make another entry.

                        If you are saying that you want only a single entry per session, that is a different question. It may be possible to do that by using the FirstBarOfSession filter. However, I do not see any way to access FirstBarOfSession in the Wizard, so that can probably not be done in the wizard. There might be other more convoluted ways to do what you want in the Wizard, but that is not something that I can explore at this time. My apologies.

                        Comment


                          #13
                          Hello michi08,

                          Thank you for your response and thank you to Koganam for heading this one up!

                          As Koganam detailed and in your screenshot, the Profit Target is closing the position and then it is opening on the next bar when the entry condition is true.

                          Comment


                            #14
                            Originally posted by NinjaTrader_PatrickH View Post
                            Hello michi08,

                            Thank you for your response and thank you to Koganam for heading this one up!

                            As Koganam detailed and in your screenshot, the Profit Target is closing the position and then it is opening on the next bar when the entry condition is true.

                            Question now: how can I change that?

                            Comment


                              #15
                              Originally posted by michi08 View Post
                              Question now: how can I change that?
                              Most likely you have to unlock the code, and edit it manually.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              647 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              369 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              108 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              572 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              573 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X