PDA

View Full Version : Determine when script is done loading


neoikon
05-08-2012, 06:59 PM
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

NinjaTrader_Bertrand
05-09-2012, 02:00 AM
Daniel, perhaps OnStartUp() would help you here?

http://www.ninjatrader.com/support/helpGuides/nt7/onstartup.htm

This is ideal for custom resource allocation as it's called after Initialize() but before the first OnBarUpdate() processing.