Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

drawtextfixed usage with fonts and color?

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

    drawtextfixed usage with fonts and color?

    Hi,
    Can somebody show me how to use DrawTextFixed with Arial 14 fonts bold and red color?

    DrawTextFixed(string tag, string text, TextPosition textPosition, Color textColor, Font font, Color outlineColor, Color areaColor, int areaOpacity)


    Thanks

    #2
    Hello ssg10,

    DrawTextFixed("textBox", "Some Text Here", TextPosition.BottomRight, Color.Red, new Font("Arial", 14f), Color.Empty, Color.Empty, 10);
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      color of right hand price scale

      Where do I set the colo rfor the right hand price scale please?

      Comment


        #4
        Hello laredo787,

        There are no documented or supported methods to set the Color for axis in code.

        You will need to change this property on the chart itself.

        Right-click the chart -> select Properties... -> change the Color for axis value.

        https://ninjatrader.com/support/help...properties.htm


        Also, if you would like to create a new thread with your own topic, you can do so on the page linked below by clicking the 'NEW THREAD' button in red just above the list of threads on the left.
        http://ninjatrader.com/support/forum...splay.php?f=15
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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