Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi Text Upper Right

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

    Multi Text Upper Right

    How would I create 3 dynamic lines of text in the upper right corner? I can use TextFixed for 1 line but I have 3 independent lines I want to update dynamically. I have included an example picture.

    Thanks

    Westsider
    Attached Files

    #2
    Hello Westsider,

    Thank you for your post.

    You can use \r\n in the string to break the line:
    Code:
    DrawTextFixed("tag1", "Hello\r\nThere\r\nGood\r\nBye", TextPosition.TopRight);
    Please let me know if you have any questions.

    Comment


      #3
      Thanks Patrick,
      That helped. For the dynamic text I just substituted in string variables:
      Code:
      DrawTextFixed("tag1", String1+[COLOR=#800000][COLOR=#800000][COLOR=#800000]"\r\n"[/COLOR][/COLOR][/COLOR] + String2, TextPosition.TopRight);
      ]

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      115 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      66 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      101 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      91 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      78 views
      0 likes
      Last Post CarlTrading  
      Working...
      X