![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Oct 2008
Location: Austin, TX
Posts: 119
Thanks: 44
Thanked 5 times in 4 posts
|
I am having trouble finding a solution to determine when a script is completely done initializing and loading.
Is there a function that is called? Is there a flag I can check? Thanks! Daniel |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 978 times in 961 posts
|
Daniel, perhaps OnStartUp() would help you here?
http://www.ninjatrader.com/support/h.../onstartup.htm This is ideal for custom resource allocation as it's called after Initialize() but before the first OnBarUpdate() processing.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to determine if SMA is moving up or down | krakken | Automated Trading | 4 | 08-09-2011 06:59 PM |
| Determine if using 64bit | bobcat70 | Miscellaneous Support | 1 | 09-14-2010 11:33 PM |
| How to determine our place in the queue | drachma | Strategy Development | 1 | 08-09-2010 01:20 PM |
| Loading script files from subdirectories? | RandyT | General Programming | 2 | 10-26-2008 04:07 AM |
| Easy way to determine last bar? | terenyi | General Programming | 2 | 09-08-2008 03:44 PM |