Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw an object relative to window border

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

    Draw an object relative to window border

    Dear support,

    I would like to draw a rectangle (or anything basically) a bit to the right from the left edge of a chart screen. I trade multiple instruments and when a sound goes off notifying me to be prepared, I would like to get a sign of that it's in this or that instrument/window via a well visible symbol like this. I dont want to plot the rectangle relative to the right edge of the chart cause I want to see the current development of course. As instruments have different volatilities, I can not state that drawing X bars ago will produce an object on the left edge of the chart across all instruments, so Im wondering if there is another way how to tell NT where the Y and X coords are.

    Oh, and OT: Is there a way to disable the possiblity to click on an indicator on the chart? I keep selecting swingrays when I try to move my orders..

    Thanks,
    Daniel

    #2
    Hello,

    Have you tried using DrawTextFixed()? This will give you the ability to draw a string of text and use TextPosition override to place it on the TopLeft, BottomLeft, etc of the chart.



    Please let me know if you need further assistance.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thank you, I think it will do.
      How about the second question?

      Thank you a lot!

      Comment


        #4
        Hello,

        Sorry about that - You can disable this feature by right clicking on your chart--> select "Properties"--> set the "Allow the selection or drag/drop of chart series" to "false"

        Please let me know if you need further assistance.
        MatthewNinjaTrader Product Management

        Comment


          #5
          That's it, thank you very much!

          Have a nice day,
          Daniel

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by inanazsocial, Today, 01:15 AM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by rocketman7, Today, 02:12 AM
          0 responses
          5 views
          0 likes
          Last Post rocketman7  
          Started by dustydbayer, Today, 01:59 AM
          0 responses
          1 view
          0 likes
          Last Post dustydbayer  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          22 views
          0 likes
          Last Post trilliantrader  
          Started by Davidtowleii, Today, 12:15 AM
          0 responses
          3 views
          0 likes
          Last Post Davidtowleii  
          Working...
          X