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 cincai, Today, 07:02 PM
    0 responses
    1 view
    0 likes
    Last Post cincai
    by cincai
     
    Started by AlexsOptions, Today, 05:42 PM
    2 responses
    12 views
    0 likes
    Last Post AlexsOptions  
    Started by philli4093, Today, 05:20 PM
    2 responses
    8 views
    0 likes
    Last Post philli4093  
    Started by memonolog, Today, 04:58 PM
    0 responses
    4 views
    0 likes
    Last Post memonolog  
    Started by robvul, Today, 04:20 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Working...
    X