Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

invisible plots

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

    invisible plots

    I've tried many many different things, but cant figure this out.
    i have several plots on chart. but for only 1 plot, i want it to have yellow color in databox and in pricemarker, but on chart, it was invisible (no lines... let it be transparent or whatever, lets say, 0.0001 width dot is acceptable also)...

    but if i make it transparent, then it doesnt show in databox and it's pricemarker is not shown too.

    width cant be set to the minimal as i wished, the minimum width seems to be limited (and it's noticeable... i want mostly invisible to human eye).

    can you help?

    #2
    Hello TazoTodua,

    Unfortunately, I'm not clear on the goal.

    Are you trying to hide a plot from the chart but show it in the DataBox?

    The DataBox only shows plots. I don't think this would be possible. You can remove the line by unsetting old values, but you can't remove the plot.




    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      ChelseaB, goal is quite simple. I dont want to be visible it on chart, but visible on DataBox (and would be great to have PriceMarker too on Y-axis).

      Comment


        #4
        Hello TazoTodua,

        Yeah, as I mentioned that's not really possible. Plots appear in the DataSeries window.

        The example I provided shows how to remove the line but keep the plot. Are you finding this is not adequate for an example?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          I couldnt specifically find which code does that.
          I mainly wish to remove the visual line, and all other remained. just want to visually hide it. which property should i use, i couldnt understand from that script-code.


          Last edited by ttodua; 07-01-2019, 03:36 AM.

          Comment


            #6
            btw, in the meanwhile, the rudest solution i've found so far, is to set the brush color to


            HTML Code:
            var myBrush = ChartControl.Properties.ChartBackground;
            myBrush = myBrush.Clone();
            myBrush.Opacity= 0.01;
            PlotBrushes[0][0] = myBrush;
            the drawback is that PriceMarker becomes transparent too. If I want to have PriceMarker with visible color, then I have to use this code:
            HTML Code:
            ...
            PlotBrushes[0][1] = myBrush;
            Plots[0].PlotStyle = PlotStyles.Dot;
            but drawback is that it then needs to have plot visible on last bar.

            Comment


              #7
              Hello TazoTodua,

              In the AdvanceDecline indicator Lines 66 and 273 through 275.
              Chelsea B.NinjaTrader Customer Service

              Comment


                #8
                yes, I see that, but that removes the values from databox too when you mouseover on historical bars ... that's the problem i talked...

                Comment


                  #9
                  Hello TazoTodua,

                  Ah I understand, you want to be able to have the historical values in the databox and not just the updated value.

                  Possibly a transparent plot is what you want.
                  Chelsea B.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  648 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  369 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  108 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  572 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  573 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X