Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Capture Y value (price) of mouse pointer

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

    Capture Y value (price) of mouse pointer

    Is there a way to capture the Y axis value of the mouse pointer (or cross hair) in terms of the instrument price (not screen coordinate) in the way that the chart trader seems to do. My basic goal is to update an internal value of an indicator without having to call up the indicator user GUI panel.
    Although calling up the user GUI is a way to do this, for frequent updates to a parameter it is mouse click intensive and error prone process when ther are many parameters.

    #2
    roland_nt,

    Unfortunately this is beyond the scope of what we can offer support for. Perhaps someone from the community could help you or maybe one of the 3rd party NinjaScript Consultants could help you out if you wish to employ their assistance.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Capture Y value work around

      In solving a different problem, I discovered that the Y value of a manual chart object is knowable. So if one moves the mouse pointer soewhere and then places an innocuous object, like an arrow or line segment, the occurrence of the object can be detected in real time and its Y value then recovered.
      Requires a checking loop through the object collection on every tick to be more or less intereactive.
      A possible workaround.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      574 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      333 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      553 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X