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.

Reply
 
Thread Tools Display Modes
Old 12-03-2008, 02:53 AM   #1
junkone
Senior Member
 
Join Date: Sep 2008
Posts: 356
Thanks: 1
Thanked 1 time in 1 post
Default how to setup position size

if i use
EnterLong()

how does it determine the position size
Last edited by junkone; 12-03-2008 at 03:00 AM.
junkone is offline  
Reply With Quote
Old 12-03-2008, 06:33 AM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

Please right click the Strategies tab>New Strategy in the Control Center and look at the Order Properties. Change Set Order quantity and you will see the different settings and options.

This link will help:
http://www.ninjatrader-support.com/H...egiesTab1.html
NinjaTrader_Ben is offline  
Reply With Quote
Old 12-03-2008, 06:52 AM   #3
ju1234
Senior Member
 
Join Date: Nov 2008
Posts: 227
Thanks: 1
Thanked 0 times in 0 posts
Default

Ben, i also looked at this. In the control center, under teh tab "strategies" right clicking on the strategy that is green (running) gives a drop down menu. That menu does not have anything about order type or quantity. Clicking new strategy will just bring up the strategy menu where you can choose a new strategy. So, I am not sure if i understand what you advised in this thread.
ju1234 is offline  
Reply With Quote
Old 12-03-2008, 07:01 AM   #4
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

Right click the grey area (not a strategy) in the Strategy tab, then select "New Strategy...", then look at the bottom for "Set order quantity" and change this setting. A new field will appear for "by default quantity" where you can enter the Default quantity value.
NinjaTrader_Ben is offline  
Reply With Quote
Old 12-03-2008, 07:12 AM   #5
ju1234
Senior Member
 
Join Date: Nov 2008
Posts: 227
Thanks: 1
Thanked 0 times in 0 posts
Default

In the control center, i click "strategies" tab. It shows various strategies in the left column. I don't know what you mean by grey area. The blank area below the title bar does not do anything. The strategy that is running is highlighted. Clicking any area in that row brings up the same menu in which clicking the "new strategy" brings up the strategy box.
ju1234 is offline  
Reply With Quote
Old 12-03-2008, 07:22 AM   #6
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

Yes, right click the grey area that is blank>New Strategy...>look at the bottom.
NinjaTrader_Ben 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
How I Can do this setup? blazer Miscellaneous Support 4 04-19-2008 05:32 PM
Strategies Setup vivienne ATM Strategies (Discretionary Trading) 1 05-23-2007 06:43 AM
Setup indicator Mauro60 Indicator Development 8 01-26-2007 01:11 AM
Trade Setup longtex Miscellaneous Support 2 08-15-2006 03:45 AM
Creating a Setup Albenus Automated Trading 1 08-13-2006 06:35 AM


All times are GMT -6. The time now is 09:58 AM.