Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Creating a custom text label marker for manual input in chart

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

    Creating a custom text label marker for manual input in chart

    Hello good people,

    Im currently using the Text Function to introduce "text labels" in real time above or below bars (5minute) discretionary.

    My goal is to create a palatte with the "text labes" I use more often, choose them with a click and insert them on the chart.

    Could you please assit me or point to the direcction as to how to create a custom text label marker?

    Best regards
    Federico






    #2
    Hello,

    Thanks for the post.

    I want to be sure we provide you with the most accurate assistance, since there is no way by default to do what you describe in NinjaTrader by default, are you interested in creating a text label tool programatically?

    I look forward to your reply.

    Comment


      #3
      Hi Melissa,

      No. Not programatically.

      Completely discretionary. I will end up with 20 to 30 custom text labels which I will mark on the chart at any point in time.

      Thank you
      Federico

      Comment


        #4
        Hi again Melissa,

        I think misunderstood your message.

        I supose that since there is not a default solution right now, a programaticall solution follows.

        Correct?

        Regards
        Federico

        Comment


          #5
          Hello,

          Thanks for the reply.

          My apologies if my note was confusing. Yes, you are correct, this would need to be accomplished programmatically. If you have a programming background, our development forums are a great resource for samples and ideas. Additionally, you can also contact our scripting support team directly at scriptingsupport[at]ninjatrader[dot]com for assistance getting started.

          Please let us know if you have any further questions.

          Comment


            #6
            I understand.
            Thank you Melissa

            Comment


              #7
              Originally posted by Federico.info View Post
              I understand.
              Thank you Melissa
              Hi Federico, did you ever find a custom button with predefined text to add onto the chart?

              Comment


                #8
                Hi Creamers,

                I have not found a way to have a disposible list of predefined text labels placed for instance in the empty space in the Chart Trader space for easy of use (see image attached). I have contacted various app developers but no great interest on their part. On the hand I've come to realize and accept that for now Ninjatrader underperforms when text labels are added to charts over time.

                One app developer did show me the possiblity of assigning text from a Text from predetermined list of Texts once you activate the Text function on the chart. An Almost but not Close Enough solution. Time, clicks and search for hand & mental motions are bassically the same as standard text input. (see image attached)

                Best regards
                Federico
                Attached Files

                Comment


                  #9
                  Hello all,

                  I've been searching the forums for a way to create a custom variant of the 'Text' drawing tool that will allow me to create custom text templates that saves the text itself, in addition to the text properties. Can someone please advise me as to how this can be accomplished? I also want to be able to bring up a small floating window containing a list of the saved text 'tags' that can be selected and then applied to the chart by clicking the saved tag in the list, and then clicking a region on the chart where I want this custom text to be applied. I find myself spending an absorbent amount of time every day manually typing out the same text annotations because the native templates only saves text properties. For example. I have to manually type out the day of the week and apply this to my chart every day. When there's a pattern on the chart such as a Higher Low Double Bottom, I have to manually type out 'HL DB' using the text tool. I then have to double click to go into the properties to then select the correct settings template to make the text green. It would save me so much time if I had a list containing the 'HL DB' tag that is saved along with it's color, size, highlight, font settings, that I could simply click to select and then add onto my chart. This has been an extreme headache trying to figure out how to:
                  • Create a serializable structure for storing tag templates
                  • Use XML serialization to save/load these tags templates in NinjaTrader's user data directory.
                  I also am having trouble figuring out if I should/could:

                  Option A: Use a custom drawing tool that included all the native text features and adds a Floating Window for the list of created text tags:
                  • Could I create a WPF window class for tag management?
                  • Add a button to the drawing tool to show/hide window.
                  • List saved tags with preview.
                  • Double-click or drag-and-drop to apply tags.
                  Option B: Would it be easier or more effective to create a companion indicator for tag management?
                  • This would be used to display tags in indicator panel.
                  • Use mouse events to select and apply tags.
                  I Am really just posting this to see if I'm wasting my time or if this task is something that is even feasible with ninjascript. I'm a python programmer so this project is pretty far outside my wheelhouse. However, I am hoping someone on here can provide me with any direction or recommendations of how I should approach this project.
                  Thanks,
                  Dan​

                  Comment


                    #10
                    Originally posted by Federico.info View Post
                    One app developer did show me the possiblity of assigning text from a Text from predetermined list of Texts once you activate the Text function on the chart. An Almost but not Close Enough solution. Time, clicks and search for hand & mental motions are bassically the same as standard text input.
                    Yes, second pic is part of my DrawBar's Custom Text List.
                    Custom Drop Down Available for Most Custom Draw Objects.

                    Can Be found in the Ecosystem here for Consideration:
                    Search trading apps & services to cusomize your NinjaTrader platform with trading indicators, signals and strategies.

                    Old Description, Contains Over 30+ Custom Drawing Tools Now.
                    Text Just One of Countless Features & Custom Drawing Tools.

                    Custom Text List for Draw Objects Explained Here:


                    Be Save in this Crazy World!
                    -=Edge=-
                    NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by NullPointStrategies, Today, 05:17 AM
                    0 responses
                    41 views
                    0 likes
                    Last Post NullPointStrategies  
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    124 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    64 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    41 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    46 views
                    0 likes
                    Last Post TheRealMorford  
                    Working...
                    X