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

Chart trader order flags

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

    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.

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by r68cervera, Today, 05:29 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by geddyisodin, Today, 05:20 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Max238, Today, 01:28 AM
    3 responses
    33 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by timko, Today, 06:45 AM
    2 responses
    13 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by habeebft, Today, 07:27 AM
    0 responses
    6 views
    0 likes
    Last Post habeebft  
    Working...
    X