Strategy Reference Samples (NinjaTrader 8) - also applicable to NT7
- Using a time filter to limit trading hours
- Using multiple entry/exit signals simultaneously
- Trading crossovers
- Monitoring for and trading a breakout
- Modifying the price of stop loss and profit target orders
- Synchronizing a DataSeries object to a secondary time frame (Note: In NinjaTrader 8 It is no longer needed to use an indicator to sync a secondary series. This can be done directly from the Series<T> constructor.)
- Scaling out of a position
- Using trade performance statistics for money management
- Halting a Strategy Once User Defined Conditions Are Met
- Entering on one time frame and exiting on another
- Monitoring Stop-Loss and Profit Target Orders
- Plotting from within a NinjaScript Strategy
- Backtesting NinjaScript Strategies with an intrabar granularity
- Using OnOrderUpdate() and OnExecution() methods to submit protective orders
- Using User Variables in the Strategy Wizard
- Using CancelOrder() method to cancel orders
- Removing draw objects from the chart - also applicable to indicators
- Rounding values to the nearest tick size - also applicable to indicators
- Getting PnL from an ATM strategy
- Keeping orders alive
- Resetting values at the beginning of new trading sessions - also applicable to indicators
- Stopping a strategy after consecutive losers
- Using Rising and Falling conditions in the Strategy Wizard
- Separating logic to either calculate once on bar close or on every tick - also applicable to indicators
Indicator Reference Samples (NinjaTrader 8) - also applicable to NT7
- Multi-Colored Plots
- Draw Objects- also applicable to strategies
- Creating a user-defined parameter type (enum) - also applicable to strategies
- Using StreamWriter to write to a text file - also applicable to strategies
- Using StreamReader to read from a text file - also applicable to strategies
- Using System.IO File properties to write to and read from a text file - also applicable to strategies
- Creating your own Level II data book (Accessing market depth) - also applicable to strategies
- Coloring a region - also applicable to strategies
- Removing and Custom Formatting an Indicator’s Chart Label - also applicable to strategies
- Exposing indicator values that are not plots
- Using custom events to output the current Level II data book - also applicable to strategies
- Using a DataSeries object to store calculations - also applicable to strategies
- Calculating the highest high or lowest low for a specified time range - also applicable to strategies
- Using Try-Catch Blocks - also applicable to strategies
- Changing fonts for draw objects - also applicable to strategies
- Manipulating string objects - also applicable to strategies
- Getting indicator values from a specified time - also applicable to strategies
- Manipulating DateTime objects - also applicable to strategies
- Ensuring indicator plots are valid before programmatically accessing them - also applicable to strategies
- Using a TypeConverter to Customize Property Grid Behavior - also applicable to strategies
- Using a secondary series as an input series for an indicator - also applicable to strategies