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 algospoke, Today, 06:40 PM
          0 responses
          4 views
          0 likes
          Last Post algospoke  
          Started by maybeimnotrader, Today, 05:46 PM
          0 responses
          7 views
          0 likes
          Last Post maybeimnotrader  
          Started by quantismo, Today, 05:13 PM
          0 responses
          6 views
          0 likes
          Last Post quantismo  
          Started by AttiM, 02-14-2024, 05:20 PM
          8 responses
          168 views
          0 likes
          Last Post jeronymite  
          Started by cre8able, Today, 04:22 PM
          0 responses
          9 views
          0 likes
          Last Post cre8able  
          Working...
          X