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

Risk Reward

2,112.09 %

Total ROI

192

Alpine Immune Sciences, Inc. (ALPN)

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

@ 4 h

1.23

Risk Reward

462.11 %

Total ROI

900

Delta Air Lines, Inc. (DAL)

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

@ Daily

1.21

Risk Reward

673.50 %

Total ROI

838

Renault (RNO)

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

@ 1 h

1.21

Risk Reward

929.49 %

Total ROI

3865

Rocket Companies, Inc. (RKT)

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

@ 4 h

1.20

Risk Reward

401.55 %

Total ROI

524

Energy Transfer LP (ET)

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

@ 4 h

1.20

Risk Reward

9,204.37 %

Total ROI

1774

XP Inc. (XP)

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

@ 1 h

1.20

Risk Reward

4,203.54 %

Total ROI

2052

Uber Technologies, Inc. (UBER)

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

@ Daily

1.20

Risk Reward

227.96 %

Total ROI

314

U.S. Dollar/Japanese Yen (USDJPY)

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

@ 4 h

1.19

Risk Reward

141.90 %

Total ROI

3754

Lyft, Inc. (LYFT)

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

@ 1 h

1.18

Risk Reward

1,090.34 %

Total ROI

2227

ZIM Integrated Shipping Services Ltd. (ZIM)

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

@ 4 h

1.17

Risk Reward

648.15 %

Total ROI

478

Rocket Companies, Inc. (RKT)

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

@ 2 h

1.17

Risk Reward

605.05 %

Total ROI

1013

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

189
Backtests run
1.1
Avg profit factor
>1,000%
Avg net profit
+14%
Avg annualized return
60%
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
Crypto751.1+290%32%0.17
Stocks1,3491.1>1,000%62%0.11
Forex731.1+80%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