Thanks for your reply.
I have attached an example strategy builder strategy that is exactly the same as SampleMAcrossover that you can view in the strategy builder and can run the optimizer on. From this example, you can see how to relate the user inputs to the period of the moving averages. It is the user inputs that you can optimize.
Here is a basic guideline of how to Import NinjaScripts.
To import NinjaScripts you will need the original .zip file.
To Import
- Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
- From the Control Center window select the menu Tools>import>Ninjascript add-on..
- Select the downloaded .zip file
- NinjaTrader will then confirm if the import has been successful.
Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'
SampleMaCrossoverStrategyBuilderExample.zip
Comment