![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2011
Posts: 19
Thanks: 0
Thanked 2 times in 2 posts
|
Hi,
How can I detect tenth pips configuration programmitically in my indicator? Thanks in advance. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
You can do this two ways, check the number of numerals after the decimal by converting the Close[0] price to a string to count it. You can also use this code segment however it is officially not supported as its not in our help guide. if (SubPipSupport.TenthPip == Cbi.MasterInstrument.SubPipSupport) { Print("TenthPip is Selected"); } -Brett
Brett
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Forex DOM tenth pip? Halfpip? | jeff p | SuperDOM and other Order Entry Windows | 11 | 03-01-2011 10:22 PM |
| Fractional pips? | Heavenforex | Miscellaneous Support | 1 | 11-28-2010 12:21 PM |
| Using pips with MBTrading | StyckwithChrist | Connecting | 3 | 07-26-2010 03:45 AM |
| PnL in pips | nicknamed | Suggestions And Feedback | 1 | 05-19-2009 09:48 AM |
| Value of pips... | behealed | General Programming | 1 | 04-05-2008 01:47 AM |