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
  1. Webhooks

Advanced Options

Special abilities we've built to enhance NinjaTrader's core command functionality.

PreviousClose StrategyNextMulti-Account Placement

Last updated 2 months ago

CrossTrade has added several enhancements to make trading with NinjaTrader even more efficient and customizable.

  • : Separate the account names with commas and send one alert to as many accounts as you want.

  • : This option ensures that any open positions are flattened before submitting a new buy/sell order. This saves time and ensures no overlapping positions when switching trades.

  • : Block alerts where the market position (long, short, flat) of the position doesn't match.

  • : Only allow alerts where an opening order won't exceed the max positions allowed in account.

  • : Define levels in your orders for precise risk management. These values are numeric and create automatic opposing orders.

  • : Specify any price level as a number price or, alternatively, as a % of the underlying price or number of ticks from the underlying price.

  • : Cancel a limit order after X minutes if not filled

  • : Set an alert-level trading window (start, end, and closing only times) in addition to or instead of the Global trading window on the XT Control Panel.

  • : Override and bypass all Global, Alert & Account-level trade windows

  • : Specify a delay timer for the alert up to 60 seconds.

  • : Set a rate limit to prevent too many alerts from executing in a short period. You can specify an ID to group related requests and set how frequently they can be processed.

  • : Use comments in your alerts by placing // at the beginning of any line. Comments are ignored during execution, making it easy to annotate or provide context without disrupting the command flow.

  • : Turn the Master Kill Switch on/off through webhooks

  • : Write notes inside an alert that will show on Activity and Alert History logs

Multi-Account Placement
Flatten First
Require Market Positions
Max Positions
Take Profit and Stop Loss
Percentage and Tick Price Levels
Limit Order Timeouts
Trading Window
Bypass Trade Windows
Delay Timer
Rate Limiting
Alert Commenting
Kill Switch
Notes