Every signal sent to Trade Wzrd contains an action (also called a command). This page documents every action, its parameters, and platform-specific behavior.
Open Actions
BUY
Open a long position at market price.
Parameters: VOL or RISK (required), SL, TP, TPSLTYPE, MAGIC, COMMENT
Futures: Use TPSLTYPE=TICKS for tick-based SL/TP. MAGIC and COMMENT are not supported on Tradovate/NinjaTrader.
SELL
Open a short position at market price. Same parameters as BUY.
Pending Order Actions
BUYLIMIT / SELLLIMIT / BUYSTOP / SELLSTOP
Place a pending order at a specified price. Requires PRICE parameter.
Note: Pending order signals (BUYLIMIT, SELLLIMIT, BUYSTOP, SELLSTOP) are not yet supported on Tradovate/NinjaTrader via automation. You can still place pending orders manually in the terminal.
Bracket Actions (Futures)
BRACKET
Open a position with SL and TP attached as bracket orders (OSO - Order Sends Order). On forex platforms, this behaves identically to BUY/SELL with SL/TP. On futures platforms (Tradovate/NinjaTrader), SL and TP are placed as separate bracket orders when the entry fills.
Parameters: VOL or RISK (required), SL, TP, TPSLTYPE (use TICKS for futures)
Behavior:
- Entry order is placed
- When entry fills, SL bracket order is placed
- When entry fills, TP bracket order is placed
- If SL or TP is hit, the other is automatically cancelled (OSO)
- On full close via CLOSE command, all remaining brackets are cancelled
REMOVE_SL
Remove the stop loss bracket order from a futures position. Tradovate/NinjaTrader only.
Behavior: Cancels the SL bracket order. The TP bracket order remains active. On forex platforms, this action is not applicable (SL is an order field, not a separate order).
REMOVE_TP
Remove the take profit bracket order from a futures position. Tradovate/NinjaTrader only.
Behavior: Cancels the TP bracket order. The SL bracket order remains active. On forex platforms, this action is not applicable.
To remove both SL and TP on a futures position:
Modify Actions
MODIFY
Update stop loss and/or take profit on an existing trade. At least one of SL or TP is required.
Futures: On Tradovate/NinjaTrader, MODIFY updates the SL/TP bracket orders attached to the position.
Filters: Use TICKET to target a specific position, or MAGIC to target positions with a specific magic number.
Aliases: MODIFYORDER
Close Actions
CLOSE
Close a trade. Behavior depends on parameters:
Futures: On Tradovate/NinjaTrader:
- Full close automatically cancels all remaining bracket orders (SL/TP)
- Partial close reduces volume but keeps bracket orders attached
Aliases: CLOSEORDER
CLOSEALL
Close all positions for a symbol with optional filters.
Futures: On Tradovate/NinjaTrader, CLOSEALL also cancels all pending bracket orders.
Aliases: CLOSEALLORDERS
LAYER_CLOSE
Close multiple trades to match a target volume. Requires VOL (must be > 0).
Closes enough trades to total the target volume. Useful for managing multiple positions across the same symbol.
Aliases: LAYERCLOSE, LAYER
Utility Actions
BREAKEVEN
Move stop loss to entry price with an optional offset. Defaults to OFFSET=0 (SL moved exactly to entry).
Forex: Offset is in price units. OFFSET=0.0010 moves SL 10 pips in profit direction from entry.
Futures: Offset is in ticks. OFFSET=4 moves SL 4 ticks in profit direction from entry. OFFSET=0 moves SL to entry price.
Aliases: BE
CANCEL
Cancel a pending order. Only works on pending orders (limit/stop). Use CLOSE for open positions.
Filters: TICKET for a specific order, MAGIC for orders with a specific magic number, SIDE for direction.
Aliases: CANCELORDER, DELETE, DELETEORDER
