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.37

Profit Factor

1,560.10 %

Total ROI

199

Alpine Immune Sciences, Inc. (ALPN)

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

@ 4 h

1.23

Profit Factor

462.11 %

Total ROI

900

Uber Technologies, Inc. (UBER)

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

@ Daily

1.21

Profit Factor

245.84 %

Total ROI

320

Renault (RNO)

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

@ 1 h

1.21

Profit Factor

1,085.96 %

Total ROI

3523

Delta Air Lines, Inc. (DAL)

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

@ Daily

1.20

Profit Factor

633.77 %

Total ROI

842

AST SpaceMobile, Inc. (ASTS)

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

@ 1 h

1.19

Profit Factor

4,074.34 %

Total ROI

1806

Advanced Micro Devices, Inc. (AMD)

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

@ 4 h

1.18

Profit Factor

149,326.92 %

Total ROI

2318

Lyft, Inc. (LYFT)

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

@ 1 h

1.18

Profit Factor

1,130.69 %

Total ROI

2288

U.S. Dollar/Japanese Yen (USDJPY)

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

@ 4 h

1.17

Profit Factor

101.97 %

Total ROI

3519

Rocket Companies, Inc. (RKT)

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

@ 4 h

1.17

Profit Factor

360.06 %

Total ROI

544

ZIM Integrated Shipping Services Ltd. (ZIM)

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

@ 4 h

1.16

Profit Factor

665.41 %

Total ROI

492

General Motors Company (GM)

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

@ 4 h

1.14

Profit Factor

33,311.11 %

Total ROI

1257

Create your account for free to see all 192+ 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.

192
Backtests run
1.1
Avg profit factor
>1,000%
Avg net profit
+13%
Avg annualized return
60%
Avg max drawdown
0.11
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
Crypto751.0+269%32%0.15
Stocks1,3511.1>1,000%62%0.11
Forex731.1+44%11%0.10

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