Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        148 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        5 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        5 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,282 views
        0 likes
        Last Post Leafcutter  
        Working...
        X