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 junkone, 04-21-2024, 07:17 AM
    9 responses
    67 views
    0 likes
    Last Post jeronymite  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    4 responses
    18 views
    0 likes
    Last Post trilliantrader  
    Started by mgco4you, Today, 09:46 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by wzgy0920, Today, 09:53 PM
    0 responses
    10 views
    0 likes
    Last Post wzgy0920  
    Started by Rapine Heihei, Today, 08:19 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X