Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entries per direction

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

    Entries per direction

    How do I set Entries per direction to 2 in the Wizard? Thanks
    EMA(x) crossover SMA(x), EnterLong

    #2
    Hi philxhong, this cannot be done directly in the wizard - you can set it when starting your strategy from the chart or strategies tab.



    Comment


      #3
      I am about to increase my trading size and need to be sure that I only enter my default quantity of 25 contracts in one shot and get out of the position in one shot. I have set in my code .allentries and entries per direction = 1 .... is this going to work?

      Regards

      F Everington

      Comment


        #4
        Yes, this should do it - http://www.ninjatrader-support.com/H...yHandling.html

        Comment


          #5
          Ok... thx... I take it then that using the code .uniqueEntries might have caused problems? I have read many posts on this subject but pls forgive my ignorance. Entries per direction controls this aspect of order filling or does allEntries/UniqueEntries control it? I want to buy all 25 at once and then not get any added positions in the same direction after the first order is filled...

          Regards and thx.

          Comment


            #6
            Please take a look at the examples from the helpguide link -

            1. EntriesPerDirection with AllEntries, two different entry signals, but only 1 per Direction permitted > only one will be executed, second one ignored.

            2. Second example, EntriesPerDirection at 1, but per unique entry name, so two longs are possible.

            So AllEntries with PerDirection to 1 will execute one entry per direction whatever signal name produced it.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            68 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            38 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            62 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            62 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X