Platform: MT5 ==> With Source. Experienced Dev required. EA Written for Exness XAUUSD
Platform: MT5
Version: Final
1. System Overview NovaShield EA is a Directional Trend Grid Trading System.
The EA trades in only one direction, determined exclusively by the EMA trend:
All modules—entries, martingale, pyramiding, break-even, trailing, and protection—must strictly follow this direction.
2. Indicator Filters 2.1 EMA Trend Filter (Directional Control)
EMA Period = 200 EMA Shift = 5 Method = Exponential Applied Price = Close
Directional Rule:
If Close > EMA200 → AllowedDirection = BUY_ONLY If Close < EMA200 → AllowedDirection = SELL_ONLY
2.2 RSI Filter
RSI Period = 5 Applied Price = Close Overbought Level = 80 Oversold Level = 20
Used for additional entry filtering if RSI filtering is enabled.
2.3 EMA Distance Filter
EnableEmaDistanceFilter = true/false MaxEmaDistancePips = 300
If the price is farther than the allowed distance → no new trades.
3. Entry Logic A new position is allowed only if ALL filters pass:
Initial Lot
4. Position Management Engines NovaShield EA uses two engines, both strictly following the EMA direction:
4.1 Martingale Engine (Averaging Down) Parameters
EnableMartingale = true MartingaleDistancePips = 35 MartingaleMaxOrders = 1000 EnableMartingaleRsiFilter = false
Three-Phase Lot Scaling
| Phase | Levels | Lot Multiplier |
| Phase 1 | Level 2–35 | ×1.1 |
| Phase 2 | Level 36–100 | ×1.0 |
| Phase 3 | Level 101+ | ×1.1 |
Martingale Condition
If floating loss ≥ MartingaleDistancePips → Open a new trade in the SAME direction → Lot size = previous_lot × multiplier_of_current_level
Note:
4.2 Pyramiding Engine (Averaging Up) Parameters
EnablePyramiding = true
PyramidingTriggerPips = 30
PyramidingMultiplier = 1.0
PyramidingMaxOrders = 100
Pyramiding Condition
If the FIRST position's profit ≥ PyramidingTriggerPips → Open a new position in SAME direction → Lot = previous_lot × 1.0 (fixed)
5. Safety & Protection Systems 5.1 Group Break-Even
EnableGroupBEP = true GroupBEP_MinOrders = 1 GroupBEP_Trigger = 15 pips GroupBEP_LockPips = 10 pips
When total floating profit ≥ Trigger →
Move SL of all positions to +10 pips.
5.2 Group Trailing Stop
EnableTrailing = true TrailingTrigger = 80 pips TrailingDistance = 20 pips
When total floating profit ≥ 80 pips → activate group trailing.
5.3 Global Equity Protection (Cut-Loss Shield)
EnableCutLoss = true CutLossEquity = 20000.0
If account equity ≤ CutLossEquity:
→ Close ALL orders immediately
→ Block new entries until equity rises above threshold.
6. Trading Filters 6.1 Time Session Filter
EnableTimeFilter = true StartHour = 09:00 EndHour = 17:00
Outside this window → no new trades.
6.2 Spread & Slippage Filter
EnableSpreadFilter = true MaxSpreadPips = 20.0 EnableSlippageFilter = false MaxSlippagePoints = 30
If spread > MaxSpreadPips → block entry.
6.3 Leverage Filter
EnableLeverageFilter = true RequiredLeverage = 2000
If account leverage < RequiredLeverage → block entry.
6.4 High-Impact News Filter
EnableNewsFilter = true
PauseBeforeNewsHrs = 2
PauseAfterNewsHrs = 1
During the news lock window:
News Source:
MQL5 built-in Economic Calendar (recommended)
7. Order Execution Flow (For Developer) OnTick: 1. Check Spread 2. Check Time Filter 3. Check Leverage 4. Check News Lock 5. Determine EMA Direction: If Close > EMA → BUY_ONLY If Close < EMA → SELL_ONLY 6. Entry: If no open positions: Apply RSI filter (optional) Apply EMA distance filter (optional) If all conditions valid → open trade in trend direction 7. Martingale: If floating loss ≥ MartingaleDistance: If total orders < MartingaleMaxOrders: open martingale order (same direction) 8. Pyramiding: If first order profit ≥ PyramidingTrigger: open pyramid order (same direction) 9. Risk Management: Apply Group Break-Even Apply Group Trailing Apply Equity Cut-Loss
✅
Hidden Stop Loss (Stealth SL) – Technical Specification (Add-on) Purpose
A hidden stop-loss system that closes trades internally without placing SL values on the server, preventing brokers from hunting visible stops.
Hidden SL Module – Parameters EnableHiddenSL = true/false HiddenSL_Pips = X (e.g., 300 pips) HiddenSL_CheckEvery = 1 second (or OnTick)
Hidden SL – Operational Logic Hidden SL should:
-
NOT set any visible SL on orders sent to the server.
→ All SL logic must be internal inside the EA.
-
Continuously check floating loss:
If (Current Floating Loss in pips ≥ HiddenSL_Pips)
→ Close the individual position immediately
-
“Pips” must be calculated using the correct Digits of the symbol (XAUUSD vs XAUUSDc).
-
The module must work independently of:
-
Break-even
-
Trailing stop
-
Equity Cut Loss
-
Applies to every single order individually:
Each trade has its own internal Hidden SL threshold.
-
Should NOT trigger during:
Hidden SL must always remain active to protect the account.
Hidden SL – Example Logic (Pseudocode)
for each order in Orders:
profitPips = CalculatePips(order.open_price, current_price)
if (EnableHiddenSL == true)
if (profitPips <= -HiddenSL_Pips)
CloseOrder(order)
Interaction With Other Modules Works alongside:
-
Martingale Engine
-
Pyramiding Engine
-
EMA Direction filter
-
Group BE & Trailing
-
Equity Cut-Loss shield
Priority:
If multiple exit conditions trigger simultaneously:
-
Equity Cut Loss (highest priority)
-
Hidden SL
-
Group BE / Trailing Stop
-
Take Profit
Notes for Developer -
Must NOT send SL to server.
-
Must NOT modify SL value through OrderModify.
-
Close trades only through internal logic.
-
Must avoid repeated close signals (add small cooldown per order).
-
Works on OnTick (recommended) or timer.
8. Developer Notes
-
Must handle pip/point calculations correctly depending on symbol Digits
-
Must implement retry logic for OrderSend/OrderModify errors
-
Must use SymbolInfo* functions (no deprecated MarketInfo)
-
Must prevent order spamming (minimum tick/time delay between trades)
-
Must ensure compatibility with real ticks & backtesting
-
All trade operations must strictly follow EMA directional filter
Solicitudes similares
Hi I'm looking for this EA or Similar EA with optimizated set file. This bot is an automated trading robot, operating 24/7, and capable of trading all currency pairs. Compatible with all brokers. Features: Analysis of price action charts, trends, and support and resistance levels on any timeframe. The bot integrates stop-loss (SL), stop-loss (TP), and trailing stop-loss (SL) orders. Works on MT5 getshared . c o m
I wish to create 2 different Tradingview strategies to MT5 ea-s! Anyone? One is based on Heiken Ashi...the other based on different combination of my strategy. It is for 1 minute charts
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
**IMPORTANT: PLEASE DISREGARD THE PREVIOUS SPECIFICATION TITLED "FULL TRADING PLATFORM – APPLICATION FLOW REQUIREMENTS."** I no longer need the complete trading platform outlined in my previous **"FULL TRADING PLATFORM – APPLICATION FLOW REQUIREMENTS"** specification. Originally, I considered building a complete trading platform with educational materials, training systems, user accounts, subscription features
I have indicators on my Trading view which will create zones automatically on H4 Candle confirmation. I am getting an alert also that specific zone is created. I want them to shift in automated trading like once zone is created, limits should be place automatically on basis of that zone with given lot size, number of layers and with TP and SL. I have checked on AI to convert this in auto but they need zone in numbers
I am looking for an experienced MQL5 developer to recreate my existing MT5 Expert Advisor (DSTR Novaa). I have the original compiled EX5 file, Vantage MT5 live trading history and original Strategy Tester report. Required Trading Logic: EMA Period: 3. BUY when price crosses below EMA 3. SELL when price crosses above EMA 3. Starting Lot: 0.01 (configurable). Martingale Multiplier: 2.0. Maximum Martingale Cycle: 9
I wish to say I wanna go rich and clever in everything I do and trusting the Lord and working hard will boost me up and making me the best person
I need an ready-made MT5 profitable EA for Gold. 5/7% daily I need. Before applying please make sure you have one with proven ROI, Drawdown and Live performace result. I will Pay $500 for it but I need as I want. Must needs to supply Source code if I like it. Before I purchase I will test 7 days on my live account. If It's okay then apply othersie please pass this project. Hope you will respect the time for both of
I need a EA to test many EAS all in one to see the results For back testing I've got the EA I want to see the combined EAS what is the results
Hello, I need a high-quality, reliable, and well-coded Expert Advisor (EA) for MetaTrader 5. The code must be clean, without errors, and optimized for safe trading. The robot needs to trade based on basic technical indicators. Every trade must have a strict Stop Loss and Take Profit for risk management. Please apply only if you are an experienced MT5 developer with a high rating and clean coding history. Best