Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.TextFixed Panel

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

    Draw.TextFixed Panel

    Hello,

    I have an indicator with my calculations and with draw.textfixed in panel2.

    Another indicator (using pivots in dataloaded) I can not make plotting my calculations in panel2, it always plots in price panel.

    Both indicators I have "IsOverlay= true" and "DrawOnPricePanel" = false.

    What would I have to change to plot the indicator using pivots in calculations with draw.textfixed in a panel below price panel?


    Thank you!
    Tony

    #2
    Hello tonynt,

    Draw.Text follows the chart bar series panel unless you set the indicator to use DrawOnPricePanel = false, then it follows the indicators panel.



    Comment


      #3
      Hello Jesse,

      thank you for your reply. I wrote I have "DrawOnPricePanel=false" but the indicator I use pivots in my calculations is drawing text in price panel.

      What do I miss in your reply please?

      Thank you!
      Tony

      Comment


        #4
        Hello tonynt,

        The drawing is either always on the price panel or when you use DrawOnPricePanel false its inside the indicators panel.

        If you want to draw on the price panel and have the indicator in a sub panel you need to use DrawOnPricePanel = true. If you want the drawing in the indicators panel you use DrawOnPricePanel false.

        Comment


          #5
          Hello Jesse,

          thank you for your reply. I wrote that I follow (try to follow) your instructions and in the attached screenshot you see that the indicator is plottedin pricepanel but I have in the code "...false" and in inidicator parameters "2". But it is plotting drawtext in panel1.

          Thank you!
          Tony
          Attached Files

          Comment


            #6
            Hello tonynt,

            From the image I wouldn't be able to tell what is happening. Please make sure to remove and re apply the indicator if you made changes to the SetDefaults section of the indicator.

            Comment


              #7
              Hello Jesse,

              to re-apply it I made a new chart and it is plotting in price panel. Please see setdefaults in code, new chart and the parameters of indicator with panel "2". But it plots in price panel.

              (this is the line in the code: Draw.TextFixed(this,"str8",str8, TextPosition.BottomLeft,Brushes.Black, new SimpleFont ("Arial",11), Brushes.Transparent,Brushes.White,100)

              Thank you!
              Tony
              Attached Files
              Last edited by tonynt; 03-07-2023, 10:29 AM. Reason: add info

              Comment


                #8
                Hello tonynt,

                If you are seeing a problem we always suggest reducing what you are doing to find the issue. You can try making a new indicator and then use only the drawing that you are in that indicator as a test. I see Draw.TextFixed working as expected on my end.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                574 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                333 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
                553 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                551 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X