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 rhyminkevin, Today, 04:58 PM
|
0 responses
12 views
0 likes
|
Last Post
by rhyminkevin
Today, 04:58 PM
|
||
Started by lightsun47, Today, 03:51 PM
|
0 responses
6 views
0 likes
|
Last Post
by lightsun47
Today, 03:51 PM
|
||
Started by 00nevest, Today, 02:27 PM
|
1 response
14 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
48 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
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
|
1 response
15 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
Comment