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 zstheorist, Today, 07:52 PM
          0 responses
          3 views
          0 likes
          Last Post zstheorist  
          Started by pmachiraju, 11-01-2023, 04:46 AM
          8 responses
          149 views
          0 likes
          Last Post rehmans
          by rehmans
           
          Started by mattbsea, Today, 05:44 PM
          0 responses
          5 views
          0 likes
          Last Post mattbsea  
          Started by RideMe, 04-07-2024, 04:54 PM
          6 responses
          33 views
          0 likes
          Last Post RideMe
          by RideMe
           
          Started by tkaboris, Today, 05:13 PM
          0 responses
          5 views
          0 likes
          Last Post tkaboris  
          Working...
          X