• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 Bionian, Today, 10:10 AM
        1 response
        9 views
        0 likes
        Last Post Emma1
        by Emma1
         
        Started by tonynt, Today, 10:47 AM
        0 responses
        6 views
        0 likes
        Last Post tonynt
        by tonynt
         
        Started by sgordet, Today, 10:01 AM
        0 responses
        4 views
        0 likes
        Last Post sgordet
        by sgordet
         
        Started by D Trader, Today, 09:43 AM
        0 responses
        5 views
        0 likes
        Last Post D Trader  
        Started by rafaelabe1977, Today, 03:51 AM
        1 response
        10 views
        0 likes
        Last Post sledge
        by sledge
         
        Working...
        X