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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        160 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        308 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        349 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X