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 judysamnt7, 03-13-2023, 09:11 AM
          4 responses
          59 views
          0 likes
          Last Post DynamicTest  
          Started by ScottWalsh, Today, 06:52 PM
          4 responses
          36 views
          0 likes
          Last Post ScottWalsh  
          Started by olisav57, Today, 07:39 PM
          0 responses
          7 views
          0 likes
          Last Post olisav57  
          Started by trilliantrader, Today, 03:01 PM
          2 responses
          21 views
          0 likes
          Last Post helpwanted  
          Started by cre8able, Today, 07:24 PM
          0 responses
          10 views
          0 likes
          Last Post cre8able  
          Working...
          X