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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          64 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          94 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          51 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          108 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          63 views
          0 likes
          Last Post PaulMohn  
          Working...
          X