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

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?

    BertrandNinjaTrader Customer Service

    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?
        BertrandNinjaTrader Customer Service

        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.
            BertrandNinjaTrader Customer Service

            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 r68cervera, 04-25-2024, 05:29 AM
              2 responses
              16 views
              0 likes
              Last Post r68cervera  
              Started by SugarDefHealth, Today, 03:30 AM
              0 responses
              2 views
              0 likes
              Last Post SugarDefHealth  
              Started by ETFVoyageur, Today, 02:08 AM
              1 response
              8 views
              0 likes
              Last Post ETFVoyageur  
              Started by kujista, 04-22-2024, 07:46 AM
              3 responses
              13 views
              0 likes
              Last Post kujista
              by kujista
               
              Started by kujista, 04-23-2024, 06:23 AM
              7 responses
              58 views
              0 likes
              Last Post kujista
              by kujista
               
              Working...
              X