NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-31-2010, 01:39 PM   #1
shazzmoe
Senior Member
 
Join Date: Jun 2009
Posts: 120
Thanks: 2
Thanked 1 time in 1 post
Default Size based on risk

Was wondering if NinjaScript (6.5 or 7) has any built in features that would make it easy to set the quantity traded based on the stop loss.

For example: my trade system uses a different sized stop based on the trade it's taking. I would like it to make it so that all sized stops risk the same Dollar Amount. So if I chose to risk $1000 on a trade in the S&P eminis it would trade 2 contracts if the stop was 10 points in size and 10 contracts if the stop was 2 points in size etc...

I can think of some ways to manually code this but wanted to make sure there wasn't a faster way before I program it in.
shazzmoe is offline  
Reply With Quote
 

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
Different tick size based on different prices Profitmake Miscellaneous Support 15 11-15-2012 05:56 AM
Set Entry Size Based on Current Account Size Anagoge Strategy Analyzer 4 09-30-2010 04:57 AM
Looking for trade size based indicator dbissett Indicator Development 1 07-18-2010 10:59 PM
Recalculating position size based on account size, % risked and stop loss clivehunt Strategy Development 18 03-22-2009 11:25 AM
Looking for mechanism to scale down size based on performance scriabinop23 Strategy Development 11 05-16-2007 01:04 PM


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