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:
to reflect this instead: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, 10:50 AM.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
92 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
23 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
33 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
34 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment