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
Set Right Side Margin Property for the Chart
Collapse
X
-
Hi Josh,
Can you tell me how to fix the chart so that the active price bars do not move through the right margin. I have a chart that moves really fast and often have to pull it back many pages to bring it into the active screen. I would like to fix it so that it can't go past the right margin.
Thanks
Comment
-
Thanks mate, that sounds about right. I just don't know where to do that exactly, still new to the the platform and unsure where are the controls are located.
Many Thanks!
Originally posted by Mindset View PostChartControl.BarMarginRight = 125;
This places an empty space of 125 after the last bar which will always be maintained.
Comment
-
Right side margin will only persist if you are already looking at the most recent bar. Please be sure to not have a black arrow on the top right of your chart. If you have this icon that means you are looking at historical data and you would need to press the icon to get back to real-time data. If 127 is not enough for you please increase it even further till you get the desired look on your chart.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rocketman7, Today, 01:00 AM
|
0 responses
1 view
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
2 responses
74 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
193 views
0 likes
|
Last Post
by Hasadafa
Yesterday, 10:19 PM
|
Comment