SuperTrend Pine Script for Prop Firm Evaluations

SuperTrend is one of TradingView's most-installed indicators because it removes interpretation: one line, one flip, one signal. Our Pine Script wraps that simplicity in a prop-firm-ready shell — fixed risk, bar-close entries, and a daily kill switch that keeps one rough session from ending an evaluation.

What makes SuperTrend work for prop firm evals

SuperTrend is an ATR-based trailing indicator. It measures recent volatility with the Average True Range, then plots a band a multiple of that ATR away from price. Whenever a bar closes on the opposite side of the band, the indicator flips — long becomes short, short becomes long. That flip is the entire signal.

For prop firm accounts, that simplicity is an advantage rather than a shortcoming. Most evaluations aren't lost to a bad strategy — they're lost to overtrading: six marginal setups taken in a session when two would have done the job, or a re-entry fired the moment a stop-out no longer qualifies as a real setup. SuperTrend can't do that. There is either a valid long or a valid short, never both, and the script waits for the next flip once a position is closed.

How the strategy is built for prop firm rules

A raw SuperTrend indicator isn't evaluation-ready by itself. Our Pine Script adds four layers on top of the base flip logic to make it viable on any major futures evaluation:

Fixed Dollar Stop

Stop-loss is coded as a dollar amount per trade, not a raw band level, so risk per trade is known before the signal fires.

Bar-Close Entry Only

Entries trigger on a confirmed bar close, never on intrabar movement — what the backtest shows is what executes live.

Daily Kill Switch

Once cumulative session losses hit a configurable threshold (default 80% of the firm daily limit), no new entries fire for the rest of the day.

RTH Session Filter

An optional Regular Trading Hours filter restricts signals to the cash session, cutting overnight noise and thin-market false flips.

The flip condition itself is generic and easy to reason about — a simplified version looks like this:

Pine Script
//@version=5
strategy("SuperTrend Flip — Illustration", overlay=true,
     calc_on_every_tick=false, process_orders_on_close=true)

atrLen   = input.int(10, "ATR Length")
mult     = input.float(2.5, "ATR Multiplier")
riskUsd  = input.float(150, "Fixed Risk per Trade ($)")

[_, direction] = ta.supertrend(mult, atrLen)
longSignal  = direction < 0 and direction[1] > 0
shortSignal = direction > 0 and direction[1] < 0

if longSignal
    strategy.entry("Long", strategy.long)
if shortSignal
    strategy.entry("Short", strategy.short)

// Dollar-based stop sizing is computed separately from the flip level
// so per-trade risk stays fixed regardless of how wide the ATR band is.

Recommended settings by instrument and timeframe

The default SuperTrend inputs (ATR 10, multiplier 3.0) are tuned for daily charts and need adjusting for the intraday timeframes most prop firm traders actually use. Starting points we recommend:

InstrumentTimeframeATR LengthMultiplierStop Method
MES / ES5-min142.5Fixed $50–$100 per MES contract
MNQ / NQ5-min142.5Fixed $30–$60 per MNQ contract
MES / ES15-min103.0Fixed $75–$150 per MES contract
MNQ / NQ15-min103.0Fixed $50–$100 per MNQ contract

The setup guide included with every purchase walks through tuning these per firm and account size.

Which firms and account sizes fit SuperTrend best

Firm Account Size Why It Fits
Topstep 50k (MES) / 100k (ES) EOD trailing drawdown tolerates the wide intraday swings a SuperTrend flip can produce before it closes profitably — the peak doesn't count against the floor.
MyFundedFutures 50k (MNQ) / 100k (NQ) Static drawdown never moves, so a steady run of SuperTrend flips builds equity without the floor creeping up behind you.
Apex Trader Funding 50k (MNQ) / 150k (NQ) Intraday trailing threshold rewards fixed-target exits that step equity up cleanly instead of trailing out and giving the floor a free ride.
Tradeify (Growth path) 50k (MES/MNQ) EOD trailing drawdown — same benefit as Topstep. No hard daily loss limit lets SuperTrend's wider ATR stops breathe.

