• 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 U0000999, Today, 05:17 AM
    0 responses
    3 views
    0 likes
    Last Post U0000999  
    Started by Prataturry89, Today, 03:40 AM
    0 responses
    5 views
    0 likes
    Last Post Prataturry89  
    Started by UltraFastKetoBoost28, Today, 02:43 AM
    0 responses
    6 views
    0 likes
    Last Post UltraFastKetoBoost28  
    Started by kojakojids, Today, 02:04 AM
    0 responses
    5 views
    0 likes
    Last Post kojakojids  
    Started by pitifak, Today, 01:01 AM
    0 responses
    4 views
    0 likes
    Last Post pitifak
    by pitifak
     
    Working...
    X