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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X