NexusFi: Find Your Edge


Home Menu

 





NT-7 Context Menu Items


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Prtester with 4 posts (0 thanks)
    2. looks_two Mindset with 3 posts (0 thanks)
    3. looks_3 sam028 with 2 posts (1 thanks)
    4. looks_4 roonius with 1 posts (12 thanks)
    1. trending_up 11,331 views
    2. thumb_up 13 thanks given
    3. group 6 followers
    1. forum 11 posts
    2. attach_file 2 attachments




 
Search this Thread
  #11 (permalink)
 
Mindset's Avatar
 Mindset 
Singapore
 
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 292

in contextmenu you can do this

 
Code
MenuItem i3 = new MenuItem(Trader, new EventHandler(this.OpenOrder),Shortcut.F11);

Using ContextMenuStrip and ToolStripItems I haven't found a way to get this shortcut key to work in NT7 - and it is highly useful.
Anyone know the answer?

I have looked at hotkeys but again I can't get it to work just yet.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
April Jobs Beat Flips Fed Hike Odds Past 52% for First T …
Traders Hideout
$12M Ceasefire Contract Goes Disputed as Bandar Abbas St …
Prediction Markets & Event Contracts
CME Group CEO Calls CFTC-Approved Crypto Perps Dangerous …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #12 (permalink)
trading7vue
Portland, Oregon
 
Posts: 1 since Nov 2023
Thanks Given: 0
Thanks Received: 0


roonius View Post
NT 7 upgraded ContextMenu to ContextMenuStrip.
You can see quick sample how to implement Context Menu Items in the attached file.
To PrTester and others: Please DO NOT bypass TriggerCustomEvent or you can end up messing up internal NinjaTrader Events and get unpredictable results and/or behavior.

P.S. Attached file is for NT7 only. NT 6.5 users do not bother trying it.

Does anyone how this for NT8? Looks like ContextMenuStrip is not part of ChartControl


Reply With Quote




Last Updated on November 17, 2023


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts