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 > Strategy Development

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

Reply
 
Thread Tools Display Modes
Old 07-31-2009, 10:28 AM   #1
tomleeson
Member
 
Join Date: Apr 2009
Posts: 45
Thanks: 0
Thanked 0 times in 0 posts
Talking initialise complete -

I have a second times series which i add in the initialise procedure - i obtain the BarsPeriod.Id to set the second series dynamically to match the primary - however -

I think this is not the place to do that - as BarsPeriod.Id is a default value and has not been set at that point.

Is there an initialise compete event - or similar i can use?
Or maybe i will have to just set it statically via a parameter i pass in to the strategy.?
Last edited by tomleeson; 07-31-2009 at 10:33 AM.
tomleeson is offline  
Reply With Quote
Old 07-31-2009, 10:33 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Unfortunately you just have to set it statically.
NinjaTrader_Josh is offline  
Reply With Quote
Old 07-31-2009, 10:34 AM   #3
tomleeson
Member
 
Join Date: Apr 2009
Posts: 45
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
Unfortunately you just have to set it statically.

not a problem!
tomleeson 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
complete random fills pistolpete Automated Trading 5 07-23-2009 09:50 AM
Complete Removal davidwm88 Installation and Licensing 1 07-16-2009 02:19 AM
complete support responses trader1512 Suggestions And Feedback 3 05-26-2009 08:43 AM
Complete uninstall ljyoung Miscellaneous Support 6 11-12-2008 08:27 PM
Connecion wont complete bryone123 Connecting 1 10-15-2008 03:55 AM


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