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 f.saeidi, Today, 11:02 AM
                    0 responses
                    0 views
                    0 likes
                    Last Post f.saeidi  
                    Started by geotrades1, Today, 10:02 AM
                    3 responses
                    10 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by rajendrasubedi2023, Today, 09:50 AM
                    3 responses
                    15 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by lorem, Today, 09:18 AM
                    2 responses
                    11 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by geddyisodin, Today, 05:20 AM
                    4 responses
                    30 views
                    0 likes
                    Last Post geddyisodin  
                    Working...
                    X