Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Legend 2 decimals to 4 plz

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

    Indicator Legend 2 decimals to 4 plz

    Hello,

    I was wondering how I can change my indicator legend on the right side margin from 4 decminal places to 4?

    In my indicator I already added:

    public override string FormatPriceMarker(double price)
    {
    // Formats price marker values to 4 decimal places
    return price.ToString("N4");
    }

    which works great!

    But in NT7 I was able to change a setting to have the entire legend to be at 4 decimal places instead of 2. For example My indicator shows 1.9635 but the rest of the legend is only showing 1.69. How do I change this?

    I attached a pdf snippet of what I mean.

    Thanks,


    Attached Files

    #2
    Hello traderX2,

    The overall chart would be controlled by the instruments tick size, the scaling will be in intervals of the ticksize and scaled in/out amount.

    Was there a specific setting in NT7 you are referring to or was that a result of changing the price marker and applying the indicator?

    I would also suggest to edit your post if you wanted to include an image, please attach the image directly instead of using pdf.


    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    77 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    27 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X