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-03-2008, 11:55 AM   #1
maxima
Senior Member
 
Join Date: Apr 2008
Posts: 298
Thanks: 4
Thanked 0 times in 0 posts
Default How can I get market tick size?

How can I get tick size in the code?

e.g. 1 or 0.5 or 0.25 of price.

I think it is bad practice to make it an indicator property to set it by user. Should be some market parameters somewhere in the system.

Thanks
maxima is offline  
Reply With Quote
Old 05-03-2008, 01:27 PM   #2
PrTester
Senior Member
 
Join Date: Mar 2007
Posts: 212
Thanks: 0
Thanked 3 times in 3 posts
Default

Quote:
Originally Posted by maxima View Post
How can I get tick size in the code?

e.g. 1 or 0.5 or 0.25 of price.

I think it is bad practice to make it an indicator property to set it by user. Should be some market parameters somewhere in the system.

Thanks
Do you try TickSize ?
PrTester is offline  
Reply With Quote
Old 05-04-2008, 10:54 AM   #3
maxima
Senior Member
 
Join Date: Apr 2008
Posts: 298
Thanks: 4
Thanked 0 times in 0 posts
Default

Thanks thats what I needed
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
Level1 Market Replay from Historical Tick Data Cache whitmark Suggestions And Feedback 26 03-16-2011 12:13 PM
Recalculating position size based on account size, % risked and stop loss clivehunt Strategy Development 18 03-22-2009 11:25 AM
Open market price with Tick data skynetman Strategy Development 1 04-15-2008 07:03 PM
Market Replay on historical tick data? stocksight Miscellaneous Support 1 04-05-2008 03:11 PM
ZN Custom Tick Size Futures_Shark SuperDOM and other Order Entry Windows 5 11-15-2007 08:32 AM


All times are GMT -6. The time now is 02:00 AM.