PDA

View Full Version : Best Practices for Distributing NinjaScript Objects


NinjaTrader_Ray
10-04-2009, 10:07 AM
In the event that you provide NinjaScript export archives (zip files) as your means of distribution, NinjaTrader 7 will automatically block incompatible scripts from importing so there will be no confusion by the user as to whether they are installing 6.5 or 7 scripts to their NinjaTrader installation. It is advisable to include the NinjaTrader version number in the export archive which will reduce potential support burden. For example, you could name your indicators “MyIndicator_65.zip” and “MyIndicator_7.zip”.

The NinjaTrader 7 NinjaScript Export utility has been enhanced and allows you to incorporate more of your dependant files. More information on this will be update here in the next few days.

Should you provide custom installers for your products, it is preferred that you provide one installer that provides the user the option to install either a version 6.5 or version 7 compatible version of your product(s). Ensure that you only copy the correct files to the correct NinjaTrader installation folders since if you don’t it is possible that it could cause compile issues for the customer and it will be extremely difficult for all involved to isolate the cause.

These are the following folder names:


Documents\NinjaTrader 6.5\bin\Custom
Documents\NinjaTrader 7\bin\Custom