Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator for Data Box only

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

    #16
    Hello NinjaTrader_Emily,

    I duplicated the indicator into a new one, called jtBarInfo2 (attached).

    Here are the changes in jtBarInfo2:
    • IsOverlay = false;
    • Commented out ShowTransparentPlotsInDataBox = true;
    • Changed the Brushes for the plots from Transparent to various colors.
    In the screen capture below, both jtBarInfo and jtBarInfo2 are on the chart, with setting to display Ticks. As you can see, the original with Transparent Brushes show the decimal values (2 digits after the decimal point) whereas the jtBarInfo2 with colors show whole numbers for tick ranges and the Up-Down-Doji value. (The highlighted bar is the example, at about 21:00.) And, of course, you can see the plots of the jtBarInfo2 in the indicator panel (between the price and ATR).

    I hope that helps! Thanks again for taking a look. As I said before, the correct information is displayed either way, so this isn't a big deal. But, as you can see, if set to Ticks, the whole number format is much easier to read.

    Kind regards,
    Matt


    Click image for larger version

Name:	image.png
Views:	94
Size:	60.9 KB
ID:	1242627
    Attached Files

    Comment


      #17
      Hello StealthM93,

      Thank you for that information and for providing the additional script.

      I have narrowed down the difference in how the values are rounded and displayed in the data box to the IsOverlay property. When IsOverlay is set to true, the values are all loaded to two decimal places. When set to false, the indicator is plotted on a new panel and will show the value as a whole number (or even just one decimal place) if applicable based on the double value assigned to the plot.
      I can report this to the development team to investigate whether this behavior is expected or not, though in the meantime if you would like to see the whole numbers you will need to set IsOverlay to false. You may still go into the indicator settings and set the "Panel" to "Same as input series" and as long as IsOverlay is false this should still continue to show the whole numbers, even without creating a new panel for the indicator.

      Thank you for your patience.

      Comment


        #18
        Hello NinjaTrader_Emily

        That works - mostly. Now, whether set to Point or Ticks, whole number values are displayed as such. That is, if the range is 8.0 points, it shows "8"; if 8.25, it shows as "8.25", if 8.5, it shows as "8.5".

        Thank you, Emily!
        Matt


        Here are the settings:
        Click image for larger version

Name:	image.png
Views:	97
Size:	72.6 KB
ID:	1243088

        Click image for larger version

Name:	image.png
Views:	91
Size:	29.5 KB
ID:	1243087

        Comment

        Latest Posts

        Collapse

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