Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entires Per Direction & Exit Before Enter

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

    Entires Per Direction & Exit Before Enter

    Greetings,

    I'm having to separate problems with my strategy after backtesting:

    1) The concurrent entries at any one time is exceeding my EntriesPerDirection = 1 I set in the initialize method.
    2) In a few instances, the strategy is exiting first, then entering later in time - I have no idea what is causing this.
    Thanks in advance for the help,
    hbmiles2000

    #2
    Hello bmiles2000,

    1) It should not exceed EntriesPerDirection = 1 unless you also have EntryHandling = UniqueEntries and multiple uniquely named rules.

    2) This can happen in multi time frame strategies, when using set statements like SetStopLoss() and SetProfitTarget. Should you have multiple Bars objects of the same instrument and are using Set() methods in your strategy, you should only submit orders for this instrument to the first Bars context of that instrument. This is to ensure your order logic is processed correctly and any necessary order amendments are done properly.



    Please let us know if we can offer additional clarification.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    673 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    379 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    577 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    582 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X