Gold Scalping EA (grid hedging)

Job finished

Execution time 6 days

Specification

This Technical Requirement Specification (TRS) is the overall detailed description of the EA required. It incorporates the modular entry system, multi-loop basket management, and the dynamic Take Profit scaling requirement where the profit target increases proportionally with the risk (lot size) of the basket. 

Some of the below comments are improvement from template of EA already developed.
 


Technical Requirement Specification: Global Basket Scalper (V3.0)

1. Phase 1: Modular Entry Logic (Initial Trade) à NEW / replaces ADX feature

Phase 1 governs the first trade of any new cycle. The logic must be modular, allowing the user to enable/disable specific filters.

  • Modular "Gate" System:
    • Trend Bias Gate (EMA): Checks price against an EMA (user-defined period, max 10 min). Settings as per user choice (manual or as per trend)
    • Volatility Gate (BBW): Only allows entry if Bollinger Band Width (20, 2.0) is currently expanding ($BBW > SMA100$). (True or false – as per user choice) Settings as per user choice
    • 55-EMA Channel Gate: Price must be outside the channel formed by the 55-EMA High and 55-EMA Low. (True or false – as per user choice) Settings as per user choice
    • Speed-Cross Signal: Triggers on 9/21 EMA crossover with RSI (14) confirmed above/below the 50 mid-line. (True or false – as per user choice) Settings as per user choice
    • Thrust Filter (ATR Multiplier): To ensure a valid "push" without being too restrictive, the signal candle body must be above ({ATR}(10) * multiplier) (True or false – as per user choice) Settings as per user choice

2. Phase 2: Basket & Recovery Management à existing in EA version shared

Once the first trade is open, the EA manages the "Basket" across multiple loops.

  • Loop 1 (Initial): Adds positions at fixed $X$-pip intervals only as price moves favorably (adding to winners).
  • Hedging Countermeasure: If price moves $X$ pips against any entry, the EA opens an equal-sized counter-position (reversal logic).
  • Recovery Loops (Loops 2–N):

.

    • Constraint 1: Preceding loop reaches a user-defined position count
    • Constraint 2: New Loops need to meet the criteria chosen in phase 1 New feature
    • Lot Multiplier: New loops use a multiplier (e.g., 1.5x or 2.0x) to increase basket weight. Settings as per user choice
    • Max Quantity of loops: in settings

3. Phase 3: Dynamic Profit Closure & Continuity NEW

This section defines how the EA exits and immediately hunts for the next cycle.

  • Dynamic Take Profit Scaling:
    • Logic: The Take Profit (TP) target must increase proportionally as new loops are added and lot sizes increase.
    • Formula: $GTP = TP_{Base} \times (\text{Total Basket Lots} / \text{Initial Lot Size})$.
    • Global Closure: When the combined net profit of all active loops reaches this dynamic target, all positions close.
  • Momentum Continuity:
    • Logic: After a successful TP closure, if SMA 50 and SMA 100 are aligned (both below price for Buys, above for Sells), the EA skips Phase 1 and restarts Loop 1 immediately in the same direction.
  • Safeguards:
    • News Filter: Stops new initial loop initialization before/after high-impact news. The logic reaches completion of ongoing loop.
    • Trading Hours: Restricts initial entries to specific daily windows.
    • Max Drawdown: Hard equity stop that liquidates all trades and resets the cycle.
    • Max Quantity of open positions: Hard equity stop that liquidates all trades and resets the cycle.

4. Developer User Settings Interface

Section

Parameter Name

Type

Description

Logic Toggles

Use_EMA_Trend / Use_BBW / Use_Channel

Bool

Modular Phase 1 toggles.

Loop 1 Setup

Initial_Lot_Size / TP_Base_Pips

double / int

Starting volume and base profit target.

Grid Logic

Dist_Between_Trades / Hedge_Distance

int

Pips for scaling and reversal.

Recovery

Max_Quantity_Loops / Trigger_Pos_Count

int

User-defined loop cap and trigger.

Recovery

Proximity_Offset / Lot_Multiplier

int / double

Distance from entry and weight increase.

Safety

Max_Drawdown_Pips / News_Filter_Toggle

int / bool

Global stop loss and news logic.

Continuity

Use_SMA_Momentum_Restart

bool

Toggles SMA 50/100 instant re-entry logic.


5. Developer Implementation Guidelines

  1. Dashboard: On-chart UI must display active Loop Tier, Current Basket Profit vs. Dynamic TP, and News status.

 


Responded

1
Developer 1
Rating
(394)
Projects
551
40%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(23)
Projects
34
53%
Arbitration
1
100% / 0%
Overdue
1
3%
Free
3
Developer 3
Rating
(8)
Projects
9
11%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(2660)
Projects
3380
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
5
Developer 5
Rating
(313)
Projects
559
35%
Arbitration
80
31% / 44%
Overdue
203
36%
Free
6
Developer 6
Rating
(7)
Projects
5
0%
Arbitration
6
0% / 83%
Overdue
1
20%
Working
7
Developer 7
Rating
(38)
Projects
41
59%
Arbitration
1
100% / 0%
Overdue
1
2%
Working
Published: 5 codes
8
Developer 8
Rating
(14)
Projects
19
11%
Arbitration
4
50% / 25%
Overdue
4
21%
Working
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(39)
Projects
52
19%
Arbitration
15
27% / 67%
Overdue
8
15%
Free
Published: 1 code
11
Developer 11
Rating
Projects
1
0%
Arbitration
1
100% / 0%
Overdue
0
Free
12
Developer 12
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
13
Developer 13
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
14
Developer 14
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
15
Developer 15
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
16
Developer 16
Rating
(6)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
1
14%
Free
17
Developer 17
Rating
(362)
Projects
435
54%
Arbitration
20
55% / 15%
Overdue
30
7%
Working
18
Developer 18
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this
Pip Scalper Bot 60+ USD
i want a trading bot that is aleast 98% sure,and cam also do scalping 99% correct using smart money concept, ICT, ALL technical analysis on it and also put risk management on it
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
AI Trading MQL5: Maximizing Profit from a $10 Investment Achieving significant profits from a small initial capital like $10 in AI trading with MQL5 requires a highly strategic and disciplined approach. While the potential for exponential growth exists, it's crucial to manage expectations and understand the inherent risks. **Key Strategies for Small Capital AI Trading:** 1. **Low-Risk, High-Probability
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is
I need a professional developer to help me create an EA using RSI and Moving averages.The strategies are well organised and everything is in order. I will send all the details in the inbox
Powerful 30 - 100 USD
I really want a powerful developed EA that can generate a minimum of 10% every month without martingale, greed or any dangerous strategy for sale. Developer must provide the mql5 file or the raw file for modification etc
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower

Project information

Budget
80 - 100 USD
Deadline
to 5 day(s)