• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 fx.practic, Today, 12:04 PM
        0 responses
        1 view
        0 likes
        Last Post fx.practic  
        Started by szayedoud, Today, 11:49 AM
        0 responses
        2 views
        0 likes
        Last Post szayedoud  
        Started by Rugosoft, Today, 10:41 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by Diego Diego Gomez, Today, 10:01 AM
        4 responses
        11 views
        0 likes
        Last Post Diego Diego Gomez  
        Started by derivtrader, Today, 10:01 AM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Working...
        X