Skip to content

Understanding the ATM Strategy control list options

The Strategy Control List

The drop down list shown in the image below is very important to understand as it defines how your orders will be handled once submitted. There are three main categories of options that will be displayed in this drop-down list; None, Custom or strategy template names, and Active ATM Strategy Name(s).

Screenshot of Ninja Trader Account Page

None

When this option is selected, any orders placed in the entry window will not be applied to an active ATM Strategy nor will it initiate a new ATM strategy.

Custom or ATM Strategy Template Names

When an ATM Strategy template name is selected, all of the parameters will update to reflect your pre-defined ATM Strategy, or when Custom is selected, you have the ability to define a new ATM Strategy on the fly. Once an order is submitted, the ATM Strategy parameters specified will be initiated when the order is partially or completely filled.

Active ATM Strategy Names

All active (live and working) ATM Strategies will be displayed and indicated by a lightning bolt active_atm icon. If one is selected, any order submitted will be applied to the selected active ATM Strategy. For example, if you have an active ATM Strategy with a stop and target bracket for 1 contract, if you are filled on another contract, the fill is applied to this ATM Strategy and the stop and target bracket is automatically updated from 1 contract to 2 contracts.

Strategy Selection Mode Overview

The behavior of the strategy control list can be controlled automatically by selecting an ATM Strategy Selection Mode

Screenshot of Ninja Trader Account Page

When it comes to the automatic submission of Stop Loss and Profit Targets and how subsequent order fills are handled, there are two approaches:

1. Scaling into a position or out of a position should automatically update the order sizes of existing stop and target brackets

2. Scaling into a position should create a new set of stop and target brackets based on the new order fill price

If you always want to operate with approach number 1, then you will always want to have the ATM Strategy control list set to your active ATM Strategy when one exists. This is accomplished by setting the ATM Strategy Selection Mode to “Select active ATM strategy on order submission”. If you would rather have new stop and target brackets submitted on a new fill, then set the ATM Strategy Selection Mode to “Keep selected ATM strategy template on order submission” and the strategy control list will not automatically set to an active strategy when one is created.

Understanding Stop Loss and Profit Target parameters (how to set your stop and target values)

ATM Strategy Parameters

Select Custom to define a new ATM Strategy or select the saved ATM Strategy template and select “edit” in the ATM Strategy combo box as seen below.

Screenshot of Ninja Trader Account Page

In the image below there are parameters that define the ATM Strategy. This strategy is a single quantity strategy that will automatically place its target at 10 ticks above the average entry price and stop loss 10 ticks below.

Screenshot of Ninja Trader Account Page

Selecting the “add” will allow you to configure additional Targets for your ATM Strategy. You can add as many targets as you desire. Selecting “remove” will reduce the number of configured Targets that are configured.

Screenshot of Ninja Trader Account Page

Tip: You can also add Targets to your ATM Strategy by right-clicking on an active strategy in the ATM Strategy combo box and selecting “Add Target”. More details are documented in the SuperDOM section Managing Positions.

Understanding advanced ATM parameters

More Options

To access the Advanced options, click on the More text which will expand these additional ATM Strategy features.

Screenshot of Ninja Trader Account Page

From the Advanced Options section you can enable the Shadow Strategy, Auto Reverse, or Auto Chase features.

JSON Payload ATM Limit Order Explanation

Raw JSON

{
    "alert": "ATM Strategy Limit Long",
    "strategy": "ATM 2",
    "account": "Sim101",
    "ticker": "ES JUN24",
    "qty": "1",
    "limit_price": "5050",
    "tif": "DAY"
}
or
{
    "alert": "ATM Strategy Limit Short",
    "strategy": "ATM 2",
    "account": "Sim101",
    "ticker": "ES JUN24",
    "qty": "1",
    "limit_price": "5050",
    "tif": "DAY"
}
          

Limit Order ATM Cancel

Raw JSON


{
    "alert": "Stop ATM Strategy",
    "strategy": "YourStrategyName",
    "strategy_id": "YourStrategyID"
}
                        

JSON Payload ATM Market Order Explanation

Raw JSON

{
    "alert": "ATM Strategy Market Long",
    "strategy": "ATM 2",
    "account": "Sim101",
    "ticker": "ES JUN24",
    "qty": "1",
    "tif": "DAY"
}
or
{
    "alert": "ATM Strategy Market Short",
    "strategy": "ATM 2",
    "account": "Sim101",
    "ticker": "ES JUN24",
    "qty": "1",
    "tif": "DAY"
}
                        

Explanation

More Information

For more information on “Advanced Trade Managment”, Please visit the Official Ninja Trader Website


Disclaimer for Ninja-View.com:

Ninja-View.com specializes in providing tools for forward testing trading strategies on a paper basis.

  • 2024 NinjaView. All rights reserved.
  • [NinjaView reserves the right to enforce its intellectual property rights to the fullest extent of the law.]
  • General Risk Disclosure: Trading, even on a simulation basis, involves risks and is not suitable for all participants.
  • Hypothetical Performance Disclosure: Forward testing results are hypothetical and do not guarantee future performance.
  • Testimonial Disclosure: Testimonials may not be indicative of all user experiences.
  • Live Trade Room Disclosure: Discussions and content are for educational purposes only.
  • Independent Entity Disclosure: NinjaView is an independent entity and is not representative of, nor endorsed by, NinjaTrader. The purpose of linking to NinjaTrader is purely promotional. NinjaTrader neither represents nor has any affiliation with NinjaView.

Users are responsible for understanding and complying with any relevant regulations, including those of the NFA or CFTC.

© 2024 NinjaView. All rights reserved.