• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SuperDom Column PnL currency - no decimals - PLEASE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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!

    #2
    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);
    to reflect this instead:

    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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Sannyttaffaw, Today, 04:14 AM
    0 responses
    1 view
    0 likes
    Last Post Sannyttaffaw  
    Started by canuck, Yesterday, 07:52 PM
    0 responses
    6 views
    0 likes
    Last Post canuck
    by canuck
     
    Started by itrader46, 10-21-2019, 11:12 PM
    2 responses
    20 views
    0 likes
    Last Post koganam
    by koganam
     
    Started by walter739, Yesterday, 06:04 PM
    0 responses
    4 views
    0 likes
    Last Post walter739  
    Started by MarkWise, Yesterday, 03:04 PM
    2 responses
    9 views
    0 likes
    Last Post MarkWise  
    Working...
    X