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 timmbbo, 07-05-2023, 10:21 PM
          4 responses
          158 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by tkaboris, Today, 08:01 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by Lumbeezl, 01-11-2022, 06:50 PM
          31 responses
          818 views
          1 like
          Last Post NinjaTrader_Adrian  
          Started by xiinteractive, 04-09-2024, 08:08 AM
          5 responses
          15 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by swestendorf, Today, 11:14 AM
          2 responses
          6 views
          0 likes
          Last Post NinjaTrader_Kimberly  
          Working...
          X