Skip to main content

Creating ATM Template

Here’s how to set up a basic 1 Stop/1 Target ATM Strategy and save it as a template:

Step-by-Step Guide​

  1. Open your ChartTrader or SuperDOM
  2. Select <Custom> from the ATM Strategy control list.

create a new ATM template

  1. Define Parameters:
  • Stop Loss: Set at 10 ticks.
  • Profit Target: Set at 20 ticks.

Provide order quantity, stop, and target values

  1. Save as Template: Name the template (e.g., β€œ20 Tick Target”) and press "Save".

Save your template

Load your template into ChartTrader or SuperDom

This ATM Strategy will now automatically submit:

  • A Stop Loss order 10 ticks from the entry.
  • A Profit Target order 20 ticks from the entry.

Once saved, the template becomes available in all order entry windows.

Video Example 1 - Multiple Targets​

In this video, you'll learn how to establish a multi-step rule with various stops and targets. This showcases how you can build more complex trade management logic for positions with multiple contracts.

NinjaTrader video tutorial on creating multiple stop and target ATM strategies

Video Example 2 - No Profit Target with Trailing Stop​

In this video, you'll learn how to establish a 1 step Trailing Stop with defined no profit target set. This technique allows your trade to run and utilize a trailing stop to lock in profits as the price moves in your favor.

Video tutorial from NinjaTrader - Configure an Automatic Trailing Stop

Using ATM Strategy Templates with CrossTrade ​

This payload will trigger a simple market order for BUY or SELL actions that will use an ATM strategy template and remain in-force for the rest of the trading day.

key=your-secret-key;
command=PLACE;
account=sim101;
instrument=NQ 12-25;
action=BUY;
qty=1;
order_type=MARKET;
tif=DAY;
flatten_first=true;
atm_strategy=your-atm-template;
warning

Similar to the offsetting scenario when sending a Sell after a Buy, when using an ATM strategy, this will create orphaned Stops and Target orders as those are not canceled by default. You must send a CLOSEPOSITION or REVERSEPOSITION command before the next directional trade to avoid this.

The quantity you set inside of your CrossTrade alert will supersede your default ATM quantity