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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        154 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        306 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        244 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        345 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        176 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X