• 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

Fully customize text printed in top left chart corner

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

    Fully customize text printed in top left chart corner

    Is it possible to fully customize the text printed by an indicator in the chart's top left corner?

    I know I can set the indicator's Name property, but when this is done, the indicator itself automatically adds something like (AAPL 10-Minute) to the end of the string that it prints on the chart.

    I'd like to completely override that behaviour. Is it possible? In NT7 it could be done by overriding the ToString() method, but it seems no longer possible in NT8. Thanks in advance

    #2
    Hello bboyle1234, and thank you for your question.

    In NinjaTrader 8, the property you would like to override is DisplayName. There is documentation for this here,

    http://ninjatrader.com/support/helpGuides/nt8/en-us/indicator_displayname.htm

    Please let us know if there are any other ways we can help.
    Last edited by NinjaTrader_JessicaP; 11-11-2016, 07:30 AM.
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      Dear Jessica,
      Thank you very much. Your message was enough to get me going.
      Please check the link you provided though ... I think the link is incorrect.
      Indeed my solution was to override the indicator's DisplayName { get; } property, but the link you sent me is in regard to the DisplayName of Anchor objects.

      Comment


        #4
        Thank you for letting me know, I have corrected my post. I'm really glad I was able to help. We're happy to answer any other questions that come up.
        Jessica P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by TazoTodua, Today, 12:21 AM
        0 responses
        7 views
        0 likes
        Last Post TazoTodua  
        Started by U0000999, Today, 12:20 AM
        0 responses
        7 views
        0 likes
        Last Post U0000999  
        Started by sidviciousX, Yesterday, 06:47 AM
        1 response
        21 views
        0 likes
        Last Post bltdavid  
        Started by Mykro, Yesterday, 10:22 PM
        0 responses
        7 views
        0 likes
        Last Post Mykro
        by Mykro
         
        Started by rudccv, Yesterday, 08:42 PM
        0 responses
        6 views
        0 likes
        Last Post rudccv
        by rudccv
         
        Working...
        X