Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

scrolling back and mouse over events

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

    scrolling back and mouse over events

    I was wondering if NT8 has the capability in mouse over or scroll back events. I have an indicator that gives information on certain type of setups. It will draw a pattern and also give information. Is there a way that I can click on the object and once clicked give the description back or if I scroll back can it automatically show the description
    Attached Files

    #2
    Hello ballboy11,

    It is possible to add an event handler to the mouse down or mouse preview down events in a custom drawing tool.

    You could trigger information to display on the screen from an indicator on that event by subscribing to the event in the custom drawing tool.



    When the chart is scrolled, this will trigger OnRender(). You can perform any actions you would like when this triggers.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      thank you and another question

      Are there any good examples of on Render and charting. I think what I will do is draw a vertical line in the center of the screen as the reading point so when the user finds the pattern they want to analyze it will display the information needed.

      I need an example in how to find the screen and find the current bar index. when I found that I will be able to give the information accordingly

      Comment


        #4
        Hello ballboy11,

        Can clarify what you mean when you mention "I need an example in how to find the screen"?

        Which screen are you looking for?

        It is possible to identify the bar that the mouse has clicked on (or is hovering over).

        Below is a link to an example of capturing the mouse click.

        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        73 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        152 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        100 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        288 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X