Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do you adjust Text font & Line thickness

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

    How do you adjust Text font & Line thickness

    Can anyone point me to where I can adjust Text font, Line thickness and symbol sizes for items that are printed on the chart as a result for a strategy. For example the size of an "up arrow" symbol. Or size of "my text" or "My line"

    Thank you

    #2
    Hello,

    Thank you for the question.

    The Default drawing tools such as Up Arrow unfortunately can not have their sizes changed, this would be controlled by the scale of the chart.

    Lines and Text can have their size changed in the objects properties. To access a Lines properties, first draw the line and then either double click on the line or single left click the line and right click to select properties.

    Text would be the same process, you would need to access the texts Properties where you can adjust the Font which includes a size, weight and font choice.

    I look forward to being of further assistance.

    Comment


      #3
      doesn't change default for strategy lined

      Thank you for the quick reply, but it doesn't change the default for line calls coming from strategy for "my line". Clicked on a line recently drawn by strategy, increased line from 1 to 3 set default, ok. It did change the default for lines but it did not change the default for a line called by the strategy. Any other suggestions?

      Thank you

      Comment


        #4
        Hello yngtrader,

        If you wish to change the width of lines drawn by your strategy, you will need to use the overload that accepts an integer for the width for DrawLine(): https://ninjatrader.com/support/help.../?drawline.htm

        Code:
        DrawLine(string tag, bool autoScale, int startBarsAgo, double startY, int endBarsAgo, double endY, Color color, DashStyle dashStyle, int width)
        
        or
        
        DrawLine(string tag, bool autoScale, DateTime startTime, double startY, DateTime endTime, double endY, Color color, DashStyle dashStyle, int width)
        Please, let us know if we may be of further assistance.
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by yngtrader View Post
          Thank you for the quick reply, but it doesn't change the default for line calls coming from strategy for "my line". Clicked on a line recently drawn by strategy, increased line from 1 to 3 set default, ok. It did change the default for lines but it did not change the default for a line called by the strategy. Any other suggestions?

          Thank you
          What method syntax are you using to draw the line?

          Comment

          Latest Posts

          Collapse

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