Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

plot description

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

    plot description

    How can I add text below the Plot Name Label in the indicator dialog box? For example I have: Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0")); in the indicator code.

    So when I right click on a chart and go to the indicator, the Label of the plot will say Plot0. How do I add a description below the Label Plot0 ?

    #2
    Hello,

    I am not clear where you want the text to show up. Try posting a screen shot and explaining that way.

    Also one of these may help:

    DenNinjaTrader Customer Service

    Comment


      #3
      Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "NewPlotName"));
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        here is an example
        Attached Files

        Comment


          #5
          Originally posted by eDanny View Post
          Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "NewPlotName"));
          I believe you cannot add text to that section, whatever you have in quotes when Adding a Plot is what you see.
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #6
            Hello,

            Yes, you can modify this in the description area near the top of the code in any indicator; however it cannot be changed on the fly. Here is an example:

            [Description(
            "write something here")]
            publicclass
            DenNinjaTrader Customer Service

            Comment


              #7
              this is what I got in the properties section:

              #region Properties

              [Description("write something here ?????????")]
              public DataSeries Plot0
              {
              get { return Values[0]; }

              }
              [Description("write something here XXXXXXXXX")]
              public DataSeries Plot1
              {
              get { return Values[1]; }
              }

              is this in the right area? I tried your publicclass but no luck.

              Comment


                #8
                velocity,

                You cannot add the Description tag to a plot. That is generally for parameters. You can however do eDanny's suggestion to give it a name.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  how about suggesting this for NT7. placing descriptions on the plots can help with knowing some of the details of what it is doing when you have complicated indicators with a series of different plots.

                  thanks

                  Comment


                    #10
                    Thank you for the suggestion. I have forwarded it to development.
                    Josh P.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by algospoke, 02-19-2024, 03:25 PM
                    4 responses
                    36 views
                    0 likes
                    Last Post gummybar  
                    Started by gummybar, 02-14-2024, 03:22 PM
                    2 responses
                    35 views
                    0 likes
                    Last Post gummybar  
                    Started by nicthe, Today, 07:38 AM
                    0 responses
                    12 views
                    0 likes
                    Last Post nicthe
                    by nicthe
                     
                    Started by burtoninlondon, 04-28-2024, 12:38 AM
                    3 responses
                    36 views
                    0 likes
                    Last Post burtoninlondon  
                    Started by burtoninlondon, 05-01-2024, 10:13 AM
                    2 responses
                    26 views
                    0 likes
                    Last Post burtoninlondon  
                    Working...
                    X