GoldGridRipper
- Experts
- Version: 1.0
- Activations: 5
Absolutely. Here is a professional MQL5 Market-ready description based on how the EA actually works, written so you can copy and paste it directly.
EA17 – Scalping GridEA17 – Scalping Grid is an automated MetaTrader 4 Expert Advisor designed to combine trend-following analysis, EMA pullback entries, and grid-based position management.
The EA identifies the prevailing market direction using a combination of a 15-period EMA and a 200-period EMA, waits for a pullback, and then opens an initial position when the required conditions are satisfied.
After the first trade is opened, the EA can progressively add positions at predefined price intervals. Instead of relying on individual take-profit levels, the system manages positions as a basket, closing the basket when the combined trading result reaches the configured profit target.
HOW THE EA WORKS
1. Market Trend Identification
EA17 uses a 200-period Exponential Moving Average (EMA) as its primary trend filter.
For BUY opportunities:
-
The 15 EMA calculated on Low prices must be above the 200 EMA.
-
This indicates that the market is generally in an upward trend.
For SELL opportunities:
-
The 15 EMA calculated on High prices must be below the 200 EMA.
-
This indicates that the market is generally in a downward trend.
This allows the EA to focus its initial entries in the direction of the broader market trend.
2. Pullback-Based Entry
The EA does not simply enter immediately when the trend condition is satisfied.
It waits for a pullback toward the short-term EMA.
BUY Setup
A BUY opportunity is considered when:
-
The 15 EMA Low is above the 200 EMA.
-
The selected candle closes below the 15 EMA Low.
-
The spread is within the configured maximum spread.
-
The EA is allowed to open a new trade according to its trading conditions.
SELL Setup
A SELL opportunity is considered when:
-
The 15 EMA High is below the 200 EMA.
-
The selected candle closes above the 15 EMA High.
-
The spread is within the configured maximum spread.
-
The EA is allowed to open a new trade according to its trading conditions.
By combining trend direction with a pullback condition, EA17 attempts to enter after temporary price retracements rather than simply chasing extended movements.
3. Grid Position Management
Once an initial position is active, EA17 can use a grid-based position expansion system.
Additional positions are opened when price reaches the required distance from existing positions.
The default grid spacing is calculated from the configured basket target:
Grid Distance = TP Pips × 2
For example, with the default basket target of 10 pips:
Grid Distance = 20 pips
The EA also checks existing positions to avoid unnecessarily opening trades too close to positions that are already active.
This creates a structured price-based grid rather than continuously opening trades on every market tick.
4. Basket-Based Profit Taking
EA17 is designed to manage positions as a group.
Individual trades are not dependent on a traditional fixed take-profit level. Instead, the EA monitors the combined pip result of the positions belonging to the trading basket.
When the basket reaches the configured profit target, the EA closes the corresponding positions.
For example:
BUY Basket
-
Position 1: +8 pips
-
Position 2: +5 pips
-
Position 3: -3 pips
Combined Result: +10 pips
If the configured basket target is 10 pips, the EA can close the basket.
This allows profitable positions to contribute toward offsetting positions that may temporarily be in drawdown.
5. One Trade Decision Per Bar
EA17 includes a once-per-bar mechanism to prevent excessive trade execution within the same candle.
This helps prevent multiple entries from being triggered repeatedly by rapid intrabar price fluctuations.
The default signal candle is the previous completed candle (Candle ID 1).
6. Spread Protection
The EA includes a maximum spread filter for its initial trading decisions.
The default maximum spread is:
6 pips
If the spread exceeds the configured limit, the EA will avoid opening the initial trade.
This can help prevent entries during periods of unusually high transaction costs.
DEFAULT SETTINGS| Parameter | Default |
|---|---|
| Lot Size | 0.10 |
| Basket Profit Target | 10 pips |
| Signal EMA | 15 |
| Trend EMA | 200 |
| Signal Candle | 1 |
| Maximum Spread | 6 pips |
| Grid Distance | 20 pips |
| Magic Number | 9358 |
The EA provides configurable parameters that allow traders to adapt the strategy to different symbols, timeframes, and trading conditions.
KEY FEATURES✓ Trend-Following Filter
Uses the 200 EMA to identify the broader market direction.
✓ EMA Pullback Entries
Uses the 15 EMA to identify potential retracement-based entry opportunities.
✓ Automated Grid Management
Can add positions at predefined price intervals according to the grid logic.
✓ Basket Profit Management
Positions can be managed collectively rather than relying exclusively on individual trade targets.
✓ Spread Filter
Helps avoid initial entries when market spreads exceed the configured limit.
✓ Once-Per-Bar Protection
Reduces repeated entry signals within the same candle.
✓ Fully Automated Trading
Once configured, the EA can monitor the market and manage trades automatically without manual intervention.
RISK MANAGEMENTEA17 uses a grid-based trading approach, which means that multiple positions can be opened when the market moves against an existing position.
There is no individual hard Stop Loss applied to the standard strategy configuration.
For this reason, traders should carefully consider:
-
Account size
-
Lot size
-
Maximum number of positions
-
Symbol volatility
-
Leverage
-
Maximum acceptable drawdown
-
Broker conditions
-
Trading timeframe
Grid strategies can experience increased exposure during strong, persistent market movements. Proper risk management and thorough testing are strongly recommended before using the EA on a live account.
RECOMMENDED USEBefore deploying EA17 on a live account, it is recommended to:
-
Perform a strategy test using your broker's historical data.
-
Test different timeframes and symbols.
-
Optimize the lot size according to account size and risk tolerance.
-
Monitor maximum drawdown during testing.
-
Forward-test the EA on a demo account.
-
Start with conservative settings when moving to a live environment.
Results can vary significantly depending on the broker, spread, execution speed, symbol, timeframe, leverage, and market conditions.
IMPORTANT NOTICEEA17 – Scalping Grid is an automated trading system and does not guarantee profits.
Past performance and backtest results do not guarantee future results.
The trader is responsible for selecting appropriate settings and managing the risks associated with automated and grid-based trading.
Always test the EA thoroughly before using it with real funds.
SUMMARYEA17 – Scalping Grid combines:
200 EMA Trend Filter → 15 EMA Pullback Signal → Initial Entry → Price-Based Grid Expansion → Basket Profit Management
The objective is to identify pullbacks within an established market direction and manage multiple positions as a coordinated basket.
With its combination of trend filtering, pullback entries, automated grid management, and basket-level exits, EA17 provides traders with a fully automated framework for experimenting with a structured scalping and grid strategy.
