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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      72 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      39 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X