NinjaTrader_Ray
09-06-2007, 01:10 PM
Following are links to all available NinjaScript reference samples within this forum section:
Strategy Reference Samples (NinjaTrader 6.5) - also applicable to NT7
Using a time filter to limit trading hours (http://www.ninjatrader.com/support/forum/showthread.php?t=3226)
Using multiple entry/exit signals simultaneously (http://www.ninjatrader.com/support/forum/showthread.php?t=3225)
Trading crossovers (http://www.ninjatrader.com/support/forum/showthread.php?t=3224)
Monitoring for and trading a breakout (http://www.ninjatrader.com/support/forum/showthread.php?t=3223)
Modifying the price of stop loss and profit target orders (http://www.ninjatrader.com/support/forum/showthread.php?t=3222)
Synchronizing a DataSeries object to a secondary time frame (http://www.ninjatrader.com/support/forum/showthread.php?t=3572)
Scaling out of a position (http://www.ninjatrader.com/support/forum/showthread.php?t=3751)
Using trade performance statistics for money management (http://www.ninjatrader.com/support/forum/showthread.php?t=4084)
Halting a Strategy Once User Defined Conditions Are Met (http://www.ninjatrader.com/support/forum/showthread.php?t=4804)
Entering on one time frame and exiting on another (http://www.ninjatrader.com/support/forum/showthread.php?t=5787)
Monitoring Stop-Loss and Profit Target Orders (http://www.ninjatrader.com/support/forum/showthread.php?t=5790)
Plotting from within a NinjaScript Strategy (http://www.ninjatrader.com/support/forum/showthread.php?t=6651)
Backtesting NinjaScript Strategies with an intrabar granularity (http://www.ninjatrader.com/support/forum/showthread.php?t=6652)
Using OnOrderUpdate() and OnExecution() methods to submit protective orders (http://www.ninjatrader.com/support/forum/showthread.php?t=7499)
Using User Variables in the Strategy Wizard (http://www.ninjatrader.com/support/forum/showthread.php?t=15417)
Using CancelOrder() method to cancel orders (http://www.ninjatrader.com/support/forum/showthread.php?t=18890)
Removing draw objects from the chart (http://www.ninjatrader.com/support/forum/showthread.php?t=18995) - also applicable to indicators
Rounding values to the nearest tick size (http://www.ninjatrader.com/support/forum/showthread.php?t=19147) - also applicable to indicators
Getting PnL from an ATM strategy (http://www.ninjatrader.com/support/forum/showthread.php?t=19148)
Keeping orders alive (http://www.ninjatrader.com/support/forum/showthread.php?t=19169)
Resetting values at the beginning of new trading sessions (http://www.ninjatrader.com/support/forum/showthread.php?t=19182) - also applicable to indicators
Stopping a strategy after consecutive losers (http://www.ninjatrader.com/support/forum/showthread.php?t=19289)
Using Rising and Falling conditions in the Strategy Wizard (http://www.ninjatrader.com/support/forum/showthread.php?t=19384)
Separating logic to either calculate once on bar close or on every tick (http://www.ninjatrader.com/support/forum/showthread.php?t=19387) - also applicable to indicators
Indicator Reference Samples (NinjaTrader 6.5) - also applicable to NT7
Multi-Colored Plots (http://www.ninjatrader.com/support/forum/showthread.php?t=3227)
Draw Objects (http://www.ninjatrader.com/support/forum/showthread.php?t=3419) (http://www.ninjatrader-support.com/vb/showthread.php?t=3419)- also applicable to strategies
Creating a user-defined parameter type (enum) (http://www.ninjatrader.com/support/forum/showthread.php?t=3420) - also applicable to strategies
Using StreamWriter to write to a text file (http://www.ninjatrader.com/support/forum/showthread.php?t=3475) - also applicable to strategies
Using StreamReader to read from a text file (http://www.ninjatrader.com/support/forum/showthread.php?t=3476) - also applicable to strategies
Using System.IO File properties to write to and read from a text file (http://www.ninjatrader.com/support/forum/showthread.php?t=3477) - also applicable to strategies
Creating your own Level II data book (Accessing market depth) (http://www.ninjatrader.com/support/forum/showthread.php?t=3478) - also applicable to strategies
Coloring a region (http://www.ninjatrader.com/support/forum/showthread.php?t=4331) - also applicable to strategies
Removing and Custom Formatting an Indicator’s Chart Label (http://www.ninjatrader.com/support/forum/showthread.php?t=4749) - also applicable to strategies
Exposing indicator values that are not plots (http://www.ninjatrader.com/support/forum/showthread.php?t=4991)
Using custom events to output the current Level II data book (http://www.ninjatrader.com/support/forum/showthread.php?t=5965) - also applicable to strategies
Using a DataSeries object to store calculations (http://www.ninjatrader.com/support/forum/showthread.php?t=7299) - also applicable to strategies
Calculating the highest high or lowest low for a specified time range (http://www.ninjatrader.com/support/forum/showthread.php?p=44911#post44911) - also applicable to strategies
Using Try-Catch Blocks (http://www.ninjatrader.com/support/forum/showthread.php?t=9825) - also applicable to strategies
Changing fonts for draw objects (http://www.ninjatrader.com/support/forum/showthread.php?t=19170) - also applicable to strategies
Manipulating string objects (http://www.ninjatrader.com/support/forum/showthread.php?t=19174) - also applicable to strategies
Getting indicator values from a specified time (http://www.ninjatrader.com/support/forum/showthread.php?t=19176) - also applicable to strategies
Manipulating DateTime objects (http://www.ninjatrader.com/support/forum/showthread.php?t=19292) - also applicable to strategies
Indicator Reference Samples (NinjaTrader 7)
Ensuring indicator plots are valid before programmatically accessing them (http://www.ninjatrader.com/support/forum/showthread.php?t=33061) - also applicable to strategies
Strategy Reference Samples (NinjaTrader 6.5) - also applicable to NT7
Using a time filter to limit trading hours (http://www.ninjatrader.com/support/forum/showthread.php?t=3226)
Using multiple entry/exit signals simultaneously (http://www.ninjatrader.com/support/forum/showthread.php?t=3225)
Trading crossovers (http://www.ninjatrader.com/support/forum/showthread.php?t=3224)
Monitoring for and trading a breakout (http://www.ninjatrader.com/support/forum/showthread.php?t=3223)
Modifying the price of stop loss and profit target orders (http://www.ninjatrader.com/support/forum/showthread.php?t=3222)
Synchronizing a DataSeries object to a secondary time frame (http://www.ninjatrader.com/support/forum/showthread.php?t=3572)
Scaling out of a position (http://www.ninjatrader.com/support/forum/showthread.php?t=3751)
Using trade performance statistics for money management (http://www.ninjatrader.com/support/forum/showthread.php?t=4084)
Halting a Strategy Once User Defined Conditions Are Met (http://www.ninjatrader.com/support/forum/showthread.php?t=4804)
Entering on one time frame and exiting on another (http://www.ninjatrader.com/support/forum/showthread.php?t=5787)
Monitoring Stop-Loss and Profit Target Orders (http://www.ninjatrader.com/support/forum/showthread.php?t=5790)
Plotting from within a NinjaScript Strategy (http://www.ninjatrader.com/support/forum/showthread.php?t=6651)
Backtesting NinjaScript Strategies with an intrabar granularity (http://www.ninjatrader.com/support/forum/showthread.php?t=6652)
Using OnOrderUpdate() and OnExecution() methods to submit protective orders (http://www.ninjatrader.com/support/forum/showthread.php?t=7499)
Using User Variables in the Strategy Wizard (http://www.ninjatrader.com/support/forum/showthread.php?t=15417)
Using CancelOrder() method to cancel orders (http://www.ninjatrader.com/support/forum/showthread.php?t=18890)
Removing draw objects from the chart (http://www.ninjatrader.com/support/forum/showthread.php?t=18995) - also applicable to indicators
Rounding values to the nearest tick size (http://www.ninjatrader.com/support/forum/showthread.php?t=19147) - also applicable to indicators
Getting PnL from an ATM strategy (http://www.ninjatrader.com/support/forum/showthread.php?t=19148)
Keeping orders alive (http://www.ninjatrader.com/support/forum/showthread.php?t=19169)
Resetting values at the beginning of new trading sessions (http://www.ninjatrader.com/support/forum/showthread.php?t=19182) - also applicable to indicators
Stopping a strategy after consecutive losers (http://www.ninjatrader.com/support/forum/showthread.php?t=19289)
Using Rising and Falling conditions in the Strategy Wizard (http://www.ninjatrader.com/support/forum/showthread.php?t=19384)
Separating logic to either calculate once on bar close or on every tick (http://www.ninjatrader.com/support/forum/showthread.php?t=19387) - also applicable to indicators
Indicator Reference Samples (NinjaTrader 6.5) - also applicable to NT7
Multi-Colored Plots (http://www.ninjatrader.com/support/forum/showthread.php?t=3227)
Draw Objects (http://www.ninjatrader.com/support/forum/showthread.php?t=3419) (http://www.ninjatrader-support.com/vb/showthread.php?t=3419)- also applicable to strategies
Creating a user-defined parameter type (enum) (http://www.ninjatrader.com/support/forum/showthread.php?t=3420) - also applicable to strategies
Using StreamWriter to write to a text file (http://www.ninjatrader.com/support/forum/showthread.php?t=3475) - also applicable to strategies
Using StreamReader to read from a text file (http://www.ninjatrader.com/support/forum/showthread.php?t=3476) - also applicable to strategies
Using System.IO File properties to write to and read from a text file (http://www.ninjatrader.com/support/forum/showthread.php?t=3477) - also applicable to strategies
Creating your own Level II data book (Accessing market depth) (http://www.ninjatrader.com/support/forum/showthread.php?t=3478) - also applicable to strategies
Coloring a region (http://www.ninjatrader.com/support/forum/showthread.php?t=4331) - also applicable to strategies
Removing and Custom Formatting an Indicator’s Chart Label (http://www.ninjatrader.com/support/forum/showthread.php?t=4749) - also applicable to strategies
Exposing indicator values that are not plots (http://www.ninjatrader.com/support/forum/showthread.php?t=4991)
Using custom events to output the current Level II data book (http://www.ninjatrader.com/support/forum/showthread.php?t=5965) - also applicable to strategies
Using a DataSeries object to store calculations (http://www.ninjatrader.com/support/forum/showthread.php?t=7299) - also applicable to strategies
Calculating the highest high or lowest low for a specified time range (http://www.ninjatrader.com/support/forum/showthread.php?p=44911#post44911) - also applicable to strategies
Using Try-Catch Blocks (http://www.ninjatrader.com/support/forum/showthread.php?t=9825) - also applicable to strategies
Changing fonts for draw objects (http://www.ninjatrader.com/support/forum/showthread.php?t=19170) - also applicable to strategies
Manipulating string objects (http://www.ninjatrader.com/support/forum/showthread.php?t=19174) - also applicable to strategies
Getting indicator values from a specified time (http://www.ninjatrader.com/support/forum/showthread.php?t=19176) - also applicable to strategies
Manipulating DateTime objects (http://www.ninjatrader.com/support/forum/showthread.php?t=19292) - also applicable to strategies
Indicator Reference Samples (NinjaTrader 7)
Ensuring indicator plots are valid before programmatically accessing them (http://www.ninjatrader.com/support/forum/showthread.php?t=33061) - also applicable to strategies