NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 06-17-2009, 02:44 AM   #1
volpiemanuele
Junior Member
 
Join Date: Jul 2008
Posts: 24
Thanks: 0
Thanked 0 times in 0 posts
Default defaultquantity

To buy more lot in a automated strategy can I set (for example) just defaulquantity = 2 in initialize? thanks
volpiemanuele is offline  
Reply With Quote
Old 06-17-2009, 03:51 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

Hi volpiemanuele, yes - or you select to determine order size 'by default quantity' when setting up the strategy for trading, you can enter your needed size directly then.

http://www.ninjatrader-support.com/H...romAChart.html
NinjaTrader_Bertrand 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


All times are GMT -6. The time now is 01:03 PM.