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.
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!
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
NinjaTrader
Capture Y value (price) of mouse pointer
Collapse
X
-
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.Tags: None
-
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
by traderqz
Today, 09:48 AM
|
||
Started by traderqz, Today, 12:06 AM
|
3 responses
6 views
0 likes
|
Last Post Today, 09:41 AM | ||
Started by RideMe, 04-07-2024, 04:54 PM
|
5 responses
28 views
0 likes
|
Last Post Today, 08:48 AM | ||
Started by f.saeidi, Today, 08:13 AM
|
1 response
8 views
0 likes
|
Last Post Today, 08:47 AM | ||
Started by DavidHP, Today, 07:56 AM
|
1 response
7 views
0 likes
|
Last Post Today, 08:16 AM |
Comment