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 algospoke, Today, 06:40 PM
              0 responses
              9 views
              0 likes
              Last Post algospoke  
              Started by maybeimnotrader, Today, 05:46 PM
              0 responses
              7 views
              0 likes
              Last Post maybeimnotrader  
              Started by quantismo, Today, 05:13 PM
              0 responses
              7 views
              0 likes
              Last Post quantismo  
              Started by AttiM, 02-14-2024, 05:20 PM
              8 responses
              168 views
              0 likes
              Last Post jeronymite  
              Started by cre8able, Today, 04:22 PM
              0 responses
              10 views
              0 likes
              Last Post cre8able  
              Working...
              X