This makes it easier to see the subtle variations that occur when values are always in a narrow range.
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
How to scale a histogram to show only interesting range
Collapse
X
-
How to scale a histogram to show only interesting range
If I plot a histogram that has values beween 85-100. Is it possible to have Ninjatrader automatically scale it so I only see 85-100? If it's not clear, 85 should be "almost" at the bottom (where zero would be) and 100 at the top. If a new value with 70 comes in then 70 would be the lowest value and at the bottom and 85 would be a little taller.
This makes it easier to see the subtle variations that occur when values are always in a narrow range.Tags: None
-
Hello cunparis,
Unfortunately there is not a supported method to allow to specify the scale of your chart.
You might want to use the ConstantLines indicator which will allow you to set the upper/lower bounds of your chart and set this to autoscale = true. You can also set these lines to be 'transparent' so they do not interfere with the plot of your indicator.
There may be some unsupported approaches you can try. In a NinjaScript editor type, "this.ChartControl." to see some unsupported properties to use.MatthewNinjaTrader Product Management
-
Originally posted by NinjaTrader_Matthew View PostHello cunparis,
Unfortunately there is not a supported method to allow to specify the scale of your chart.
You might want to use the ConstantLines indicator which will allow you to set the upper/lower bounds of your chart and set this to autoscale = true. You can also set these lines to be 'transparent' so they do not interfere with the plot of your indicator.
There may be some unsupported approaches you can try. In a NinjaScript editor type, "this.ChartControl." to see some unsupported properties to use.
I hope that Ninjatrader will consider adding this in the future. Tradestation & MarketDelta both have it and it's very useful. Imagine using a histogram when all values were between 90-91. It'd be impossible to see the difference on the ninjatrader chart. Whereas on MD or TS it'd be very easy as it'd look like a histogram of 0-1.
Comment
-
Originally posted by cunparis View PostIf I plot a histogram that has values beween 85-100. Is it possible to have Ninjatrader automatically scale it so I only see 85-100? If it's not clear, 85 should be "almost" at the bottom (where zero would be) and 100 at the top. If a new value with 70 comes in then 70 would be the lowest value and at the bottom and 85 would be a little taller.
This makes it easier to see the subtle variations that occur when values are always in a narrow range.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by goodknight777, Today, 08:43 AM
|
1 response
5 views
0 likes
|
Last Post Today, 09:25 AM | ||
Started by kramnor2001, Yesterday, 02:30 PM
|
3 responses
21 views
0 likes
|
Last Post
by kramnor2001
Today, 09:20 AM
|
||
Started by ninza33, Today, 09:10 AM
|
0 responses
6 views
0 likes
|
Last Post
by ninza33
Today, 09:10 AM
|
||
Started by Padan, Today, 02:02 AM
|
3 responses
11 views
0 likes
|
Last Post Today, 08:54 AM | ||
Started by Tim-c, Today, 08:36 AM
|
1 response
3 views
0 likes
|
Last Post Today, 08:45 AM |
Comment