logo
Developers

Linear trend

Script from: TradingViewSwingTrend followingMomentumCandlestick

Use Linear Regression (LR) as an oscillator by subtracting a slow from a fast LR, creating a line around zero. Open trades when LR crosses above a threshold, and close when it crosses below. Implement EMA 200 as a trend filter; trade only when prices are above EMA 200. This strategy leverages trend momentum for potential gains.

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

5.64

Risk Reward

417.89 %

Total ROI

18

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.42

Risk Reward

115.59 %

Total ROI

21

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.41

Risk Reward

186.74 %

Total ROI

23

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.22

Risk Reward

261.95 %

Total ROI

21

Tesla, Inc. (TSLA)

+ Linear trend

@ Daily

2.86

Risk Reward

615.40 %

Total ROI

33

Costco Wholesale Corporation (COST)

+ Linear trend

@ Daily

2.74

Risk Reward

119.84 %

Total ROI

42

Eli Lilly and Company (LLY)

+ Linear trend

@ Daily

2.47

Risk Reward

260.66 %

Total ROI

41

Robinhood Markets, Inc. (HOOD)

+ Linear trend

@ 4 h

2.46

Risk Reward

230.28 %

Total ROI

33

Sandisk Corporation (SNDK)

+ Linear trend

@ 1 h

2.44

Risk Reward

433.74 %

Total ROI

54

MicroStrategy Incorporated (MSTR)

+ Linear trend

@ Daily

2.43

Risk Reward

2,171.15 %

Total ROI

30

Sandisk Corporation (SNDK)

+ Linear trend

@ 2 h

2.35

Risk Reward

426.76 %

Total ROI

25

Fetch.AI / TetherUS (FETUSDT)

+ Linear trend

@ Daily

2.26

Risk Reward

3,316.13 %

Total ROI

19

Create your account for free to see all 109+ backtests

Access filters, details, best timeframes, explore 100K+ backtests and more

Active Trades

Create your account to see on which symbols Linear trend is currently trading on.

Linear trend backtest statistics

Aggregated across every validated backtest TradeSearcher has run on this strategy. Figures update automatically as new backtests are added — they are not edited by hand. Classified as swing by holding period.

109
Backtests run
1.5
Avg profit factor
+410%
Avg net profit
+29%
Avg annualized return
46%
Avg max drawdown
0.15
Avg Sharpe ratio

On average, backtests of this strategy beat a buy-and-hold baseline by 255% over the same window.

Performance by asset class

MarketBacktestsAvg profit factorAvg net profitAvg max drawdownAvg Sharpe
Crypto921.3+466%44%0.15
Stocks6301.7+349%35%0.16

Backtests use the validated-universe filter: non-repainting scripts, over 15 trades, non-excluded. Per-market rows appear only when at least one backtest exists for that asset class.

Explore the best Trading & TradingView strategies

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

Start for free