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.

    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by benmarkal, Yesterday, 12:52 PM
    3 responses
    23 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    19 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Working...
    X