CrossTrade Docs
Basic CommandsAdvanced Commands
  • Welcome!
    • Set Up Guide
  • Getting Started
    • Installation
    • User Dashboard
      • XT Control Panel
      • Manual Trader
      • Command Builder
    • Alert History
    • TradingView Alerts
      • Dynamic Variables
      • XT Alert Builder
      • Example Indicators
      • Example Strategies
    • VPS Connection Guide
  • Webhooks
    • Overview
    • Commands
      • Place Order
      • Flat Place Order
      • Close Position
      • Reverse
      • Reverse Position
      • Flatten Positions
      • Flatten Everything
      • Cancel Order
      • Cancel Orders
      • Cancel All Orders
      • Cancel Replace
      • Change Order
      • Close Strategy
    • Advanced Options
      • Multi-Account Placement
      • Flatten First
      • Require Market Position
      • Max Positions
      • Bracket Orders
      • Percentage and Tick Prices
      • Limit Order Timeouts
      • Trading Window
      • Bypass Trade Windows
      • Delay Timer
      • Rate-Limiting
      • Alert Commenting
      • Kill Switch
      • Notes
    • Examples & Use Cases
    • Troubleshooting
  • Account Manager
    • Overview
      • How It Works
      • Dashboard
      • Global Settings
      • Frequently Asked Questions (FAQ)
    • Monitors
      • Profit/Loss Thresholds
      • Minimum Profit Drawdown
      • Trailing Drawdown
      • Advanced Usage
    • Account Settings
      • Auto-Flattening
      • Trading Windows
    • Management Logs
  • NinjaTrader
    • ATM Strategies
      • Creating ATM Template
    • Optimizing NinjaTrader Performance
    • Enabling Multi-Provider Mode
  • CrossTrade API
    • Overview
    • Authentication
    • Rate Limiting
    • Webhook Trading
    • Accounts
      • GET Accounts Summary
      • GET Accounts
      • GET Account
    • Positions
      • GET Positions
      • GET Position
      • POST Close Position
      • POST Reverse
      • POST Reverse Position
      • POST Flatten Positions
      • POST Flatten Everything
    • Orders
      • GET Orders
      • GET Order
      • GET Order Status
      • POST Cancel Order
      • POST Cancel Orders
      • POST Cancel All Orders
      • POST Place Order
      • POST Flat Place Order
      • POST Replace Order
      • PUT Change Order
    • Strategies
      • GET Strategies
      • GET Strategy
      • POST Close Strategy
    • Executions
      • GET Executions
      • GET Execution
    • Quotes
      • GET Quote
  • Changelog
    • XT Versions
    • All Updates
  • Affiliate Program
    • Media Kit
  • Social Links
    • Discord
    • TradingView
    • YouTube
    • X (Twitter)
    • Instagram
    • Facebook
    • Reddit
    • Website
    • Blog
Powered by GitBook
On this page
  • Step-by-Step Guide
  • Video Example 1 - Multiple Targets
  • Video Example 2 - No Profit Target with Trailing Stop
  • Using ATM Strategy Templates with CrossTrade
  1. NinjaTrader
  2. ATM Strategies

Creating ATM Template

Step-by-step guide on how to create your first ATM Strategy Template

PreviousATM StrategiesNextOptimizing NinjaTrader Performance

Last updated 5 months ago

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.

  1. Define Parameters:

  • Stop Loss: Set at 10 ticks.

  • Profit Target: Set at 20 ticks.

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

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.

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.

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-24;
action=BUY;
qty=1;
order_type=MARKET;
tif=DAY;
flatten_first=true;
strategy=your-atm-template;

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

NinjaTrader video tutorial on creating multiple stop and target ATM strategies
Video tutorial from NinjaTrader - Configure an Automatic Trailing Stop
create a new ATM template
Provide order quantity, stop, and target values
Save your template
Load your template into ChartTrader or SuperDom