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
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.JesseNinjaTrader Customer Service
-
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 nickslad, Today, 09:58 AM
|
1 response
14 views
0 likes
|
Last Post
|
||
Started by tradgrad, Today, 11:36 AM
|
1 response
5 views
0 likes
|
Last Post
|
||
Started by patdmoney, Today, 10:55 AM
|
3 responses
17 views
0 likes
|
Last Post
|
||
Started by SteveReiza, Today, 10:59 AM
|
2 responses
20 views
0 likes
|
Last Post
![]()
by SteveReiza
Today, 11:34 AM
|
||
Started by GKonheiser, 10-02-2012, 06:08 AM
|
48 responses
9,646 views
0 likes
|
Last Post
|
Comment