Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Label Description

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

    Indicator Label Description

    This concerns NT7.

    Behind the Label for each indicator is text with the indicator description. Sometimes this text is very short, sometimes long e.g. VWMA.

    // <summary>
    // The VWMA (Volume-Weighted Moving Average) returns the volume-weighted moving average for the specified price series and period. VWMA is similar to a Simple Moving Average (SMA), but each bar of data is weighted by the bar's Volume. VWMA places more significance on the days with the largest volume and the least for the days with lowest volume for the period specified.

    I am looking for a way to put in a command for a linebreak or new paragraph or carriage return in this description. Been searching for this but have not been lucky.

    Hoping someone has an answer,

    sandman

    #2
    Hello sandman,

    Typically this would be \r\n but the Description intentionally does not allow line breaks.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Pity that it's not allowed. Nonetheless it's useful to know for other occasions e.g.

      DrawText("txt", false, "Have a \r\n good day", 0, Low[0], 0, Color.Gold, new Font ("Arial", 12, FontStyle.Bold),StringAlignment.Center, Color.Empty, Color.Empty, 0);

      Thanks.
      ​sandman

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      128 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      73 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      116 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      109 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      88 views
      0 likes
      Last Post CarlTrading  
      Working...
      X