Order Sets


The Order Set area is where the entry, profit target, and stop-loss orders are defined.  An order set that has both a profit target and stop-loss are always connected as an OCO set.  OCO is short for One-Cancels-Other.  When one of those orders is filled the other order is canceled.  Cancelation of the other order is managed by either the exchange or your broker, Not by BlackBird.  Multiple order sets can be created, and are automatically named A, B, C, D, etc.  Unlike the ATM, each order set can have a different entry order type and price, when using a Limit or Stop order, which provides a way to average in or create a break-out entry.  Each order set can mix and match any order types you wish.  The first step is to select the entry order type.


Order Set Components

Number 1 Number of contracts, Name, & Order management options.
Number 2 The Entry order.
Number 3 The Profit target order.
Number 4 The Stop-loss order.

Order Management Options

These options setup various management controls for the number of contracts, and auto-trading safeguards and constraints.
The number of contracts, for each order set, is selected in the left blue area.  The name of the order set can be changed by clicking on the letter in the right blue area.  Then, change it in the Name field.

Quantity   Scaling

Placement   Safeguards

These options ensure the profit target or stop-loss orders are kept within a minimum distance or maximum distance from the entry price.
The safeguards are primarily necessary when using indicators to dynamically calculate a order’s distance from the entry price.  It is possible the indicator could place the order to far or to near to the entry price.
The safeguards can also be helpful for discretionary traders who will use the Dynamic Planner and manually move the stop-loss or profit target to support/resistance areas, before executing the trade.


Entry Order

Start creating your OCO order by first selecting the type of entry order you desire to use.  NinjaTrader 7 supports Market, Limit, and Stop order types.  See Order Options tab for an explanation of the Automatic Order Type.

Profit Target Order

Next, setup the profit target. If you want to create a “runner” contract, without a profit target, then leave this setting blank. NinjaTrader 7 only supports the Limit order type.

Stop-Loss Order

Lastly, setup the stop-loss.  NinjaTrader 7 supports Limit and Market order type.

Important Stop-loss Info
Some instruments Do Not support stop-loss Limit order types. This is controlled by the exchange. If you setup your stop-loss as a Limit and try to use it on an instrument that does not support the Limit order type it will get rejected by the exchange, and your position will not be protected by a stop-loss. NinjaTrader and BlackBird will not rectify or correct this issue. Check with your broker and/or NinjaTrader to verify which instruments support stop-loss Limit orders.
Where do the Orders Reside?
All order reside at the exchange and broker.  E.G. Limit entry orders, profit targets, stop-losses, etc.  If there is a crash, those orders still remain at the exchange/broker.  However, trailing functionality will cease and can not be restored when BlackBird and/or NinjaTrader loses connection with the orders. NinjaTrader does not have the ability to re-connect BlackBird to the orders once the connection is broken.

Order Options tab

Clicking on any order will open the Options window. This is where you setup the initial information about the order.

NinjaTrader 7 version


Trailing Actions tab

This component is another major feature that sets BlackBird apart from all other strategies in its class.  Trailing Actions allow you to create rules that automatically move orders in any direction.  Rules consist of four events that occur in the following order: First the Initial Delay must pass.  Next, the rule waits for the Trigger On condition/event to occur.  Then the Action will move the order, and Repeat determines how many times the Action will run and how often.

Trailing Rule Components

Name

This field is where a custom name can typed for the trailing rule, as a reminder of what the rule does. The rules are automatically named Rule A, Rule B, Rule C, etc.

Initial Delay

In NinjaTrader 8, Delays have been merged into the Trigger On option.  This documentation remains for NinjaTrader 7 users of BlackBird.  
This option provides various ways to add a delay before a trailing rule can execute.  Or, a waiting period before canceling an entry order if not filled.

Trigger On

