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 charlesugo_1, 05-26-2026, 05:03 PM
                0 responses
                52 views
                0 likes
                Last Post charlesugo_1  
                Started by DannyP96, 05-18-2026, 02:38 PM
                1 response
                142 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 05-11-2026, 05:56 AM
                0 responses
                160 views
                0 likes
                Last Post CarlTrading  
                Started by CarlTrading, 05-10-2026, 08:12 PM
                0 responses
                96 views
                0 likes
                Last Post CarlTrading  
                Started by Hwop38, 05-04-2026, 07:02 PM
                0 responses
                276 views
                0 likes
                Last Post Hwop38
                by Hwop38
                 
                Working...
                X