Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PriorDayOHLC no returnvalue

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

    PriorDayOHLC no returnvalue

    Hi,

    I'm making a new strategy and try to use PriorDayOHLC, when I backtest it with 5 min. chart over 2 days no returnvalues are given, what do I do wrong?
    Attached Files

    #2
    Please check your Control Center for any errors.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Re: check log

      I've checked the log, there were no new log entries.

      Comment


        #4
        Re: The output it produced

        These are the prints from the output window:
        Priorday Open0Priorday High0Priorday Low0Priorday Close0
        HH:6831,5LL:6824

        Comment


          #5
          Are you getting any prints on anything?
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Please ensure you have data for the previous day.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Re

              Originally posted by NinjaTrader_Josh View Post
              Please ensure you have data for the previous day.
              No errormessages in the Log tab of control center.

              When I run it for 2 days 18-6-2008 until 19-6-2008 I get no PriordayOHLC.
              Running from 18-6-2008 until 22-6-2008 I do get PriordayOHLC for 22-6.

              As this date, 19-6 was also expire date for the contract tried, I also to backtest 22-6 until 23-6: no Priorday data. Backtest from 22-6 until 24-6: Priorday data for the 24-6.

              Conclusion as of the 3rd date of my backtestperiod I have priorday data? I was hoping that it would be available from the 2nd day.

              I need to write some statements to get around it.

              Comment


                #8
                Hi clint2008,

                You should not need 3 days of data for this indicator to work. The easiest way for you to check this is simply to throw the indicator onto a chart and see it from there. Please ensure you are on the latest NT build.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

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