Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

plots problem

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

    plots problem

    I'm having a strange problem where I am adding 4 Plots to my code but one more Plot inserted at 0 place not from my code scope. When I debug the code the additional Plot is not from my code at all. Any idea where to start to solve the problem?

    #2
    asafs, but you're not referring to the primary indicator value plot that would always exist, even if no plot was added at all to further customize the visualization aspects?

    Comment


      #3
      sorry don't undestand: I what to have 4 plots as follows in Initialize() :

      Add(new Plot(Color.Blue, "Plot1"));
      Add(new Plot(Color.Orange, "Plot2"));
      Add(new Plot(Color.DarkViolet, "Plot3"));
      Add(new Plot(Color.DarkViolet, "Plot4"));
      in the graph I have 5 plots including additional "PLOT" which is located in Values[0].


      Overlay = true;

      Comment


        #4
        Thanks. Would you mind posting your properties section for those as well?

        Comment


          #5
          /// <summary>
          /// Lower band of Standard Error
          /// </summary>
          [Browsable(false)]
          [XmlIgnore]
          public Data.DataSeries Plot1
          {
          get { return Values[0]; }
          }

          [Browsable(false)]
          [XmlIgnore]
          public Data.DataSeries Plot2
          {
          get { return Values[1]; }
          }

          [Browsable(false)]
          [XmlIgnore]
          public Data.DataSeries Plot3
          {
          get { return Values[2]; }
          }

          /// <summary>
          /// Upper band of Standard Error
          /// </summary>
          [Browsable(false)]
          [XmlIgnore]
          public Data.DataSeries Plot4
          {
          get { return Values[3]; }
          }

          Comment


            #6
            Thanks, from those I would expect an overall of 4 plots / series as well. Would you mind we tested your complete study here on our end to further check into? If that's possible please send to us at support at ninjatrader dot com.

            Comment


              #7
              I changed the name of the indicator to test1 and it's working properly. maybe its a compiler problem. anyway my problem is solve for now.
              thanks for the quick support.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              580 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              336 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              552 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X