logo
Developers

How to use Leverage in PineScript

Script from: TradingViewSwing

Procter & Gamble Company (The) (PG)

+ How to use Leverage in PineScript

@ 15 min

1.35

Risk Reward

178.98 %

Total ROI

217

Pepsico, Inc. (PEP)

+ How to use Leverage in PineScript

@ 15 min

1.24

Risk Reward

109.30 %

Total ROI

216

Mondelez International, Inc. (MDLZ)

+ How to use Leverage in PineScript

@ 2 h

1.24

Risk Reward

493.13 %

Total ROI

354

Sanofi (SAN)

+ How to use Leverage in PineScript

@ 1 h

1.21

Risk Reward

325.17 %

Total ROI

532

Cisco Systems, Inc. (CSCO)

+ How to use Leverage in PineScript

@ 15 min

1.09

Risk Reward

34.41 %

Total ROI

202

TOTALENERGIES (TTE)

+ How to use Leverage in PineScript

@ 1 h

1.06

Risk Reward

29.87 %

Total ROI

683

Constellation Brands, Inc. (STZ)

+ How to use Leverage in PineScript

@ 5 min

1.03

Risk Reward

9.19 %

Total ROI

157

Thermo Fisher Scientific Inc (TMO)

+ How to use Leverage in PineScript

@ 15 min

1.01

Risk Reward

9.43 %

Total ROI

246

ONDO / TetherUS (ONDOUSDT)

+ How to use Leverage in PineScript

@ 2 h

1.01

Risk Reward

11.74 %

Total ROI

207

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.

9
Backtests run
1.1
Avg profit factor
+133%
Avg net profit
+14%
Avg annualized return
64%
Avg max drawdown
0.14
Avg Sharpe ratio

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

Performance by asset class

MarketBacktestsAvg profit factorAvg net profitAvg max drawdownAvg Sharpe
Crypto431.0+12%—0.20
Stocks7241.2+149%62%0.14
Forex66——19%—

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