NinjaTrader Support Forum  

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-07-2012, 11:43 AM   #1
maxima
Senior Member
 
Join Date: Apr 2008
Posts: 298
Thanks: 4
Thanked 0 times in 0 posts
Default How do I change price marker precision?

I have indicator which plots only 2 digits after decimal point on the value axis. How do I change the precision (in C# or in the chart settings) ?
maxima is offline  
Reply With Quote
Old 05-07-2012, 11:47 AM   #2
NinjaTrader_AdamP
NinjaTrader Customer Service
 
NinjaTrader_AdamP's Avatar
 
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
Default

maxima,

Unfortunately there's no control to change the # of decimals on the vertical axis. You can use FormatPriceMarker() to control # of decimal places for the last value.

http://www.ninjatrader.com/support/h...ricemarker.htm
NinjaTrader_AdamP is offline  
Reply With Quote
Old 05-07-2012, 12:05 PM   #3
maxima
Senior Member
 
Join Date: Apr 2008
Posts: 298
Thanks: 4
Thanked 0 times in 0 posts
Default

this is good enough. thank you
maxima 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
Show the price marker in a different color when the price is a new low or a new high. vanguard_xie Charting 1 06-13-2010 07:35 AM
Time and sales price precision cbt777 Version 7 Beta General Questions & Bug Reports 6 04-29-2010 02:56 PM
Price marker tamas Version 7 Beta General Questions & Bug Reports 2 01-28-2010 11:30 AM
Price Marker pgabriel Charting 1 10-23-2008 08:35 AM
Price Marker(s) SteveB General Programming 2 03-06-2008 06:57 AM


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