Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Performance metric negative values color

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

    Performance metric negative values color

    Hi,

    Is it possible to color my custom metric negatives values with red like is done for the builtin metrics?

    #2
    Hello tolisss,

    Thank you for your note.

    Would you pleave provide a screen shot of what metric you are referring to?

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      sure, these are custom developed metrics and as I plan to develop more I would like to know if there is a way to categorized them somehow
      Attached Files

      Comment


        #4
        as you can see it doesn't work even for the buildin Sample Cum Profit,

        Comment


          #5
          Hello tolisss,

          In the NinjaScript Editor, Under Market Analyzer Columns, I would suggest opening PositionSize and scrolling to the end of the file and looking under Miscellaneous>public override string format. You could also look at Unrealized ProfitLoss under Market Analyzer Columns.

          Also please see the following link to our helpguide,


          Please let us know if you need further assistance.
          Alan P.NinjaTrader Customer Service

          Comment


            #6
            thanks for the answer much helpful!

            >and as I plan to develop more I would like to know if there is a way to categorized them somehow
            what about this?

            Comment


              #7
              Originally posted by NinjaTrader_AlanP View Post
              Hello tolisss,

              In the NinjaScript Editor, Under Market Analyzer Columns, I would suggest opening PositionSize and scrolling to the end of the file and looking under Miscellaneous>public override string format. You could also look at Unrealized ProfitLoss under Market Analyzer Columns.

              Also please see the following link to our helpguide,


              Please let us know if you need further assistance.
              Alan, the screenshot I sent you is from Strategy Analyzer and I am working with a Performance metric descendant as such there is no BackColor property to change. So is there another way?

              Comment


                #8
                Hello tolisss,

                Thank you for your patience.

                This appears to be a bug for which I submitted a bug report to development.

                Thank you for reporting this.
                Alan P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                88 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                48 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                30 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                34 views
                0 likes
                Last Post TheRealMorford  
                Started by Mindset, 02-28-2026, 06:16 AM
                0 responses
                68 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Working...
                X