Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Data Box

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

    Data Box

    I have a indicator and it's plot is displayed in the Data Box. I would like to change 1 thing if Possible

    1). The Value shows a Decimal

    How can I change format of the Value so that it doesn't show any decimals.

    Thank you for your Time
    EK
    Last edited by Emerald King; 07-08-2009, 10:31 PM.

    #2
    Emerald King, thanks for the post - you can work with Math.Round to round your value to a decimal.

    Rounds a value to the nearest integer or to the specified number of fractional digits.

    Comment


      #3
      allow me to clarify

      My value is already an int with no decimal but when it is displayed in the data box it shows up with .00 after every value.

      What I want to know is how to modify the format of the Data Box to only show the int value.

      Thanks
      EK
      Attached Files

      Comment


        #4
        Thanks EK, in this case you can try moving the indicator to another panel, as the price panel (1) rounding is tied to the instruments ticksize.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        574 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        332 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X