Home › Scripts › SuperTrend Strategy
Pine Script Strategy
SuperTrend Pine Script for Prop Firm Evaluations
SuperTrend is TradingView's most-installed indicator for a reason: one clear signal, one clear stop, and no interpretation required. Our Pine Script builds a prop-firm-ready strategy around it — fixed risk, bar-close entries, and a daily kill switch that makes sure a bad session never becomes a fatal one.
What makes SuperTrend work for prop firm evals
SuperTrend is an ATR-based trailing indicator. It calculates a band above and below price based on the Average True Range — a measure of recent volatility — and then draws a stop line on whichever side price is trading. When price crosses the band, the signal flips. Long becomes short, short becomes long. That's the entire signal logic.
For prop firm trading, this simplicity is a feature, not a limitation. Most traders fail evals because they over-trade — taking six setups in a session when two would have been enough, or re-entering after a stop-out when the setup no longer qualifies. SuperTrend removes that problem entirely. There's either a valid long setup or a valid short setup. The Pine Script script fires the entry, manages the stop, exits at the target, and waits for the next signal. No decisions to make, no emotions to manage.
How the SuperTrend strategy is built for prop firm rules
The raw SuperTrend indicator is not prop-firm-ready out of the box. The Pine Script in our store adds four layers that make it viable on any major futures evaluation:
Fixed Dollar Stop
Stop-loss is coded as a dollar amount per trade — not a SuperTrend band level. Your risk per trade is known before the signal fires.
Bar-Close Entry Only
Entries trigger on confirmed bar close, not intrabar movement. What backtests is what executes — no repainting on wick touches.
Daily Kill Switch
If cumulative session losses hit a configurable threshold (default 80% of firm daily limit), no new entries fire for the rest of the day.
RTH Session Filter
Optional Regular Trading Hours filter restricts signals to 9:30 AM–4:00 PM ET. Eliminates overnight noise and thin-market false signals.
SuperTrend settings for futures prop firm accounts
Default SuperTrend settings (ATR 10, multiplier 3.0) work well for daily charts but need adjustment for the 5-minute and 15-minute intraday timeframes that most prop firm traders use. Recommended starting parameters:
| Instrument | Timeframe | ATR Length | Multiplier | Stop Method |
|---|---|---|---|---|
| MES / ES | 5-min | 14 | 2.5 | Fixed $50–$100 per MES contract |
| MNQ / NQ | 5-min | 14 | 2.5 | Fixed $30–$60 per MNQ contract |
| MES / ES | 15-min | 10 | 3.0 | Fixed $75–$150 per MES contract |
| MNQ / NQ | 15-min | 10 | 3.0 | Fixed $50–$100 per MNQ contract |
| NAS100 (FTMO) | 5-min | 14 | 2.5 | Fixed 0.5–1% of account per trade |
The PDF guide included with every purchase walks through parameter optimization for each firm and account size.
Which firms and account sizes does SuperTrend work best on?
| Firm | Why SuperTrend fits | Best account tier |
|---|---|---|
| Topstep | EOD trailing drawdown tolerates intraday swings — SuperTrend signals often have wide ATR-based moves before closing profitably. That intraday peak doesn't count against the floor. | 50k (MES) / 100k (ES) |
| MFFU | Static drawdown never moves — consistent SuperTrend setups across sessions steadily build equity without the floor creeping up on you. | 50k (MNQ) / 100k (NQ) |
| Apex | Works well with fixed-target exits that keep equity stepping up cleanly — respects the intraday trailing threshold. | 50k (MNQ) / 150k (NQ) |
| FTMO / NAS100 | ATR-based stops adapt to NAS100 volatility. Daily session filter avoids news-restricted windows. | $50k–$100k accounts |
| Tradeify | EOD trailing — same advantage as Topstep. Growth eval (no daily limit) lets SuperTrend's wider ATR stops breathe. | 50k (MES/MNQ) |
SuperTrend vs other prop firm strategies — what to expect
SuperTrend is a trend-following strategy. It performs strongest during sessions with directional bias — early NY open (9:30–11:30 AM ET) and afternoon continuation (1:30–3:00 PM ET). It will produce more scratch or losing trades during choppy midday conditions (11:30 AM–1:30 PM ET). The RTH session filter in the script defaults to the high-probability windows and can be adjusted.
Typical backtested characteristics on NQ (15-min, 2024–2026):
- Win rate: 48–55% depending on ATR settings and session filter
- Average winner: 2.0–2.5× the average loser (positive expectancy at 48% win rate)
- Average trades per session: 1–3 signals on active trend days, 0–1 on choppy days
- Drawdown profile: Periodic strings of 3–5 losers, offset by 2–4× winning runs
Common SuperTrend mistakes on prop firm accounts
SuperTrend is simple to add to TradingView but frequently misconfigured for prop firm environments. The three most common mistakes that cause silent compliance failures:
- Using intrabar calculation instead of bar-close. The default SuperTrend indicator updates on every tick. In a live Pine Script strategy, this causes entries to trigger mid-bar — which looks fine in backtesting but produces different results live. The prop-firm version uses
calc_on_order_fills=falseandcalc_on_every_tick=falseto enforce bar-close execution. - No daily kill switch. A SuperTrend strategy in a ranging market can produce 4-6 whipsaw stop-outs in a single session. Without a daily loss kill switch, a choppy Wednesday can breach the daily limit before the afternoon session even starts. The script includes a configurable halt at 80% of the daily limit by default.
- ATR multiplier too tight for the timeframe. A multiplier of 1.5 on a 1-minute chart produces dozens of micro-signals. A multiplier of 3.5 on a 5-minute chart produces almost none. The PDF guide included with every purchase covers the optimal ATR length and multiplier combinations for each instrument and timeframe, backed by 2-year backtests on MES and MNQ.
How to read SuperTrend signals in the context of prop firm risk
Not every SuperTrend signal is worth taking during an evaluation. The eval phase has risk rules the live-funded phase doesn't — so context matters. High-probability setups share these characteristics:
- Signal fires in the first half of the RTH session (9:30–11:30 AM ET). Volume is highest and trends are cleanest. Afternoon signals have lower follow-through probability on many instruments.
- Direction aligns with the opening bias. A SuperTrend long signal that fires above the opening print and above VWAP is statistically stronger than one that fires into overhead resistance.
- Daily loss buffer is intact. Taking a SuperTrend signal when you're already down 70% of the daily limit is a mistake even if the signal is technically valid. The kill switch handles the hard limit, but good execution means reducing exposure as the daily buffer shrinks.
- No major economic event in the next 30 minutes. NFP, CPI, FOMC, and other high-impact releases produce moves that don't respect SuperTrend stops. The script's news blackout filter pauses entries around scheduled events.
Get the SuperTrend Pine Script — built for prop firm evals.
Fixed risk, bar-close entries, daily kill switch, TradersPost webhook output. Pine Script + PDF guide, instant email delivery. Works on the free TradingView plan.
View Plans — From $50 Already have a script? Get an AuditFrequently asked questions
What is a SuperTrend Pine Script strategy?
A SuperTrend Pine Script strategy uses TradingView's SuperTrend indicator — an ATR-based trailing stop that flips direction when price crosses the band — to generate buy and sell signals automatically. The Pine Script fires entries on bar close, manages stops programmatically, and sends alerts to execution brokers like TradersPost for hands-off order execution.
Is SuperTrend good for prop firm evaluations?
Yes. SuperTrend generates one clear signal per direction change, which naturally avoids overtrading — the primary reason traders breach daily loss limits. The ATR-based stop also adapts to current volatility, making it suitable for both the tight conditions of micro-account evaluations and the wider ranges of full-size ES/NQ accounts.
Can I automate a SuperTrend Pine Script on a prop firm account?
Yes, using TradingView alerts wired to TradersPost (or similar automation middleware), which executes orders into your Tradovate, Rithmic, or MT4/MT5 broker account. All major futures prop firms permit automation on the evaluation. Check the firm's funded-account policy separately before connecting a webhook to a live funded account.
What's the difference between Starter and Pro for a SuperTrend strategy?
The Starter plan ($50) delivers the SuperTrend strategy sized for micro futures (MES, MNQ) on 50k accounts. The Pro plan ($80) covers full-size futures (ES, NQ) for 100k–150k accounts. The Custom plan ($120) lets you specify exact ATR settings, entry rules, and risk parameters built to your spec.