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 tgn55, Today, 09:51 PM
    0 responses
    1 view
    0 likes
    Last Post tgn55
    by tgn55
     
    Started by cxxazssx, Today, 09:45 PM
    0 responses
    1 view
    0 likes
    Last Post cxxazssx  
    Started by southpacific001, 02-26-2021, 09:25 PM
    14 responses
    65 views
    0 likes
    Last Post REI140205  
    Started by punkiy2111, Today, 05:22 PM
    0 responses
    3 views
    0 likes
    Last Post punkiy2111  
    Started by secrettrader, Today, 03:36 PM
    0 responses
    8 views
    0 likes
    Last Post secrettrader  
    Working...
    X