SuperTrend vs other strategies — what to expect

SuperTrend is a trend-following strategy. It performs best in sessions with a clear directional bias — the early New York open and the afternoon continuation window — and produces more scratch trades during choppy midday chop. The optional RTH filter defaults to the higher-probability windows and can be widened or narrowed to taste.

Performance characteristics

Win rate
Average R:R (winners)
Avg. trades per session
Max consecutive losses observed

Backtest figures for this configuration will replace the placeholders above once a verified TradingView Strategy Tester run is complete.

Common SuperTrend mistakes on prop firm accounts

SuperTrend is easy to add to a chart but frequently misconfigured for a prop firm environment. Three mistakes cause the most silent compliance failures:

  1. Calculating on every tick instead of bar close. The default indicator updates live; a strategy left in that mode fires entries mid-bar, which backtests fine but behaves differently once live. Our script forces bar-close-only evaluation for this reason.
  2. No daily kill switch. A SuperTrend script in a ranging market can produce several whipsaw stop-outs in one session. Without a halt, a choppy Wednesday can approach a daily limit before lunch.
  3. An ATR multiplier that doesn't match the timeframe. Too tight on a 1-minute chart produces dozens of micro-flips; too wide on a 5-minute chart produces almost none. The included setup guide covers workable ranges per instrument and timeframe.

Reading a signal in the context of prop firm risk

Not every flip is worth taking mid-evaluation — the eval phase carries risk constraints the funded phase doesn't. Higher-probability setups tend to share these traits:

  • The flip fires in the first half of the RTH session, when volume and trend quality are both at their best.
  • Direction agrees with the session's opening bias — a long flip above the opening print and above VWAP carries more weight than one fired into overhead resistance.
  • The daily loss buffer is still mostly intact. The kill switch enforces the hard limit, but good execution means sizing down as that buffer shrinks, not waiting for the switch to trip.
  • No major economic release is due in the next half hour. High-impact prints move price in ways that don't respect a SuperTrend stop; a news blackout filter pauses entries around scheduled events.

Past performance of any strategy configuration does not guarantee future results. All prop firm evaluations carry real risk — size positions to your account's daily loss limit.

Get the SuperTrend Pine Script — built for prop firm evals.

Fixed risk, bar-close entries, a daily kill switch, and TradersPost webhook output. Pine Script plus a setup guide, invite-only on TradingView within 24 hours.

Frequently asked questions

What is a SuperTrend Pine Script strategy?
SuperTrend is an ATR-based trailing band: it plots a line above or below price and flips sides whenever price closes through it, giving one unambiguous long/short signal per direction change. A Pine Script strategy wraps that flip in bar-close confirmation, a fixed dollar stop, and alert conditions so the signal can be routed to an execution broker like TradersPost instead of traded by hand.
Is SuperTrend good for prop firm evaluations?
Yes. Because SuperTrend only fires on a direction change, it naturally avoids the overtrading that breaches most daily loss limits. Its stop distance scales with ATR, so the same logic can be tuned for a tight MES/MNQ evaluation or a wider ES/NQ account without rebuilding the strategy.
Can I automate a SuperTrend Pine Script on a prop firm account?
Yes — a TradingView alert on the strategy fires a webhook to an execution bridge such as TradersPost, which places the order in your Tradovate, Rithmic, or MT4/MT5-connected account. Automation is permitted on the evaluation at every major futures prop firm; always check the specific funded-account automation policy before wiring a webhook to a live account.
What's the difference between Starter and Pro for a SuperTrend strategy?
The Starter plan delivers SuperTrend sized for micro contracts (MES, MNQ) on 50k accounts. The Pro plan covers full-size contracts (ES, NQ) for 100k–150k accounts. The Custom plan lets you specify your own ATR length, multiplier, and stop rules built to your own numbers.