logo
Developers

Strategy Template

Script from: TradingViewIntradayTrend following

This example strategy template introduces new Pinescript users to creating strategies. It helps manage variables, set take profits and stop losses, control trading windows, and compound profits. It includes inputs to visualize indicators and control position sizing. Use this as a learning tool to build and test your own strategies.

Audit verdict

ArchivedRemoved from TradingView

No longer on TradingView

We can't re-run or audit this script anymore. The backtests below were run while it was public and are no longer updated.

1,630backtestsarchived
41robust scoreranked median 52
0.31p-valueranked median 0.24
—repaint auditsource unavailable

Audit details

How we decide whether a strategy enters our rankings. Read the methodology →

–
Repainting audit
Not performed: the source code is no longer accessible.
–
Script availability
Removed from TradingView. You can't add it to a chart anymore.
✕
Statistical edge
Average t-statistic 1.54 (p = 0.31), below the median of 1.98 (p = 0.24) for ranked strategies.
✕
Quality gate
None of the 79 backtests with more than 15 trades passes our quality gate.
✕
Robust score
41/100, below the median of 52 for ranked strategies.

How its evidence compares

The t-statistic measures how far the average result sits from zero relative to its noise. Below about 2, it is within what random entries produce.

1.54
avg. t-statistic
1.98
median, ranked strategies

Best 5 of 1,630 backtests

Shown for transparency. Frozen results, no longer updated.

SymbolTimeframeNet profitProfit factorTradesMax drawdown
AMC Entertainment Holdings, Inc.
NYSE:AMC
2H+174%1.9710516%
Peloton Interactive, Inc.
NASDAQ:PTON
2H+103%2.0010611%
Sanofi
EURONEXT:SAN
1H+63%1.512339%
ZIM Integrated Shipping Services Ltd.
NYSE:ZIM
1H+45%1.2118928%
SAND / TetherUS
BINANCE:SANDUSDT
1D+44%1.514426%
⚠Archived and selected after the fact: these are the best runs from when the script was public. They are not refreshed.

Is Strategy Template still available on TradingView?

No. The script has been removed from TradingView. The 1,630 backtests on this page were run while it was public and are no longer updated.

Strategies that passed our audit

Ranked strategies from the same family, ordered by robust score.

Explore the best Trading & TradingView strategies

Stop trading blindly. Explore quality-gated backtests and improve your trading skills with data.

Start for free