Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can I append a string to the string in the title bar?

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

    Can I append a string to the string in the title bar?

    How can I append a string to the text already in the title bar?

    --EV

    #2
    ETFVoyageur, if you are referring to the text placed on a chart by an indicator, it is possible to make it say whatever you want. Please take a look at this text formatting sample to see how.

    If you are talking about the text on the top of a chart (something like "CL 03-11 (250 Tick)"), then I believe it is possible but unsupported.
    Last edited by NinjaTrader_Austin; 01-29-2011, 02:01 PM.
    AustinNinjaTrader Customer Service

    Comment


      #3
      I already know about ToString(), and use it to make my indicator's string small enough to be useful.

      My question is about appending text top the text already in the chart's title bar.

      If that is unsupported (as I expect it is) any hint about where to look would be appreciated.



      --EV

      Comment


        #4
        It is indeed unsupported. I recall from last weekend you don't use Visual Studio to debug, but have you at least created a project and added the NinjaTrader dll's to view available properties and methods? That is how most people get around the unsupported aspect of these features. Take a look at the attached screenshot, I did a quick search for label in the Object Browser (with NinjaTrader.Core.dll added as a reference) and these are the results. I actually looked through this because I thought it was supported, but it is not.

        The above method is very unsupported, but it will show you details I have a feeling you'd love to find out.

        Unfortunately I could not find which label property sets the title.
        Attached Files
        AustinNinjaTrader Customer Service

        Comment


          #5
          Thanks, Austin.

          You are right about VS -- my copy is too old for you (2002). One of these days I'll have to get a newer version.

          Which version of .NET do you support, anyway? Do I have a problem if I use a newer VS?

          --EV

          Comment


            #6
            ETF, I'm pretty sure NT7 uses .NET 3.5. It could be 4.0 though. It shouldn't matter which version you have installed, and newer versions of VS will also have no trouble with the older stuff.
            AustinNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

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