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

How do you convert Price to Y axis values?

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

    #16
    Edit: Never mind, figured it out.
    Last edited by Radical; 12-06-2011, 10:33 AM.

    Comment


      #17
      Originally posted by Radical View Post
      Edit: Never mind, figured it out.
      Glad you did. I had an issue logging on yesterday, so I couldn't post my reply.
      I assume you realised that the Mouse coords are only valid for the plot area that is displaying at the time.
      "***************
      I'm having trouble putting all the information in this thread into context...I have Y-coordinates (in pixels) from MouseEventHandler, and I'm hoping to covert those into price values, but I don't even see how this would be possible given the fact that there can be many many different price values for each Y-coordinate over the course of a day. Am I correct in assuming that this is impossible?
      ***************
      "

      Comment


        #18
        Originally posted by David Lean View Post
        Glad you did. I had an issue logging on yesterday, so I couldn't post my reply.
        I assume you realised that the Mouse coords are only valid for the plot area that is displaying at the time.
        "***************
        I'm having trouble putting all the information in this thread into context...I have Y-coordinates (in pixels) from MouseEventHandler, and I'm hoping to covert those into price values, but I don't even see how this would be possible given the fact that there can be many many different price values for each Y-coordinate over the course of a day. Am I correct in assuming that this is impossible?
        ***************
        "
        The price chart is a 2-dimensional graph with independent axes. The meaning of Y-values are indeterminate unless they are referenced to x-values.

        Comment


          #19
          Thanks for the responses guys, that's what I eventually figured out after a bunch of trial and error.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mizzouman1, Today, 07:35 AM
          0 responses
          3 views
          0 likes
          Last Post Mizzouman1  
          Started by i019945nj, 12-14-2023, 06:41 AM
          6 responses
          66 views
          0 likes
          Last Post i019945nj  
          Started by aa731, Today, 02:54 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by BarzTrading, Today, 07:25 AM
          0 responses
          3 views
          0 likes
          Last Post BarzTrading  
          Started by ruudawakening, Today, 12:58 AM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X