Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

number of digit of an instrument

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

    number of digit of an instrument

    hello,

    I want to know is there a way to know the number of digit of an instrument?
    For exe. :
    FESX, 2850 No digit
    SP: 1080.75 two digit

    second Question:

    to display a text I use the following statement
    ("0") if no digit
    and
    ("0.00") if two digit

    Is it possible to use a single instruction to display the number of corresponding digit

    thank you

    #2
    Hi hegh2000, have you check into this thread here already? I think the same questions were addressed there -

    BertrandNinjaTrader Customer Service

    Comment


      #3
      thank you very much

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Waxavi, 04-19-2024, 02:10 AM
      4 responses
      53 views
      0 likes
      Last Post sonia0101  
      Started by cmtjoancolmenero, Today, 03:58 PM
      0 responses
      2 views
      0 likes
      Last Post cmtjoancolmenero  
      Started by Segwin, 05-07-2018, 02:15 PM
      11 responses
      1,777 views
      0 likes
      Last Post aligator  
      Started by trilliantrader, Today, 03:01 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by geddyisodin, Today, 05:20 AM
      6 responses
      36 views
      0 likes
      Last Post geddyisodin  
      Working...
      X