Also, any chance it can be a standard feature in a future release? Thank you!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
SuperDom Column PnL currency - no decimals - PLEASE
Collapse
X
-
SuperDom Column PnL currency - no decimals - PLEASE
May I request code that would provide the ability to select if PnL as currency displays decimal places? I.e... $0 versus $0.00 or $100 vs $100.00
Also, any chance it can be a standard feature in a future release? Thank you! -
Hello,
Thank you for the post.
This would currently not be possible to edit the existing formatting of the decimal in the superdom. I will put in a feature request to omit decimal places as an option.
If you want to edit the PnL Addition column, you could make a duplicate and change the formatting of the prices used. In the columns code you could change the following line:
Code:pnlString = Core.Globals.FormatCurrency(pnL, SuperDom.Position);
Code:pnlString = string.Format("{0:##}", pnL);
I look forward to being of further assistance.Last edited by NinjaTrader_Jesse; 04-11-2017, 09:50 AM.JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by owenwong, Today, 06:34 PM
|
2 responses
19 views
0 likes
|
Last Post
![]()
by owenwong
Today, 06:52 PM
|
||
Started by REI140205, Today, 06:17 PM
|
0 responses
13 views
0 likes
|
Last Post
![]()
by REI140205
Today, 06:17 PM
|
||
Started by Gathem, Today, 06:06 PM
|
1 response
15 views
0 likes
|
Last Post
![]()
by Gathem
Today, 07:32 PM
|
||
Started by tg1886, Today, 04:09 PM
|
3 responses
25 views
0 likes
|
Last Post
|
||
Started by mythue, Today, 03:48 PM
|
2 responses
14 views
0 likes
|
Last Post
![]()
by mythue
Today, 04:21 PM
|
Comment