Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Scroll chart on new bar
Collapse
X
-
Scroll chart on new bar
Any way to make the chart scroll to the right when a new bar closes? I've found a few times I've not noticed that its out of view.Tags: None
-
Hello reach4thelasers,
If I understand correctly, the chart is scrolled back in time so the current price bar is not shown. You would like the chart to scroll to the current price bar automatically when a new price bar is created. Unfortunately this is not supported. When a chart is scrolled back in time, you will see the >| icon in the upper right corner. If you click this icon, it will scroll the chart to the current price bar. The price marker on the price axis shows a different color as well when the chart does not show the current price bar. In addition, you can use the End key on your keyboard to bring the chart to the current price bar.JasonNinjaTrader Customer Service
-
Ah ok... I tend to forget when I've scrolled back, or I flip to another tab before scrolling back. Guess I will just need to look out for the signs. Would be good if it could be enabled as an option to automatically scroll back. Most platforms do it by default but have a "lock chart" button on the toolbar, if you want to stop it from scrolling back when a new bar gets painted.
Thanks!
Comment
-
This feature - or lack thereof - is killing me. I keep missing stuff due to forgetting to scroll my chart back to present.
I'm trying to think of a use-case, where a trader might want to scroll backwards, on say a 5 minute chart, and an hour later that he might want to still have the historical data in view, but not the new 12 new bars....
How might I program an indicator to scroll to end? I've had a look through the ChartControl class API but can't see anything. How might I Scroll the chart back to the end programmatically?
Thanks
Kevin.
Comment
-
Originally posted by reach4thelasers View PostThis feature - or lack thereof - is killing me. I keep missing stuff due to forgetting to scroll my chart back to present.
I'm trying to think of a use-case, where a trader might want to scroll backwards, on say a 5 minute chart, and an hour later that he might want to still have the historical data in view, but not the new 12 new bars....
How might I program an indicator to scroll to end? I've had a look through the ChartControl class API but can't see anything. How might I Scroll the chart back to the end programmatically?
Thanks
Kevin.
Thank you for your note.
On this request there would not be a means to control this at this time through NinjaScript. This has been requested in the past and the feature request was assigned the ID SFT-1171. Please note this is not the same feature request as what my colleague Jason has requested, he will update the thread when he has further information.
Please let me know if you have any questions.
Comment
-
Alright great thanks for the feature request.
As an alternative... Is there anything I can do programatically to highlight the fact that I'm not looking at the most recent bars. Like if the last visible bar is not bar 0 then change the color of the margin - or the chart.. I know there's a fast forward symbol, but I have so many charts in front of me I don't notice it.
Comment
-
Originally posted by reach4thelasers View PostAlright great thanks for the feature request.
As an alternative... Is there anything I can do programatically to highlight the fact that I'm not looking at the most recent bars. Like if the last visible bar is not bar 0 then change the color of the margin - or the chart.. I know there's a fast forward symbol, but I have so many charts in front of me I don't notice it.
Something like this would be possible by checking the ChartBars.ToIndex and verifying it is not 0 when subtracting CurrentBar from it: http://ninjatrader.com/support/helpG...rs_toindex.htm
You could then draw an object on the chart if the condition returns true.
Please let me know if you have any questions.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
30 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
943 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
9 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
4 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
28 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
Comment