Tradovate command cheat sheet
This page lists every Tradovate order you can place from an Autoview alert, with a copy-ready command for each one. It assumes you already know the shape of an Autoview command. If you don't, read the command reference first, then come back here for the Tradovate specifics: the contract symbols, the order types Tradovate accepts, and the bracket form that trips most people up. For the full parameter-by-parameter detail behind these lines, see the Tradovate command reference.
Every command below was emitted by our own command builder and then fired against Tradovate Simulation before it went on this page. The values you see are the values the platform resolved. Nothing here is hand-typed or assumed.
Sim first, then live
The examples use e=TRADOVATESIM, which routes to your Tradovate Simulation account. That's the safe place to learn: fake money, real fills, same command. When a command does what you expect on Simulation, swap one token to go live.
e=TRADOVATESIMsends to Tradovate Simulation.e=TRADOVATEsends to your live Tradovate account.
Nothing else in the command changes. Same symbol, same side, same size. Prove it on Simulation, then change TRADOVATESIM to TRADOVATE when you trust it.
Name the contract
s= is the contract, written in Tradovate's notation: the product code, the month letter, and the year digit. s=ESM6 is the E-mini S&P 500 for June 2026. s=NQU6 is the E-mini Nasdaq for September 2026. The month letters follow the standard futures calendar (H is March, M is June, U is September, Z is December, and so on).
Autoview passes the symbol through exactly as you type it. A contract that has rolled or expired is rejected by Tradovate, not by us, so check the live contract on your Tradovate ticket when a symbol does nothing.
The order types
Pick a row, copy the command, change the symbol and size to yours. t= sets the order type and defaults to limit, so market, stop, and trailing orders set it explicitly.
| Order | Command |
|---|---|
| Market | e=TRADOVATESIM s=ESM6 b=buy t=market q=1 |
| Limit | e=TRADOVATESIM s=ESM6 b=buy t=limit fp=5000 q=1 |
| Stop (market) | e=TRADOVATESIM s=ESM6 b=buy t=market fpx=5010 q=1 |
| Stop limit | e=TRADOVATESIM s=ESM6 b=buy t=limit fp=5010 fpx=5005 q=1 |
| Fill or kill | e=TRADOVATESIM s=ESM6 b=buy t=fok fp=5000 q=1 |
| Immediate or cancel | e=TRADOVATESIM s=ESM6 b=buy t=ioc fp=5000 q=1 |
| Trailing stop | e=TRADOVATESIM s=ESM6 b=buy t=market fts=10 q=1 |
A few notes on the price parameters, because the prefix matters:
fp=is the fixed limit price: the price the order rests at.fpx=is the fixed trigger price: the price a stop arms at. A stop order ist=marketplus anfpx=trigger, not at=of its own.fts=is the fixed trailing distance: how far the stop follows the market.
The f in front means a fixed, absolute number. Drop the f and the same parameter becomes a relative offset instead, which is covered two sections down.
Size in contracts
q= is the quantity. On Tradovate that's a whole number of contracts.
q=1is one contract.q=50%uses half your account balance, sized to contracts at fill time.
Leave q= off and Autoview uses 100% of the balance. On a Simulation account that worked out to nine contracts in our test. Set the size you mean on every order. This is the cheapest mistake to avoid and the easiest one to make.
Brackets: one section, not two
A bracket is an entry with a stop loss and a take profit attached, so the trade protects itself the moment it fills. On Tradovate you write it as the entry, an &, then both targets together:
e=TRADOVATESIM s=ESM6 b=buy t=market q=1 price={{close}} & sl=10 tp=20That is one correct bracket. The stop loss sits 10 points below the fill, the take profit 20 points above, and whichever the market reaches first closes the trade and cancels the other.
Keep the stop and the target in the same section. Splitting them into two & sections is the single most common Tradovate mistake:
& sl=10 & tp=20 (two sections) is wrong. It creates two separate half-brackets instead of one, and they don't protect each other the way you expect. One &, both values, one section.
The numbers are point distances from your fill, and Autoview applies the direction for you: on a buy the take profit goes above and the stop goes below. Flip to b=sell and it flips with you. To attach a stop or target to a position you already hold, rather than build a bracket at entry, use the parameters in stops, targets, and trailing instead.
Relative prices need a reference
Every price above is absolute: fp=5000 means the number 5000. You can also price an order relative to the candle that fired the alert, which is the usual TradingView pattern. For that you give Autoview a reference price with price=, then offset from it:
e=TRADOVATESIM s=ESM6 b=buy t=limit price={{close}} p=-5 q=1price={{close}} hands Autoview the candle's close, and p=-5 rests the limit five points under it. Drop the f from any price parameter to make it relative this way: p= instead of fp=, px= instead of fpx=.
Brackets and relative prices both need that price= reference. Without it, Tradovate looks up a live quote, and a plain Simulation account has no market-data feed to answer with. The lookup fails with "Ticker is not available." Supplying price={{close}} skips the lookup entirely, which is why the bracket example carries it.
Closing out
One parameter flattens everything on a symbol:
e=TRADOVATESIM s=ESM6 c=allc=all closes the open position and cancels any working orders on that contract. We checked: after a live bracket, one c=all left no open position and no orphan orders behind. Use it as your panic button and as the clean end to a test run. If you want to be narrower, c=position closes the position but leaves resting orders, and c=order cancels resting orders but leaves the position.
Test before you go live
Append d=1 to any command and Autoview parses it, reports what it would have done, and places nothing:
e=TRADOVATESIM s=ESM6 b=buy t=market q=1 d=1That is the safest first run for a command you've just written. Read the log, confirm the symbol, side, and size are what you meant, then drop d=1 and let it fill on Simulation. Once it behaves there, swap e=TRADOVATESIM for e=TRADOVATE and it trades your live account. For more on reading the log and dry-running, see test and debug your setup.