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 05-13-2008, 09:13 AM   #1
NinjaCustomer
Senior Member
 
Join Date: Jan 2008
Posts: 130
Thanks: 0
Thanked 0 times in 0 posts
Default Point value

how do I get the currency pair's point value? I mean.. like eurusd is 1000, usdjpy is 100 because eurusd is 4 decimals, usdjpy 2. Or if I can get 4 or 2 that is fine also.
NinjaCustomer is offline  
Reply With Quote
Old 05-13-2008, 09:17 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Please try Instrument.MasterInstrument.PointValue
NinjaTrader_Dierk is offline  
Reply With Quote
Old 05-13-2008, 09:30 AM   #3
NinjaCustomer
Senior Member
 
Join Date: Jan 2008
Posts: 130
Thanks: 0
Thanked 0 times in 0 posts
Default

thanks... and how do I get the BarWidth property from the chart?
NinjaCustomer is offline  
Reply With Quote
Old 05-13-2008, 09:45 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
Default

This is not supported.
NinjaTrader_Ray is offline  
Reply With Quote
Old 05-13-2008, 09:54 AM   #5
NinjaCustomer
Senior Member
 
Join Date: Jan 2008
Posts: 130
Thanks: 0
Thanked 0 times in 0 posts
Default

how can I make a thick bar width in a plot but have that plot respond to changes the user makes when they set barwidth on the chart?
NinjaCustomer is offline  
Reply With Quote
Old 05-13-2008, 10:10 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
Default

Unfortunately this is not supported.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Big Point Value Access danzman General Programming 2 02-28-2008 10:13 PM
Breakeven point in TS alekstraj Automated Trading 1 12-26-2007 07:03 AM
Trend from one point to another ct General Programming 7 11-19-2007 12:10 AM
Pivot point sunnyrain Charting 1 10-12-2007 01:10 PM
Point Change Charts SigmaTrader Suggestions And Feedback 2 07-10-2007 01:15 PM


All times are GMT -6. The time now is 02:10 PM.