HomeResources › Pine Script ES Futures Strategy

Pine Script ES Futures Strategy for Prop Firms

Updated May 2026 · ~8 min read

ES (S&P 500 e-mini) and MES (micro S&P 500) are the most liquid futures contracts in the world. For prop firm traders, they offer tighter bid/ask spreads, more predictable intraday patterns, and less gap risk than NQ. A well-tuned Pine Script ES strategy can pass most evaluations with a lower failure rate than equivalent NQ strategies — but only if you respect how ES trades differently.

ES vs MES: which to trade on eval

ContractTick Value1-Point ValueTypical Daily Range
ES$12.50$5040-80 pts ($2,000–$4,000)
MES$1.25$540-80 pts ($200–$400)

MES is 1/10 the size of ES. For prop firm evaluations — where every dollar of drawdown matters — MES is the correct starting vehicle. A 30-point adverse move on 1 MES costs $150. The same move on 1 ES costs $1,500, which can blow a trailing drawdown in a single bad trade.

Always start ES strategies on MES during the evaluation. Once funded and proven, you can scale to ES or run a higher MES contract count with a proven performance record.

How ES behaves differently than NQ

ES moves more slowly and predictably than NQ. This has specific implications for your Pine Script strategy:

Best session windows for ES strategies

Unlike NQ — where you should restrict to the first 90 minutes of RTH — ES is tradeable across a broader window:

Pine Script rules for ES prop firm evals

1. Proportional ATR stops

Use ta.atr(14) as your stop baseline. For ES on a 5-minute chart, a 0.75x ATR stop is appropriate — this is typically 3-6 points depending on the day's volatility. Never use a fixed-tick stop that doesn't adjust to daily range.

2. Time-based session gating

Your script should have a session variable: inSession = (hour >= 9 and minute >= 30 and hour < 15) or (hour == 15 and minute <= 15). No new entries outside this window. The afternoon window can be toggled off for more conservative configurations.

3. Daily loss kill switch

Same requirement as NQ — once daily realized + unrealized losses reach 40% of your trailing drawdown limit, stop new entries. For a $50k account with a $2,500 trail, that's $1,000. The math: one bad ES morning could take a $750 loss before your stop triggers at 15 points on 1 MES; three of those in sequence means you're done for the day regardless of remaining session.

4. Breakeven stop management

ES's smoother price action makes breakeven stops more reliable than on NQ. Once a position goes 1R in your favor, move the stop to entry. ES trends far enough that you'll let winners run from a protected position, without getting stopped out by whipsaw as frequently as NQ would cause.

Top ES setups for prop firm conditions

Opening range breakout (ORB)

Define the first 15 or 30 minutes of RTH as the opening range. When ES breaks above the range high (or below the low) with a confirmed bar close, enter in the breakout direction. Stop inside the range. Target 2x the range width. ES ORB setups have among the best backtested win rates for morning sessions.

VWAP reclaim

ES respects VWAP better than almost any other instrument. The VWAP reclaim setup — close below, then close back above — works throughout the morning session and often into early afternoon. See our VWAP Pine Script strategy guide for full implementation details.

Failed breakdown reversal

ES often fakes below support before reversing. When price breaks a key level (prior day low, VWAP, a pivot) but closes back above it within 1-2 bars, this failed breakdown is a high-probability long entry. Stop below the failed breakdown candle low.

MES sizing for different eval sizes

Account SizeTypical TrailConservative MES CountNotes
25k$1,5001-2 MES$375 risk per $150 stop = 25% of trail
50k$2,5002-4 MESScale up after 5 profitable days
100k$3,000–$4,5004-8 MESGradually scale, don't jump to max
150k$5,0006-12 MESProve edge before scaling

ES and MES Pine Script strategies built for prop firm rules.

Session filters, ATR stops, and daily kill switches built in. Works on Apex, Topstep, TradeDay, and more.

View Plans