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!
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
NinjaTrader
Add menu item to Chart Trader
Collapse
X
-
Add menu item to Chart Trader
Hello, I would like to add a new custom menu option to the Chart Trader when right clicking on a chart. I would then also like to access Chart Trader parameters from the right side (which instrument, order qty, and ATM strategy name). Could someone please point me to the correct API classes for this and/or any code samples? Thank you!Tags: None
-
Hello CarpetHooligan,
You can find a sample of modifying the context menu in the following link:
To access elements in the chart trader you would need to know the elements automation ID. You can see some details on accessing controls and locating automation ids in the following link:
Instead of using inspect like the other post mentions you can now use accessibility insights for windows which is a product that Microsoft released, that does not require installing the windows development framework.
JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cre8able, Today, 01:16 PM
|
1 response
3 views
0 likes
|
Last Post Today, 01:30 PM | ||
Started by chbruno, 04-24-2024, 04:10 PM
|
3 responses
47 views
0 likes
|
Last Post Today, 01:29 PM | ||
Started by samish18, Today, 01:01 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:25 PM | ||
Started by WHICKED, Today, 12:56 PM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 PM | ||
Started by WHICKED, Today, 12:45 PM
|
1 response
11 views
0 likes
|
Last Post Today, 01:08 PM |
Comment