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

right mouse (context) menu access

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

    right mouse (context) menu access

    hi. I am using an indicator that includes additional items in the chart context menu (right click). I would like to know how that is done, because I want to write an indicator that allows me to mark a chart and record the price level where I placed the mark. Can anyone share with me the magical incantation I need to invoke to add a right mouse menu item, and how to retrieve the user's mouse position when that was clicked relative to the price scale on the chart in which it was clicked?

    thanks.
    Jorel

    #2
    Unfortunately that's beyond the scope of what we provide support for.

    Comment


      #3
      I'm not looking for support. I have 27 years of experience programming in 12 languages. I just need a little help on this undocumented item. I know it's possible...if you can't help me, I'll figure it out anyway, but it will take much longer.

      Comment


        #4
        Theoretically I'd say you should add your event handlers to ChartControl.ChartPanel and place your custom menu somewhere else than the default menu.

        Comment


          #5
          ok. how do I obtain the handle to the chart panel?

          So that I can inject a menu item into the context menu?

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,605 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          8 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          18 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          4 views
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          13 views
          0 likes
          Last Post Javierw.ok  
          Working...
          X