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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      214 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      130 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      146 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      230 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      192 views
      0 likes
      Last Post CarlTrading  
      Working...
      X