Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time since condition was met

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

    Time since condition was met

    Any way to use the condition builder to check whether a specific condition has been met at some point over the last X number of days?

    My understanding is that you can easily check for a condition a certain number of days (or bars) ago....but is there something that will check the entire period from a certain number of days (or bars) ago?

    Thanks in advance.

    #2
    Unfortunately not in the wizard, although this is supported programatically.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks NinjaTrader_Ray,

      Any way I can request this as a condition builder enhancement....seems like it would be fairly straightforward to and extremely useful to a lot of people/strategies.

      I'll look into the programatic solution.

      Thanks again.

      Comment


        #4
        Thanks for the suggestion.
        RayNinjaTrader Customer Service

        Comment


          #5
          Mro

          Hi 3

          I would suggest firing up the wizard, generate the template, then edit the code.

          Use the MRO function to check if a condition was true within a certain period.

          Read the help file to see how to do it.

          Cheers

          Comment

          Latest Posts

          Collapse

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