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 sgordet, Today, 11:48 AM
|
0 responses
1 view
0 likes
|
Last Post
by sgordet
Today, 11:48 AM
|
||
Started by Trader146, Today, 11:41 AM
|
0 responses
2 views
0 likes
|
Last Post
by Trader146
Today, 11:41 AM
|
||
Started by jpapa, 04-23-2024, 07:22 AM
|
2 responses
16 views
0 likes
|
Last Post
by rene69851
Today, 11:39 AM
|
||
Started by funk10101, Today, 11:35 AM
|
0 responses
1 view
0 likes
|
Last Post
by funk10101
Today, 11:35 AM
|
||
Started by samish18, Today, 11:26 AM
|
0 responses
1 view
0 likes
|
Last Post
by samish18
Today, 11:26 AM
|
Comment