Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stock symbol watermark in chart background?

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

    #16
    Hi,

    Is there a way to show the instrument name and time intervals as a watermark on the chart?

    Comment


      #17
      Someone was kind enough to write this.

      You’ll find it in the middle of the post whose hyperlink is attached. It’’s called mywatermarks.

      I use it on all my charts.

      https://ninjatrader.com/support/foru...art-background

      Comment


        #18
        Originally posted by sgordet View Post
        Someone was kind enough to write this.

        You’ll find it in the middle of the post whose hyperlink is attached. It’’s called mywatermarks.

        I use it on all my charts.

        https://ninjatrader.com/support/foru...art-background
        I downloaded the mywarwemarks, but it shows the v stock name, only, not the time interval, such as 15, 30, 60 minutes. Is this what you get sgordet?
        Regards

        Comment


          #19
          Originally posted by WDickerson View Post
          Here is a tweaked version of the indicator. It now allows you to select the watermark type from a pull down list. The choices are the symbol, description or custom text.

          Note this file is MyWaterMarksV2. If you download and import it, it will not replace the original version. You'll have to pick which one you want and can delete the original indicator.
          Thank you, this is so incredibly helpful!

          Comment


            #20
            Its possible to have this watermark to show on the left bottom corner instead the center ?

            Comment


              #21
              Hello eddiekellertri,

              Yes this is certainly possible.

              Use Draw.TextFixed to draw the symbol and use Instrument.FullName as the string to draw. (Instrument.FullName is a string reflecting the symbol the indicator is attached to.)

              I.E.

              Draw.TextFixed(this, "SymbolTag", Instrument.FullName, TextPosition.BottomLeft);

              Other Draw.TextFixed overloads can be found below.



              If you have questions or would like some further direction creating an indicator that draws this text on a chart, please open a new thread in our NinjaScript Indicator Development forums.

              JimNinjaTrader Customer Service

              Comment


                #22
                Originally posted by WDickerson View Post
                Here is a tweaked version of the indicator. It now allows you to select the watermark type from a pull down list. The choices are the symbol, description or custom text.

                Note this file is MyWaterMarksV2. If you download and import it, it will not replace the original version. You'll have to pick which one you want and can delete the original indicator.
                Can someone help me how to change this indicator so that it will function with each data source on a chart? Currently it will only show the first instrument in the data series. Changing the input series in the drop down menu only changes the panel in which information for the first instrument is displayed. I would like to have multiple instances of this indicator on each panel. Thanks

                Comment


                  #23
                  Hello tffmd123,

                  Have you used this watermark script that works on multiple panels? It sounds like it may do what you are looking for.

                  Simple script that adds a background watermark of the instrument symbol (and expiry if a future) to the chart. (Updated July 10th, 2018 ‐ The opacity needed to be casted as a double and divided by 100 to be between 0 and 1) (Update: August 24th, 2021 – Subtracted the ChartPanel.Y so indicator can be […]


                  The link above is publicly available.

                  The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
                  Attached Files
                  JimNinjaTrader Customer Service

                  Comment


                    #24
                    Originally posted by NinjaTrader_Jim View Post
                    Hello tffmd123,

                    Have you used this watermark script that works on multiple panels? It sounds like it may do what you are looking for.

                    Simple script that adds a background watermark of the instrument symbol (and expiry if a future) to the chart. (Updated July 10th, 2018 ‐ The opacity needed to be casted as a double and divided by 100 to be between 0 and 1) (Update: August 24th, 2021 – Subtracted the ChartPanel.Y so indicator can be […]


                    The link above is publicly available.

                    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
                    Hi,

                    Is it possible to change this indicator such that it displays the instrument description? Thanks

                    Tom

                    Comment


                      #25
                      Hello Tom,

                      Sure, just change

                      Instrument.FullName

                      to

                      Instrument.MasterInstrument.Description
                      JimNinjaTrader Customer Service

                      Comment


                        #26
                        Holy crap, so glad to have found this on the forum. It works perfectly, just what I was hoping to find. Thank you!

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by DJ888, 04-16-2024, 06:09 PM
                        4 responses
                        12 views
                        0 likes
                        Last Post DJ888
                        by DJ888
                         
                        Started by terofs, Today, 04:18 PM
                        0 responses
                        11 views
                        0 likes
                        Last Post terofs
                        by terofs
                         
                        Started by nandhumca, Today, 03:41 PM
                        0 responses
                        7 views
                        0 likes
                        Last Post nandhumca  
                        Started by The_Sec, Today, 03:37 PM
                        0 responses
                        3 views
                        0 likes
                        Last Post The_Sec
                        by The_Sec
                         
                        Started by GwFutures1988, Today, 02:48 PM
                        1 response
                        9 views
                        0 likes
                        Last Post NinjaTrader_Clayton  
                        Working...
                        X