• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IntSeries in the Data Box

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

    IntSeries in the Data Box

    I would like to show an integer series in the data box, so I can see calculated values for each bar.

    I don't want to plot the values on the chart or below the chart, just see them in the databox.

    It seems that only plots are shown in the databox, so I used a DataSeries, which is a double.

    Then, if I want to hide the new plots, I set the color to transparent. If I do this then the new plots don't show in the databox.

    If I use a color (non transparent), then the new plots are visible but of course, it completely messes up my chart...and is unusable.

    Is what I'm trying to do possible?

    Is there a way to do it using only IntSeries and not DataSeries?

    #2
    Hello Turtle Trader,

    The only supported way to have a value show up in the Data Box that I am ware of.

    I will leave this thread open in case another user has had some experience with Data Box.

    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      reply

      I don't mind using a DataSeries, even though I will only populate it with integers.

      The problem is....these plots need to be invisible, but still show up in the databox.

      Is that possible?

      Comment


        #4
        TurtleTrader, some ideas would include a custom DrawTextFixed for example for your int values or using plots that have the same color as the background instead of the Transparent that the DataBox would not show.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          reply

          Thank you Bertrand,

          The setting the plots to the background color may work. I'll try it.

          Would be good if there was a "don't draw" attribute that still allowed the Data Box to show the values.

          DrawTextFixed? I don't understand how that would work as it is not a Series....

          I have 4 integer values for each bar that I want to store, and to show in the databox.

          If anyone has ideas let me know.

          Comment


            #6
            IntSeries -- Please add to requested features

            actually, the best solution would be to have an attribute on IntSeries that allowed it to be shown in the DataBox

            That way, it expands the range of the DataBox to all Series and not just what is Plotted.

            Evidently now the DataBox is limited to a Plot.

            Comment


              #7
              background color won't work

              actually, in my case, changing the background color of plots to hide them is not going to work...as on my charts the background color is dynamic...another indicator changes the color of the background to give alerts

              Comment


                #8
                Hello Turtle Trader,

                You may try the DrawText() or DrawTextFixed() in your script.

                The DrawTextFixed() has 5 different options where you can display text like an Integer and would be a good option.

                The DrawText() can be used to display your integer on every bar but can be very resource intensive depending on how much data you are using.

                Let us know if either of those options will work for you.
                JCNinjaTrader Customer Service

                Comment


                  #9
                  reply

                  no, those won't work....

                  because I don't want the integers on the chart....

                  but I need a way to make visible the integer data points that are associated with each bar, much like the data box does

                  just like that...it shows the plot series data at each individual bar...that is what I want to do, but not have the plot (or series) be visible

                  will see if anyone in BMT has a solution

                  thank you

                  Comment


                    #10
                    Use a plot instead of an IntSeries, set AutoScale to false and set the plot color to transparent for all bars with the exception of the first 20 bars (with default value BarsRequried = 20).

                    A sample indicator is attached.
                    Attached Files

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by ntbone, 07-13-2019, 11:37 PM
                    9 responses
                    27 views
                    0 likes
                    Last Post Spaggetti Ninjja  
                    Started by nicknamed, Today, 05:10 PM
                    1 response
                    15 views
                    0 likes
                    Last Post NinjaTrader_EricB  
                    Started by pstrusi, Today, 04:57 PM
                    0 responses
                    7 views
                    0 likes
                    Last Post pstrusi
                    by pstrusi
                     
                    Started by williamzz, Today, 04:18 PM
                    0 responses
                    6 views
                    0 likes
                    Last Post williamzz  
                    Started by ct, Today, 01:57 PM
                    2 responses
                    14 views
                    0 likes
                    Last Post ct
                    by ct
                     
                    Working...
                    X