GridTrailling

Smart breakout grid EA with trailing pending orders, trailing stop, session/news filters, drawdown protection, and netting-safe execution for MT5.

GridTrailingEA is a smart pending-order grid Expert Advisor with trailing pending orders, trailing stop,

session filter, news-time filter, drawdown protection, and market-safe validation for MT5.

GridTrailingEA is a MetaTrader 5 Expert Advisor designed for traders who want a clean and controlled grid-style pending order system.


The EA places Buy Stop and Sell Stop orders around the current market price, then continuously trails those pending orders as price moves.

When one side is triggered, the EA manages the open position with a configurable trailing stop and removes the opposite pending order to avoid unwanted exposure, especially on netting accounts.

This robot includes practical protection features such as session filtering, news-time filtering, max drawdown protection,

symbol volume normalization,stop/freeze level handling, and margin checks. It is built to work safely with the MQL5 Market validation environment and supports both EURUSD and XAUUSD testing conditions.

GridTrailingEA is especially suitable for traders who prefer breakout-style entries using pending orders instead of instant market execution.


Main Features:

- Buy Stop and Sell Stop grid system

- Pending orders trail with market movement

- Automatic opposite order removal after activation

- Trailing stop for open positions

- Session filter for controlled trading hours

- Manual news-time filter

- Max drawdown protection

- Automatic volume normalization

- Stop level and freeze level protection

- Margin check before placing new orders

- Netting account compatible

- Low-log mode for stable Strategy Tester and MQL5 Market validation


How It Works:

1. The EA places Buy Stop and Sell Stop orders at a defined distance from the current price.

2. If price moves, the pending orders can trail the market based on the selected trailing step.

3. When one pending order is triggered, the opposite pending order is removed.

4. The open position is then managed with a configurable trailing stop.

5. If session, news-time, margin, or drawdown conditions are not suitable, the EA pauses or removes pending orders depending on the situation.


Recommended Symbols:

- XAUUSD

The EA can be tested on different symbols, but optimization is recommended for each broker and trading instrument.

Recommended Accounts:

  - Raw Spread 

  - ICMarkets , Paperstone

Recommended Timeframes:

- M1

- H4

- D1

The EA is not locked to a specific timeframe, but higher timeframes usually reduce noise and excessive order modifications.


Important Notes:

Grid systems involve risk, especially during strong trends, high volatility, and low liquidity periods. Always test the EA in the Strategy Tester and on a demo account before using it on a live account.

No profit is guaranteed. Results depend on broker conditions, spread, leverage, symbol settings, market volatility, and user configuration.


Main Inputs:

- Lot Size: Fixed lot size used by the EA

- Grid Distance: Distance from current price to pending orders

- Trailing Step: Minimum movement required to trail pending orders

- Take Profit: Take profit distance in points

- Stop Loss: Stop loss distance in points

- News Filter: Enable or disable manual news-time filter

- News Times: News times in HH:MM format

- Session Filter: Enable or disable trading session filter

- Trailing Stop: Enable or disable position trailing stop

- Max Orders: Maximum number of EA orders/positions

- Max Drawdown: Equity drawdown limit in account currency

- Magic Number: Unique identifier for EA trades

- Verbose Log: Enable detailed logs for debugging


This version includes additional safety handling for MQL5 Market validation, including volume normalization, margin checks, freeze-level protection, market-session checks, and reduced log output.


Note:

1. Smooth balance and equity curve with controlled deposit load.

2. Strategy Tester report with 100% history quality and controlled drawdown.

3. Visual tester example showing pending-order grid behavior on chart.

4. Main EA inputs: grid, trailing stop, session/news filters, and risk controls.

5. Strategy Tester configuration used for the backtest.

6. Optimization parameters available for fine-tuning the EA.

***History Quality: 100%

Total Net Profit: 11,274.71

Profit Factor: 3.22

Recovery Factor: 525.63

Balance Drawdown Maximal: 1.59%

Equity Drawdown Maximal: 3.45%

Total Trades: 6,892

Win Rate: 76.58%****


=== Grid Settings ===

InpLotSize=0.01

InpGridDistance=200

InpTrailingStep=50

InpTakeProfit=300

InpStopLoss=300

; === News Filter ===

InpNewsFilter=false

InpNewsTimes=08:30,14:30,21:00

InpMinBefore=30

InpMinAfter=30

; === Session Filter ===

InpSessionFilter=false

InpSessionStart=14

InpSessionEnd=4

; === Trailing Stop ===

InpEnableTS=true

InpTSDistance=200

InpTSStep=50

InpTSActivation=100

; === Risk Management ===

InpMaxOrders=5

InpMaxDrawdown=100.0

; === EA Settings ===

InpMagicNumber=98765

InpVerboseLog=false

Plus de l'auteur
Professional Gold Trading Levels Indicator Features: - Daily & Weekly Pivot Points - Fibonacci Retracement Levels   - Round Number Levels - Customizable Colors & Fonts - Auto-Update Daily - Clean & Simple Interface Perfect for Gold (XAUUSD) traders Reliable Support/Resistance levels Lightweight & Fast Performance Easy to install and use Compatible with all MT5 accounts. No complex settings required! SimpleGoldLevels v1.0 - User Manual Professional Support & Resistance Levels
Filtrer:
Aucun avis
Répondre à l'avis