Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry Per Direction strange Behavior

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

    Entry Per Direction strange Behavior

    I got an automatic strategy running with an entry per direction set to one.

    Today have the following behavior:

    Entry Long lets say at 100, my stop loss set at 90. After some time the trade move in my direction and my BE feature move my stop at 101.

    At some time a retrace occur but my exit conditions don’t met and my entry criteria setup show up again. If my strategy entry set up per direction was setup for two it would entry again Long at 110 with stop at 100 and waiting for the BE feature to act.

    The strategy move my stop from 101(actual position after BE on first trade) to 100 (imaginary position if a 2 trade was take), then after BE feature met again move to 101.

    This is an expected behavior?

    #2
    Hi PrTester, the EntriesPerDirection setting will just determine if another entry in the same direction is taken or not.

    The question you refer to is handled by the 'OrderHandling' settings under Tools > Options > Strategies > NinjaScript.



    The first one creates a new set of stops and targets, the second option amends those to the existing ones.

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi PrTester, the EntriesPerDirection setting will just determine if another entry in the same direction is taken or not.

      The question you refer to is handled by the 'OrderHandling' settings under Tools > Options > Strategies > NinjaScript.



      The first one creates a new set of stops and targets, the second option amends those to the existing ones.

      Thanks for the quick reply, so in order to not amends the existing stops and targets, I should select by strategy position?

      Regards

      Comment


        #4
        No, for creating a new set of stops and targets you should select 'PerEntryExecution'. For example if you then get partial fills on two limit orders, you might end up with 4 sets of stop/target orders as each execution is treated individually.

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          No, for creating a new set of stops and targets you should select 'PerEntryExecution'. For example if you then get partial fills on two limit orders, you might end up with 4 sets of stop/target orders as each execution is treated individually.

          If I don't want a second fill order and just leave the current the way it is?

          Comment


            #6
            PrTester,

            Try "ByStrategyPosition" then. This will amend your current stop/target orders to reflect the larger quantity size.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Josh View Post
              PrTester,

              Try "ByStrategyPosition" then. This will amend your current stop/target orders to reflect the larger quantity size.
              Josh,

              Thanks for the reply, my old setting was "Per entry execution" and my stops where modified without the addition of any position, just to be clear if I don't want to add more position and don't want my stops to be modified i should change my setting to "ByStrategyPosition".

              Thanks and Regards

              Comment


                #8
                PrTester,

                PerEntryExecution submits a new set of stop/targets on each execution for an entry order.

                ByStrategyPosition modifies a single set of stop/targets to cover the whole position.

                Both modifies stop/target prices if told to do so. If no price change is to be made just submit with a static price. If no quantity change is to be made, don't use Set() methods and instead submit ExitLongStop() and ExitLongLimit() orders and manage it manually.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                558 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                324 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                545 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                547 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X