Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Formatting a number in Market Analyzer Column

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

    Formatting a number in Market Analyzer Column

    I have an indicator that I am using to populate a Market Analyzer Column with the Plot value. It is a 6 digit number that should display 123456 but the Market Analyzer Column displays it as 123K. I need to see all digits. How can I force the correct display in the Market Analyzer Column?

    #2
    Hello TAJTrades,

    You can use FormatPriceMarker override for that purpose.



    If you wanted to output the price without any formatting you just need to make it into a string:

    Code:
    public override string FormatPriceMarker(double price)
    {
    return price.ToString();
    }
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by laketrader, 03-10-2025, 07:20 AM
    7 responses
    67 views
    0 likes
    Last Post laketrader  
    Started by juletjak, Today, 07:37 PM
    0 responses
    3 views
    0 likes
    Last Post juletjak  
    Started by stafe, 03-10-2025, 04:46 PM
    5 responses
    59 views
    0 likes
    Last Post MiCe1999  
    Started by VFI26, 03-21-2025, 11:21 AM
    2 responses
    28 views
    0 likes
    Last Post MiCe1999  
    Started by algospoke, 03-12-2025, 07:41 PM
    2 responses
    34 views
    0 likes
    Last Post algospoke  
    Working...
    X