Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Data Box
Collapse
X
-
Data Box
My question is on the Data Box. Is there a way to show more than Two Digits (hundredths)? Is that configurable?Tags: None
-
I know that the data that is underlying the numbers in the Data Box have more than two significant digits as when I display them
from within a Strategy I get as many significant digits as it has. So is it a bug that Data Box is only showing two digits when there
are clearly more?
For example I have a strategy that is using SMA (any period it doesn't matter for this example) and I have added it to the chart, so it
is also in the Data Box, but I only get the two significant digits. I have other Indicators that I have programmed that when I add them
to the Chart I get all the significant digits that the data has. So either SMA is programmed to only display two digits, which I could not find
in the code for SMA, or Data Box is forcing it to two digits.
I'll go back through and look at the SMA code again to see if I am missing it, but seeing all the digits would be helpful, or add a feature to
Data Baox so that the number of significant digits is configurable.
Comment
-
Hello ATMtrader0001,
So is it a bug that Data Box is only showing two digits when there
are clearly more?
You can control this by using the FormatPriceMarker override if you wanted to control the price marker/data box value.
You can also use FormatPrice to format custom calculations to the instrument sizes, this is helpful for prints or strings.
You can also round the value to the instrument tick size before plotting it which is what I would generally suggest. This can be important for brokers that do not allow order submission outside of the specified TIckSize.
https://ninjatrader.com/support/help...ub=formatprice
https://ninjatrader.com/support/help...ub=formatprice
https://ninjatrader.com/support/help...ghtsub=roundto
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cre8able, Today, 01:16 PM
|
1 response
4 views
0 likes
|
Last Post Today, 01:30 PM | ||
Started by chbruno, 04-24-2024, 04:10 PM
|
3 responses
48 views
0 likes
|
Last Post Today, 01:29 PM | ||
Started by samish18, Today, 01:01 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:25 PM | ||
Started by WHICKED, Today, 12:56 PM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 PM | ||
Started by WHICKED, Today, 12:45 PM
|
1 response
11 views
0 likes
|
Last Post Today, 01:08 PM |
Comment