Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart Databox Blacking Out Transparent Plot Names

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

    Chart Databox Blacking Out Transparent Plot Names

    Hello Support,

    I've created an indicator that using a Mix of Transparent and Non transparent plots.

    When I click the Middle mouse button on a chart, the pop-up chart Data Box shows all plots Correctly.

    However when I open a Data Box dialog window using "Show Data Box" button on the chart, the Data Box shows some transparent plot "names" blacked out.

    Can you please take a look a the uploaded pics and let me when know why this is happening ?

    Thank you
    Attached Files

    #2
    Hello rayko,

    Is the STOP_BUY plot color set to black?

    It might be that the color of the plot is the same as the background..

    In the Data Box window the plot names will be the same color that the plot is set to in the Indicators window.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea,

      I found that after setting the plot to Transparent, causes it. Looks like I tripped over something is suppose to happen.

      Thanks for the help.
      Last edited by rayko; 10-08-2019, 02:18 PM.

      Comment


        #4
        Hello rayko,

        What color is the STOP_BUY plot set to?

        (Transparent plots do not show at all in the Data Box or in the middle mouse click box)

        If you wanted to see the value in the Data Box but hide from the chart, you would need to split the transparent plots into a new script and call return in OnRender(), set the color for the plot that you want to see in the databox, and this will hide the plot from the chart but still show in the databox with the selected color.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello Chelsea

          STOP_BUY is defined as AddPlot(new Stroke(Brushes.SpringGreen, DashStyleHelper.Dash, 3), PlotStyle.Square, "STOP_BUY");

          While in script this is executed:

          PlotBrushes[intcPlot_STOP_BUY][0] = Brushes.Transparent //intcPlot_STOP_BUY=6

          The indicator script also includes ShowTransparentPlotsInDataBox = true;

          I don't know if this is the new normal, where the plot Names become transparent ?

          Can you please let me know ?

          Thank you

          Comment


            #6
            Hello rayko,

            If the plot brush is being set on each individual bar instead of the entire plot, yes, the Data Box window is going to show that same color including transparent.

            Is the goal to show the plot on some bars and not others?
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Jon17, Today, 04:33 PM
            0 responses
            1 view
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            4 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Started by alifarahani, Today, 09:40 AM
            6 responses
            40 views
            0 likes
            Last Post alifarahani  
            Started by Waxavi, Today, 02:10 AM
            1 response
            19 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Working...
            X