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 DanielSanMartin, Yesterday, 02:37 PM
          2 responses
          12 views
          0 likes
          Last Post DanielSanMartin  
          Started by DJ888, 04-16-2024, 06:09 PM
          4 responses
          12 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by terofs, Today, 04:18 PM
          0 responses
          11 views
          0 likes
          Last Post terofs
          by terofs
           
          Started by nandhumca, Today, 03:41 PM
          0 responses
          7 views
          0 likes
          Last Post nandhumca  
          Started by The_Sec, Today, 03:37 PM
          0 responses
          3 views
          0 likes
          Last Post The_Sec
          by The_Sec
           
          Working...
          X