Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
Kodu ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Kodu beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzmanlar

MZ Smart Trail Manager - Break-even, Stepped Trailing Stop and Profit Lock - MetaTrader 5 için uzman

Mazin Haqi Ismail Ismail
Mazin Haqi Ismail Ismail
  • MQL5 Developer at  Freelance
  • Irak
  • 117
MQL5 developer specializing in Expert Advisors for XAUUSD (Gold) and Forex.
Services:
- Custom EAs built from your strategy
- Breakout, trend-following, hedge and grid systems
- Trailing stop, break-even and risk management modules
- Bug fixing and optimization of existing EAs
Görüntülemeler:
115
Derecelendirme:
(1)
Yayınlandı:
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
MZ Smart Trail Manager does not open trades. It only manages the stop loss of positions that are already open - your manual trades or the trades of any other Expert Advisor.

Three protection layers (each can be switched on or off):

1. Break-even
   When the price moves a set distance in your favour, the stop jumps to the entry price plus a small offset, so a reversal costs almost nothing.

2. Stepped trailing stop
   After a start distance, the stop follows the best price at a fixed distance and moves only in whole steps (fewer modify requests to the broker).

3. Progressive profit lock (account currency)
   The bigger the profit, the larger the share that is locked. Example: at 10 USD profit keep 40%, at 30 USD keep 60%, at 60 USD keep 75%, at 100 USD keep 85%.

The manager always uses the strongest of the three, and the stop only ever moves in your favour.

Other features:
- Filter: all positions, manual positions only, or one magic number
- Optional initial stop loss for positions opened without one
- Respects broker stop level and freeze level (no rejected modifications)
- Works on any symbol: gold, forex, indices, oil
- On-chart panel in English, Arabic or both, with a PAUSE / START button
- Shows floating profit and the profit already locked by the stop

Inputs:
By default all distances are ATR multiples (ATR M15, period 14), so the same settings work on gold, forex, indices and oil without changes. Example: break-even trigger 0.5 = half of the current ATR.
Switch "Distance units" to Price units if you prefer fixed distances (1.0 on XAUUSD = a 1 USD move, 0.0010 on EURUSD = 10 pips).
Profit-lock levels are in account currency.

Strategy Tester:
The tester has no manual trading, so in the tester only the EA opens small demo trades (input "Strategy Tester demo") to show how the stop is managed. This option never runs on a live or demo account.

How to use:
Attach the EA to the chart of the symbol you trade. Enable Algo Trading. Open trades manually or let your EA trade - the manager takes care of the stop.

Always test on a demo account first.


Buy position - stop locks profitSell position - stop locks profit

Daily Open Line with Distance in Points Daily Open Line with Distance in Points

Draws the daily open price as a horizontal line and shows, in points, how far the current price is from today's open. The label changes color depending on whether the price is above or below the open.

Supertrend Indicator with Trend Color Change Supertrend Indicator with Trend Color Change

Supertrend trend-following indicator based on ATR. The line changes color and side of the price when the trend changes, with optional signal arrows and alerts.

Smart Liquidity Hunter — Confirmed Swing Sweeps for MT5 Smart Liquidity Hunter — Confirmed Swing Sweeps for MT5

Closed-bar sweeps of confirmed swing levels, with wick, volatility and freshness filters, liquidity lines, a dashboard and optional alerts.

Spread and Slippage Tracker Spread and Slippage Tracker

Live spread stats plus real fill-vs-requested slippage logging, account-wide — because "my broker widens spreads at news time" and "my fills are always bad" deserve numbers, not a feeling.