• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time Series;Time Value Issue

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

    Time Series;Time Value Issue

    Hello NT Support,
    I'm trying to get a simple strategy in Condition Builder (Strategy Wisard) to trade in a time range. Say 2:30pm to 4:00pm. Distibution in backtest shows good results in this time range. The strategy is already set up between 9:30am to 4:00pm in the time series/time value condition. No problem. But when I change the values I get a warning: Property Values not valid. Details: Object reference not set to an instance of an object. All I did was change the values.

    #2
    Hello,

    Thank you for your post and welcome to our forums!

    Are you changing the values through the code, wizard or from the strategy parameters?

    What were the values you attempted to change to?
    MatthewNinjaTrader Product Management

    Comment


      #3
      I changed the values in the Condition Builder in Parameters window at bottom. I found that changing any value --say from 4:00PM to 3:00PM would throw the warning. I tried other values and got the same result.

      Comment


        #4
        Thanks for the clarification.

        This error can be thrown if the values are not in the correct format.

        For example if you tried using 9:36, or 9:36AM, the error would be thrown. You would need to use 9:36 AM (space between the minute and AM/PM)
        MatthewNinjaTrader Product Management

        Comment


          #5
          Thanks Mathew, that worked.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Hagar, Today, 06:52 PM
          0 responses
          1 view
          0 likes
          Last Post Hagar
          by Hagar
           
          Started by vivekniwas, Today, 04:56 PM
          0 responses
          6 views
          0 likes
          Last Post vivekniwas  
          Started by dtl-saw, Today, 03:36 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by williamzz, Today, 02:04 PM
          2 responses
          13 views
          0 likes
          Last Post williamzz  
          Started by jtrading82, Today, 01:55 PM
          3 responses
          27 views
          0 likes
          Last Post NinjaTrader_Tyler  
          Working...
          X