Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Analyzer Alert Message

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

    #16
    got it, thanks.

    Is there a way to pop up a text box? Maybe programatically open a notepad message?

    Comment


      #17
      Great - this could be done via C#, but unfortuantely we don't support this.

      As a workaround, you could for example draw on the chart with DrawTextFixed - http://www.ninjatrader-support.com/H...TextFixed.html

      Comment


        #18
        Is it possible to utilize carriage returns in the DrawTextFixed() method in order to move the message up from a corner? How would I do that?

        Comment


          #19
          Just choose one of the 5 predefined textPositions for the placement of the DrawTextFixed label.

          Comment


            #20
            My question is how can I include carriage returns in the text message in order to adjust the position from the pre defined one.

            Comment


              #21
              Jerry, you could pick out of 11 predefined literals for this -

              Code:
               
              \' single quote
              \" double quote
              \\ backslash
              \0 null character
              \a alert
              \b backspace
              \f form feed
              \n new line
              \r carriage return
              \t horizontal tab
              \v vertical tab

              Comment


                #22
                Thank you,

                How would I incorporate these into my text?

                Comment


                  #23
                  For example like this -

                  Code:
                   
                  DrawTextFixed("myTag", "Current Close:" + "\r\n" + Close[0].ToString(), TextPosition.BottomRight);

                  Comment


                    #24
                    Thanks for all the help.

                    How do I control the font, size and color?

                    The links are incomprehensible to me.

                    Comment


                      #25
                      Jerry,

                      Try this.

                      Comment


                        #26
                        Thanks velocity, for more control and paramters you can work with the regular DrawText then Jerry instead of DrawTextFixed -

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        628 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        359 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        105 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        562 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        568 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X