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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        142 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        81 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        125 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        120 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        98 views
        0 likes
        Last Post CarlTrading  
        Working...
        X