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 sjsj2732, 03-23-2026, 04:31 AM
      0 responses
      69 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      312 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      305 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      146 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      105 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X