NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM 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 03-07-2007, 03:35 PM   #1
Json
Member
 
Join Date: Jun 2006
Location: , ,
Posts: 61
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Is there an easy way to convert an Indicator indecimal to be converted to32nds?
Json is offline  
Reply With Quote
Old 03-08-2007, 01:15 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

Do you mean for display purposes? If yes, display where, on the chart or in the Output window?

Ray
NinjaTrader_Ray is offline  
Reply With Quote
Old 03-08-2007, 01:30 AM   #3
Json
Member
 
Join Date: Jun 2006
Location: , ,
Posts: 61
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Yes, for display on chart



Jason
Json is offline  
Reply With Quote
Old 03-08-2007, 01:31 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

Unfortunately this is not possible.

Ray
NinjaTrader_Ray is offline  
Reply With Quote
Old 03-08-2007, 01:38 AM   #5
tquinn
Senior Member
 
Join Date: Jan 2005
Location: , ,
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

From Dierk's reply to my similar question, under "General Programming"

PriceDisplay=Bars.Instrument.MasterInstrument.Form atPrice(High[1]);
tquinn is offline  
Reply With Quote
Old 03-08-2007, 01:45 AM   #6
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

My apologies, I did not think we exposed that property on an indicator. Its not a documented feature but Tom is right, that will work.

Ray
NinjaTrader_Ray 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


All times are GMT -6. The time now is 03:39 AM.