Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Scripted access to chartTrader Properties, like AutoScale
Collapse
X
-
Hello b.j.d,
You can access the Chart properties like autoscale. The ChartTrader its self does not have public properties that can be accessed but you can access the WPF elements in the chart trader to get their values.
https://ninjatrader.com/support/helpGuides/nt8/chartcontrol_properties.htm
https://ninjatrader.com/support/helpGuides/nt8/chartscale_properties.htm
Last edited by NinjaTrader_Jesse; 01-23-2023, 03:42 PM.
-
Unfortunately, those are only the Chart window Properties, does not include the properties you see if you right click in the chart trader frame and popup Properties.Originally posted by NinjaTrader_Jesse View PostHello b.j.d,
You can access the Chart properties like autoscale. The ChartTrader its self does not have public properties that can be accessed but you can access the WPF elements in the chart trader to get their values.
https://ninjatrader.com/support/helpGuides/nt8/chartcontrol_properties.htm
https://ninjatrader.com/support/helpGuides/nt8/chartscale_properties.htm
I was hoping there would be a similar way to access the ChartTrader properties.
The AutoScale is either a property of the Indicator or the ChartTrader (for including orders in the autoscaling).
In saying this, I just realized I could probably work around not having access by creating my own indictor that Dynamically sets it's own Scale based on order boundaries (or not), but subscribing to orders and all that just to do this functionality is a bit overkill.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
83 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
143 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
83 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
256 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
334 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment