Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

anybody have a GetXPos function?

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

    anybody have a GetXPos function?

    I know plot override questions are not supported but has anyone else come up with a function for getting the x position on the chart like the GetYPos function that is in the volume profile/zones indicator?
    Grabbing the GetYPos makes learning this stuff pretty straight forward from C# drawing tutorials..The X cordinate I'm having some trouble wrapping my head around. A general function like this for X would be extremely usefull.

    #2
    The VolumeZones indicator you mentioned applies ChartControl.BarsPainted for instance. ChartControl contains other methods like GetXByBarIdx().

    Hope that helps
    Ralph

    Comment


      #3
      Hey Ralph, how were you able to find GetXByBarIdx()?
      Is there docs for methods in chartcontrol that I've simply missed?

      EDIT
      I must have never typed out ChartControl and had only pasted before, I see all the methods in the drop down now in the editor. Very cool.
      Last edited by darthtrader; 12-24-2008, 06:44 AM.

      Comment


        #4
        Great Darthtrader - you can also google for ChartHelper, I think it contains the methods you look for.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmtjoancolmenero, 04-25-2024, 03:58 PM
        21 responses
        114 views
        0 likes
        Last Post cmtjoancolmenero  
        Started by Rogers101, 05-05-2024, 11:30 AM
        9 responses
        33 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Quanto, 04-17-2024, 10:43 AM
        3 responses
        28 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Mindset, Yesterday, 06:19 AM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by llanqui, Today, 07:04 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X