Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Referencing ChartPanel in indicator

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

    Referencing ChartPanel in indicator

    Hello, i have an indicator which makes reference to the ChartPanel and the values

    ChartPanel.X
    ChartPanel.Y
    ChartPanel.ActualHeight

    and uses those values to render some lines in the lower region of the Price Chart panel where the indicator is loaded.

    This is working fine for me and most of colleagues - however have 1 or 2 cases where the scaling of the lines is off as if the ChartPanel values are off -
    do i need to specifically reference which ChartPanel or scale i need -
    given the chartpanel should be accessed for the panel where the script resides i did not see that as needed. Has anything changed in last few release up to and including 8.0.14.2 with regard to chartpanel and the values

    thanks

    #2
    Hello explorer101,

    Thank you for your note.

    Yes, there was a change. See,


    I would suggest your colleagues update to the newest version of NT and see if that resolves the issue.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      wondering also on this
      Last edited by soulfx; 08-01-2018, 04:11 AM.

      Comment


        #4
        Hello, could you please reference my original questions and which chartpanel to reference i have looked at the help pages on chartpanel and there is nothing obvious there i or best practice that i am not doing.
        It looks like it is getting its chartpanel values from somewhere else ? ie the X Y etc
        thanks

        Comment


          #5
          Hello explorer101,

          Chart Panel X and Y coordinates are for the panel on which the calling script resides, you do not need to specifically reference a chart panel.

          See,





          I would suggest you have all users upgrade to the most recent version and see if that resolves the discrepancy.

          Please let us know if you need further assistance.
          Alan P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

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