• 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

ToString() Replacement

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

    #16
    Hello Joe_T,

    Thanks for your post.

    As a result of this thread, several votes were added to the existing feature request SFT-477 which concerns the display name of the indicator.

    Feature requests are used to track demand for a feature and are not a guarantee of implementation. If implemented the feature request would be identified in the release note of NinjaTrader8.
    Paul H.NinjaTrader Customer Service

    Comment


      #17
      Originally posted by JerryWar View Post
      One of the Reasons, I want to null out the Name is that I do not want to display the complete
      list of indicator inputs along with the name especially given that NT8 displays the Hex representation
      of colors. Maybe there could be a separate UI input added for "Display Indicator Inputs"
      Hello JerryWar,

      Thanks for your post.

      You can use the DisplayName method and assign a text name. This is exactly what I did with the indicator "Repeater" in the NT8 indicator downloads:

      public override string DisplayName
      {
      get { return "RepeaterV2.1"; } // to prevent showing all parameters (60+) on the chart
      }

      See attached example on chart

      Reference: http://ninjatrader.com/support/helpG...isplayname.htm
      Attached Files
      Paul H.NinjaTrader Customer Service

      Comment


        #18
        Originally posted by NinjaTrader_Paul View Post
        Hello Joe_T,

        Thanks for your post.

        As a result of this thread, several votes were added to the existing feature request SFT-477 which concerns the display name of the indicator.

        Feature requests are used to track demand for a feature and are not a guarantee of implementation. If implemented the feature request would be identified in the release note of NinjaTrader8.
        Please add me to the request list.

        Thanks.

        Comment


          #19
          ToString() Replacement

          Originally posted by NinjaTrader_Paul View Post
          Hello Joe_T,

          Thanks for your post.

          As a result of this thread, several votes were added to the existing feature request SFT-477 which concerns the display name of the indicator.

          Feature requests are used to track demand for a feature and are not a guarantee of implementation. If implemented the feature request would be identified in the release note of NinjaTrader8.
          Just as clarification, it is NOT just the name of the indicator(s) string can be changed, but also to add a user changeable "Chart Title" for the purposes of printing or taking a snapshot.

          Thanks,
          Joe_T

          Comment


            #20
            Hello Joe_T,

            Thanks for your post.

            Your suggestions had previously been added to the feature request.

            Thanks for your suggestions for improvement to NinjaTrader8.
            Paul H.NinjaTrader Customer Service

            Comment


              #21
              Originally posted by NinjaTrader_Paul View Post
              As a result of this thread, several votes were added to the existing feature request SFT-477 which concerns the display name of the indicator.

              Feature requests are used to track demand for a feature and are not a guarantee of implementation. If implemented the feature request would be identified in the release note of NinjaTrader8.
              Please add my vote.

              Comment


                #22
                A key issue is that one can, for instance, change the string to "" and make it where the indicator isn't listed at the top of the chart, but this has the undesired side-effect that the indicator is depicted as a blank line in the Indicators dialog when editing the list of indicators applied to the chart.

                Comment


                  #23
                  Here is a visual.
                  Attached Files

                  Comment


                    #24
                    Originally posted by Bruce DeVault View Post
                    A key issue is that one can, for instance, change the string to "" and make it where the indicator isn't listed at the top of the chart, but this has the undesired side-effect that the indicator is depicted as a blank line in the Indicators dialog when editing the list of indicators applied to the chart.
                    This appears to work


                    Code:
                    public override string DisplayName
                    {
                    	 
                    		get { if  (State == State.SetDefaults) return "StrategyName"; else  return "";  }
                      
                    }

                    Comment


                      #25
                      That is a good idea for a work-around, thank you - still, there is no guarantee they will always do it that way so I think it would remain wise to seek a supported solution.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by levikNT, Today, 07:36 AM
                      0 responses
                      4 views
                      0 likes
                      Last Post levikNT
                      by levikNT
                       
                      Started by TazoTodua, Today, 07:27 AM
                      0 responses
                      4 views
                      0 likes
                      Last Post TazoTodua  
                      Started by KennyK, Yesterday, 09:47 PM
                      1 response
                      6 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by Dogmatichacker, Yesterday, 03:52 PM
                      1 response
                      13 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by Trino, 03-23-2019, 09:26 AM
                      1 response
                      4 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Working...
                      X