Blog

Good Till Expiry vs Good for Day: What Traders Need to Know

Order-type behaviour at the end of the session looks like a minor detail until your pending stop is gone the next morning. Here is what GTC, GTD, and GFD actually do.

By PropVPS Editorial5 min read
On this page

The four common order-duration types

Most brokers expose four pending-order durations. Day (GFD — Good For Day): expires at session close. GTC (Good Till Cancelled): persists until you cancel it. GTD (Good Till Date): expires at a specific timestamp you set. IOC (Immediate-Or-Cancel): fill immediately or cancel — used for limit-on-close logic, not for pending orders.

The practical danger is mixing them up. A GFD limit order on a futures position expires at 16:00 CT; if you intended it to be GTC you wake up with no pending exit. A GTD set with the wrong timezone expires hours earlier than expected. A GTC order on a contract that rolls (e.g. ES → ESM26) becomes meaningless after roll because the contract specifier changes.

How MT4 and MT5 handle order duration

MT4 has a simpler model: pending orders are persistent until cancelled, with an optional Expiration field that effectively makes them GTD. There is no broker-side Day order concept in standard MT4.

MT5 supports four order durations natively: Good Till Cancel, Today, Specified, and Specified Day. The MetaTrader 5 docs list the exact semantics. Brokers may extend this with custom durations.

For expert advisors the difference matters when your EA places a pending stop on Friday evening. Without an explicit GTC flag the order may not survive the weekly close depending on broker policy.

NinjaTrader and futures-specific behaviour

NinjaTrader exposes Day and GTC as the primary durations for futures pending orders. The catch: many futures brokers (Rithmic, CQG, Continuum) auto-cancel pending orders at session close even when you submit them as GTC if their server-side policy is set that way. Always confirm with your broker whether GTC means "until I cancel it" or "until the next session boundary".

Why this matters for VPS hosting

A VPS does not change order-duration semantics — the broker decides what GTC means, not your platform. But a VPS prevents an entire class of related bug: pending orders that get cancelled because your home connection dropped during a reconnect. On a VPS the platform stays connected continuously, so the broker never sees an unexpected disconnect-driven cancellation.

References & sources

  1. [1]MetaTrader 5 supports four pending-order duration types: Good Till Cancel, Today, Specified, and Specified Day. MetaTrader 5 order types documentation
FAQ

Frequently Asked Questions

Got questions? We've got answers. If you can't find what you're looking for, our support team is here to help 24/7.

What is the difference between GTC and GTD?

GTC (Good Till Cancelled) persists until you cancel the order. GTD (Good Till Date) auto-cancels at a specific date and time you choose. GTC is open-ended; GTD has an explicit expiration.

Will my pending order survive over the weekend?

It depends on the broker. Most forex brokers honour GTC over the weekend close. Most futures brokers cancel pending orders at the session boundary regardless of GTC flag. Confirm with your broker before relying on a Friday pending order to fire Monday.

Ready for Zero-Glitch Execution?

Join prop traders who trust PropVPS for institutional-grade infrastructure. Intel Xeon powered. Setup in 5 minutes.

7-day money-back guarantee • Powered by Intel Xeon • 99.99% Uptime