Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Inputs in Strategy Analyzer have nothing to do with my strategy

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

    Inputs in Strategy Analyzer have nothing to do with my strategy

    I tried uninstalling NT7 and reinstalling the release version. I'm still getting this problem.

    Look at the screenshot. Notice how the only input is Lots.

    Now look at my strategy. The inputs in my strategy have *nothing* to do with what NT7 displays. What's going on and how do I fix it?
    Attached Files

    #2
    I even tried coming up with a new strategy. After awhile, everything gets overwritten with this Lots input.

    Comment


      #3
      Hello TexasNomad,

      The input is created by the existence of public property Lots. If you don't want this as an input, remove the public property:

      #region Properties
      [Description("")]
      [GridCategory("Parameters")]
      public int Lots
      {
      get { return lots; }
      set { lots = Math.Max(1, value); }
      }
      Ryan M.NinjaTrader Customer Service

      Comment


        #4
        Where did Ticks and Separation distance go???

        Comment


          #5
          For ticks and separation, you need to add the Description and GridCategory.


          #region Properties
          [Description("")]
          [GridCategory("Parameters")]
          public int Ticks
          {
          get { return ticks; }
          set { ticks = Math.Max( 1, value); }
          }

          [Description("")]
          [GridCategory("Parameters")]
          public int SeparationDistance
          {
          get { return separationDistance; }
          set { separationDistance = Math.Max( 1, value); }
          }
          #endregion
          Ryan M.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by selu72, Today, 02:01 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Zachary  
          Started by WHICKED, Today, 02:02 PM
          2 responses
          12 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by f.saeidi, Today, 12:14 PM
          8 responses
          21 views
          0 likes
          Last Post f.saeidi  
          Started by Mikey_, 03-23-2024, 05:59 PM
          3 responses
          51 views
          0 likes
          Last Post Sam2515
          by Sam2515
           
          Started by Russ Moreland, Today, 12:54 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Erick  
          Working...
          X