This option provides various Trigger conditions that activates the trailing rule.  Once the Trigger On condition(s) have triggered the trialing rule stays activated, and the Action will continue to execute for the remainder of the trade, in accordance with the Repeat settings.  If this option is set to None, then the trailing rule is immediately activated.
See the Trigger conditions section below for detailed information on each trigger option.
E.G.  With Trigger On set to Indicator Value, and the condition is setup to look for the  CCI greater than 300 (or less than -300).  The first time that condition occurs the Action will keep executing for as long and as often as the Repeat settings will allow.

Action

This option is typically used to move the order to a new price, such as trailing a stop-loss to lock in profits, or even move an entry order closer to price making it easier to fill. There are various alert options that can be executed as well. If you wish to perform two actions, such as move a stop-loss and send an alert when the stop-loss moves, then two identical trailing rules must be created with the different actions.

Repeat

This option sets the number of times this rule is repeated (executed).  Some rules you may only want to execute once, or every time the Trigger On event occurs.


Trigger conditions

There are various triggers available for building conditions that activates a rule.  Once the Trigger condition has triggered it stays activated, and the Action will continue to execute for the remainder of the trade.
BloodHound Signal, Indicator Value, Trade Signal Trigger, & Price vs Indicator options use indicators and therefore the timing of when they are calculated/triggered is determined by the ‘Calculate on Bar Close’ setting (found in the Chart » Strategy window).
I.E. If CoBC = True (NinjaTrader’s default setting) these Trigger On conditions are calculated when the bar closes, not intrabar/real-time.  If CoBC = False then these Trigger On conditions are calculated real-time.
Side Note: Some of these options may be used in other places.

BloodHound Signal

This option uses a BloodHound signal to trigger the trailing rule.  This option is very powerful, because you can use advanced BloodHound logic to trigger an order movement.  See † statement above.
You must own BloodHound for this option to work correctly.

Indicator Value

This option looks for an indicator threshold value to activate the trailing rule.  See † statement above.
E.G.  Wait until the CCI is greater than 200 or less than -200, and then begin executing the rule.

Trade Signal Trigger

This option monitors the trade signals, from the Trade Signal section, as the triggering event that executes the trailing rule.
E.G.  If your BloodHound system sometimes gives 2 or more long signals during an uptrend, those additional signals can be used to add more positions on (scale-in).  Therefore, if you want to scale-in with a second entry order when BloodHound gives a second long signal, set Mode to In Same Direction, and Signals After 1st Entry to 2.

Price vs Indicator

This option checks if price or indicator is above or below an indicator, and then activates the trailing rule.  See † statement above.
E.G.  For a long trade, if price drops below a moving average then trigger a rule to tighten the profit target or stop-loss.
Or, if a fast moving average drops below a slower moving average then trigger a rule to tighten the profit target or stop-loss.

Profit or Loss

This option waits for a certain profit or loss amount (similar to the Initial Delay options) and then activates the trailing rule.

Order Status Changed

This option detects when another order has been filled or canceled, and then triggers the trailing rule to run.
E.G. When the first profit target is filled, then trigger the remaining stop-loss to move (to breakeven for example).


Action » Move Order To

After the Initial Delay has expired and/or the Trigger On condition has occurred, then its time to move the order somewhere,  The whole purpose of a trailing rule is to automatically move an order to another price. These are the various options available for calculating that new price.


Select Input window

This window is used in several areas of BlackBird. It has four types of inputs, as listed below.

Select Mode options

Price

This option moves the order relative to any bar price.
E.G. A common stop-loss trailing technique is to move the stop-loss to the previous bar low, or the low of 2 bars back. This option can reference those bar prices, and more.

Indicator Value

This option moves the order to the price of an indicator. There are many 3rd party indicator that calculate profit and stop-loss targets, which this option can take advantage of.

Swing Point Prices

This option moves the order to a swing point price, as calculated by SiSwingsHighsLows indicator.

Linear Regression Channel

This option moves the order to one of the Linear Regression channel lines.


Offset section

Several menus have an Offset section at the bottom of the window.  The Offset feature is used to add or subtract an offset amount from the price calculated in the main section of the menu.