Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Changing the label of cell header Market Analyzer

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

    Changing the label of cell header Market Analyzer

    Hi @all,

    I have an indicator that changes his mode depending on a parameter input value. This change should be illustrated on the column label so that I'm able to observe how the output in cell should be interpreted...

    e.g. Parameter name "Rank" - > Value from 0...7
    0 -> "VWAP SMA xy"
    1 -> "RSI Calc."
    ......

    I would like to see if Rank == 1 the Column should named "RSI Calc."

    Any ideas?
    Many thx and have a successful trading day ;-)

    #2
    Hello mphilipp,

    Thanks for your post.

    The label field in the Market analyzer column is editable. When setting your indicator column parameter you can change the label at the same time to suit your needs. The label by default would reflect the indicators name, however, you can remove and or edit the label (under Set up section) to suit your needs.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hi Paul,
      knknwo taht I can do this manually, but I prefer to do it programmatically....
      That's what I like to do... I can't see the difference to modify the cell output in color or format, so why not the cell header... I think it's maybe an undocumented feature...

      Hope you can help me ;-)

      Cheers Markus

      Comment


        #4
        Hello Markus,

        Thanks for your reply.

        You can override the display name of the indicator which would change the column label. Reference: https://ninjatrader.com/support/help...isplayname.htm

        Example (labelNumber is an int):

        Code:
        		public override string DisplayName
        		{
            		get { 				
        				if (Labelnumber == 0)
        					return "VWAP SMA xy"; 
        				else if (Labelnumber == 1)
        					return "RSI Calc"; 
        				else
        					return "Other"; 
        			} 	
        		}
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,603 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        8 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        4 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        12 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X