Reference
Actions
Detailed reference for every Trade Wzrd signal action with syntax, parameters, behavior, and examples for forex and futures platforms.
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
BUY,EURUSD,VOL=0.01,SL=100,TP=200,TPSLTYPE=PIPSBUY,XAUUSD,VOL=0.1,SL=2050,TP=1980BUY,ES,VOL=2,SL=4,TP=10,TPSLTYPE=TICKSBUY,BTCUSD,RISK=1,SL=500Futures: Use TPSLTYPE=TICKS for tick-based SL/TP. MAGIC and COMMENT are not supported on Tradovate/NinjaTrader/Rithmic.
SELL
Open a short position at market price. Same parameters as BUY.
SELL,EURUSD,VOL=0.01,SL=100,TP=200,TPSLTYPE=PIPSSELL,GBPUSD,VOL=0.05,SL=1.2500,TP=1.2300SELL,NQ,VOL=1,SL=8,TP=20,TPSLTYPE=TICKSPending Order Actions
BUYLIMIT / SELLLIMIT / BUYSTOP / SELLSTOP
Place a pending order at a specified price. Requires PRICE parameter.
| Action | Direction | Order Type |
|---|---|---|
BUYLIMIT | Buy | Limit (buy at price or lower) |
SELLLIMIT | Sell | Limit (sell at price or higher) |
BUYSTOP | Buy | Stop (buy when price rises to level) |
SELLSTOP | Sell | Stop (sell when price falls to level) |
BUYLIMIT,EURUSD,VOL=0.1,PRICE=1.0800,SL=1.0750,TP=1.0900SELLLIMIT,EURUSD,VOL=0.1,PRICE=1.1200,SL=1.1250,TP=1.1100BUYSTOP,XAUUSD,VOL=0.1,PRICE=2050.00,SL=2040,TP=2070,TPSLTYPE=PIPSSELLSTOP,XAUUSD,VOL=0.1,PRICE=2000.00,SL=2010,TP=1980,TPSLTYPE=PIPS> Note: Pending order signals (BUYLIMIT, SELLLIMIT, BUYSTOP, SELLSTOP) are not yet supported on any futures platform (Tradovate, NinjaTrader, Rithmic) 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/Rithmic), 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)
BRACKET,ES,VOL=2,SL=4,TP=10,TPSLTYPE=TICKSBRACKET,NQ,VOL=1,SL=8,TP=20,TPSLTYPE=TICKSBRACKET,MES,VOL=4,SL=4,TP=12,TPSLTYPE=TICKSBRACKET,ES,RISK=1,SL=6,TP=15,TPSLTYPE=TICKSBehavior:
- 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/Rithmic only.
REMOVE_SL,ESREMOVE_SL,ES,TICKET=12345Behavior: 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/Rithmic only.
REMOVE_TP,ESREMOVE_TP,ES,TICKET=12345Behavior: 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:
REMOVE_SL,ES;REMOVE_TP,ESModify Actions
MODIFY
Update stop loss and/or take profit on an existing trade. At least one of SL or TP is required.
MODIFY,EURUSD,SL=1.0850,TP=1.0950MODIFY,EURUSD,SL=50,TP=100,TPSLTYPE=PIPS,TICKET=12345MODIFY,EURUSD,MAGIC=12345,TP=1.1000MODIFY,ES,SL=6,TP=15,TPSLTYPE=TICKSFutures: On Tradovate/NinjaTrader/Rithmic, 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:
| Parameters | Behavior |
|---|---|
| None | Full close of all trades for the symbol |
TICKET=12345 | Close a specific position |
PERCENT=50 | Partial close (50% of position) |
PERCENT=100 | Full close (same as no parameter) |
VOL=0.05 | Layer close (mapped to LAYER_CLOSE) |
SIDE=BUY | Close only buy positions |
CLOSE,EURUSDCLOSE,EURUSD,TICKET=12345CLOSE,EURUSD,PERCENT=50CLOSE,EURUSD,VOL=0.05CLOSE,EURUSD,SIDE=BUYCLOSE,ESCLOSE,ES,PERCENT=50Futures: On Tradovate/NinjaTrader/Rithmic:
- 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.
CLOSEALL,XAUUSDCLOSEALL,XAUUSD,POSITIVE=trueCLOSEALL,XAUUSD,NEGATIVE=trueCLOSEALL,XAUUSD,PENDING=trueCLOSEALL,XAUUSD,POSITIONS=trueFutures: On Tradovate/NinjaTrader/Rithmic, CLOSEALL also cancels all pending bracket orders.
| Filter | Description |
|---|---|
POSITIVE=true | Only close profitable positions |
NEGATIVE=true | Only close losing positions |
PENDING=true | Only close pending orders |
POSITIONS=true | Only close open positions |
Aliases: CLOSEALLORDERS
LAYER_CLOSE
Close multiple trades to match a target volume. Requires VOL (must be > 0).
LAYER_CLOSE,EURUSD,VOL=0.05LAYER_CLOSE,EURUSD,VOL=0.03,SIDE=BUYLAYER_CLOSE,ES,VOL=1Closes 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).
BREAKEVEN,EURUSDBREAKEVEN,EURUSD,OFFSET=0.0010BREAKEVEN,EURUSD,TICKET=12345,OFFSET=0.0005BREAKEVEN,ES,OFFSET=4,TPSLTYPE=TICKSForex: 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.
CANCEL,EURUSDCANCEL,EURUSD,TICKET=12345CANCEL,EURUSD,SIDE=BUYFilters: TICKET for a specific order, MAGIC for orders with a specific magic number, SIDE for direction.
Aliases: CANCELORDER, DELETE, DELETEORDER
Platform Compatibility Matrix
| Action | MT4 | MT5 | TradeLocker | cTrader | DXTrade | Tradovate | NinjaTrader |
|---|---|---|---|---|---|---|---|
| BUY | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| SELL | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| BUYLIMIT | Yes | Yes | Yes | Yes | Yes | Terminal only | Terminal only |
| SELLLIMIT | Yes | Yes | Yes | Yes | Yes | Terminal only | Terminal only |
| BUYSTOP | Yes | Yes | Yes | Yes | Yes | Terminal only | Terminal only |
| SELLSTOP | Yes | Yes | Yes | Yes | Yes | Terminal only | Terminal only |
| BRACKET | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| REMOVE_SL | N/A | N/A | N/A | N/A | N/A | Yes | Yes |
| REMOVE_TP | N/A | N/A | N/A | N/A | N/A | Yes | Yes |
| MODIFY | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| CLOSE | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| CLOSEALL | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| BREAKEVEN | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| CANCEL | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| LAYER_CLOSE | Yes | Yes | Yes | Yes | No | Yes | Yes |
TPSLTYPE by Platform
| TPSLTYPE | Forex Platforms | Futures Platforms |
|---|---|---|
PRICE (default) | Yes | Yes |
PIPS | Yes | No |
TICKS | No | Yes |
BALANCE | Yes | No |
PERCENTAGE | Yes | No |







