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 geddyisodin, 04-25-2024, 05:20 AM
|
8 responses
61 views
0 likes
|
Last Post Yesterday, 10:45 AM | ||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
4 responses
3,287 views
1 like
|
Last Post
by jgualdronc
Today, 10:02 AM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 09:55 AM | ||
Started by halgo_boulder, 04-20-2024, 08:44 AM
|
2 responses
22 views
0 likes
|
Last Post Today, 09:41 AM | ||
Started by mishhh, 05-25-2010, 08:54 AM
|
19 responses
6,189 views
0 likes
|
Last Post
by rene69851
Today, 09:29 AM
|
Comment