Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart label precision only 2 digits?

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

    Chart label precision only 2 digits?

    Hi,
    I've made a little charting indicator (separate chart below main chart). I'm only able to display data with a precision of 2 places to the right of the decimal point (like 1.36).

    How to I change the formatting for this?

    I'm using the following code:
    Add(new Plot(Color.FromKnownColor(KnownColor.Green), PlotStyle.Line, "PlotBuy"));
    and
    PlotBuy.Set(var1);

    Sorry if this has been answered before. Can't find it.

    Thanks

    #2
    Unfortunately this is not supported. Thank you for the suggestion. We will add it to the list of future considerations.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I've managed a very poor workaround for this. I simply subtract 1.3 (for now) from the data. Gives me 0.0589, when it should read 1.3589.

      I REALLY appreciate all the hard work that's gone into NinjaTrader. If only that little format string could be changed by some nice person

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      85 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      47 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      67 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X