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

Rocket Companies, Inc. (RKT)

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

@ 4 h

1.25

Risk Reward

469.42 %

Total ROI

516

Alpine Immune Sciences, Inc. (ALPN)

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

@ 4 h

1.23

Risk Reward

462.11 %

Total ROI

900

Lyft, Inc. (LYFT)

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

@ 1 h

1.22

Risk Reward

1,265.17 %

Total ROI

2206

Renault (RNO)

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

@ 1 h

1.21

Risk Reward

908.35 %

Total ROI

3840

Energy Transfer LP (ET)

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

@ 4 h

1.21

Risk Reward

9,327.27 %

Total ROI

1770

Uber Technologies, Inc. (UBER)

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

@ Daily

1.20

Risk Reward

227.96 %

Total ROI

314

XP Inc. (XP)

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

@ 1 h

1.20

Risk Reward

3,963.80 %

Total ROI

2035

Delta Air Lines, Inc. (DAL)

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

@ Daily

1.19

Risk Reward

604.90 %

Total ROI

836

U.S. Dollar/Japanese Yen (USDJPY)

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

@ 4 h

1.19

Risk Reward

137.47 %

Total ROI

3737

Advanced Micro Devices, Inc. (AMD)

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

@ 4 h

1.16

Risk Reward

131,286.09 %

Total ROI

2300

Rocket Companies, Inc. (RKT)

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

@ 2 h

1.15

Risk Reward

546.45 %

Total ROI

1005

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+293%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