Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

User Defined Inputs in Cond. Builder

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

    User Defined Inputs in Cond. Builder

    Hello NT Support
    In Strat. Wizard I want to optimize an action after so many bars from entry so I set up Bars Since Entry() >= DefaultInput[Bars] (See screenshot). 'Bars' is listed as a interger type in the User Defined Inputs of Strat. Wizard. But I keep getting an error window that says 'value cannot be null'. (See screenshot) Everything works fine if I put a single interger value for Bars Since Entry but I was hoping to optimize for a range of bars since entry to find the best instead of having to change it each time in Strat. Wizard. Thanks.
    Attached Files

    #2
    Hello,

    What data type is Default Input?

    You should be able to just use the Bars int type for the value for your condition.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thanks Mathew,
      If I understand your question Default Input was integer type. See screenshot. Let me know if this is wrong answer.
      Attached Files

      Comment


        #4
        Hello,

        Can you please try deleting the current condition and readding it? Please try just using "Bars" as the input.

        If that does not work, you might want to try another variable name than bars as this could cause conflicts with other variables.
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 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
        574 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X