Order Entry
The order entry system in TestMax replicates the order types and execution behavior of real futures and forex trading platforms. Understanding each order type and how fills work is essential for building proper trading habits.
Order types
TestMax supports four order types — Market, Limit, Stop, and Stop Limit — each with distinct behavior and use cases. You can attach a stop loss and take profit (a bracket) to any of them.
Market orders
A market order executes immediately at the best available price. In TestMax, this means the last replayed price: the close of the latest bar. No bid-ask spread is modeled, so buys and sells fill at the same price.
When to use: When you need to enter or exit a position right now and don’t want to risk missing the move. Market orders fill immediately, but the exact price can vary.
Execution behavior:
- Buy and sell market orders both fill at the last replayed price (the latest bar’s close)
- Fills are instantaneous — the position appears immediately
Keyboard shortcut: Press B for buy market, S for sell market.
Limit orders
A limit order is an instruction to buy or sell at a specific price or better. Limit orders are not executed immediately — they sit as pending orders until the market reaches your price.
When to use: When you want to enter at a specific price, typically on a pullback. Limit orders give you price control, but the market may never reach your price.
Execution behavior:
- Buy limit: Set below the current price. Fills when the market trades at or below your limit price.
- Sell limit: Set above the current price. Fills when the market trades at or above your limit price.
- Orders are evaluated against each replayed bar of your chart timeframe — its open, high and low — so a finer chart timeframe gives finer fills.
Example: NQ is trading at 15,250. You believe it will pull back to 15,230 before continuing up. You place a buy limit at 15,230. If the price drops to 15,230 (or below) during the replay, your order fills. If the price never reaches 15,230, the order remains pending.
Stop orders
A stop order triggers a market order when the price reaches a specified level. Stops are commonly used for two purposes: protecting against losses (stop loss) and entering on breakouts (stop entry).
When to use:
- Stop loss — To automatically close a position if the price moves against you past a threshold
- Breakout entry — To enter a position when the price breaks through a key level
Execution behavior:
- Buy stop: Set above the current price. When the market trades at or above your stop price, a market buy order is triggered.
- Sell stop: Set below the current price. When the market trades at or below your stop price, a market sell order is triggered.
- Once triggered, the stop becomes a market order and fills at the next available price.
Example: NQ is trading at 15,250. You place a buy stop at 15,270, anticipating a breakout above resistance. When the price reaches 15,270, your buy stop triggers and you enter long at market.
Stop-limit orders
A stop-limit order has two prices: a trigger price and a limit price. When the market reaches the trigger, the order becomes a limit order at your limit price instead of a market order.
When to use: When you want to enter on a breakout but do not want to chase price past a set level.
Execution behavior:
- Buy stop-limit: Set the trigger at or above the current price. When the market trades at or above the trigger, a buy limit at your limit price starts working.
- Sell stop-limit: Set the trigger at or below the current price. When the market trades at or below the trigger, a sell limit at your limit price starts working.
- If the bar that triggers the order also reaches your limit price, the order fills on that bar. Otherwise it rests as a limit order until price comes back to it, and it may never fill.
Brackets: stop loss and take profit
Any order type can carry a stop loss (SL) and take profit (TP). Together they form a bracket around your entry. When the entry fills, both the SL and TP orders are automatically placed. When one side fills, the other is automatically canceled (OCO — one-cancels-other).
When to use: When you want to define your risk and reward before entering the trade. Brackets enforce discipline by removing the temptation to move your stop or change your target mid-trade.
Execution behavior:
- The entry can be any of the four order types: a market entry fills immediately, and a limit, stop, or stop-limit entry fills when its price is reached
- Once the entry fills, the SL and TP orders become active
- If price hits the stop loss first, the position is closed and the take profit order is canceled
- If price hits the take profit first, the position is closed and the stop loss order is canceled
Placing orders
Using the order panel
-
Choose a side
Click BUY Long or SELL Short at the top of the order ticket.
-
Set the quantity
Enter the number of contracts in the quantity field. The default is 1. This quantity applies to both panel orders and keyboard shortcuts.
-
Select the order type
Choose MKT (Market), LMT (Limit), STP (Stop), or STP LMT (Stop Limit) in the order type selector.
-
Enter price levels
- Market orders — No price input needed
- Limit orders — Enter your desired fill price
- Stop orders — Enter your trigger price
- Stop-limit orders — Enter the trigger price and the limit price
- Stop loss and take profit — Optional on any order type. Enter them as prices, or switch to tick or point offsets from the entry
-
Submit the order
Click the PLACE button, which names the side, order type, quantity, and instrument. Market orders execute immediately. Limit, stop, and stop-limit entries become pending orders visible in the pending orders list.
Using keyboard shortcuts
For the fastest execution, use keyboard shortcuts:
| Key | Action |
|---|---|
| B | Buy at market for the configured quantity |
| S | Sell at market for the configured quantity |
| F | Flatten all open positions at market |
Keyboard shortcuts always place market orders using the quantity set in the order panel.
Order management
Viewing pending orders
Pending orders (limit, stop, and stop-limit entries, plus the SL and TP of open positions) are displayed in the Pending Orders list below the order ticket. Each pending order shows:
- Order type and side (Buy/Sell)
- Quantity
- Price level
- Status (Pending)
Pending orders are also displayed on the chart as horizontal lines at the order price, making it easy to see where your orders sit relative to current price action.
Modifying orders
To change a pending order’s price, drag its line on the chart to the new level and confirm the change. The quantity of a pending order cannot be edited: to change it, cancel the order and place a new one.
Canceling orders
To cancel a pending order, click the cancel (X) button next to the order in the pending orders list. Canceled orders are removed immediately and do not execute.
Order fill mechanics
Understanding how TestMax fills orders helps you set realistic expectations outside the simulator.
How orders are evaluated
Orders are evaluated against the candles of your chart timeframe — each candle’s open, high and low, nothing finer. This means:
- A limit order fills on a wick that barely reaches your price, even if the candle body never gets there
- A stop order triggers when a candle’s high or low reaches it, and fills at the candle’s open if the candle opens through the level
- Bracket SL/TP levels are evaluated on every candle, so a finer chart timeframe gives finer exits
Fill assumptions
TestMax makes several simplifying assumptions for fills:
| Aspect | TestMax Behavior | Live Market Reality |
|---|---|---|
| Liquidity | All orders fill completely | Large orders may partially fill or move the market |
| Slippage | No slippage on limit orders | Limit orders may not fill if there is no matching liquidity |
| Market impact | None | Your order can move the market, especially in thin markets |
| Queue position | Not modeled | Limit orders at popular levels may not fill even if price touches the level |
Bracket order strategies
Bracket orders are versatile. Here are common configurations:
Risk: 4-8 ticks | Reward: 4-8 ticks | Ratio: 1:1
For quick in-and-out trades. Sets a tight stop and target for small, frequent gains. Requires high accuracy to be profitable.
Example on NQ: Buy at 15,250. Stop loss at 15,248 (8 ticks / $40). Take profit at 15,252 (8 ticks / $40).
Risk: 10-20 ticks | Reward: 20-40 ticks | Ratio: 1:2
Standard day trading bracket. Gives the trade room to breathe while targeting a reward that is double the risk.
Example on NQ: Buy at 15,250. Stop loss at 15,246 (16 ticks / $80). Take profit at 15,258 (32 ticks / $160).
Risk: 40-100 ticks | Reward: 80-300 ticks | Ratio: 1:2 to 1:3
For larger moves over multiple hours or sessions. Wide stops allow for noise while targeting significant price movements.
Example on NQ: Buy at 15,250. Stop loss at 15,230 (80 ticks / $400). Take profit at 15,290 (160 ticks / $800).
Common mistakes to avoid
Entering without a stop loss
Even in a simulator, practicing without stop losses builds bad habits. Always define your risk before entering a trade, either through a bracket order or a manually placed stop.
Using market orders for everything
Market orders are convenient, but limit orders help you practice patience and precision. Try using limit orders for entries at pullback levels instead of chasing price with market orders.
Ignoring the spread
TestMax does not model the bid-ask spread: market orders fill at the last replayed price. In live futures, the spread is usually 1 tick for liquid contracts (NQ, ES), and a market buy fills at the ask while a market sell fills at the bid. This means you start every live trade about 1 tick in the red. Over many trades, this cost adds up — factor it into your expected P&L.
Moving stops
If you find yourself repeatedly moving your stop loss further away to avoid being stopped out, you are eroding your risk management discipline. Let the bracket order do its job. If your stops are being hit too often, the issue is likely your entry criteria, not your stop placement.