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

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 traderqz, Yesterday, 09:06 AM
      2 responses
      15 views
      0 likes
      Last Post traderqz  
      Started by traderqz, Today, 12:06 AM
      3 responses
      6 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by RideMe, 04-07-2024, 04:54 PM
      5 responses
      28 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by f.saeidi, Today, 08:13 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by DavidHP, Today, 07:56 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Erick  
      Working...
      X