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() requests

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

    DrawTextFixed() requests

    First, how can I put a line break in the text string so that the message is on two lines? I tried two separate DrawTextFixed() stmts but they were written on top of one another.

    Second, you should add full examples to your help file, please?
    DrawTextFixed(string tag, string text, TextPosition textPosition, Color textColor, Font font, Color outlineColor, Color backColor, int opacity)

    Third, your reference links to msdn are broken.

    Fourth, all I want is the enumeration list of the supported values for those options (Font, etc). Where do I find this and would you add that link to the help file please?

    #2
    Try add \n at the end of your strings for each line break.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      That's embarrassing. I really thought that I'd tried that.
      Thanks, Josh!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by alifarahani, Today, 09:40 AM
      3 responses
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by RookieTrader, Today, 09:37 AM
      4 responses
      17 views
      0 likes
      Last Post RookieTrader  
      Started by PaulMohn, Today, 12:36 PM
      0 responses
      4 views
      0 likes
      Last Post PaulMohn  
      Started by love2code2trade, 04-17-2024, 01:45 PM
      4 responses
      39 views
      0 likes
      Last Post love2code2trade  
      Started by junkone, Today, 11:37 AM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X