logo
Developers

Moving Stop-Loss mechanism + alerts to MT4/MT5

Script from: TradingViewIntradayMomentumTrend following

Enhance your MT4/MT5 trading with a Moving Stop-Loss mechanism that automatically adjusts as new pivot highs/lows are detected during an open trade. This dynamic scripting enables traders to exit positions via Stochastic crossovers and manage risk in real-time by updating the stop-loss levels directly within the strategy.exit() function. Incorporate automated alerts to TradingConnector for seamless execution across various markets. Recent script improvements eliminate the need for 'tradeid=' in single-position trades.

Cardio Diagnostics Holdings Inc. (CDIO)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ Daily

1.71

Risk Reward

2,343.02 %

Total ROI

190

Total Trades

Rocket Companies, Inc. (RKT)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 4 h

1.27

Risk Reward

496.52 %

Total ROI

510

Total Trades

Uber Technologies, Inc. (UBER)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ Daily

1.23

Risk Reward

246.96 %

Total ROI

297

Total Trades

Alpine Immune Sciences, Inc. (ALPN)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 4 h

1.23

Risk Reward

462.11 %

Total ROI

900

Total Trades

Renault (RNO)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 1 h

1.23

Risk Reward

962.58 %

Total ROI

3810

Total Trades

Energy Transfer LP (ET)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 4 h

1.21

Risk Reward

9,595.72 %

Total ROI

1762

Total Trades

XP Inc. (XP)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 1 h

1.21

Risk Reward

4,224.04 %

Total ROI

2014

Total Trades

Delta Air Lines, Inc. (DAL)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ Daily

1.19

Risk Reward

604.90 %

Total ROI

836

Total Trades

Lyft, Inc. (LYFT)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 1 h

1.19

Risk Reward

1,097.95 %

Total ROI

2193

Total Trades

U.S. Dollar/Japanese Yen (USDJPY)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 4 h

1.19

Risk Reward

135.67 %

Total ROI

3718

Total Trades

Stellantis NV (STLAP)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 4 h

1.17

Risk Reward

2,202.47 %

Total ROI

1569

Total Trades

Rocket Companies, Inc. (RKT)

+ Moving Stop-Loss mechanism + alerts to MT4/MT5

@ 2 h

1.16

Risk Reward

552.27 %

Total ROI

997

Total Trades
Create your account for free to see all 191+ backtests

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

Active Trades

Create your account to see on which symbols Moving Stop-Loss mechanism + alerts to MT4/MT5 is currently trading on.

Moving Stop-Loss mechanism + alerts to MT4/MT5 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 intraday by holding period.

191
Backtests run
1.1
Avg profit factor
>1,000%
Avg net profit
+15%
Avg annualized return
61%
Avg max drawdown
0.12
Avg Sharpe ratio

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

Performance by asset class

MarketBacktestsAvg profit factorAvg net profitAvg max drawdownAvg Sharpe
Crypto761.0+267%32%0.15
Stocks1,3491.1>1,000%62%0.11
Forex731.1+79%11%0.12

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