Operations > Advanced Trade Management (ATM) > ATM Strategy >

Tutorial: ATM Strategy Example #1

Print this Topic Previous pageReturn to chapter overviewNext page

playVideo

 

ATM Strategy Example

Following is an example of how to create a simple 1 stop/1 target ATM Strategy and save the strategy as a template. You can do this via any NinjaTrader order entry screen.

 

Advanced_Trade_Management_19

 

1. Set the order quantity to 1 contract

2. From the ATM Strategy control list select <Custom> and ensure that "1 Target" option is selected

3. Set the Stop Loss value to 4 ticks

4. Set the Profit Target value to 8 ticks

 

This simple ATM Strategy will automatically submit a Stop Loss order 4 ticks from entry and a Profit Target order 8 ticks from entry.

 

Advanced_Trade_Management_18

 

You can save this ATM Strategy as a template by clicking on your right mouse button within the background of the SuperDOM or Basic Entry windows or within the ATM Strategy parameters box of the FX Pro or Chart Trader windows, and selecting the menu name "Manage ATM Strategy Templates..."

 

Advanced_Trade_Management_34

 

5. Enter the name "8 Tick 1 Target"

6. Press the "Save" button

 

Once you press the save button, a template is created for this ATM Strategy and it will become available in the strategy control list of all order entry windows.  You can now place an order which once filled will automatically trigger the ATM Strategy to submit the Stop Loss and Profit Target. In the image below, an order was submitted and filled at 1311.00 as depicted by the brown colored cell.

 

Advanced_Trade_Management_20

 

7. A Profit Target was submitted at 1313.00 which is 8 ticks from our entry price of 1311.00

8. A Stop Loss was submitted at 1310.00 which is 4 ticks from our entry price of 1311.00

9. An active strategy named "* Active Strategy" is created and listed under the ATM Strategy control list.

 
If under SuperDOM Properties you have the "ATM Strategy selection mode" set to "SelectActiveATMStrategyOnOrderSubmission", NinjaTrader will automatically set the ATM Strategy control list to the newly created ATM Strategy. The importance of this is if you place another order, any fills resulting from the order will be applied to the existing Stop Loss and Profit Target orders.  As an example, if we were filled on an additional contract, our Stop Loss and Profit Target would automatically be modified from 1 contract to 2 contracts. Both Stop Loss and Profit Target orders are tied via OCO which means if one of the orders is filled, the other will automatically be cancelled. If the option in the first sentence was not checked, the ATM Strategy control list would be set to the "8 Tick 1 Target" ATM Strategy template we just created. Any subsequent orders would create an additional ATM Strategy that would submit another set of Stop Loss and Profit Target orders.