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 kevinenergy, 02-17-2023, 12:42 PM
        118 responses
        2,778 views
        1 like
        Last Post kevinenergy  
        Started by briansaul, Today, 05:31 AM
        0 responses
        9 views
        0 likes
        Last Post briansaul  
        Started by traderqz, Yesterday, 12:06 AM
        11 responses
        28 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by PaulMohn, Today, 03:49 AM
        0 responses
        8 views
        0 likes
        Last Post PaulMohn  
        Started by inanazsocial, Today, 01:15 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Jason  
        Working...
        X