
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Access Chart Trade QTY input from an indicator
Collapse
X
-
Hi Shane,
I was able to find that the selector class that contains both the text and the up / down buttons can have the value set and this works correctly.
Code:ChartControl.Dispatcher.InvokeAsync((Action)(() => { NinjaTrader.Gui.Tools.QuantityUpDown quantitySelector = (Window.GetWindow(ChartControl.Parent).FindFirst("ChartTraderControlQuantitySelector") as NinjaTrader.Gui.Tools.QuantityUpDown); quantitySelector.Value = 5; }));
- Likes 2
Leave a comment:
-
Hi Shane,
I'm currently looking into if this is possible and allowed for NinjaTrader 8.
In my testing I've found its possible to change the text of the quantity textbox but this does not cause NinjaTrader to use that new value.
I am checking with our development to see if there is a way to do this and I appreciate your patience.
Leave a comment:
-
Access Chart Trade QTY input from an indicator
Hi guys,
I have an indicator which I would like to have change the order quantity in the chart trader on the same chart. Is anyone able to point me in the right direction for achieving this?
(the indicator updates on price change).
Thanks & cheers,
ShaneTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by herzogvladimir2, Today, 08:10 PM
|
0 responses
2 views
0 likes
|
Last Post
![]() |
||
Started by giogio1, 04-13-2025, 01:42 AM
|
2 responses
31 views
0 likes
|
Last Post
![]()
by giogio1
Today, 07:19 PM
|
||
Started by mmenigma, 01-23-2024, 09:37 AM
|
1 response
86 views
0 likes
|
Last Post
![]()
by Nin8aTrender
Today, 03:47 PM
|
||
Started by wbayne333, 02-22-2021, 01:18 PM
|
6 responses
409 views
0 likes
|
Last Post
![]()
by Nin8aTrender
Today, 03:44 PM
|
||
Started by gtheaded, 07-03-2020, 03:47 PM
|
3 responses
370 views
0 likes
|
Last Post
![]()
by Nin8aTrender
Today, 03:21 PM
|
Leave a comment: