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 Taddypole, 04-26-2024, 02:47 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Eduardo  
          Started by futtrader, 04-21-2024, 01:50 AM
          6 responses
          58 views
          0 likes
          Last Post futtrader  
          Started by sgordet, Today, 11:48 AM
          0 responses
          4 views
          0 likes
          Last Post sgordet
          by sgordet
           
          Started by Trader146, Today, 11:41 AM
          0 responses
          5 views
          0 likes
          Last Post Trader146  
          Started by jpapa, 04-23-2024, 07:22 AM
          2 responses
          22 views
          0 likes
          Last Post rene69851  
          Working...
          X