Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ShowTransparentPlotsInDataBox not working

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

    ShowTransparentPlotsInDataBox not working

    I am trying to get the plots plotted by my strategy to show in the data box when they are set to transparent, but despite making a custom indicator with
    " ShowTransparentPlotsInDataBox = true; " and inserting the same line in the strategy code, the indicator's transparent plot is still not showing in the databox.

    #2
    Hi itrader46, thanks for your note.

    The Chart will only pay attention to non-transparent plots. I will submit a feature request to show transparent plots in the databox in a future update.

    Thanks in advance for your patience.

    Comment


      #3
      I'm not sure I follow: the syntax above is from NT8 help guide and it actually works, so you don't have to do anything.

      Anyway, I figured out why mine didn't show up: the indicator was set to plot on a secondary series, which the strategies won't allow.

      So this is a feature request you can add, please: for strategies to plot indicators applied to secondary series.

      Comment


        #4
        Hi itrader46, thanks for catching that I misread the original post.

        I'll add a feature request for this if one does not exist already. If one already exists I will add a vote to it for you.

        Best regards.

        Comment


          #5
          Hi itrader46,

          Are you plotting from a secondary instrument added to the script or to a data series on the chart? My indicators will plot secondary series if the Input field for the indicator is set to that series.

          Comment


            #6
            Really? I thought I read in the help guide that's not possible.

            My code below won't plot other indicators than for the primary [0] series. Is there anything wrong with it?

            The transparent plots show in the data box, but only for the primary [0] series and it makes no difference what colour I set for the [2] series indicators to plot, they don't show

            Code:
            public class ATM2 : Strategy
                {                   
                    private T3 T31b0;
                    private T3 T32b0;        
                    private T3 T31b2;
                    private T3 T32b2;
                    private DMI DMI1;
            ...
            
            else if (State == State.Configure)                
                            {
                                AddDataSeries(Data.BarsPeriodType.Tick, 1);
                                AddDataSeries(Data.BarsPeriodType.Minute, 5);                    
                            }
            
            else if (State == State.DataLoaded)
            {
            
            DMI1            = DMI(Closes[2], Convert.ToInt32(DmiPeriod));              
            T31b0           = T3(Closes[0], 5, 3, 0.7);
            T32b0           = T3(Closes[0], 8, 3, 0.7);
            T31b2            = T3(Closes[2], 5, 3, 0.7);
            T32b2            = T3(Closes[2], 8, 3, 0.7);
            
            T31b0.Plots[0].Brush = Brushes.Yellow;
            T32b0.Plots[0].Brush = Brushes.White;                
            T31b2.Plots[0].Brush = Brushes.Transparent;
            T32b2.Plots[0].Brush = Brushes.Transparent;
            DMI1.Plots[0].Brush = Brushes.Transparent;
            
            AddChartIndicator(T31b0);
            AddChartIndicator(T32b0);                
            AddChartIndicator(T31b2);
            AddChartIndicator(T32b2);
            AddChartIndicator(DMI1);

            Comment


              #7
              Hi itrader46, thanks for your reply.

              I submitted a feature request to enable transparent plots in the databox for the extra series added to the script. I'll have a feature id tracking number for you shortly.

              Kind regards.

              Comment


                #8
                Hi,

                I have the opposite issue. I would like my transparent plots NOT to appear in the DataBox. I set
                Code:
                ShowTransparentPlotsInDataBox = false
                and it still appears in the DataBox in black with n/a as values as opposed to the desire result which would be to not appear at all. How can I enforce my transparent plots to not show in the DataBox if ShowTransparentPlotsInDataBox does not work?

                Comment


                  #9
                  Hi, I never posted the feature request ID here, its SFT-4436. The property is working for my test script. Please see attached. Check what is different between this script and your script that is still showing the plot in the databox.

                  Kind regards.
                  Attached Files

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by NullPointStrategies, Today, 05:17 AM
                  0 responses
                  50 views
                  0 likes
                  Last Post NullPointStrategies  
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  126 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  69 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  42 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Started by TheRealMorford, 03-05-2026, 06:15 PM
                  0 responses
                  46 views
                  0 likes
                  Last Post TheRealMorford  
                  Working...
                  X