• 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 Newtrader101, Today, 06:31 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by Tyler7498, Today, 07:34 PM
    0 responses
    4 views
    0 likes
    Last Post Tyler7498  
    Started by Woomera, Today, 07:24 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by Newtrader101, Today, 12:31 PM
    2 responses
    13 views
    0 likes
    Last Post Newtrader101  
    Started by kweiss, Today, 06:42 PM
    0 responses
    2 views
    0 likes
    Last Post kweiss
    by kweiss
     
    Working...
    X