Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 How to put text in RH margin of a chart

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

    NT7 How to put text in RH margin of a chart

    I would like to put text in the RH margin & overwrite the value of what's currently listed by the plot.
    In other words, whatever the plot is plotting & showing a value in the RH margin, I want to override that value with my own text.
    Any help appreciated.

    #2
    Hello saturntd,

    Thank you for your note.

    Attached is an indicator which will compute and plot a moving average however the price displayed for this moving average will shown as "SNOW" rather than the price.

    You could put the following under OnBarUpdate within your code for the same results,

    Code:
    public override string FormatPriceMarker(double price)
    {        
    return "SNOW";
    }
    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Alan

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      649 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      576 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X