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 cmoran13, 04-16-2026, 01:02 PM
              0 responses
              46 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              28 views
              0 likes
              Last Post PaulMohn  
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              163 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              98 views
              1 like
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              158 views
              2 likes
              Last Post CaptainJack  
              Working...
              X