• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to disable mouse actions in chart

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

    How to disable mouse actions in chart

    Hi,

    Is it possible to disable chart scrolling using the mouse wheel and bar information when a middle mouse is pressed? If so, how do I turn these two features off?

    Edit: I would not mind disabling the features using ninjascript, please give me a sample on how to override these mouse events.
    Last edited by @tmc_; 07-29-2018, 02:57 AM.

    #2
    Hello @tmc_,

    It is not possible to disable mouse events like scrolling or the data box appearing with any properties in NinjaTrader.

    You may be able to achieve this with unsupported methods, however this would be far outside of what is supported by NinjaTrader to do.

    This thread will remain open for any community members that would like to assist.

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.

    I would recommend looking into adding event handlers to the ChartPanel.PreviewMouseWheelEvent event.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by gngmpwdws, Today, 09:58 PM
    0 responses
    1 view
    0 likes
    Last Post gngmpwdws  
    Started by darkgreen, Today, 03:35 PM
    1 response
    13 views
    0 likes
    Last Post lmatiukas  
    Started by imalil, Today, 09:46 PM
    0 responses
    6 views
    0 likes
    Last Post imalil
    by imalil
     
    Started by SAITON, Today, 09:03 PM
    0 responses
    5 views
    0 likes
    Last Post SAITON
    by SAITON
     
    Started by suprsnipes, Today, 08:26 PM
    0 responses
    5 views
    0 likes
    Last Post suprsnipes  
    Working...
    X