NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 11-20-2009, 01:14 PM   #1
hegh2000
Senior Member
 
Join Date: Nov 2008
Location: Paris
Posts: 201
Thanks: 0
Thanked 10 times in 3 posts
Default 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
hegh2000 is offline  
Reply With Quote
Old 11-20-2009, 01:53 PM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

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

http://www.ninjatrader-support2.com/...ad.php?t=11831
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-20-2009, 04:10 PM   #3
hegh2000
Senior Member
 
Join Date: Nov 2008
Location: Paris
Posts: 201
Thanks: 0
Thanked 10 times in 3 posts
Default

thank you very much
hegh2000 is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a proxy instrument to trade another instrument wisepiggy Strategy Development 1 04-06-2009 04:38 AM
multi-instrument when one instrument doesn't have data cunparis Suggestions And Feedback 2 03-16-2009 06:05 AM
How to enter using signal from one instrument to place order for another instrument ninjablanks Automated Trading 1 01-02-2009 07:40 AM
Adding a new instrument via an instrument editor vs. the chart. strategy1 Miscellaneous Support 1 07-23-2008 04:59 PM
Deleting a master instrument would delete all instruments in the instrument list. clearpicks Connecting 11 05-13-2008 12:00 PM


All times are GMT -6. The time now is 12:07 AM.