Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsSinceEntry not working in NT8

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

    BarsSinceEntry not working in NT8

    Hi,

    I am trying to get the Strategy Wizard to exit an order after N bars. I have attached a screenshot of the conditions. I got this to work in NT 7 but I don't know how to fill out the new options in NT 8.

    I don't know what to insert in:
    Bars In Progressing
    Entry Executions
    Signal name

    Also, I could be setting up the conditions wrong.

    Please help!

    Kind regards,
    V
    Attached Files

    #2
    Hello V,

    The BarsInProgress is the series that is processing. Unless you have multiple series leave this as 0 for the primary series.

    Entry Executions is how many entries ago are you looking to see how many bars ago it was. Leave this as a 0 if you are looking for the most recent entry.

    The Signal Name is the name used for the order. This is the parameters of the entry order.

    Below is a publicly available link to the help guide on BarsSinceEntryExecution().


    Likely, you want to compare this with the Misc -> Numeric Value.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,

      I implemented your suggestions - yet it still does not work.

      Can you provide a screenshot of how it should be setup in order to function properly?

      Kind regards,
      V

      Comment


        #4
        Hello V,

        Attached is simple example that enters and then exits after 3 bars.
        Attached Files
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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