Running a NinjaScript Strategy from the Strategies Tab
You can run a NinjaScript strategy in real-time in a live or simulation account via the Strategies tab of the Control Center.
Following are some key points and instructions on on how to run a NinjaScript strategy from the Strategies tab of the Control Center window:
•NinjaTrader MUST be connected to a live brokerage or market data vendor
•A NinjaScript strategy is a self contained automated trading system and orders generated are live and not virtual. Cancelling strategy generated orders manually can cause your strategy to stop executing as you designed it. If you want to manually cancel an order, terminate the strategy first.
•Strategies initiated from the Strategies tab will NOT appear in a chart
Running a NinjaScript Strategy
To run a NinjaScript strategy from the Strategies tab:
1.Left mouse click on the Strategies tab found in the NinjaTrader Control Center
2.Right mouse click within the Strategies tab. The right click menu will appear.
3.Select the menu item New Strategy... The New Strategy window will appear.
4.Choose the strategy you wish to run from the list of Available strategies on the left
5.Set the instrument, interval, and other optional strategy properties (see the "Understanding strategy properties section below") and press the OK button
6.Check the box in the Enable column of the Strategies tab next to the strategy you wish to enable.
Strategy Properties (see image below)
The image below shows the adjustable properties for a strategy available in the Strategies tab of the Control Center (see the "How to run a NinjaScript strategy in from the Strategies tab" section above):