Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom graphic object

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

    Custom graphic object

    I would like to create an indicator which draws a graphic object on the chart. Specifically, I want two rectangles (boxes) joined together as one object, one box representing distance to a price target the other a stop projection on the chart. The graphic should be able to be dragged around using the mouse so I can overlay it on the current price and see if targets/stops fit into the price action. It should resize/move when the price axis changes. My questions are:

    1. Is something like this technically possible?

    2. If it is possible is there any code avaliable to give some general guidance so I don't have to reinvent the wheel?

    Thanks

    P.S. I think something like this would be very useful to many traders. It would be nice if it was included as a standard drawing tool in NinjaTrader, Hint, Hint....
    Last edited by seahn; 01-15-2014, 10:20 PM.

    #2
    seahn, thanks for the post and feedback. Creating a custom drawing object would not be possible currently unfortunately, but we do run an enhancement suggestion on our tracking lists in this regard, I will make sure your vote is considered.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by seahn View Post
      I would like to create an indicator which draws a graphic object on the chart. Specifically, I want two rectangles (boxes) joined together as one object, one box representing distance to a price target the other a stop projection on the chart. The graphic should be able to be dragged around using the mouse so I can overlay it on the current price and see if targets/stops fit into the price action. It should resize/move when the price axis changes. My questions are:

      1. Is something like this technically possible?

      2. If it is possible is there any code avaliable to give some general guidance so I don't have to reinvent the wheel?

      Thanks

      P.S. I think something like this would be very useful to many traders. It would be nice if it was included as a standard drawing tool in NinjaTrader, Hint, Hint....
      Unlock the DrawObject after you create it.
      Code:
      IRectangle seahnRect = DrawRectangle(...);
      seahnRect.Locked = false;
      ref: http://www.ninjatrader.com/support/h...drawobject.htm

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sukhob, 05-18-2023, 08:26 PM
      2 responses
      127 views
      0 likes
      Last Post TraderJA  
      Started by timwey, Yesterday, 10:55 AM
      4 responses
      23 views
      0 likes
      Last Post timwey
      by timwey
       
      Started by DJ888, 06-28-2024, 10:18 PM
      3 responses
      39 views
      0 likes
      Last Post AdamDJ8
      by AdamDJ8
       
      Started by ntwong, Yesterday, 08:22 PM
      0 responses
      16 views
      0 likes
      Last Post ntwong
      by ntwong
       
      Started by Sigma Cypher, 01-08-2022, 06:56 AM
      9 responses
      1,170 views
      0 likes
      Last Post Tbryant
      by Tbryant
       
      Working...
      X