Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need Indicator Plot in Databox and not on Chart

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

    Need Indicator Plot in Databox and not on Chart

    Hello,

    I am developing an indicator that provides Buy/Sell signals and prices to a strategy.

    I do not want the indicator Plots to show up on the chart, but I still want to inspect the values in the NT Data Box.

    I tried setting up the indicator plots to transparent like this "Add(new Plot(Color.FromKnownColor(KnownColor.Transparent), PlotStyle.Line, "Plot_EN_Price"));"

    But it will not show in the NT Data Box.

    Can you pls let me know how I can setup an indicator plot to show up in the NT Data Box and not on the Chart.

    Thanks

    #2
    Hello Lucius,

    Thank you for your post.

    I do not understand why the transparent color did not work for the DataBox. Can you provide a sample of the code you are testing that produces the same results?

    Comment


      #3
      Originally posted by Lucius View Post
      Hello,

      I am developing an indicator that provides Buy/Sell signals and prices to a strategy.

      I do not want the indicator Plots to show up on the chart, but I still want to inspect the values in the NT Data Box.

      I tried setting up the indicator plots to transparent like this "Add(new Plot(Color.FromKnownColor(KnownColor.Transparent), PlotStyle.Line, "Plot_EN_Price"));"

      But it will not show in the NT Data Box.

      Can you pls let me know how I can setup an indicator plot to show up in the NT Data Box and not on the Chart.

      Thanks
      A transparent Plot will not show up in the DataBox. Try setting the color to the same as the chart background color, which will have the same visual effect on the chart.

      ChartControl.BackColor
      The ChartControl may not be available in the Initialize() method, so you may have to use the PlotColors syntax instead, in OnBarUpdate().

      Code:
      PlotColors[0][0] = ChartControl.BackColor; //et.c.,

      Comment


        #4
        Setting the plot to the same color as the chart background did the trick. Thanks kogaman

        Comment


          #5
          Thanks for letting us know Lucius and thanks koganam for the assist here.

          Comment

          Latest Posts

          Collapse

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