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
Chart trader order flags
Collapse
X
-
Chart trader order flags
Is there a way to know when a user is interacting with (selecting, dragging, etc.), or the mouse is over, the Chart Trader order flags? I want to disable mouse actions of a custom indicator that I'm developing when the user is interacting with the Chart Trader order flags.Tags: None
-
Hello martyn73
Thank you for the question.
There wouldn't be a specific event for this. I don't see a specific way that these lines could be accessed. You can only access the same mouse events that the existing controls use see if a user is selecting the chart or not however this will not provide any information if the chart trader has a line selected based on those events.
The lines in question do not show up in the chart objects collection so I would not be sure of any way you could access the lines to know they were selected. Could you potentially use the width of the line to know what area not to use mouse events from? For example, do not use the right side of the chart for the same width as the lines? This would really be the only way I can see getting around knowing when these items are selected as there is no event or object for this.
I look forward to being of further assistance.
JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
6 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
151 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
6 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
Comment