• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pixel height of Price Panel (Panel 1)

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

    Pixel height of Price Panel (Panel 1)

    I'm programming an indicator to draw on chart at location of a mouse click and got it working except it is accurate when I have only one Panel on the chart. If I have indicators that require their own panel, like an oscillator or volume, I have a problem where the draw location is not positioned at the proper y-coordinate.

    Is there a way to capture the Pixel height of the price panel?

    Currently I'm using
    public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
    but this min and max is for the entire chart, combining all panels on chart.

    Thanks for any help.

    #2
    Hi MBAGearhead,

    Thanks for your post.

    However, this is not supported by NinjaTrader to do.

    That said, this thread will remain open for any community members who would like to assist.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Problem solved with help from cory over at www.bigmiketrading.com
      Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Ilpropio, Yesterday, 09:45 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_EricB  
      Started by sgordet, Yesterday, 10:31 PM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_EricB  
      Started by Revan, Yesterday, 05:44 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Marco  
      Started by superg3, Yesterday, 07:57 PM
      0 responses
      4 views
      0 likes
      Last Post superg3
      by superg3
       
      Started by Longhornmark, Yesterday, 07:06 AM
      5 responses
      36 views
      0 likes
      Last Post nkhoi
      by nkhoi
       
      Working...
      X