logo
Developers

How to use Leverage in PineScript

Script from: TradingViewSwing

Pepsico, Inc. (PEP)

+ How to use Leverage in PineScript

@ 15 min

1.31

Risk Reward

137.49 %

Total ROI

215

Total Trades

Procter & Gamble Company (The) (PG)

+ How to use Leverage in PineScript

@ 15 min

1.31

Risk Reward

167.04 %

Total ROI

213

Total Trades

Mondelez International, Inc. (MDLZ)

+ How to use Leverage in PineScript

@ 2 h

1.25

Risk Reward

506.85 %

Total ROI

353

Total Trades

ONDO / TetherUS (ONDOUSDT)

+ How to use Leverage in PineScript

@ 2 h

1.19

Risk Reward

166.27 %

Total ROI

171

Total Trades

Sanofi (SAN)

+ How to use Leverage in PineScript

@ 1 h

1.17

Risk Reward

237.79 %

Total ROI

546

Total Trades

Cisco Systems, Inc. (CSCO)

+ How to use Leverage in PineScript

@ 15 min

1.09

Risk Reward

34.41 %

Total ROI

202

Total Trades

TOTALENERGIES (TTE)

+ How to use Leverage in PineScript

@ 1 h

1.06

Risk Reward

29.87 %

Total ROI

683

Total Trades

Constellation Brands, Inc. (STZ)

+ How to use Leverage in PineScript

@ 5 min

1.03

Risk Reward

9.19 %

Total ROI

157

Total Trades

VIRTUAL / TetherUS (VIRTUALUSDT)

+ How to use Leverage in PineScript

@ 4 h

1.03

Risk Reward

25.00 %

Total ROI

99

Total Trades

Thermo Fisher Scientific Inc (TMO)

+ How to use Leverage in PineScript

@ 15 min

1.01

Risk Reward

9.43 %

Total ROI

246

Total Trades
View all strategies in the app

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

Active Trades

Create your account to see on which symbols How to use Leverage in PineScript is currently trading on.

How to use Leverage in PineScript 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.

10
Backtests run
1.1
Avg profit factor
+132%
Avg net profit
+25%
Avg annualized return
66%
Avg max drawdown
0.17
Avg Sharpe ratio

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

Performance by asset class

MarketBacktestsAvg profit factorAvg net profitAvg max drawdownAvg Sharpe
Crypto441.1+96%0.30
Stocks7191.2+142%62%0.14
Forex6619%

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